Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Practice calling functions while adding additional graphics to the JavaScript game.
Downloading and Running the Project Files
Because of how the Phaser.JS library handles files, you need to be running a web server locally to view a working copy of this project. You can't just open the index.html file in your web browser as you might a basic HTML page. There are several simple ways to get a web server up and running on your computer:
- The Web Server for Chrome is an easy-to-install extension for Chrome that lets you select a folder on your computer (like the folder with the game files in them) and deliver them through a basic web server. This is probably the easiest way to get started — but you'll need to use the Chrome web browser.
- If you don't want to use Chrome, check out a simple guide for getting a local web server set up for several other methods.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Shannon McCracken
965 Points1 Answer
-
k doshi
Full Stack JavaScript Techdegree Student 910 Points4 Answers
-
Eric Lassard
907 Points1 Answer
-
Celeste De Santiago
14,509 Points1 Answer
-
Siddhant Gandhi
Full Stack JavaScript Techdegree Student 379 Points2 Answers
-
Rose Mein
1,569 Points1 Answer
-
Carlos Pena
117 Points1 Answer
-
PLUS
irving delgado
Courses Plus Student 752 Points2 Answers
-
Bradford Robert
100 Points1 Answer
-
Franklin Rony Cortez Barrera
3,065 Points2 Answers
-
Ricardo Guerrero
4,424 Points2 Answers
-
osaydabushoke
392 Points0 Answers
-
Faye Ma
1,028 Pointsi don't understand what 'platform' in ('platform', platform_1.png) is, is that a variable?? no image is called platform.
Posted by Faye MaFaye Ma
1,028 Points2 Answers
-
fathia
5,555 Points4 Answers
-
Mehak Bhola
262 Points4 Answers
-
isagani inofinada
469 Points2 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up