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 2 years 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
MILLAREMARK420 posted 6 months ago
0
webuxmotion posted 10 months ago
1
N
Nishil1323 posted a year ago
0
C
CucumberBasket posted a year ago
0
p
pedrolbpcruz posted 2 years ago
0
chris posted 2 years ago
0
webuxmotion posted 10 months ago
0
XxCFxX posted 2 years ago
0
chris posted 2 years ago
0
XxCFxX posted 2 years ago
0
XxCFxX posted 2 years ago
0
XxCFxX posted 2 years ago
0
N
Nishil1323 posted a year ago
0

Providing the lift to launch your development career

© 2024 Chris Courses. All rights reserved.