Collision handler changes obj color after touching
authorAndrew Engelbrecht <sudoman@ninthfloor.org>
Fri, 20 Jul 2012 23:28:12 +0000 (19:28 -0400)
committerAndrew Engelbrecht <sudoman@ninthfloor.org>
Fri, 20 Jul 2012 23:28:12 +0000 (19:28 -0400)
commit5cbf923ba5b29b3146101ce12ab5bebf749c8eb3
tree7265d6313079c36c120679359a7883f5ab9b9ee2
parentfe9660c03e50291156a36d65323b91e5ab8fa9f5
Collision handler changes obj color after touching

Now when blue objects touch the ship, they change color to red, green,
then blue.

This was done using chipmunk physics' callback capability.
include/spacedolphin.h
src/collide.c [new file with mode: 0644]
src/draw.c
src/main.c
src/move.c
src/shape.c
src/time.c