ScratchData LogoScratchData
Back to ilikelegos's profile

3D Raycaster

ILilikelegos•Created December 9, 2016
3D Raycaster
728
590
23623 views
View on Scratch

Instructions

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)

Description

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.

Project Details

Project ID135602438
CreatedDecember 9, 2016
Last ModifiedNovember 12, 2023
SharedDecember 9, 2016
Visibilityvisible
CommentsAllowed