SDL2 examples, for 25+ different programming languages
"hello world" for SDL2 for various programming languages.
Each sample creates a window, displays an image, then waits two seconds and quits.
All executables should ideally build and run on Linux, macOS, Windows, BSD* and more, but they should at least work on Linux. Most subdirectories contains README.md
files with more details, and a Makefile
to have one way of building each sample.
go get github.com/veandco/go-sdl2/sdl
)tcc
is used for compiling one of the C examples, make sure to add -DSDL_DISABLE_IMMINTRIN_H=1
.ada
directory in the ada
branch if you wish to give it a spin, please create a PR if it works on Arch Linux and/or the Linux CI test also passes).Pull requests are welcome.