simple color map question
<p>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.</p>

<p>The Image: <a href="http://img39.imageshack.us/img39/4290/colormapb.jpg" rel="nofollow">http://img39.imageshack.us/img39/4290/colormapb.jpg</a></p>

<p>Now my question: How can i read the colours and make the player colliding with it?</p>

<p>The programmers of 30 day game made the color map collision 
too.</p>

<p>thanks,
domp </p>
