A project I'm doing on the PS2 requires relatively large isometric maps, and the hell if I was going to do this by hand :)
I managed to do this in one evening, which speaks volumes of Ruby/Gosu. Thanks Jlnr
Wow, that looks quite cool. How did you do the screen coordinates to world coordinates calculation?
Very similar to that of a top down tile game.
I'm storing all the tiles in a 2D array @level_data[y][x]
loop through it and use the x, y index to multiply the offsets.
Tile::WIDTH = 32
Tile::HEIGHT = WIDTH / 2
x * Tile::WIDTH
y * Tile::HALF_HEIGHT
# x row offsets
x += Tile::HALF_WIDTH
Powered by mwForum 2.29.0 © 1999-2013 Markus Wichitill