pixijs / particle-emitter

A particle system for PixiJS
http://pixijs.io/particle-emitter/docs
MIT License
799 stars 127 forks source link

Look different when using game tick add instead of animationgetframe #75

Closed TommyDong1998 closed 6 years ago

TommyDong1998 commented 6 years ago

They should look the same https://jsfiddle.net/w2hf1856/ https://jsfiddle.net/w2hf1856/1/

andrewstart commented 6 years ago

PIXI tickers don't run in milliseconds or seconds, but a target frame delta (delta of 1 = 60 frames per second). The code that Emitters use when connecting to PIXI tickers is delta / PIXI.settings.TARGET_FPMS / 1000 to get a value in seconds.

Your fireball looks neat! 👍