Jump to content

Finger drag from point A to B


Heppell08
 Share

Recommended Posts

I'm looking to add a mechanic to my game for touchscreen where if the pointer is down and moves so much Y axis that it fires a function.

 

Then i want to do the same but in reverse for a different function.

 

Basically finger swipe UP to switch gravity UP and swipe DOWN to make gravity "normal" again. Any ideas on how to add this type of feature?

 

I'm using phaser 1.1.5 if that makes any difference.

 

Thanks :)

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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