Video Thumbnail

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

UNLOCK LESSON

Premium Features

Download Video

On-load asset position bug fix

Published a year ago

There's a small bug you may have noticed in which the platforms of our game move the very beginning of the level whenever the browser window is refreshed. This occurs since our init() code is running before all of our game assets are loaded. Here I'll show you how to fix this using the power of promises and async / await.

Comments

Want to participate?

Create a free Chris Courses account to begin

Login
N
Nishil1323 posted 11 days ago
0
p
pedrolbpcruz posted a year ago
0
chris posted a year ago
0
XxCFxX posted a year ago
0
chris posted a year ago
0
XxCFxX posted a year ago
0
XxCFxX posted a year ago
0
XxCFxX posted a year ago
0
N
Nishil1323 posted 9 days ago
0

Providing the lift to launch your development career

© 2023 Chris Courses. All rights reserved.