Ray casting and 3d

How do i create a ray casting to make the game look (3d)

Here you’ll find what you want: