This repository provides a minimal configuration to kickstart a Godot project using Rust as the game scripting language, following the tutorial from godot-rust/gdext.
You can access the book through the following link: Book.
- Make sure you have the Godot Engine installed.
- Install Rust on your system if you haven't done so already.
- Follow the instructions in the book to set up the environment and necessary dependencies.
Here's an overview of the project structure:
godot-rust
│
├── .git/
│
├── godot/
│ ├── .godot/
│ ├── godot-rust.gdextension
│ ├── icon.svg
│ ├── main.tscn
│ └── project.godot
│
└── rust/
├── Cargo.toml
├── src/
│ └── lib.rs
└── target/
└── debug/
-
Build the Rust project using the following command:
cargo build
-
Open the Godot Engine and load the project.
-
Run the game in Godot to ensure everything is working correctly.