Home > Development, games > Asteroids in Processing

Asteroids in Processing

May 5th, 2008

Last February I decided to write a game. Around that same time I was also introduced to Processing. To great things that work great together. If you are a software developer and are not familiar with Processing then I think you should be. It’s a wonderful Java based environment in which you can sketch out graphical ideas very quickly. It lets you worry less about how well structured your code is and instead you quickly formulate your ideas and see them on screen. The number of interesting Processing applications is growing daily and some are very impressive.  It was the perfect platform for my game. Well I should be honest – it’s not “my game” it’s a knock off of one by Atari. You see I haven’t written a video game since high school so I wanted to start with something easy and familiar, hence I chose Asteroids.

It only took me about 24 hours of work to get a good version of the game running. It took an extra 15 hours to try and polish out the rough edges. Honestly I could probably use another 24 hours to polish but at this point I feel happy with the game and feel like releasing it and moving on to my next game. Supposedly there is a bug that causes the ship to lock up though I have not experienced it. If you do please let me know and try in detail what was happening at the time of the lockup. Or download the source and fix it yourself.  Enjoy!

Controls:

Space – Fire
Left – Rotate Left
Right – Rotate Right
Up – Forward Thrust
Ctrl – Hyperspace

troy Development, games , ,

  1. May 5th, 2008 at 22:00 | #1

    Awesome stuff ^.^ I’m in the process of learning Processing it’s still a little painful for what I’m doing, but I’ll get there ^_^”

  2. Simon
    May 9th, 2008 at 01:05 | #2

    Nice Job!

  3. June 15th, 2008 at 06:42 | #3

    Good job. If only you did this 30 years ago, would have saved me plenty o quarters I could have spent on a more mispent youth

  4. July 14th, 2008 at 04:21 | #4

    Hi,
    any chance to release the source for your asteroids? I would love to play with it.
    Cheers,
    Alex

  5. July 14th, 2008 at 22:19 | #5

    Alex, funny you should ask, a friend just told me today to release the code. I’d love to, when I get home I’ll dig it up and post it. Be warned, it’s grotesque.
    [update]
    http://www.planettroy.com/uploads/asteroids.zip

Comments are closed.