Video Thumbnail

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

UNLOCK LESSON

Premium Features

Download Video

Mobile Events and Performance

Published 2 years 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 and touchmove. 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

Login

No comments yet, be the first to add one

Providing the lift to launch your development career

© 2024 Chris Courses. All rights reserved.