You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple single-header game library in ANSI C with zero dependencies. Most useful for roguelike devs, but has functionality that should be useful to most 2d tile-based games.
Simple single-header game library in ANSI C with zero dependencies. Pathfinding
does require linking with math (-lm with gcc). Most useful for roguelike
devs, but has functionality that should be useful to most 2d tile-based games.
Everything but the pathfinding works with C89 - pathfinding currently requires
C99.
See the examples folder - maze.c,
bsp.c, and automata.c all contain
basic dungeon generation. dungeon.c and
town_sewers.c are more detailed examples including
FOV and basic player movement.
Note that the interface is considered unstable. This is in its very early
stages, but should be usable as-is. I'm currently using this to develop
roguelike-style games. There's a commodore 64
POC (using LLVM-MOS &
cc65) and a desktop POC. Once I
push a tagged release the code API should be more stable.
About
Simple single-header game library in ANSI C with zero dependencies. Most useful for roguelike devs, but has functionality that should be useful to most 2d tile-based games.