Skip to content

A laser simulator made with SDL in the Odin programming language

Notifications You must be signed in to change notification settings

renpenguin/Lasers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A laser simulator made with SDL in the Odin programming language

lasers.mp4

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

About

A laser simulator made with SDL in the Odin programming language

Resources

Stars

Watchers

Forks

Languages