Show HN: A Wolfenstein3D-like raycaster made in Windows Batch
a year ago
- #Windows Batch
- #game development
- #raycasting
- A Wolfenstein3D-like raycaster implemented in Windows Batch.
- Uses DDA (Digital Differential Analyzer) algorithm for raycasting.
- Notable for functioning despite Batch's lack of floating-point arithmetic and trigonometric functions.
- Frames take approximately 1.5 seconds to generate due to Batch limitations.
- Movement is console-input based (set /p).
- Designed exclusively for Windows; compatibility with Linux/macOS virtual environments may vary.
- Instructions include cloning the repo, modifying map.txt, and executing raycaster.bat.
- Movement commands: w (north), a (west), s (south), d (east).
- Aiming commands: z (left), x (right) with degree specification.
- Optimized version available for better performance but with less readable code.
- Distributed under the MIT License.
- Created by Nikolas Thornton.