godot-rust-space-sidescroller
gdext
godot-rust-space-sidescroller | gdext | |
---|---|---|
1 | 13 | |
5 | 3,039 | |
- | 3.9% | |
3.2 | 9.8 | |
over 3 years ago | 10 days ago | |
Rust | Rust | |
BSD 3-clause "New" or "Revised" License | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
godot-rust-space-sidescroller
-
Rust with Godot
I followed some gdscript tutorials a couple of months ago but instead used rust. Perhaps this is of use to you https://github.com/roeldev/godot-rust-space-sidescroller
gdext
-
Godot Rust gdext: GDExtension Rust Game Dev Bindings
Another fantastic resource is the example game code in the gdext GitHub repo for a Dodge the Creeps game (which will sound familiar if you have followed the official Godot, GDScript-based, tutorial). You can try building it or just dip into for help to unblock if you get stuck working on your own game.
-
Voronoi, Manhattan, random
As an alternative, you can code in C++ or C#. If desired, Godot has bindings for other languages, such as Rust. Going ahead—in the end, C++ came in handy and useful for the project.
-
Modern Java/JVM Build Practices
The world has moved on though to opinionated tools, and Rust isn't even the furthest in that direction (That would be Go). The equivalent of those two lines in Cargo.toml would be this example of a basic configuration from the jacoco-maven-plugin: https://www.jacoco.org/jacoco/trunk/doc/examples/build/pom.x... - That's 40 lines in the section to do the "defaults".
Yes, you could add a load of config for files to include/exclude from coverage and so on, but the idea that that's a norm is way more common in Java projects than other languages. Like here's some example Cargo.toml files from complicated Rust projects:
Servo: https://github.com/servo/servo/blob/main/Cargo.toml
rust-gdext: https://github.com/godot-rust/gdext/blob/master/godot-core/C...
ripgrep: https://github.com/BurntSushi/ripgrep/blob/master/Cargo.toml
socketio: https://github.com/1c3t3a/rust-socketio/blob/main/socketio/C...
- GDext: Rust Bindings for Godot 4
- Unity’s pricing is a symptom, not the cause of tougher times for the industry
-
Godot 4.1 Is Released
Starting with Godot 4.0, they now support GDExtension which allows you to basically write your own game code in C++ (and other languages), then have the engine import your code: https://docs.godotengine.org/en/stable/tutorials/scripting/g.... There is also a set of Rust bindings that utilize GDExtension too: https://github.com/godot-rust/gdext.
They might be worth looking into.
-
Bevy, Fyrox or Godot, which has better 3D graphics performance and Wayland support?
Godot currently has 2 versions, the 3.X LTS version has a different api for which rust support ist fully there, that version is I think like 6months old and quite mature. The timeline for GDExtention Rust is difficult to predict but this is the status: https://github.com/godot-rust/gdext/issues/24
-
What is Rust's potential in game development?
Adding onto this, I successfully written a game in Godot using gdnative / gdext. I started with a split approach using gdscript and rust for CPU intensive but found that the API layer was slow at transferring large amounts of data (serialization?). I ended up rewriting it in all rust and it worked like a charm. I was able to target native and web assembly, the web assembly was much slower but worked on the browser.
-
Thinking of migrating from Roblox, have some questions
You can always port performance-sensitive parts of your code later to C#, or even Rust using GDExtension modules: https://github.com/godot-rust/gdext
-
Adding scripts written in Rust to nodes with GDExtension
I’ve recently switched from my own custom game engine written in Rust to Godot and want to use my knowledge in Rust to create game logic. I’ve looked at the book for godot-rust and can’t figure out how to use it properly. My goal is to write Rust code and implement it as a script in Godot 4.
What are some alternatives?
rust-raspberrypi-OS-tutorials - :books: Learn to write an embedded OS in Rust :crab:
dipa - dipa makes it easy to efficiently delta encode large Rust data structures.
FBugReporter - Easily add feedback and/or bug reporting functionality to your Godot game.
awesome-godot - A curated list of free/libre plugins, scripts and add-ons for Godot
veloren - An open world, open source voxel RPG inspired by Dwarf Fortress and Cube World. This repository is a mirror. Please submit all PRs and issues on our GitLab page.
xml-mut - xml mutation language resembling sql
gdnative - Rust bindings for Godot 3
Arrow - Game Narrative Design Tool
gdextension - Rust bindings for Godot 4 [Moved to: https://github.com/godot-rust/gdext]
gdsdecomp - Godot reverse engineering tools
godobuf - A Google Protobuf implementation for Godot / GDScript
rustycopier - Its a copier implemented in rust programming language with multithreading