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 trialKyle Schmelzer
Courses Plus Student 212 PointsI 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!?!?!
Kyle Schmelzer
Courses Plus Student 212 PointsIn 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.
Andrew Hickman
Full Stack JavaScript Techdegree Student 10,013 PointsHmm... 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
Kyle Schmelzer
Courses Plus Student 212 PointsFor whatever reason, It is not working in Chrome, but works in firefox. I guess solved?
Andrew Hickman
Full Stack JavaScript Techdegree Student 10,013 PointsI'm confused because the Workspace preview works just fine in Chrome.
Angelic Sanoy
Full Stack JavaScript Techdegree Student 6,583 PointsSame here. It's not working in Google Chrome. It's giving me phaser.js issue? Please help. http://prntscr.com/m0aap3
Angelic Sanoy
Full Stack JavaScript Techdegree Student 6,583 PointsI 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.
Andrew Hickman
Full Stack JavaScript Techdegree Student 10,013 PointsAndrew Hickman
Full Stack JavaScript Techdegree Student 10,013 PointsHey 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.