Jump to content

Phaser.Canvas.setTouchAction seems to not work


bali33
 Share

Recommended Posts

Hi guys,

 

I'm trying to change the way Phaser handles Canvas touch actions using the setTouchAction - but whatever the argument I passed to the method I can't seen any differences.

 

I call the method in my state create function like this :

Phaser.Canvas.setTouchAction(game.canvas,"pan-x pan-y");

Is that the right place and the right way to use it ?

 

Thank you

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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