Isometric drawing "Not Tile Stuff" on isometric map?

Posted by Icebone1000 on Game Development See other posts from Game Development or by Icebone1000
Published on 2012-08-11T21:33:38Z Indexed on 2012/09/11 9:51 UTC
Read the original article Hit count: 482

Filed under:
|
|
|
|

So I got my isometric renderer working, it can draw diamond or jagged maps...Then I want to move on...How do I draw characters/objects on it in a optimal way?

What Im doing now, as one can imagine, is traversing my grid(map) and drawing the tiles in a order so alpha blending works correctly.

So, anything I draw in this map must be drawed at the same time the map is being drawn, with sucks a lot, screws your very modular map drawer, because now everything on the game (but the HUD) must be included on the drawer..

I was thinking whats the best approach to do this, comparing the position of all objects(not tile stuff) on the grid against the current tile being draw seems stupid, would it be better to add an id ON the grid(map)? this also seems terrible, because objects can move freely, not per tile steps (it can occupies 2 tiles if its between them, etc.)

Dont know if matters, but my grid is 3D, so its not a plane with objects poping out, its a bunch of pilled cubes.

© Game Development or respective owner

Related posts about XNA

Related posts about rendering