Ray Casting 3D Engine v2.3
Game Introduction
All code by me, based on https://lodev.org/cgtutor/raycasting.html, https://stackoverflow.com/questions/67732676, and a video by The Coding Train https://www.youtube.com/watch?v=vYgIKn7iDH8
How To Play
Use WASD to move, and the left and right arrow keys to turn. Use the number keys one through three to set the resolution for better speed; 1 is lowest res (fastest) and 3 is highest res (slowest). Explore the tiny 3D environment I made, this time in an engine that actually works! MOBILE SUPPORT: @UK-NotUK made a wonderful mobile friendly version, check it out! https://scratch.mit.edu/projects/494151566 [BASED ON V2.0, NOT UP TO DATE] UPDATE LOG: v2.3: added (mostly functional) wall sliding v2.2: minor optimizations, more resolution options v2.2.1: explicitly set FOV in code (minor bug fix) v2.2.2: fixed crash when view ray clips through map corner (minor bug fix) v2.1: fixed fisheye effect, added resolution options v2.0: initial release
Author
Argon26
Category
Game Information
Game Popularity
192.1k views
Collection Count
5.7k favorites





![[Test] 3D-Ray Filter -](https://cdn2.scratch.mit.edu/get_image/project/829721279_480x360.png)