Walking through map hidden by tiles

Started by
2 comments, last by kesm 21 years, 5 months ago
Hi I have a character walking through a map a pixel at a time. Each time he walks over the 32x 16+y, he is cut off by the next tile drawn below. I know I can mark this as charcter here, but this draws him twice. Whats the best way to draw charcter movement in a isometric view? thanks ia
Advertisement
Draw the tiles first...then the sprites.

If there is something that the character needs to be behind...a tree, a wall, whatever...make it a sprite...you can then sort all the sprites by their screen Y value and it should draw fine
on each map cell , I''ve got a pointer to the objects on it.
Also, to the units on the map, the only thing you have to do is to check when the Players tile changes and the set the one pointer nil and the other on the unit. But you must find the perfect point for every unit to check which tile theunit''s on.
I am unsure of the specifics of your engine but I would probably refer you to this thread:

http://gamedev.net/community/forums/topic.asp?topic_id=116753

Just to check up to make sure that isn''t the problem.

This topic is closed to new replies.

Advertisement