Use the right and left arrow keys to turn and use the up and down keys to move forward and backward. Better Quality, 2x Laggier: https://scratch.mit.edu/projects/710613833
3D RAYCASTER TEST: ================== ABOUT: This project demonstrates a basic raycaster, which converts a 2D map into a 3D map. It can run relatively efficiently on Scratch (it usually doesn’t go below 12 FPS on a decent computer), and it can run even faster in TurboWarp (https://turbowarp.org/710567987). =========================== HOW IT WORKS: This is a sprite-based raycaster, meaning that the image is based off of an invisible player and map (hold space to show them). The player sends out a bunch of invisible rays to figure out the distance to the objects in its view. Using this info, another sprite renders each of these numbers as lines that get longer and brighter the smaller the distance it. And voilà! You get a 3D game! ================================== ON GRIFFPATCH’S RAYCASTER: I should mention that no code was used from @griffpatch’s raycaster, or any other raycaster on Scratch. Please do not comment saying “You copied @griffpatch’s code!” All of the code in this game was developed by me. However, the idea was largely inspired by @griffpatch and other scratchers, and the concept is not my own. In short, this is my raycaster built from my code, but there are plenty of other neat raycasters on Scratch that you can try! =====================================