Get the latest tech news

Collection of one-file C/C++ libraries with no dependencies, primarily for games


Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games - RandyGaul/cute_headers

librarydescriptionlatest versionlanguage(s) cute_c2 2D collision detection routines on primitives, boolean results and/or manifold generation, shape cast/sweep test, raycasts1.10C/C++ cute_net Networking library for games requiring an optional reliability layer over UDP with a baked in security scheme1.03C/C++ cute_tiled Very efficient loader for Tiled maps exported to JSON format1.07C/C++ cute_aseprite Parses .ase/.aseprite files into a compact and convenient struct collection1.04C/C++ cute_sound Load/play/loop (with plugin)/pan WAV + OGG (stb_vorbis wrapper for OGG) in mono/stereo, high performance custom mixer, music + crossfade support2.08C/C++ cute_math Professional level 3D vector math via SSE intrinsics1.02C++ cute_png load/save PNG, texture atlas compiler, DEFLATE compliant decompressor1.05C/C++ cute_spritebatch Run-time 2d sprite batcher. Useful to implement a sprite batcher for any purpose (like 2D games) for high-performance rendering, without the need to precompile texture atlases on-disk.1.06C/C++ cute_sync Collection of practical synchronization primitives, including read/write lock and threadpool/task system1.01C/C++ cute_tls Create a TLS connection to a website over TCP, useful for HTTPS requests.1.01C/C++/Obj-CGenerally these headers do not have dependencies and are intended to be included directly into your source (check each header for specific documentation at the top of the file). Additionally well constructed single-file headers use a #define to place implementation (the function definitions and symbols) into a single translation unit.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of games

games

Photo of collection

collection

Photo of C++

C++

Related news:

News photo

Take-Two CEO bullish on his games but wary on tariffs | Strauss Zelnick

News photo

Prime Gaming gets another 20 games in February, including one for Xbox

News photo

Free-to-play content is winning over Meta Quest 3 players with big consequences in tow