CyberiaPC.com Community Forums Main Page
RSS Feeds: Late(st) News | Zenith Picture Gallery | Most Recent Community Topics | Tips, Tricks and Other Useful Stuff

Welcome Guest ( Log In | Register )

> Writing Centipede in Java
usr.c
post Feb 8 2003, 11:31 AM
Post #1


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




Well, I've got an assignment due in the beginning of April when I have to hand in a clone of the original Centipede game (Atari, 1980) written in Java. So I thought it would be a good idea to have some form of a log where I would post how the project is coming along and how certain obstacles are dealt with. This should be helpful and interesting, since I'm new to Java too.

Hopefully, the final code will be released when the project is complete. original.gif

How the game works:

The Centipede universe is made up of three main types of objects: Bugs, mushrooms and the player. Here is a breakdown of the game objects:

*Mushrooms
|_Poisonous: Cause the centipede to drop to the bottom of the screen.
|_Normal: Cause the centipede to change direction.

*Bugs (kill the player upon impact)
|_Centipede: Moves across the screen.
|_Fleas: Drop randomly from the top and create mushrooms.
|_Spiders: Lurk in the bottom 1/3 of the screen to keep the player moving.
|_Scorpions: Turn mushrooms into poisonous ones.

The player moves in the bottom 1/3 of the screen and tries to kill the centipede. When a part of the centipede is shot, it turns into a mushroom and the centipede itself breaks into two seperate ones.


--------------------


Things that I don't suck at: Photography (flickr, JPG Mag), Skydiving, Splitting atoms, Flying a space shuttle
"Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch
I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 3rd September 2010 - 06:28 PM