hi all... I was thinking that could be awesome if we create a list of possibles situations where some of us had experienced framerate slowdown, explaining the causes of that... or if we have reached the limits of 3dRad... this could be very helpful in the design stage of our projects and, of course, to avoid stupid questions like if we can make a Gran Theft Auto like game...
I will start with some examples based on my experience:
- Less is more. Just be simple. Avoid high-poly models. Less system requeriments to play your game lets you to distribute it easily and, of course, lets you to add more features to it.
- Do not link too much objects to a script. Seems to be a bunch of internal messages between objects that causes some overhead even if internal parameters are not used. i.e: I was working in a script that resets all objects in the project. Bad idea, because I need to link ALL objects to that script... better if I use an EventOnInput and link all objects to the EOI. another example: I was using a script to show/hide the whole GUI (all sprites and textprints) in the project... bad idea... better if I use an EventOnTimer (at 0 secs.) that makes the same job.
- Do not use too much textprints. The textprint object is made by more than 100 quad polys with alpha texture... that causes big loading times and framerate slowdown in some cases. Just design your interface with less different fonts as possible and use iPrint() function.
I will post more examples later... please feel free to post your bad experiences.
I will start with some examples based on my experience:
- Less is more. Just be simple. Avoid high-poly models. Less system requeriments to play your game lets you to distribute it easily and, of course, lets you to add more features to it.
- Do not link too much objects to a script. Seems to be a bunch of internal messages between objects that causes some overhead even if internal parameters are not used. i.e: I was working in a script that resets all objects in the project. Bad idea, because I need to link ALL objects to that script... better if I use an EventOnInput and link all objects to the EOI. another example: I was using a script to show/hide the whole GUI (all sprites and textprints) in the project... bad idea... better if I use an EventOnTimer (at 0 secs.) that makes the same job.
- Do not use too much textprints. The textprint object is made by more than 100 quad polys with alpha texture... that causes big loading times and framerate slowdown in some cases. Just design your interface with less different fonts as possible and use iPrint() function.
I will post more examples later... please feel free to post your bad experiences.