Skip to content
/ godot-rust Public template

Godot(4.3) using Rust as the game scripting language.

Notifications You must be signed in to change notification settings

leoslamas/godot-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

godot-rust

Minimal Configuration to Start a Godot Project Using Rust

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.

Prerequisites

  1. Make sure you have the Godot Engine installed.
  2. Install Rust on your system if you haven't done so already.
  3. Follow the instructions in the book to set up the environment and necessary dependencies.

Project Structure

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/

Building and Running

  1. Build the Rust project using the following command:

    cargo build
  2. Open the Godot Engine and load the project.

  3. Run the game in Godot to ensure everything is working correctly.

About

Godot(4.3) using Rust as the game scripting language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages