Jump to content

Phaser collide failure callback


markergreen
 Share

Recommended Posts

Is there a collide=false callback?

 

I want function A to fire upon collision and function B to fire if there is no collision; similar to jQuery.ajax success and error callbacks.

 

I want to play my sprite's walk animation on collide=true and it's jump animation on collision=false.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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