I was fascinated by the tutorial of Nick Lockwood, where he implemented old school game engine from scratch in pure Swift, and I’ve done my simple raycasting engine. You can walk, rotate, and collide with the walls. While implementing it, I learned a ton about computer graphics and game engines. In this project, all work is done on the CPU.
- Download the
- Set Bundle ID.
- Launch on your device or simulator.
If you want to better understand raycasting, check out this amazing tutorial.