Left/right arrow keys to turn. Up/down arrows keys to move forwards/backwards. Note: LOL this is a horrible raycaster. It can barely run even in TurboWarp Use my other raycaster instead: https://scratch.mit.edu/projects/1211006989/
This was just a test project to challenge myself. I took some scripts (for fine tweaking) and a lot of inspiration from the Scratch Wiki. NO GRIFFPATCH TUTORIAL!!! Edit: I changed that script to one I found in a raycasting project by @shinymoth97 I did the majority of the work on my own though. Changelog (updated since 8/30/2025): |||||8/30/2025 4:49 PM: Added light sources. Right now, everything is translucent though. My next job is to stop light from passing through walls. |||||10/5/2025 4:23 PM: Yeah, that is never going to happen. This way of doing raycasting is way too slow. Check out my other raycaster if you want to see shadows though!