I'm interested in what happens when you have structures/buildings on a 2D tilemap that are tall enough to block the view of the player. AFAIK, there's a few approaches:
- Do nothing to display the location of the player and force the user to infer where the player is. Pokémon, for example, uses this to its advantage and hide secret items behind buildings.
- Make the blocking structure invisible or translucent. This feels like a canonical approach but an obvious disadvantage is that you now have to worry about displaying additional information to show the transparency. e.g. displaying a stump of the tree that was made transparent to show that there's a tree infront.
- Never make structures tall enough that could fully block the location of the player.
- Disable pathing behind these tall buildings.
- Always put tall structures to the corners of the map so that no one even thinks about going behind. These buildings are then effectively corner/edge decorations.
- [Exploring] Show the player sprite but use a shader around the player to convey transparency. This is similar to 2), except instead of making the entire building transparent. You simply render the player in front but trick the user into thinking that they're looking at the player from a special lens that can see through buildings.
My question is, is 6) possible? Are there examples of games that does this? Furthermore, are there other possibilities I've missed?