LazyFoo-SDL2
LazyFoo-SDL2 copied to clipboard
All SDL2 code examples from http://lazyfoo.net/tutorials/SDL/ with Makefile and compatible with emscripten (http://kripken.github.io/emscripten-site/)
Lazy Foo' Productions - Beginning Game Programming v2.0
All SDL2 code examples from http://lazyfoo.net/tutorials/SDL/ with Makefile and compatible with emscripten (http://kripken.github.io/emscripten-site/)
Before run make:
sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev
sudo apt-get install libglu1-mesa-dev libglew-dev
For build native executables
Run:
make
For build javascript version
Install and configure emscripten, and run:
make js
Docs and online examples
https://lcgamboa.github.io/LazyFoo-SDL2/