I think that with a little work the particle system could be easily adapted to create a nice lean mean super fast sprite system.
I would think that a lean sprite system based on a single texture using texture regions would be faster than the one we have. ( Which is quite fast )
A bunch of sprites would be associated with a single mesh and texture. This would save on primitive draws and texture swapping.
Also moving speed and some sort of gravity settings, as well as acceleration into the system would take the load off lua.
Removing individual sprites from the view hierarchy would reduce processing time. We could have tons of sprites flying all over the place.
thoughts?
Comments
https://deluxepixel.com
https://deluxepixel.com
Sprite pooling and TextureRegion swapping are the key things that make them very fast.
As a side note it would be good to see the MovieClip class get some attention. Check this example from my game..
I haven't installed the latest version of Gideros yet but will have a look at the new particle feature soon
Likes: antix, keszegh, talis
https://deluxepixel.com
Thanks for improving it, I'll go and implement that this morning
Likes: SinisterSoft
Likes: SinisterSoft, antix
https://deluxepixel.com
https://deluxepixel.com
I boiled it down a wee bit further too..
Likes: SinisterSoft
https://deluxepixel.com