Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | godotNewbie | |
Old Version | Published before Godot 3 was released. |
I am trying to make a 2D top-down view game. My problem is the following (I am trying my best to describe it): I am using a tilemap for my buildings and a kinematicbody for my player. I want to make my player show up when he passes in front of a building (by being above the tilemap in the z-sorting hierarchy) but hide when he walks along the ceiling, giving the impression of the back wall you cannot see. And so my question is how can I achieve mulitple view options for the same sprite/tilemap? Thanks!