Hello. I am creating a 2D game, but I have one problem. I need to create an imitation of 3D walls in the game (see screenshots below). What I just didn’t try to do: I tried to create a 3D model and somehow change the camera angles, I tried to make such walls using an isometric tilemap, I even tried to think of something with shadows, but it still doesn’t work. Any ideas how you can implement such walls?
For those who did not understand the essence, I will explain: if the angle of rotation of the camera in Z is not a multiple of 90 (i.e it does not matches with the coordinate axis), then I should see 2 parts of the wall.


