You are being forwarded to the lastest updates ot his page!
Or you can Click Here if it doesn't work or you don't wish to wait.

space invader game??

likeng85
does anyone have an idea on how to do a space invader game using java JBuilder?


svend
Hi li qing,

I don't use JBuilder - but I might be able to give you a
few ideas anyways...

I assume, that your quite new to game programming and would
therefor recommend that you develop the game in iterations.

I would begin with an overall design of your sprites (monsters,
hero ect.)- eg. what kind of behaivior is shared by all sprites ?

Then I would take a look at the different kind of subclasses.

After making your Hero class I would try to get it to work with the
Canvas. Can you move the Hero move around on the Canvas?
Then I might try to extends his/her behaivior, so that (s)he can shoot
or whatever.

I would then add the Monster(s) and extend their behaivior in each
iteration.

I wouldn't concentrate to much on the graphics - it can always be added
later on.

/Svend Rost

ps. feel free to reply with more questions..


dranonymous
Here is an article which walks you through making a simple space invaders game -

http://grexengine.com/sections/externalgames/

Choose the articles link at the top and then you'll the tutorial on space invaders.

Regards,
Aaron R>


javatoid
More inspiration...

http://www.thomasconnolly.com/Games/Classic/