Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/renpenguin/Lasers
- Owner: renpenguin
- Created: 2024-06-05T16:52:20.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-11-01T04:50:32.000Z (about 1 month ago)
- Last Synced: 2024-11-01T04:53:00.014Z (about 1 month ago)
- Language: Odin
- Homepage:
- Size: 854 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-odin - Lasers
- awesome-odin - Lasers
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