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
Get started building a video game in JavaScript.
Important Note
We've updated the phaser.js file in the workspace what's called a "minified" (compact) version. So if you open the phaser.js file, it won't look like the one shown in the video. The smaller version let's the workspace work faster.
More information about Treehouse workspaces
Free Text Editors
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.
Resources
- Phaser — Desktop and Mobile HTML5 game framework
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Zean-Xuen Thong
1,787 Points0 Answers
-
Sorin Chircu, SC OSF GLOBAL SERVICES SRL Calea Plevnei nr.159, Sector 6, 060014, Bucuresti. VAT: RO12900448
14,547 PointsI'm not able to preview the file on chrome
0 Answers
-
Erica Smith
30 Points1 Answer
-
Heidi Vasterling-Ford
7,806 Points1 Answer
-
Otavio Araujo
Full Stack JavaScript Techdegree Graduate 18,671 Points1 Answer
-
Fotini Ioannides
102 Points1 Answer
-
Shuk Ning Law
1,943 Points2 Answers
-
Carlos Marin
2,675 Points1 Answer
-
Ezekiel Yu
2,364 PointsNo game
Posted by Ezekiel YuEzekiel Yu
2,364 Points1 Answer
-
Amulya Vijaywargiya
46 Points1 Answer
-
Kashfa Tahir
4,722 Points1 Answer
-
Jennifer Riess
8,726 Points2 Answers
-
Nour El-din El-helw
8,241 Points11 Answers
-
Adam Molyneux
32 Points0 Answers
-
Unsubscribed User
205 Points1 Answer
-
PLUS
Soon Han Ooi
Courses Plus Student 1,062 Points1 Answer
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