Here’s a strange one for ya. I have program that’s been running fine (both locally and online), I added a few lines of code and now suddenly (once uploaded) it will no longer run online (but fine locally). It appears to load about 95% of the game then suddenly stops at the end. I even replaced main.hx with the older working script and still nothing (online). What else could I have changed?
Link: http://roomrecess.com/Haxe/BoomBlocks/play.html
It works fine on Google Chrome. However, I checked the browser’s debug console and here is what I copy-pasted from it:
play.html:113 0.02370245205512151
play.html:113 1
http://roomrecess.com/Haxe/BoomBlocks/fonts/SpicyRice-Regular.woff Failed to load resource: the server responded with a status of 404 (Not Found)
http://roomrecess.com/Haxe/BoomBlocks/sounds/BGMusicOrig.mp3 Failed to load resource: the server responded with a status of 404 (Not Found)
In Google Chrome, press Ctrl + Shift + J. That’s the keyboard shortcut at least. You can also go to the Chrome menu and select More Tools > Developer Tools.
Yep, we don’t convert sound for you (different browsers will expect different formats), so if you can, provide all sounds with OGG and WAV as well, using the name.
I think the webfont converter works for TTF but not all types of OTF. Regardless, we use HTML5 webfonts, so a traditional webfont generator can be used, too
If anyone finds a better offline webfont generator, let me know, too – that would be nice