Not logged in, Join Here! or Log In Below:  
News Articles Search    

Submitted by Philip Buchanan, posted on December 10, 2004

Image Description, by Philip Buchanan

You don't see that much 2D on flipcode, so I thought I'd submit some images from a small game I'm writing, Radia.

It's really just another version of arkanoid, with a few differences I thought would be quite fun. You control a circular paddle, and instead of bricks, destroy the level 'worms' style, taking chunks out of it.

To start with, it uses only API functions, which are, unfortunately, quite slow, but allow me to target people who are not avid gamers, and who are unlikely to have a recent version of DirectX. It was a real headache getting around some of the major slow-downs, and the fact it was written in VB didn't do much to help. The biggest problem was that flipping the entire backbuffer to the screen is far too slow, yet often a large ammount of the level needs updating, usually in the case of the water.

The backbuffer is divided into sections, which get smaller according to the ammount of activity on screen. Water is divided into strips, about 20 pixels wide, with sub-strips of 2 pixels. Each large strip is moved vertically every frame, while smaller strips are moved every 'x' frames according to the speed of the computer.

This is drawn directly to the screen.

Fire is done with a pre-renderd mask, which is coloured, then animated in the same way as the water. It turned out a lot better than I expected.

The levels are all pre-rendered images, and the masks are calculated on startup. The paddle is made from sections, which are rotated on startup with a small algorithm I wrote.

There's nothing really fancy in it, but it ended up quite nicely. Some information, and a small demo can be found here:

Image of the Day Gallery


Message Center / Reader Comments: ( To Participate in the Discussion, Join the Community )
Archive Notice: This thread is old and no longer active. It is here for reference purposes. This thread was created on an older version of the flipcode forums, before the site closed in 2005. Please keep that in mind as you view this thread, as many of the topics and opinions may be outdated.
Jari Komppa

December 11, 2004, 05:55 AM


I find the controls to be somewhat difficult though. It seems like the paddle is following an invisible mouse cursor. If I could see the cursor, the controls would be much more intuitive.

I'd also like to control the paddle with keyboard, but at least the cursor keys didn't do anything.


December 11, 2004, 11:09 AM

Looks good... I especially like the bulldozer vehicle that seems to be made out of used clock parts. Great concept and great design. I've yet to try out the game, though.

This thread contains 2 messages.
Hosting by Solid Eight Studios, maker of PhotoTangler Collage Maker.