iSpacies 1.1 – bugfixes and small changes.

Just a quick update to the project to fix a few things and change bits and pieces.

First up I’ve moved away from using an NSTimer update method, and gone to just spinning round the main loop. (Thanks once again to 71squared for that). One effect of doing this is that on the simulator it now runs almost too fast – on hardware it’s fine though. To be honest I’m not sure why – I’ve also made a few changes around using the timeDelta (time elapsed between cycles of the main loop) to help smooth things out a bit.

Other things fixed / changed:

The game now ends if the invaders land.

Improvements to the key controls – I’ve discovered you can get a hash value for a particular touch which makes the input logic work much nicer.

Fixed a bug whereby the number of bombs on level 2 and beyond decreased.

Changed it so that if you lock the iPhone/iTouch it doesn’t still run around the main loop / render.

Bit of a tidy up.

Here’s the latest project:  (removed)

5 thoughts on “iSpacies 1.1 – bugfixes and small changes.

  1. It’s looking really good and your obviously making some great progress. I’ll certainly be checking the code out as I’ve just started to handle the touch hashes myself, so I’ll see how you have handled that :o )

    Keep up the great work.

    Mike

  2. Thanks Mike. Got to be honest and say that I couldn’t find any way to track individual fingers until I heard you mention the hash values on one of your tutorials…(I thought they must exist but couldn’t find them!).
    Have a good holiday – thanks again for the tutorials…

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>