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 trialNaomi Freeman
Treehouse Guest TeacherHTML5 workshop
http://teamtreehouse.com/library/coding-your-first-html5-game
In my index file, my file can't find itself to load.
Right now my game is inside the limejs folder.
lol something is off with my filepaths. Can anyone please help?
It's like Naomi - limejs - fish_game - index.html fish_game.js style.css fish.js images(folder)
In my HTML I'm trying to call
<body onload="fish_game.start()" style="background: #949494;">
and I'm getting this in the console: Uncaught ReferenceError: fish_game is not defined index.html:11 onload
How do I untangle this directory confusion?
Many thanks.
Manuel Schulze
12,739 PointsManuel Schulze
12,739 PointsProbably this is outdated. But I got the same problem yesterday and I could fix it with an update with bin/lime.js update.
Greetings Manuel