Premium Features

Download Video

Image Platforms

Rectangular platforms work, but they'd look a lot better if they were images. Here I'll show you how to replace the rectangular platforms in our game with static, image-based platforms instead to give the game a truly unique look.

Comments

Want to participate?

Create a free Chris Courses account to begin

Login
C
CucumberBasket posted 3 years ago

Hey everyone, if you have an issue with open the localHost server, then the best thing is to install node.js v-16.20.

and then everything should work fine.

Amazing Course Chris, Thanks for sharing!!

0
h
hsdhaliwal posted 3 years ago

Hi Chris,

Can you please make a flappy bird tutorial

0
R
Rick150595 posted 4 years ago

I have an Issue to UpLoad the project to my github. is there anything blocking the project ? I am not able to open the folder inside my github.

0
j
jcarvalho15 posted 4 years ago

i dont understand how do you import the images. how i do all that process of get in the localhost

0
jcatteo posted 4 years ago

Hey Chris, How come we have to import the image this way, but in like your fighter game we loaded images a way simpler way and it worked fine and the files were in our directory ? I'm just trying to learn brother and i would really appreciate it if you could explain that to me. Thank-you sir.

import platform from '../img/platform.png';
1
chris posted 4 years ago

You can do either one, this version is a style that's more used in app development since they require you import images and other assets as modules. Technically it's safer since your console will return an error if the image being imported isn't found (and then you can fix it accordingly), but the other method is still totally valid (you just won't have that automatic checking in place to make sure the image path is valid).

0
jcatteo posted 4 years ago

Cool thanks now I know the differences. Thanks for responding!

1
chris posted 4 years ago

No problem, glad to help 🙌

0

Providing the lift to launch your development career

© 2026 Chris Courses. All rights reserved.