My port of FrozenBubble to the iPhone has finally been approved, after about two weeks of waiting. There were some interesting coding hoops to jump through, as this was a port of a javascript version which already worked in mobile Safari (thanks Glenn Hanson!), and I was converting it to run completely local/embedded in an AppStore application.
Had to hack the javascripts a bit to load everything from the same directory, as the bundle in iPhone apps seems to be flat. Or it’s flat if you don’t unflatten it, or something. No biggie.
Mobile Safari likes to have “bouncing” when you scroll past the end of a web page, even a short one, so gotta turn that off. And gotta turn off the action menu if you hold your finger down. And a few hacks to get sounds working. Most of it came from http://www.codingventures.com/?p=31 - thanks fellow iPhone hacker!
Lots of little tweaks to make it feel like a native app, like using the accelerometer for tilt-based aiming. The animation isn’t the best, due to poor little iPhone’s javascript engine breathing hard, but it’s pretty darn good for what it is. And fun!
