Closed hood closed 2 years ago
AnimatedParticle
doesn't take an array of textures - see the docs for AnimatedParticle on how the art should be formed.
Oh thanks, I had read that piece of code a trillion times, but I always overlooked the fact that textures
was a property of an object.
Better typing should be applied to Emitter
tho.
I'm setting up an emitter like:
And getting the following runtime exception thrown at me:
Uncaught (in promise) TypeError: Cannot read property 'length' of undefined
Actual example of usage: here