"hello world" for SDL2 for various programming languages.
Each sample creates a window and displays a picture, then waits two seconds and quits.
- The SDL 2 library
- C compiler that supports C99 for the C sample
- A C++ compiler for the C++ sample
- GCC 4.8 or later for the C++11 sample
- Go 1.1 or later and the sdl2 go package (
go get github.com/veandco/go-sdl2/sdl
) - MRuby with SDL2 added to the configuration file
- Nimrod 0.9.4 and sdl2 installed with babel
- Python 2 or 3 and PySDL2
- FPC 2.6.4 (or later than 2.4.0, must have Uint8, Uint16 and Uint32)
- Rust 0.12.0 or later and rust-sdl2 (from github.com/AngryLawyer/rust-sdl2)
- MIT licensed
- Alexander Rødseth, 2014
- Pull requests are welcome