jQuery in Action, 3rd edition
The moose likes Game Development and the fly likes Centipede Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Game Development
Bookmark "Centipede" Watch "Centipede" New topic


Aida Evingtar

Joined: Apr 25, 2005
Posts: 3
Hey, I'm a nOOb, and I'm trying to recreate a kind of basic Atari Centipede game in Java- any hints or suggestions? Or sample code I could check out? These Key Interactors are *killing* me!
David Harkness
Ranch Hand

Joined: Aug 07, 2003
Posts: 1646
I'd take a look at James McCabe's sweet game library and example game mentioned in this post.
Aida Evingtar

Joined: Apr 25, 2005
Posts: 3
ok, well I'm not entirely sure how to decipher this pacman code- i was just wondering how key interactors work. like
public void keyPressed(){
//some code here??
i have a class for left and right- but i have no idea how it all goes together. anyone? I think i'm using NGP - does that help at all?
Neeraj Dheer
Ranch Hand

Joined: Mar 30, 2005
Posts: 225
can you post some of your code? i did not fully understand your post and your question.
I agree. Here's the link: http://aspose.com/file-tools
subject: Centipede
It's not a secret anymore!