Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/excaliburjs/Excalibur. 🎮 Your friendly TypeScript 2D game engine for the web 🗡️ excaliburjs.com
excalibur excaliburjs game-development game-engine game-framework gamedev games html5-canvas typescript
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738<!doctype html><html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Pointer Sample</title> <style type="text/css"> #game { float: left; }
#debug { float: left; margin-left: 2em; } </style> </head> <body> <canvas id="game"></canvas>
<dl id="debug"> <dt>Number of Pointers</dt> <dd id="pointer-num">0</dd> <dt>Pointer (Primary) Button</dt> <dd id="pointer-btn">None</dd> <dt>Last Pointer Page Pos (x,y)</dt> <dd id="pointer-page-pos"></dd> <dt>Last Pointer Screen Pos (x,y)</dt> <dd id="pointer-screen-pos"></dd> <dt>Last Pointer World Pos (x,y)</dt> <dd id="pointer-world-pos"></dd> <dt>Last Wheel Deltas (x,y,z,mode)</dt> <dd id="pointer-wheel-deltas"></dd> </dl>
<script src="../../lib/excalibur.js"></script> <script src="pointer.js"></script> </body></html>