RandyGaul/cute_headers
FreeCollection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games
About RandyGaul/cute_headers
cute_headers is a collection of single-file, cross-platform C/C++ libraries with zero external dependencies, designed primarily for game development. It includes libraries for 2D collision detection (cute_c2), networking over UDP with reliability (cute_net), parsing Tiled map exports (cute_tiled), loading .ase/.aseprite files (cute_aseprite), audio playback with OGG/WAV support (cute_sound), PNG loading/saving and texture atlas compilation (cute_png), runtime 2D sprite batching (cute_spritebatch), synchronization primitives and a task system (cute_sync), and TLS/HTTPS connection support (cute_tls). Each header is self-contained and can be included directly by defining an implementation macro in one translation unit.
Key Features
Pros & Cons
- Cross-platform (Windows, macOS, Linux, etc.)
- No external dependencies – drop-in and compile
- Single-file headers simplify project organization
- Covers a wide range of common game development needs
- Each library is focused and well-documented with examples
- Community support via Discord and Twitter
- Open source with permissive license (MIT)
- C/C++ only – not usable in other languages without binding
- Limited to 2D graphics; no 3D rendering support
- No built-in GUI or windowing system
- Some libraries may lack advanced features compared to full frameworks