Took a break, had some tea, now I’m back to coding.

Ahh, refreshing tea from Bon The Place (my fav tea store, ever.)

Got the game working in Chrome since I decided to simply host it locally with Apache at localhost. Just makes thing simpler since Chrome seems to run the game a lot faster than Firefox (my laptop is a beat up piece of … but it’s still kickin’ so I really can’t complain, I guess.)

Will post more progress and I make some.

Default Music Now In, Runs in FF But Not In Chrome

Got the game loading and playing in Firefox, but doesn’t even try to load in Chrome. I have no idea why. It seems I’ve spent about twice as much time debugging as I have developing. For this stuff to work, that has to change.

I’ll reiterate: Chrome NEEDS a javascript error console! (or am I dumb and I just can’t find it?)

“Not Well Formed” Is a Red Herring

I couldn’t figure out why my HTML5/JS Akihabara game was not loading and thought the error in the Firefox JavaScript Error Console “Not well formed” had something to do with it. Turns out that if Akihabara cannot find the audio files for your game, it hangs on loading and there is no error in the console to that effect.

I threw the OGGs and MP3s in the directory and we’re off to the races. Still get “Not well formed” but the game runs. Who knows?

 

 

Ack! JavaScript File Access Issues

20 minutes blown trying to figure out why I couldn’t include JS files from ../ in the <head> tag. *sigh* Chrome needs the Javascript error output window that Firefox has.

Almost have the game loading, however. Making progress.

Note for anyone who is working on an Akihabara JS game: making a directory inside the unzipped Akihabara directory then trying to include the Akihabara files by ../akihabara/*.js does not work as JS in the browser cannot access stuff outside of its own domain.