Skip to content

Latest commit

 

History

284 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

No AI Github top languages GitHub version GitHub license GitHub issues GitHub stars

Screenshot of Staple Editor in use

Status

Early state, usable for small demos

Features

Name Description
Platforms
  • Windows
  • Linux
  • MacOS (partial)
  • Android
  • NativeAOT support
Editor
  • Editor app that handles project management, asset editing, and building games
  • Extend the editor through game code
  • Import and create your own project templates
Entity System
  • Component + System
  • Also supports MonoBehaviour-style Lifecycle Components
Assets
  • Custom asset system easily defined in code
  • Asset pipeline baker tool that imports resources into engine-ready formats
Rendering
  • Forward rendering using SDL GPU
  • Custom shader format with support for variants, variant dependencies, using slang
  • Shaders and Compute Shaders
  • Material system with support for toggling variants based on parameters being set
  • Culling Volumes for culling parts of the world efficiently
  • Spatial hashing for better large object count performance
  • Render Queues for sorting and managing batches for rendering
Input
  • Keyboard, Mouse, Touch, Gamepad support
  • Input Actions
Physics
  • Jolt Physics
  • Physics Interpolation
Audio
  • Supports loading OGG, MP3, and WAV audio formats
  • OpenAL-based playback
  • Supports optional recompression for WAV assets
Meshes
  • Supports loading FBX/OBJ/GLTF/GLB
  • Skeletal animation/skinning
  • Blendshapes
  • Instancing
  • Mesh Simplification
  • Mesh Combine at runtime
  • Multidraw of non-skinned meshes
UI
  • Using FreeType with optional gradients and outlines
  • Skinnable UI system with JSON-based layouts
Packages
  • Builtin, git, and local disk packages
  • Package manager within the editor
Assemblies and Plugins
  • Supports assembly definition assets and native plugins
  • Supports code generator assembly definitions

Installation

You can grab binaries from the releases page. You also need the .NET 11 SDK.

Please note that binaries aren't as updated as the main branch, so you'll likely want to build either way.

Installing .NET 11 SDK

Windows and MacOS Download the installer and run it.
Linux
wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh
chmod +x ./dotnet-install.sh
./dotnet-install.sh --version 11.0.100

Don't forget to add to your shell profile (bashrc or zshrc or equivalent)

export DOTNET_ROOT=$HOME/.dotnet
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools

Installing the Android SDK

  • Download the commandline tools from https://developer.android.com/studio#command-line-tools-only .
  • Extract them to some folder of your choice
  • Export ANDROID_HOME to the folder you extracted the zip to
  • Open a terminal to that folder, in the cmdline-tools/bin folder
  • Run sdkmanager --sdk-root="$ANDROID_HOME" "platforms;android-37" "platform-tools" "build-tools;37.0.0" "emulator" "system-images;android-37;default;x86_64" "cmdline-tools;latest"
    • Note: Replace $ANDROID_HOME for %ANDROID_HOME% if on windows

Installing the Java SDK

  • Should already be installed on windows if you installed VS with Android SDK
  • For linux, you want OpenJDK (make sure it's the development version). The actual version varies depending on your distro.

Building

You will need premake. Download it from wherever package manager works for you or from the site directly.

You need to download SDL Shadercross from the latest main branch at https://github.com/libsdl-org/SDL_shadercross/actions and store it at Dependencies/SDL_shadercross. Please note there's no easy way to auto get these as github considers these artifacts private and require authentication. Open one of the main branch builds that were successful, then on the bottom right find the file that's fit for your platform.

Windows

You need visual studio 2026 with cmake and desktop C++ development/.NET desktop/MAUI support enabled.

To compile dependencies, open the visual studio dev terminal (not regular cmd or Windows Terminal), go to the Dependencies directory, and run build_windows.

After that, you will need to compile the engine, so go to Engine and run build_windows.cmd.

After building the engine, you must build the tools, so go to Tools and run build_windows.cmd.

After building the tools, go to the main folder of the repo and run builddefaultresources.cmd to prepare the default assets.

MacOS

You need xcode and .NET 11 SDK, as well as the Android SDK.

To compile dependencies, go to Dependencies and run build_macos.sh.

After that, you will need to compile the engine, so go to Engine and run build_macos.sh and then run build_backends.sh.

After that, you will need to compile the tools, so go to Tools and run build_macos.sh.

After building the tools, go to the main folder of the repo and run builddefaultresources.sh to prepare the default assets. Do notice that we can't build windows direct3D shaders in macOS, so you'll be limited to Metal and Vulkan there.

Linux

Required Packages

Ubuntu

sudo apt install premake git build-essential libgtk-3-dev cmake clang

Arch

sudo pacman -S premake git base-devel gtk3 cmake clang

Fedora

sudo dnf install premake cmake clang
  • Note: The actual Java number may vary depending on your distro version

Instructions (After required packages)

To compile dependencies, go to Dependencies and run build_linux.sh.

After that, you will need to compile the engine, so go to Engine and run build_linux.sh and then run build_backends.sh.

Optionally, run make_linux_menu_entry.sh which should add an entry on your DE's start menu in the Development category

After that, you will need to compile the tools, so go to Tools and run build_linux.sh.

After building the tools, go to the main folder of the repo and run builddefaultresources.sh to prepare the default assts. Do notice that we can't build windows direct3D shaders in linux, so you'll be limited to Metal and Vulkan there.

Releases

Packages

Used by

Contributors

Languages