Touch#Touch

new Touch(game)

Phaser.Touch handles touch events with your game. Note: Android 2.x only supports 1 touch event at once, no multi-touch.

You should not normally access this class directly, but instead use a Phaser.Pointer object which normalises all game input for you.

Parameters
Name Type Description
game Phaser.Game

A reference to the currently running game.

Source code: input/Touch.js (Line 16)
doc_phaser
2017-02-14 11:18:26
Comments
Leave a Comment

Please login to continue.