to make stuff appear 3d like the walls and that one enemy towards the end of the game, i just stacked many sprites on top of eachother and offset their y values to make them appear 3d. to make sprites like the ones for the player and enemy, i just made the orientation of their sprites correspond to the orientation of the camera, which is called billboarding.