Jump to content

Detecting changes in player.y


doyouknowyou
 Share

Recommended Posts

I'm fairly new to phaser, so forgive me if this isn't very complicated!

 

I'm trying to show a frame on a spritesheet that is triggered when the y coordinate is decreasing (i.e the sprite is 'falling'). Is there any easy way to do this?

 

Thanks!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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