A 2D game engine made in C# with SDL2-CS: https://github.com/flibitijibibo/SDL2-CS
// Assign a couple of events
Engine.Ready += Engine_Ready;
Engine.Draw += Engine_Draw;
// Starts the game engine and sets up the app if neccessary
Engine.Init();
static void Engine_Ready(object sender, EventArgs e) {
// Create the window
Engine.Window = new();
// Do stuff before the first frame
}
static void Engine_Draw(object sender, EventArgs e) {
// Do stuff every frame
}