Flag, then press any key to start. Left and right arrow. Don't collide. Beat the high score. I wanted to look into @-Rex-'s amazing Raycaster, and couldn't resist a simple game remix ;) Thanks @-Rex- for all the real work. Don't look inside, I butchered their code ;) Music in this remix is The Duel from Bensound.com
Original Instructions: Controls - WASD to move - Left and right arrow keys to look around - Mobile: touch the screen in the direction to move/turn To increase your FPS, use turbowarp: https://turbowarp.github.io/#414675446 This uses an "adaptive sampling" method I created (probably not for the first time outside of Scratch), which uses recursion and interpolation. If two nearby rays touch the same edge within ~1–2 tiles of each other, interpolation is used to increase performance. If a corner is detected, both rays touch different edges, or at least one ray touches nothing, recursion is used. Inspiration - https://scratch.mit.edu/projects/321563697/ - https://scratch.mit.edu/projects/196528109/ Changelog (These are updates to the raycaster, not the demonstration) v1.0.3 (2020-07-30) - Increased the ambient light level on the regular and fast render settings v1.0.2 (2020-07-30) - Improved the lighting system v1.0.1 (2020-07-29) - Fixed a bug with gridlines - Removed unnecessary gridlines to slightly increase performance v1.0 (2020-07-29) - Released