Staple Engine

An open source game engine

GitHub

Staple Engine is an open-source game engine in development on-and-off since 2023, with more effort put into it since the Unity Licensing incident of 2023.

It is made mostly in C#, and takes advantage of the latest .NET versions when able. It currently builds for Windows, Linux, and Android.

Features

  • Unity-style Editor app that runs on windows, linux, and mac, that can edit game data and make builds for windows, linux, mac, and android
  • Unity-style custom editor scripting and editor window scripting
  • C# game scripting
  • Custom asset system
  • Graphics API using SDL GPU as the base
  • Custom shader format with support for variants, using Slang and SDL_shadercross in the backend
  • Entities inspired by both modern ECS and Unity
  • Input (Keyboard, Mouse, Touch, Gamepad) and Input Actions
  • Meshes (GLTF/GLB, FBX, OBJ), Skeletal animation, Instancing, Multidraw, Simplification, Combine
  • Physics (3D: Jolt Physics) and physics interpolation
  • Audio (MP3, WAV, OGG) through OpenAL, with optional recompression for WAV files
  • Baking pipeline (Baker) that processes game assets into engine-ready formats
  • Resource Packer that packs multiple files into a single file
  • Text Rendering using FreeType supporting optional gradients and outlines
  • Module system to enable/disable specific engine features such as physics and audio
  • Package system to split parts of the engine into importable components, including an in-editor package manager
  • Assembly Definitions (like Unity) as well as Source Generator Assembly Definitions
  • Skinnable UI system