3D Raycaster [Macroquad/Rust]
Wolfenstein 3D like raycaster using Macroquad in Rust running on the web
GitHub: https://github.com/LelsersLasers/3D-Raycaster
Controls
- WASD to move
- Arrow keys to turn/look around (or mouse)
- Arrow keys to turn/look around
- Click inside window to enable mouse grab
- Tab to release mouse grab
Features
- Digital differential analyser (DDA) raycaster
- Like Wolfenstein 3D
- Only uses the CPU!
- Textured walls
- Multiple textures supported
- Ability to look up and down
- Fog effect
- Wall collisions
- This was mostly a proof of concept
- The math was actually pretty fun to figure out and I have used the reverse of it (screen positions to angles, distances, etc) for robotics
Copyright stuff
Textures are from ID Software's Wolfenstein 3D
Status | Released |
Platforms | HTML5, Windows, macOS, Linux |
Author | LelsersLasers |
Genre | Adventure, Simulation |
Tags | 3D, Experimental, Exploration, FPS, Low-poly, Minimalist, Singleplayer, World War II |
Average session | A few minutes |
Inputs | Keyboard, Mouse |
Accessibility | High-contrast, Textless |
Links | Source code, YouTube, GitHub, Textures |
Download
Download NowName your own price
Click download now to get access to the following files:
3D Raycaster - Web Build.zip 698 kB
3D Raycaster - MacOS and Linux Build 4.7 MB
3D Raycaster - Windows Build 894 kB
3D Raycaster - Source Code.zip 40 kB
Leave a comment
Log in with itch.io to leave a comment.