Video Thumbnail

Sign up for a plan to instantly unlock all premium lessons.

Premium Features

Download Video

Mobile Events

Published a month ago

If you'd like for your game to work on a mobile device, you'll need to add in a few additional event listeners: touchstart, touchmove, and touchend. There are a few caveats with adding these as clientX and clientY are not directly available within the event listeners' event objects. This video will show you workarounds for this and how to emulate a mobile device using chrome.

Comments

Want to participate?

Create a free Chris Courses account to begin

or
Sign In
A
Allbloggertricks posted 6 days ago
0
chris posted 4 days ago
0
A
Allbloggertricks posted 3 days ago
0
Cheat Sheet Preview

Download The Official Chris Courses HTML5 Canvas Cheat Sheet

Essential canvas syntax at your fingertips.

Download Now

Providing the lift to launch your development career

© 2021 Chris Courses. All rights reserved.