I have a UIImage. There are 3 colors, white (=sky), black (=player) and green (=floor). When the black player collides with the white sky only, i make him fall down. When he collides with the white sky AND with the green floor, i stop him.
The Image: http://img39.imageshack.us/img39/4290/colormapb.jpg
Now my question: How can i read the colours and make the player colliding with it?
The programmers of 30 day game made the color map collision too.
thanks, domp