This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Game Development and the fly likes Killer game programming in java - three questions - Worm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Game Development
Bookmark "Killer game programming in java - three questions - Worm" Watch "Killer game programming in java - three questions - Worm" New topic
Author

Killer game programming in java - three questions - Worm

Fernando hiar
Greenhorn

Joined: Jan 11, 2008
Posts: 29
I have three questions about the game Worm in the Killer game in java book´s, why I use the value 0.7 in the bearing NorhWest, NorhtEast, SouthEast and SouthWest Why Don´t used the value 0.5 because this value is a half of 1 who i will walk in the straight ???
Why the fixedOfss[] = { 2, -2, -4}; has the value -4 and the value 2 and -2 the Points "walks" in two position is more quickly than 1 or - 1 whos walk in 1 position???
Why I used the cells[headPosn].x - RADIUS - x, it is to get the head more halfhead who´s the error if I don´t click in the center of head of Worm???

thank you,

Fernando.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Killer game programming in java - three questions - Worm
 
Similar Threads
Isometric Tile
Sun Cirtification
Great Hunter...I Think
88% not native English
SCEA Part one, 93%