Bionic Surfer - iPhone Game

I've spent the last few months working an a 2D platformer shooter for the iPhone, and it's finally finished and on the app store. You fight your way through five worlds using nine different weapons in order to stop an alien invasion. It uses Box2D, and one of the cool features is the ragdoll physics when you destroy the aliens. You can see this in the gameplay video.

Gameplay Video

iTunes Link

Screenshots:
Image
Image
After watching the video, I bought you game (you have a hit from Spain now).
It is absolutly wonderful, very original, special style, congratulations!

I also see there is no LITE version, if you want to sell a lot of copies, you have to create one.
Do you remember iShoot? The guy who created it, told he didn't sell to much copies until he launched LITE version, then he made half million of dollars 🙂
http://pulse2.com/2009/02/13/ethan-nich ... pp-ishoot/
Read specially 5th paragraph.
And do not forget to promote your game. Promoting it is a science.


Some questions I have, if you don't mind:
How many months did you spend creating this game?
Did you create a level editor?
Are you using contacts or sensors to know if your character is jumping or not?
Which parameters are you using in your STEP (timestep and iterations) call? I ask you this question because I did a small demo that works perfectly on my ipod but a bit slow on my iphone (ipod processor runs faster than the iphone).
Are you physics update rate and render rate sticked?


Thanks and good luck.
don't have an iPhone, but based on the video, great work!
I'm glad you like the game! You are absolutely right about the Lite version. I'll be finishing it up over the next day and will hopefully submit it tomorrow. The real trick is fitting it into 10 MB, so that the game can be downloaded over the cell network. Here are some answers to your questions:

I worked on the game for a little over five months, but the game was a hobby and I was only working on it in my free time.

I did create a level editor, and it ended up being like a mac port of the iphone version. I actually toggle between playing the game and writing the levels in the level editor, in order to test the levels. I think it works pretty well, but it turns out that designing levels takes a long time even if the editor is good.

For character jumping, I used sensors below his feet. The monsters all use sensors for direction changes and ground detection as well. You may not be able to tell, but most plants are sensors, so that when you run by them, they sway back and forth.

The choice of timestep and iterations was a little bit strange. I use timestep of 1.0/52.0 and 5 iterations, twice in a row on each frame. I found that when I used a single timestep of 1.0/26.0, objects with joints had a terrible time falling asleep, and with a world this large you need sleep. I actually have some custom sleep functions with significantly relaxed conditions, for collections of bodies that are jointed together.

When writing a program for the iPhone, it's important to remember to switch off the Thumb instruction set. You can find the toggle between Thumb and ARM in the project settings. This is because Box2D uses a lot of floating point arithmetic, and Thumb doesn't actually use the iPhone's FPU. You should also increase the optimization level to O2, or O3, although this may lead to you encountering bugs in the ARM gcc implementation. I found some hackish ways of bypassing the faulty optimization paths, but it wasn't really a good solution. In response to your comment, I was not unaware that the iPod runs faster than the iPhone.

My physics update rate and render rate are stuck at 30 FPS. I had the same issue as I described above with body chains not falling asleep when I used a variable rate.

You didn't ask about it, but probably the trickiest Box2D related challenge I encountered was restoring the state of physics engine and binding the bodies and shapes to my own game structures after a Quickload.
robert wrote:
My physics update rate and render rate are stuck at 30 FPS. I had the same issue as I described above with body chains not falling asleep when I used a variable rate.

You didn't ask about it, but probably the trickiest Box2D related challenge I encountered was restoring the state of physics engine and binding the bodies and shapes to my own game structures after a Quickload.


Hi!

I've been playing your game for a while and there are some really difficult levels, apart from that, wonderful game.

I'm curious, you say saving current state is difficult, could you comment this topic? I mean, did you hardcode load/save methods or did you use a serialization library for C++? (are you using C++ or Obj-C)

Thanks in advance.
very cool game, i will have to try this game out.
doleriya wrote:
Is it possible to get the Iphone on the verizon wireless network? My cousin has the Iphone with her AT&T network and i think ithe phone is awsome but i have the verizon network (which rules!) and i don't want to swith networks. Is there a way to use the Iphone with Verison?

Yes, just jail-break it. But this is not the best place to ask those questions.
Bionic Surfer is a recommendable game (hence the B rating), but between the low intensity, the music, and the lack of “awesomeness” (think cool animation, special effects, amazing backgrounds, etc), it just feels like a good, not great little title. Since the game auto-aims for you - a necessary control compromise given the iPhone platform - it’s not really a traditional shooter, and it’s also not a super-deep puzzler; everything is sort of “light.” A little more “wow” would have pushed it up in ratings. Stellenmarkt
Stellenangebote
Jobs
Great job on this one!
robert, How do you move your characters? ApplyForce every update or SetLinearSpeed? How do you avoid infinity acceleration?

Thanks.

Original thread: https://box2d.org/forum/viewtopic.php?t=3248