Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Optimizing Particles

Author
Message
Gunslinger
19
Years of Service
User Offline
Joined: 29th May 2007
Location:
Posted: 20th Feb 2012 23:18
Hello,
i'm using 'zParticles' for my game. I'm allways trying to get the best perfomance. So, i'm loading / creating the particles at the start of the game, and then hiding them. (zp enable emitter num, 0)
And, if i need them, i show them with zp enable emitter num, 1.

But the Frame are dropping to around ~30/40 if there are around 5 particle effects at the same moment.
I tried some different particle stuff. Like, burst costs ALOT of perfomance. More Force, more performance.

So, anyhave have some tipps to make good and fast particle effects?



Sergey K
22
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 21st Feb 2012 00:59
the only thing i can suggest is to make your particles sync, 1 at each frame..
what i mean?

if you have function that runs all the particles, try to run 1 particle for each frame:



this is one of the ways how you can save lots of fps rate..
try this way not only on the particles, but on other stuff like updating objects positions or whatever..

more 3d models .x/.obj and more foramts here:
[href]https://www.turbosquid.com/Search/Index.cfm?keyword=gogetax1&x=0&y=0[href]

Login to post a reply

Server time is: 2026-07-09 17:43:05
Your offset time is: 2026-07-09 17:43:05