Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Centipede

 
Aida Evingtar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1646
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd take a look at James McCabe's sweet game library and example game mentioned in this post.
 
Aida Evingtar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you post some of your code? i did not fully understand your post and your question.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic