
Rust bindings for Godot game engine
You can use godot-rust to build games, editor plugins or other applications within the Godot ecosystem. We use Godot's GDExtension API and provide binary compatibility down to Godot 4.1. For Godot 3, there is also the gdnative crate, which isn't actively developed anymore.
Introduction - The godot-rust book - GitHub Pages
Welcome to the godot-rust book! This is a work-in-progress user guide for gdext , the Rust binding for Godot 4. If you're new to Rust, before getting started, it is highly recommended that you familiarize yourself with concepts outlined in the officially maintained Rust Book .
Setup - The godot-rust book - GitHub Pages
Rust. rustup is the preferred way to install the Rust toolchain. It includes the compiler, standard library, Cargo (the package manager) as well as tools like rustfmt or clippy. Visit the website to download binaries or installers for your platform. Alternatively, you can install it via command-line.
Objects - The godot-rust book - GitHub Pages
This chapter covers the most central mechanism of the Rust bindings -- one that will accompany you from the Hello-World example to a sophisticated Rust game. We're talking about objects and the way they integrate into the Godot engine.
2024: A new crate joins the Rust gamedev ecosystem - godot …
Dec 31, 2024 · For godot-rust, a crate feature like api-4-1 makes this very easy to configure. Library highlights On the technical side, a huge amount of improvements have landed in 2024.
Functions - The godot-rust book - GitHub Pages
This page gave you an overview of registering functions with Godot: Special methods that hook into the lifecycle of your object. User-defined methods and associated functions to expose a Rust API to Godot. It also showed how methods and objects interact: calling Rust methods through Gd<T> and working with base class APIs.
DynGd in godot::obj - Rust
DynGd<T, D> extends a Godot object Gd<T> with functionality for Rust’s trait dynamic dispatch. In this context, the type parameters have the following meaning: T is the Godot class.
Resource savers and loaders - The godot-rust book
The ResourceFormatSaver and ResourceFormatLoader classes allow you to serialize and deserialize your Rust Resource-derived classes with a custom procedure, as well as define new recognized file extensions. This is mostly useful if you …
Introduction - The gdnative book - GitHub Pages
For more information about architecture with godot-rust, the GDNative Overview gives a broad overview of how the library can be used with different use-cases, as well as in-depth information for the underlying API.
Ecosystem - The godot-rust book
The godot-rust book Ecosystem This chapter lists third-party projects that extend godot-rust with additional functionality: tools, libraries, integrations, apps, and more.
- Some results have been removed