dferasmus Posted February 2, 2015 Share Posted February 2, 2015 Dear Panda.js I fought through some code to get a mockup of an old game I created to be written in "Panda.js". Its crude, but now complete, and serves as an introduction to Panda.js. Off line the game works, but online it only loads up to 70%. The online game is located here. The code is located here. Please have a look. I only have guesses that would take me a long time to verify. I did try to look through the engine, but couldnt make much progress. I suspect the locations of the images is the problem though. Bonus question 1: How could I neaten up the text functioning. I initially tried writing it as a separate class so I can make multiple lines, but succeeded only in getting frustrated. Bonus question 2: What would be the best way to have multiple "views" that I can switch between, eg. welcome screen, play field, high scores, settings, etc. Thanksdferasmus Quote Link to comment Share on other sites More sharing options...
enpu Posted February 2, 2015 Share Posted February 2, 2015 View your console to see what's wrong, you are trying to load some gif files that are not found. And you are using really old Panda 1.1.2 version, newest version is 1.12.0. Quote Link to comment Share on other sites More sharing options...
dferasmus Posted February 2, 2015 Author Share Posted February 2, 2015 enpu Awesome, and thanks for the fast reply. I suspected it was the images. What do you mean by view my console? Im used to asm, embedded c, visual studio, etc, so Im not famialiar with web code lingo. Maybe point me to a tut or post that deals with it. Ill update the version tomorrow, thanks. Please confirm that this is the link to the latest version. Thanksdferasmus Quote Link to comment Share on other sites More sharing options...
dferasmus Posted February 2, 2015 Author Share Posted February 2, 2015 enpu Nevermind, got it. Thanks. I can see the gifs as not found. Ill tackle this tomorrow and if I have trouble Ill post then. Thanks Quote Link to comment Share on other sites More sharing options...
enpu Posted February 2, 2015 Share Posted February 2, 2015 Great, i'm sure you will have to do some changes in your code when updating from really old version.Let me know if you have any problems. Quote Link to comment Share on other sites More sharing options...
dferasmus Posted February 3, 2015 Author Share Posted February 3, 2015 ...do some changes... OUCH! Ok, got it, thanks. Panda.js 1.12.0 for the win. Thanksdferasmus Quote Link to comment Share on other sites More sharing options...
dferasmus Posted February 3, 2015 Author Share Posted February 3, 2015 PS. I really liked the head-bobbing-Panda... gonna miss that panda... Quote Link to comment Share on other sites More sharing options...
enpu Posted February 4, 2015 Share Posted February 4, 2015 Heh, you can always make your own loader Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.