A laser simulator made with SDL in the Odin programming language
lasers.mp4
Run with odin run src
Escape
orSpace
to toggle between editing walls and aiming the pointerCtrl Q
to closeCtrl -
/Ctrl +
to adjust pixel scale (zoom in/out)
Hold left click to aim the pointer
Move the pointer and walls by grabbing them with the mouse. The walls are moved by grabbing either end
A
to spawn a new wallX
to delete the currently held wall