Free · MIT licensed · version 3.1
Build 2D games once in C#, and ship them on Windows and Linux. The engine behind Last Launch, documented so your AI coding assistant can build with it too.
C# · .NET 10 · SDL2 · Windows · Linux
01 / CROSS-PLATFORM
The same game, the same code and the same assets run on both systems. Only the SDL2 libraries arrive differently.
Windows
dotnet run --project PlatformTest
Linux (Ubuntu, Debian, Mint…)
sudo apt install libsdl2-2.0-0 libsdl2-ttf-2.0-0 libsdl2-mixer-2.0-0 dotnet run --project PlatformTest
02 / INSIDE THE LIBRARY
03 / AI-ASSISTED DEVELOPMENT
Claude, Copilot, Cursor or any coding assistant is only as good as what it can read. ASGL2 keeps everything it needs in plain text next to the code.
Try it: a prompt for your assistant
Read AGENTS.md and llms.txt. In PlatformTest, add a double jump with its own sound. Update the demo's README, then build ASGL2.sln and tell me how to test it.
04 / SHOWCASE
Our own pixel-art Metroidvania runs entirely on ASGL2: rooms painted in the Map Editor, co-op input for two players, streamed music, and one self-contained build for each system.
See the game05 / GET STARTED
Add the package to a .NET 10 project, then install the SDL2 libraries for your system (the package readme lists them). The docs site has a first game, every guide and the full reference.
dotnet add package ASGL2