So I started a new project where I am tying to imitate this. It is a pseudo 3d world where a ray in cast in a 2d world and the farther away the ray travels, the smaller the wall