Search the Community
Showing results for tags 'gesture recognition'.
Found 1 result
Right, so I've been trying to get this gesture recognition script to work with Phaser 1.1.2. My current set up is as follows: I'm using Rich's basic template, and once the Game state is entered, a gestures object is loaded. I've modified the code slightly to be able to pass the Phaser game object in; this allows me to detect the canvas object that Phaser creates. My problem is here, however. If the gestures script uses Phaser's canvas, I don't see anything drawn. If I let the script generate its own canvas on top of the Phaser canvas, I see everything normally. I'm not exactly sure how I'm meant to solve this, or if I can just leave the page with 2 canvases and work from there.