minimalist C game framework

100b82c LZR_Init: call LZR_Quit when returning -1

~kikoodx pushed to ~kikoodx/lzr git

1 year, 4 months ago

98c438b update README

~kikoodx pushed to ~kikoodx/lzr git

1 year, 5 months ago


Simple C/C++ game framework based on SDL2. LZR is used in my own games as a base. It should stay simple, flexible and easy to grasp at the core.


LZR depends on SDL2, and has opt-out dependencies on SDL2_gfx, SDL_image 2.0, and cmixer.


Drop lzr.c and lzr.h in a project, add flags for the dependencies (see this project's Makefile for sane defaults).

Initialize LZR with LZR_Init(), quit and cleanup with LZR_Quit(). Header is self documented, see lzr.h.


LZR is under the MIT license, see LICENSE for details.