ZX Spectrum: Simple Machine Language Raycaster (demo)

Armed only with William Tang’s “Spectrum Machine Language for the Absolute Beginner”, I’ve somehow thrown together my first piece of Spectrum Machine Language programming in the form of a very simple Raycaster for Sir Clive’s wonder machine. Upfront, this isn’t a game, but a proof of concept that runs with snail pace with all the grace of a PowerPoint, heavy on the slide transitions. There are also a *lot* of graphical glitches, particularly when close up walls and when the intercept angle of the ray with a wall is small in certain grid directions. All of these are because I’ve done my best approximating to avoid needing to use floating point math and it shows…

Continue reading “ZX Spectrum: Simple Machine Language Raycaster (demo)”
Hundstrasse