tags:

views:

39

answers:

1

I downloaded the open source example game iSpacies and am trying to understand its design.

For example, how would you go about changing the alien image into a 'V' shape and the the fighter object image into a shape like this: '^'?

A: 

Mmmm this code seems using some king of game Engine.

But for your question, see the ispacies.png png file. It contains all enemies image :-) But if you modify the image you will (probably) need to change some kind of variable in the program (I didn't find where).

But he's using OpenGL ES to do animations. You can to try using Core Animation with UIViewImage and CALayer :-)

Good Luck !

Vinzius
thanks for help it's working but I want each row of alien should have a different color .
Mmmm maybe the best way to achieve this is to add a function to UIImage to change the pixels color. But it needs to find out where and how are created aliens ;-)
Vinzius