Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Introducing JavaScript Finishing the Game Wrapping It Up

I try to download the workspace to work on the code in a program I am comfortable with, and the file is not working.

I download the file, extract it. Everything is there, but when i open up the index.html in chrome its just the background, and the green background of the game. Nothing within the game is loaded. No platforms, no coins, no player. Help!?!?!

Hey Kyle! It's difficult to pinpoint this problem without seeing the code, but the first thing I would check is that index.html references the JavaScript file with a <script> tag. I know a lot of Treehouse workspaces leave this out and have you do it before you start writing your JS. This is just conjecture- again, hard to tell what's wrong without seeing your index.html and .js files.

In reply to Andrew. It's the download from the "Wrapping it up" aspect of "intro to Javascript". I've done nothing to alter it, and the <script src="game.js"> as well as phaser.js are both there.

Hmm... I downloaded the files and am getting the same issue. The console is throwing an error from the Phaser library, and says "chalkers.png" may not be loaded, but the Sources tab in DevTools says it is loaded. I'm not sure at the moment what's going on, but I'll get back to you when I figure it out!

2 Answers

For whatever reason, It is not working in Chrome, but works in firefox. I guess solved?

I'm confused because the Workspace preview works just fine in Chrome.

Angelic Sanoy
seal-mask
.a{fill-rule:evenodd;}techdegree
Angelic Sanoy
Full Stack JavaScript Techdegree Student 7,161 Points

I have able to fix error http://prntscr.com/m0af4j by downloading the new phaser.js but the index.html still doesn't work on chrome because of this warning. Help please.