Kovak / CBL_SECRET_PROTOTYPE_RUNNING_GAME

0 stars 0 forks source link

Particle Emitter Performs File IO and XML Parsing Each Time it is Used #20

Closed sbrother closed 11 years ago

sbrother commented 11 years ago

This is way inefficient and won't even run on iOS. To remedy, we need to save the final effects in some form that can be run without an XML parser (for example, pickle), and then package these as part of the application. The various effects should be imported on program init, and then instead of calling p = ParticleEffect(blah) each time we want an effect, we need to call start() on the already instantiated particle effect object

sbrother commented 11 years ago

working on this on branch 20-improve-particle-emitter-a