Hi guys I’m new to Defold and the first thing I’d like to do with a new engine is spawning a lot of moving sprites/particles.
What I’ve currently done is modded the ‘Getting started tutorial’ so instead of spawning platforms it spawns white particles (10px x 10px). Well the problem is as soon as it hits like 1000 particles i get this error:
ERROR:GAMEOBJECT: Could not create script component, out of resources.
ERROR:GAMEOBJECT: Could not spawn an instance of prototype /level/white_particle.goc.
ERROR:GAMEOBJECT: Instance ‘/instance1032’ could not be found when dispatching message ‘set_speed’ sent from main:/level/controller#script
I already fiddled with the project settings but no luck. So my guess is that I’m doing it wrong.
I’m used to use things like a SpriteBatch for rendering a lot of sprites.
I hope someone can explain me how to spawn a lot of moving sprites/particles. Btw I don’t want to use the particle FX, i want to do it custom.
Thanks!