Question about increasing performance
by B. Spencer · in Torque Game Builder · 04/28/2010 (2:25 am) · 3 replies
Hello,
Wanted to ask and find out if objects in scene are invisible, would this preserve resources and memory, and also increase fps when game is running? Want to know if this would work on a for example, platform game?
Want to use triggers to make sprites/objects visible at certain points in the level.
Or will I have to create some type of spawn function for objects, and have them spawned when player walks on a trigger or something?
Thanks! in advance...
Wanted to ask and find out if objects in scene are invisible, would this preserve resources and memory, and also increase fps when game is running? Want to know if this would work on a for example, platform game?
Want to use triggers to make sprites/objects visible at certain points in the level.
Or will I have to create some type of spawn function for objects, and have them spawned when player walks on a trigger or something?
Thanks! in advance...
Employee Melv May
Anything that's off-screen doesn't take any render time so making something invisible only saves render time if they're actually on-screen. Obvious I know but I thought I'd point it out.
If your GPU is fast you may see very little improvement by making things invisible.
Disabling objects has a much more profound effect on performance however.
Melv.