Subscribe and learn more from me about Game Development and Programming!
In this video, we'll delve into the process of setting up and utilizing Rust for your Godot projects. Discover how integrating Rust can be used to help your game development process. Whether you're a seasoned developer or just exploring the possibilities, this video will provide step-by-step instructions to seamlessly set up Rust in Godot. Boost your game's performance and security with the synergy of Rust and Godot 4.1. Don't miss out on leveraging the best of both worlds!
RESOURCES
Installing Rust: [ Ссылка ]
Cargo.toml:
[package]
name = "testCrate"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at [ Ссылка ]
[dependencies]
godot = { git = "[ Ссылка ]", branch = "master"}
[lib]
crate-type = ["cdylib"]
GD Extension file content:
[configuration]
entry_symbol = "gdext_rust_init"
compatibility_minimum = 4.1
[libraries]
windows.debug.x86_64 = "res://lib/testCrate.dll"
windows.release.x86_64 = "res://lib/testCrate.dll"
Launch.json:
{
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"preLaunchTask": "rust: cargo build",
"name": "Debug",
"args": [ "--path", "C:\\Users\\FinePointCGI\\Documents\\Rust Tutorial"],
"cwd": "${workspaceFolder}",
"windows": {
"program" : "C:\\Users\\FinePointCGI\\Downloads\\Godot_v4.1.1-stable_mono_win64\\Godot_v4.1.1-stable_mono_win64\\Godot_v4.1.1-stable_mono_win64.exe"
}
}
]
}
BE MY FRIEND:
🐦Add me on Twitter: [ Ссылка ]
Check out my Website: [ Ссылка ]
Where to suggestion Things: [ Ссылка ]
You can support me on Patreon: [ Ссылка ]
Hang Out with the Guys on Discord: [ Ссылка ]
TIMESTAMPS
01:00 Installing Rust
02:36 Creating Our Rust Lib Project
04:22 Istalling the Rust Addon
05:05 Setting Up Our Toml File
06:51 Setting Up or lib.rs File Properlly
08:02 Interaction With the Godot System Using a Class
13:22 Marker 8
14:35 Getting Into Godot
14:56 Explaning What a GD Extension File Is
18:01 How To Find Your Newly Created Node
18:30 How To Actually Program a Small Controller
22:20 Seperating Our Library Into Two Files
25:04 How To Interact With Rust From GD Script
29:35 How Do You Debug (Its Pain Kind Of)
32:28 Running Into an Issue With My Recorder
34:40 Outro and Recap of What We Learned
MUSIC
Music provided by TheRelaxedMovement.
Check it out here: [ Ссылка ]
HASHTAGS:
#rustprogramming #Godot4 #basics
ABOUT MY CHANNEL:
I've been a software developer for over 7 years. I've worked in the game industry for 3 of those years. This channel is used for news on the gaming\programming industry and for tutorials for game\programming development.
Setting Up Rust in Godot 4.1! Advanced Godot 4!
Setting Up Rust in Godot 4.1! Advanced Godot 4!
Теги
godotgodot 4godot enginegodot tutorialgodot game enginegodot 4 tutorialgodot 4.0godot 4 betagodot 3godot 4 getting startedgodot 4.1godot getting startedgodot window settingsgodot settingsgame development in godot 4godot project settingspost processing effects in godot a quick overviewunderstanding godot 4new features in godot 3godot 3dsimple level select screen in godot 4godot anti aliasinggodot 4 introduction