https://turbowarp.org/135602438 WASD keys to move. Arrow keys to look around. (including up/down) C to crouch. E to jump. (By the way, it doesn't lead anywhere)
Finally got around to playing with an array-based raycaster. Fun! A lot more math than expected... but hey, at least there's no error in the array approach. Honestly, I can't believe I got this to work... For information about raycasters, look here: http://lodev.org/cgtutor/raycasting.html @chooper100 for optimization of texture data. Still want to add: - Height (Like short blocks, stairs, etc.) - Entities - Better performance - Editor - Shadows - Torches v0.7 Update - Added back Detail slider. - Added jumping. - Tweaked FPS counter to only show one decimal digit. v0.6 Update - Added darkness/fog effect. - Added FPS counter. - Optimizations in texturing. - Added Crouch. - Added looking up/down. v0.5 Update - Added support for multiple textures. - Might've maybe made it dungeon themed... (Naturally) v0.4 Update - TEXTURED WALLS! Oh yeah! Still one thing to fix with them though. ;) - Added a couple different backdrops. v0.3 Update - Added simple wall lighting. - Tweaked darkening of farther walls. v0.2 Update - Added collision. - Added smoother movement. - Slightly better fisheye correction. v0.1 - Shared.