Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/renpenguin/Lasers

A laser simulator made with SDL in the Odin programming language
https://github.com/renpenguin/Lasers

Last synced: 18 days ago
JSON representation

A laser simulator made with SDL in the Odin programming language

Awesome Lists containing this project

README

        

A laser simulator made with SDL in the Odin programming language

https://github.com/renpenguin/Lasers/assets/79577742/555f9c07-a39f-4694-a77e-8165b0044ce0

Run with `odin run src`

### Keybinds:
- `Escape` or `Space` to toggle between editing walls and aiming the pointer
- `Ctrl Q` to close
- `Ctrl -`/`Ctrl +` to adjust pixel scale (zoom in/out)

### Aim Mode: (Black background)
Hold left click to aim the pointer

### Edit mode: (Grey background)
Move the pointer and walls by grabbing them with the mouse. The walls are moved by grabbing either end
- `A` to spawn a new wall
- `X` to delete the currently held wall