I said last time I was working on something a bit cool, and here it is
About a month ago, Tokamak went open source. I had commented in the GDNet news post how nice it would be if somebody ported it so it was completely managed. Well, I decided to be that somebody
The library is 100% Managed Code and tied quite tightly to the XNA Framework (for all the various Vector structures etc.) so it should run on Xbox 360 with absolutely no problems. I'm sure I'll find out if that is the case if/when I get myself creator's club subscription
When porting I actually made a massive amount of progress in a matter of days, but, for what seems like forever now, I have been removing the bugs I introduced in that initial coding burst
The last major bug was causing bodies to sink into each other, but not all the time. And, due to floating point precision, tracing the bug by running identical scenes in native and managed was proving difficult. Long story cut short, I found the problem and now it runs great
So far all I have put in are boxes (static and dynamic) but I should be able to put in the various other rigid body types that Tokamak supports within, literally, a few minutes if I wanted
Support for Heightmaps and Joints may be a bit trickier but it is on my todo list for the near future.
Nearly forgot, I also put up a video on YouTube (cause stills don't do it justice)
I decided to buy Prince of Persia Classic a couple of days ago, and it is the best 800 Xbox Live Arcade Points I have ever spent
Gameloft have done an amazing job and the graphics are really nice and the animations flow so well.
The game is also addictive in that you get to see leaderboards of players all over the world and try to beat their scores. One of the modes you can play on is survival, where you have to complete the whole game without dying (those familiar with Prince of Persia may know how difficult this can be) but I finally managed to do it, and I went as fast as I could the whole time. My resulting score put at 10th in the world no less
I expect over time I will drop from this place, but I don't think I could bring myself to try to do this again
Expect some more development related posts soon as I'm working on something a bit cool