JannisX11 / snowstorm

Minecraft Bedrock Particle Generator
https://snowstorm.app
GNU General Public License v3.0
150 stars 25 forks source link

Animation Loop #1

Closed destruc7i0n closed 5 years ago

destruc7i0n commented 5 years ago

Hey Jannis,

My recent use cases with particles mainly involved using looping (with animation controllers and the like), and so I decided to do this little modification to assist me with that... With it now released, I thought I would create a pull request so that it could be available for everyone who may need it this way.

It relies on the requestAnimationFrame for the loop, and runs at 20 frames per second.

Personal thoughts

JannisX11 commented 5 years ago

If you want to preview the particle as looping, why don't you just set the emitter cycle to looping?

destruc7i0n commented 5 years ago

And thus be a prime example of my greenhorn nature to bedrock in general... Sorry about that