Skip to content
Ben-ScrPublic

About

C++ Multiplatform Game Engine

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

249 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Funke logo

Funke

An open source game engine for 2D and 3D, with C++ and C# scripting.

Create a native C++ script in the Asset Browser, attach it to an entity, and expose its settings in the Inspector. C# scripts can sit alongside it in the same project. Adjust a movement speed, press Play, and see how the game feels.

Get started · Documentation · C++ scripting · C# scripting

Beta. The editor runs on Windows, Linux and macOS. See Current status for platform support and the known limitations before choosing Funke for a project.

Funke Editor: game view, camera settings and project assets

Explore a game

The Launcher's Asset Library includes projects you can open in the editor and inspect:

  • NeonStack — a falling-block puzzle game presented as a 3D scene.
  • Voxtau — a fantasy voxel sandbox project.

Open a scene, find the scripts behind it, and change something. The library also includes FunkeBench, an editable sample for exploring entity and rendering workloads.

These projects are distributed through the separate Funke Asset Library.

More screenshots

Funke Editor: 3D scene editing with hierarchy, transform gizmo and Inspector

Funke Launcher: 2D and 3D project templates Funke Launcher: Asset Library

Getting started

Start by building Funke from source for your platform. There is currently no published engine release on the Releases page. Successful CI runs may provide temporary test bundles and installers; these require GitHub access and are not a published release. See Desktop installers for artifact names and prerequisites.

Once the Launcher is running:

  1. Choose New Project and select Empty 2D for the walkthrough below.
  2. Open the project in the editor.
  3. Follow Your First Game to add a moving player, collect a coin and export a desktop game. The walkthrough uses C#.

For a 3D project, choose Empty 3D and follow the 3D guide. To explore an existing project, open the Launcher's Asset Library.

Write the behavior in C++ or C#

C# scripts attach behavior to entities through EntityScript. Expose fields in the Inspector and recompile game scripts without restarting the editor.

Native C++ scripts are created in the Asset Browser, inherit from NativeScript and attach to entities in the editor. Register the fields you want to edit in the Inspector; saving source changes can trigger an incremental native build and reload.

The languages have distinct APIs, lifecycle callbacks and toolchains. The scripting guide covers each workflow and explains what happens to script state during reload.

Make something move

This C# script gives a 2D physics body movement through the built-in input axis:

using Funke;

public class PlayerController : EntityScript
{
    [ShowInEditor("Speed")]
    public float Speed = 5.0f;

    private Rigidbody2D? body;

    public override void OnStart() => body = GetComponent<Rigidbody2D>();

    public override void OnFixedUpdate()
    {
        if (body != null)
            body.LinearVelocity = Input.GetAxis() * Speed;
    }
}

Attach it to a Dynamic Body in an Empty 2D project. Set the Rigidbody 2D's Gravity Scale to 0 and enable Freeze Rotation, then press Play. Move with WASD, the arrow keys or a gamepad's left stick.

Stop, change Speed in the Inspector and play again. The full walkthrough adds a collectible, shows how to turn it into a prefab and takes the project through a desktop build.

The engine itself is written in C++20. For applications that do not use the editor, the C++ SDK guide explains how to build directly against it.

Shape the rest of the game

Area What you can work with
Scenes and objects Parent-child hierarchies, editable components and reusable prefabs. Scenes · Editor
2D and 3D Sprites, 3D meshes, materials and lights, with Box2D for 2D physics and Jolt for 3D physics. 2D physics · 3D · 3D physics
Animation and UI Keyframe clips, Animator state machines and UI canvases, including UI placed in the game world. Animation · World-space UI
Custom rendering WGSL shaders for meshes, sprites and post-processing, with editable material properties. Custom shaders
Tools and automation The funke CLI for creating, validating and building projects, plus an Editor Bridge for controlling an open editor. Command line · Editor Bridge

Additional features are available through the editor's Package Manager. For example, Funke.Tilemap2D provides tilemaps with C++ and C# APIs, while Funke.Input adds input actions and saved rebinding for C# projects.

Browse the package registry, or follow Writing Packages to add your own native or managed functionality. Each package documents its requirements and current limits.

Current status

Funke is in beta. The main things to know when planning a project are:

  • Desktop exports target the editor's own platform. Windows exports Windows games, Linux exports Linux games, and macOS exports macOS games. Cross-export between desktop platforms is not available.
  • Linux and macOS have had less testing than Windows. The editor targets Windows x64, Linux x64, and macOS on Apple Silicon and Intel.
  • Android, iOS and Web exports use optional platform packages. They require additional SDKs and have separate runtime and testing limits. Projects containing native C++ scripts cannot currently be exported to those targets.

See Known Limitations for details, including animation, model import, materials and text rendering. The platform package guide covers mobile and Web requirements.

Build from source

Clone the repository with its submodules:

git clone --recurse-submodules https://github.com/Ben-Scr/Funke.git
cd Funke

Choose your platform below. These steps build the engine and Launcher; once they are ready, continue with Getting started.

Windows x64

Prerequisites: Visual Studio 2022 Build Tools with MSVC v143 and the Windows SDK, .NET 10 SDK, Python 3.10+, Git and CMake. Running the editor requires a D3D12- or Vulkan-capable GPU.

Build Dawn once, generate the project files, and create a local engine bundle with native C++ development support:

.\scripts\dawn\SetupDawn.bat
.\scripts\Setup.bat
.\scripts\BuildWindows.ps1 -PublishBundle -IncludeNativeSdk
.\bin\Release-windows-x86_64\Funke-Launcher\Funke-Launcher.exe

Setup checks prerequisites and can offer to install missing tools. Opening net10.0 C# projects in Visual Studio requires Visual Studio 2026 (18.0+); the engine's native build uses the VS2022/v143 toolchain.

For installer packaging and signing, see Desktop installers.

Linux x64

Prerequisites: a C++20 compiler, Clang for the Dawn source build, GNU Make, CMake, .NET 10 SDK, Python 3.10+, Git and the X11/Wayland development packages used by SDL3. Running the editor requires a Vulkan driver.

chmod +x scripts/Setup.sh
./scripts/Setup.sh
./scripts/dawn/SetupDawn.sh
make config=dist -j"$(nproc)" Funke-Runtime
make config=release -j"$(nproc)" Funke-Launcher
./bin/Release-linux-x86_64/Funke-Launcher/Funke-Launcher

Setup offers to install missing prerequisites through the system package manager and builds SDL3. The Launcher target stages the Editor, Runtime, CLI and EngineSDK.

For distribution packaging, see Linux installers.

macOS — Apple Silicon or Intel

Prerequisites: macOS 15+, Xcode Command Line Tools, CMake, .NET 10 SDK, Python 3.10+ and Git. Rendering uses Metal through Dawn.

chmod +x scripts/Setup.sh
./scripts/Setup.sh
./scripts/dawn/SetupDawn.sh
make config=dist -j"$(sysctl -n hw.ncpu)" Funke-Runtime
make config=release -j"$(sysctl -n hw.ncpu)" Funke-Launcher
./bin/Release-macosx-arm64/Funke-Launcher/Funke-Launcher

On Intel Macs, use Release-macosx-x86_64 in the final path. Setup offers to install missing tools through Homebrew. If the system make fails with a permissions error, install GNU Make with brew install make and use gmake.

For distribution packaging, see macOS installers.

For later engine changes, use the incremental commands in Contributing. Game export settings and player prerequisites are covered in Building and Shipping.

Contributing

A small example project, a reproducible bug report or a clearer explanation in the documentation can help someone else get started. If you try Funke, share what you made and where you got stuck.

See Contributing for reporting bugs, building individual targets and submitting focused changes.

License and foundations

Funke is released under the MIT License. You can use and modify it for personal or commercial projects, subject to the license terms. Third-party libraries, packages and example assets retain their own licenses.

The engine builds on Dawn / WebGPU, SDL3, Box2D, Jolt Physics, EnTT, miniaudio, GLM, stb and .NET.

See Third-Party Libraries for the dependency overview.

About

C++ Multiplatform Game Engine

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages