in this thread i will give a rundown of all my free C# game dev libraries


Just some basic math dependencies. Position2D deals with the problem of having fractional positions in pixel art based games by maintaining fractional positions as a carryover value. Transform2D is just your bog standard transform matrix data structure, packing position, rotation, and scaling into a single fast structure. In the future this might contain structs for 3D as well.


Easing function implementations in single and double precision. Useful for anything that changes based on time. I use it for UI animation, time dilation, and music crossfading right now.

Visualizations of easing functions:


2D and 3D Bezier curve math library. Lets you calculate smooth curves using either a struct or static methods. This one is pretty straightforward


A wrapper around the popular physfs virtual filesystem native library. Lets you do some neat stuff like set up virtual paths so you can have mod directories override game content and things like that. Provides super fast zero-garbage iterators and streams for dealing with file data.


This is the one I'm most proud of. High performance zero-garbage collision detection. Separates shapes and transforms for maximum flexibility. Provides broad and narrow phase algorithms, and I recently added some fast-path shape tests and sweep testing for rectangles.



Implementations of various graph theory algorithms. I'm using this to calculate system ordering and pathfinding right now but it has a lot of other potential applications.


Not much going on here yet, I just needed a fast bitset implementation for my ECS library. Right now it only provides BitSet512 but I'll probably extend it for different sizes later.

that's it for now. all of these tools are tested and currently being used in production at my studio.

i also have plans to release some FNA-dependent stuff eventually like an audio library. also a brand-new ECS-style architecture model that I am trying to figure out how to make source available without letting my credit get stolen

@dankwraith all these makes me want to make a highly performant game with them

@selfsame i low key want to see if we can ship a raspberry pi version of samurai gunn 2. i think it is legitimately possible considering the performance we're getting now

@dankwraith gonna use bonk to do a hd remake of bonk's adventure

Sign in to participate in the conversation is a place for friends