MSPointer#MSPointer

new MSPointer(game)

The MSPointer class handles Microsoft touch interactions with the game and the resulting Pointer objects.

It will work only in Internet Explorer 10+ and Windows Store or Windows Phone 8 apps using JavaScript.
http://msdn.microsoft.com/en-us/library/ie/hh673557(v=vs.85).aspx

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

Please note that at the current time of writing Phaser does not yet support chorded button interactions:
http://www.w3.org/TR/pointerevents/#chorded-button-interactions

Parameters
Name Type Description
game Phaser.Game

A reference to the currently running game.

Source code: input/MSPointer.js (Line 23)
doc_phaser
2017-02-14 10:55:32
Comments
Leave a Comment

Please login to continue.