adding touch support to a windows store app using html and java script

Post on 24-May-2015

1.525 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

Adding touch support to a Windows Store App using HTML and JavaScript. Based on the free GameKit here at http://Win8GameKit.Codeplex.com. Additional topics avail on my blog at http://blogs.msdn.com/davedev

TRANSCRIPT

Adding Touch Support to a Windows Store App using HTML and JavaScript

Dave IsbitskiTechnology Evangelist, Windows 8twitter.com/TheDaveDevblogs.msdn/com/davedevdavid.isbitski@microsoft.com

win8gamekit.codeplex.com

MSPointer APIStep 1: MSPointerUpListen for MSPointerUp Event

Step 2: Compare X and Y coordinatesCompare Touch Points to PointerUp Event

Step 3 : Assign the resultIf collision occurs handle it

More Details: http://blogs.msdn.com/b/ie/archive/2011/09/20/touch-input-for-ie10-and-metro-style-apps.aspx

Now is the time to write your game. Enjoy the first to market advantage!

twitter.com/thedavedev | david.isbitski@microsoft.com

http://bit.ly/genapp8

top related