BastardBlaster Running on iPhone

Pretty neat! Still a few graphical glitches. Thanks goes out to my buddy Chris for the screens and test.

Play My Game – BastardBlaster

As of this posting it’s a very early version with still much of the stock artwork and enemy types. But, it’s fun and playable. Go Akihabara!

The story goes that you’re a BastardBlaster, conscripted to battle everything in the world that’s annoying. Flat tires, Blue Screens of Death, when you go to eat pizza and there’s none left… the list goes on and on. If it’s annoying, you shoot it.

http://arcade.xandorus.com

 

 

Audio Conversion Love

I’m under a tight deadline for BastardBlaster, the game I’m building right now for the Guelph Game Jam, so I’ll share my quick and dirty way to convert audio files in Linux and using some Windows software with Wine.

The source music is music modules in the .it (Impulse Tracker) format. So, I used Winamp (running via Wine) to export as .wav files. From there, I used the MP3 to OGG conversion script on this page (modified a bit) to do:

./wav2ogg filename.wav filename.ogg

wav2ogg’s contents look like this:

[rocky1138@atlas Music]$ cat wav2ogg.sh 
oggenc -o "$2" "$1"

Hope this helps someone in the future :) Note you have to have oggenc (vorbis-tools) installed in order for that to work :)

Now to do mp3s….

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.

Serving JS Locally With Chrome Is a Common Problem

Turns out a lot of people are having the same issue with Chrome / Chromium and their extensive security. Not that I mind a lot of great security around JavaScript, mind you.

http://code.google.com/p/chromium/issues/detail?id=40787

Hopefully once the game makes it out to the web this will go away as it’s the same domain policy that’s causing problems.

“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?