No description
  • Shell 73.1%
  • Rust 16.7%
  • Batchfile 10.2%
Find a file
Jens Pitkanen 50b578bfdd
All checks were successful
Build / linux (push) Successful in 2m36s
Build / windows (push) Successful in 3m24s
Build / web (push) Successful in 4m7s
Move the windows executable name to the workflow as well
2026-06-22 17:52:24 +03:00
.forgejo/workflows Move the windows executable name to the workflow as well 2026-06-22 17:52:24 +03:00
builds Move the windows executable name to the workflow as well 2026-06-22 17:52:24 +03:00
engine-extension Build web both with and without threads, replace emscripten-wasm-eh with immediate-abort 2026-06-20 15:13:58 +03:00
game-project Make the gdextension actually use the threaded wasm 2026-06-20 15:58:30 +03:00
README.md Update readme 2026-06-20 15:28:16 +03:00

This repository contains a basic Godot project with a GDExtension written in Rust, made to be easy to fork off of to start new Godot projects.

Features:

  • Rust GDExtension ready to use.
  • CI builds with upload-artifact for downloading a web/linux/windows build for any commit.
    • Required Godot versions should be updated in .forgejo/workflows/build.yaml and builds/build-windows.bat as needed (and updated on the runners to match).
  • CI uploads to itch.io for tagged commits, using the tag as the "version number" on the itch side.
    • The web channel needs to manually be set to "This file will be played in the browser" and the "Kind of project" needs to be set as "HTML".
    • Under "Frame options," the checkbox for "SharedArrayBuffer support" should be checked, or the CI workflow should be changed to upload builds/web-no-threads instead of builds/web (in case there's no need for multithreading perf wise, and e.g. the inline player would be preferrable).
    • The workflow should be updated to have the correct username and project name for the butler calls in .forgejo/workflows/build.yaml.
  • To find all the places to replace "game-project" with the name of the game at, use:
    rg '[Gg]ame.[Pp]roject'