Tuesday, January 6, 2009

MotionPong

Hi again,

A friend of mine wrote a 3D Pong game using the cross-platform Allegro library. I decided it would be nice to play with the MacBook Sudden Motion Sensor so I integrated it with UniMotion.
I'd upload the code, but the SMS part is really simple, and the original code is REALLY messy. Instead, here's a link to the actual game: MotionPong.

Have fun,
Tomer

Edit: I added a 2 second wait after one side scores, so that you could reorient your MacBook in the center.

No comments: