Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

they were basically another tilemap on top of the other enviroment stuff

ok word.

 If you wanted a bit of a cool effect when the player should be behind an object, you could just manually place the building sprites on top of the main tile map with two colliders- One where the collision with the building should take place, and one that covers the rest of the building. if you have the top one set to be a trigger (so the player can pass through it), you can then set the opacity of the building sprite to be lower, and the layer it's on to be higher so you can see the player through the building. And once the player leaves, reset the values.

Hope that makes sense!

(+1)

yeah, thank you for your advice!