Jump to content

Animated particles?


Siiseli
 Share

Recommended Posts

Hey, I'm fairly new to Phaser and currently trying to figure out how to animate my particles. Looking at the source code(briefly glancing) and documentation, this doesn't seem supported? Is this the case or am I just missing something, and if so, should I just extend the current emitter/particle classes to include animation?

Link to comment
Share on other sites

the Emitter has a field "particleClass" that purports to enable you to specify the class/constructor that particles should be created with. you could set the class and have the particles do whatever you want (in theory, anyway)

 

_unfortunately_, the line (320 in the dev branch) in 'makeParticles' that uses the field is commented out :/

 

perhaps we can get Rich to uncomment it :)

 

for now, however, you can uncomment it yourself. that's the beauty of open source

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...