Press See Inside to view code This is a ray-casting engine that uses math instead of the traditional moving sprite, this makes this engine much faster and more accurate, it also gives you data about the cast that's easy to use, such as the distance, X&Y position, and the wall ID
View a quick 3D DEMO here! https://scratch.mit.edu/projects/674476238/ View a quick Gun DEMO here! https://scratch.mit.edu/projects/674682174