Archived

This topic is now archived and is closed to further replies.

SKSlayer

Particle system

Recommended Posts

Hey, Why does Nehe use array for particle ? If there is no particle, still eat same memory as when there is MAX_PARTICLE of particle ... If I do a particle system with as starting, the nehe''s one, shouldn''t I use linked lists instead ?

Share this post


Link to post
Share on other sites
Hi,

yes you could use linked list instead but.. hey, it''s just a little demo.. so there''s no need to do such a complicated thing..
he just wanted to show the main principle of a particle system - no super-optimized system...

Share this post


Link to post
Share on other sites