Arkanoid Using Torque 2D

20.01.2008

Right! I’m getting seriously side-tracked here. I was planning on using a bit of my spare time to investigate news on the Rich Internet Applications (RIA) front, but I found myself trying to create an Arkanoid clone in Flex.

It didn’t go too well, because Flex/Flash doesn’t update the visuals fast enough. I think it has to do with the fact that Flash rendering uses a software device, instead of direct hardware access, such as through DirectX or OpenGL.

At any rate, I just couldn’t let the thought of creating an Arkanoid game be, so I browsed around and found GarageGames’ excellent product, Torque Game Builder. Using the product’s out-of-the-box features, some sample graphics and a bit of TorqueScript, I have put together the following:

arkanoidtest1.png

To see it in action, just download the following file, un-zip it and run the .exe file: www.topholt.com/arkanoid/arkanoidtest1.zip

I’m actually pretty happy with it, considering that it only took a few hours to put together. It uses simple rigid body physics (!) to bounce the ball, and just for fun I added rotation to the paddle.

There are tons of things still missing or not working correctly. Some of the collision detections are a bit off, and the physics are not completely correct - but that’s my fault, not the product’s. I think I’ll keep playing with this and see if I could make it into a real “casual” game.

Comments are always welcome!