Blitwizard is a cross-platform DirectX/OpenGL/Software 2d engine for Lua based on SDL 2, released under the permissive zlib license. It is written in C and contains graphics, physics, input device (keyboard/mouse) and audio access, combined with various other template functions for various game development scenarios.
A screenshot of blitwizard's moving car example which shows how to do a simple animation.