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
Let's summarize what you've learned about basic programming concepts and looks at other ways you can improve the game.
Ideas to improve the program
- Use a different sprite for the player — there's a
mikethefrog.png
graphic you can use. It's 32 pixels tall and each frame is 32 pixel wide. - Add a life counter. Instead of simply losing points when the player runs into a bottle of poison, why not start the game with 3 lives? Each time the player hits a bottle of poision they lose one life; at 0 lives the game is over.
Information about using Treehouse Workspaces
- Using Treehouse Workspaces — complete workshop.
- Previews and snapshots — single video explaining how to create and share a workspace snapshot.
Bonus Game
Here's a Workspace snapshot of a bonus game. Just click this link, then fork the snapshot to create your own workspace with this new game in it.
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-
Heggy Castaneda
529 Points1 Answer
-
Casey Fulmore
1,853 Points1 Answer
-
Reza Zandi
Full Stack JavaScript Techdegree Student 1,599 Points1 Answer
-
Thomas Goepfert
Front End Web Development Techdegree Student 6,124 Points6 Answers
-
Derek Hutson
9,740 Points1 Answer
-
Gedeon Bashimbe
1,026 Points4 Answers
-
Angelic Sanoy
Full Stack JavaScript Techdegree Student 7,161 Points2 Answers
-
Chris Corpuz
401 Points3 Answers
-
Siraj khan
420 Points2 Answers
-
Nour El-din El-helw
8,241 Points2 Answers
-
Ioana Sauluc
3,251 Points3 Answers
-
Engin Tandogan
615 Points3 Answers
-
Ben Hobgood
1,791 Points0 Answers
-
Paul Dieter
1,569 Points2 Answers
-
Balazs Peak
46,160 PointsI've modified this game and I would like to deploy it on the AWS and Google Cloud platforms for practice. Can you help?
Posted by Balazs PeakBalazs Peak
46,160 Points1 Answer
-
Jose Luis Ocaña
3,746 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