Wednesday, February 25, 2009

Bounce game

This week I was working on learning and using the physics engine JigLibX. Painful to say the least. I need to be spending my time learning XNA since this is only the third week. No documentation on JigLib and I spent a lot of time trying to figure out the connections between it and the XNA rendering system. I don't have a good understanding of the rendering system in the first place and mix that with a lack of understanding of JigLibX and it was a surprise that I actually got a game done.



In this game the ball is bouncing at a regular rate. The idea is to move the little green dot around and tilt the tiles so the bouncing ball ends up landing on the green platform with the least number of bounces. The ball started in the bottom right corner. One of the biggest time sinks was the fact that there is no hidden surface removal (as you can see in the top right corner platform) and I spent a bunch of time trying to figure that out and didn't get it done. Had to move on. For me the jury is still out on JigLibX, but it seemed like it had a lot of potential, just needed more samples (that included hidden surface removal) and documentation.

If you want the source, send me a message and I'll consider sending it to you.

No comments: