Jump to content

Animations with individual images [help]


tigerwoods345
 Share

Recommended Posts

So I have this game that I made a while back that I am now trying to port with phaser.

 

In this game I used individual PNG files for all my animations.

 

From looking through the docs, it seems Phaser's animation support is just for spritesheets?

 

Is there a way to do something like:


      player.sprite.animations.add('idle', ['images/s_snailIdle_0.png', 'images/s_snailIdle_1.png'], 60, true, false);      player.sprite.animations.play('idle');

If not, how can I change the frame for an individual sprite so I can maybe implement my own animation system?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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