Game Development Community

Rendering speed

by Backman · in Torque Game Builder · 12/12/2006 (6:06 am) · 2 replies

I'm wondering what it is one should try first to avoid when using particles, size or numbers? I'm guess numbers but not sure. It'd be good to know so you know how to tackle fps issues.. I've probably been going a bit too crazy here and things are to get optimized both technically and gameplay-wise, still something I'd like to know more about so I'm not missing anything.

Thanks!

#1
12/12/2006 (2:17 pm)
The number of individual particles probably is more important, but you shouldn't need huge numbers of individual particles anyway. Also, making sure you're not loading a new particle effect instead of repruposing an old one can help a lot. It's probably better to focus optimizations on the images you're using. There was a great blog a while back about it, but the basic idea is to get your images to have dimensions that are powers of two.
#2
12/15/2006 (6:25 am)
Ok thanks, will keep those points in mind. Was thinking the same about most things but the repurposing of an old effect was new to me. Do you mean to only do loadEffect once, and then after that use mainly playEffect and stopEffect wherever I'll need it? Sounds like a good idea, as long as multiple instances going off at the same time (for explosions etc) still works that way..

Cheers..