[GameBoy] Technical Demo - Vertical Scanlines/RayCasting
A prototype (made in 3-4 days) with the ability to write pixels directly from the cpu to vram. To include RayCasting modeled after methods used to make "X" and "Faceball 2000".
Sadly due to needing floating-point data, mathematics and such the project is stuck on final stretch of having a walking simulator. (was halfway through the scientific denomination before the timer ran out)
Anyway proper scalable vertical scan-lines was possible and it can be scaled from 1 tile up to 8x8 tiles. The whitebar is just a visual element by setting the current column of tiles to white, before these are redrawn to black. If removed, the screen will only update the current column of pixels.
Up-to-date source code you can find here:
Github - Tech Demo Project
Source is provided for those that want to continue this project or want to create their own implementation on this base.
! This project uses GBDK as devkit !
Download
Click download now to get access to the following files:
Development log
- Dynamically creating tiles - GBDKSep 28, 2021
- RayTracing RequirementsSep 28, 2021