This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Game Development and the fly likes IsometricTile Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Game Development
Bookmark "IsometricTile" Watch "IsometricTile" New topic
Author

IsometricTile

Fernando hiar
Greenhorn

Joined: Jan 11, 2008
Posts: 29
I see the code and understood about the even and odd line they´re a constant, but stay one doubt why the coordinate x and y of even line is different in values of odd line???

// 'start of first even row' (x,y) coordinate
evenRow 12 8

// 'start of first odd row' (x,y) coordinate
oddRow 40 23

evenRow = even line;
oddRow = odd line;

Thank you,


 
Consider Paul's rocket mass heater.
 
subject: IsometricTile