Skip to content

Commit 6c9a77a

Browse files
N52: godot-rust (#1532)
Co-authored-by: Jan Hohenheim <[email protected]>
1 parent f01542b commit 6c9a77a

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

Diff for: content/news/052/godot-rust.png

98.8 KB
Loading

Diff for: content/news/052/index.md

+34
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,40 @@ If needed, a section can be split into subsections with a "------" delimiter.
7272

7373
## Engine Updates
7474

75+
### [godot-rust]
76+
77+
![godot-rust logo](godot-rust.png)
78+
79+
godot-rust ([GitHub][gd-github], [Discord][gd-discord], [Mastodon][gd-mastodon], [Twitter][gd-twitter]) by [@Bromeon]
80+
provides Rust bindings for the [Godot engine](https://godotengine.org/).
81+
82+
After quite a bit of development on GitHub, the Godot 4 bindings are now available on [crates.io](https://crates.io/crates/godot) --
83+
you can immediately get started using
84+
`cargo add godot`. Furthermore, the GDExtension API level can now be specified with a Cargo feature, e.g. `api-4-1`.
85+
86+
The `ScriptInstance` API has matured a lot over the past months. This feature allows users to write Godot scripts in Rust, which can be
87+
attached to nodes (just like GDScript). Scripts allow for quickly attaching/detaching functionality in a scene.
88+
89+
The overall API has seen several consistency improvements: reorganized modules, `self`/`&self` receivers on geometric types,
90+
easier element access for `Array`/`Dictionary`/`Packed*Array`. The library has also benefited from Rust's
91+
[`#[diagnostic::on_unimplemented]`][gd-diagnostic] to improve user-facing error messages.
92+
93+
_Discussions:
94+
[/r/rust](https://www.reddit.com/r/rust/comments/1dnmjtl/godotrust_now_on_cratesio_with_the_godot_crate/),
95+
[Mastodon](https://mastodon.gamedev.place/@GodotRust/112673330814149117),
96+
[X](https://x.com/GodotRust/status/1805327592222081482)_
97+
98+
_See also the [devlog article][gd-dev-june]._
99+
100+
[@Bromeon]: https://github.com/Bromeon
101+
[gd-dev-june]: https://godot-rust.github.io/dev/june-2024-update
102+
[gd-diagnostic]: https://blog.rust-lang.org/2024/05/02/Rust-1.78.0.html#diagnostic-attributes
103+
[gd-discord]: https://discord.gg/aKUCJ8rJsc
104+
[gd-github]: https://github.com/godot-rust/gdext
105+
[gd-mastodon]: https://mastodon.gamedev.place/@GodotRust
106+
[gd-twitter]: https://twitter.com/GodotRust
107+
[godot-rust]: https://godot-rust.github.io
108+
75109
## Learning Material Updates
76110

77111
## Tooling Updates

0 commit comments

Comments
 (0)