Archived

This topic is now archived and is closed to further replies.

Walking through map hidden by tiles

This topic is 5532 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites