Jump to content

Active pointer and detect slide on specific area


Archer3CL
 Share

Recommended Posts

I'm kind of new with Phaser and I was wondering about this

 

  1. Is it possible to detect where on the world the active pointer was swipe OR in a specific area?
    I was getting the position of the pointer and check if it was inside of a Rectangle AND if the difference of the start y position of the pointer and the last y position is greater than 0 but... didnt work.
     
  2. From what I have read Phaser has at least 2 pointers enabled. Is it possible to have only one pointer enabled?

Help appreciated.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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