Game-dev experiments using Odin and SDL2
Tested with Odin version: dev-2024-02:4e300ff90
For Windows, run the setup script to copy the required .dll files from the Odin vendor library into this project directory.
odin build setup/setup.odin -file
./setup.exe
For linux (tested on Debian), you will need to install the dependencies:
sudo apt-get install libsdl2-dev
sudo apt-get install libsdl2-ttf-dev
This allows launching some of the other examples after setting which monitor they should open on, and what resolution and refresh rate to use.
odin run launcher -o:speed
odin run breakout/breakout.odin -file -o:speed
odin run dynamic_text/dynamic_text.odin -file
odin run shader/shader.odin -file
odin run ui/ui.odin -file