How to deal with animated doors in isometric tiles
Posted
by
George Profenza
on Game Development
See other posts from Game Development
or by George Profenza
Published on 2012-06-21T16:19:07Z
Indexed on
2012/06/21
21:24 UTC
Read the original article
Hit count: 254
I've got a tricky issue I'm not sure how to tackle best: I have an animated tile of a door. When it's closed it should be sorted one way, but when it's openend it will need to be sorted a different way, as it belonging to a different(neighbouring tile).
Here's the door closed:
and the door opened:
I imagine it would be possible to override the sorting system for such tiles and adjust the sorting based on the frame, but it feels a bit hacky.
Has anyone encountered a similar scenario ? Any elegant solutions ?
© Game Development or respective owner