This is an SDL2 rewrite of the examples founds in "Teach Yourself Game Programming in 24 Hours" by Michael Morrison. ISBN 067232461X, 9780672324611 Google Books : https://books.google.fr/books/about/Sams_Teach_Yourself_Game_Programming_in.html?id=Ymt93N7FJ5wC
Modifications are:
Thanks to Michael Morrison for this very well written and usefull book which I hope this new "SDL2" rewrite will enchance the reader experiance, as the SDL2 is portable and the API is increadibly concise.
GCC and Make
SDL2 SDL2_image SDL2_ttf SDL2_mixer
Under Ubuntu those libraries can be installed with:
sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev
Each directory contains a Makefile. To build just run make
.