Video Thumbnail

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

Premium Features

Download Video

How to Test Directly On Your Phone

Published 7 months ago

We did a little bit of mobile responsive development to our game to ensure it resizes correctly as our screen size shrinks, but when actually playing on a mobile device, you'll notice it's very laggy and quite slow. In order to fix this lag, we need a way to test our app directly on the device we wish to play on.

To do so, we'll use Vite to set up a local server that creates an external URL we can plug into our phone's browser.


Want to participate?

Create a free Chris Courses account to begin


No comments yet, be the first to add one

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.