Skip to content

Commit 4e15341

Browse files
committed
N52: godot-rust
1 parent f01542b commit 4e15341

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

content/news/052/godot-rust.png

98.8 KB
Loading

content/news/052/index.md

+28
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,34 @@ 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 Godot.
81+
82+
After quite a bit of development on GitHub, the Godot 4 bindings are now available on crates.io -- you can immediately get started using
83+
`cargo add godot`. Furthermore, the GDExtension API level can now be specified with a Cargo feature, e.g. `api-4-1`.
84+
85+
The `ScriptInstance` API has matured a lot over the past months. This feature allows users to write Godot scripts in Rust, which can be
86+
attached to nodes (just like GDScript). Scripts allow for quickly attaching/detaching functionality in a scene.
87+
88+
The overall API has seen several consistency improvements: reorganized modules, `self`/`&self` receivers on geometric types,
89+
easier element access for `Array`/`Dictionary`/`Packed*Array`. The library has also benefited from Rust's
90+
[`#[diagnostic::on_unimplemented]`][gd-diagnostic] to improve user-facing error messages.
91+
92+
_See also [Devlog article][gd-dev-june]._
93+
94+
[@Bromeon]: https://github.com/Bromeon
95+
[gd-dev-june]: https://godot-rust.github.io/dev/june-2024-update
96+
[gd-diagnostic]: https://blog.rust-lang.org/2024/05/02/Rust-1.78.0.html#diagnostic-attributes
97+
[gd-discord]: https://discord.gg/aKUCJ8rJsc
98+
[gd-github]: https://github.com/godot-rust/gdext
99+
[gd-mastodon]: https://mastodon.gamedev.place/@GodotRust
100+
[gd-twitter]: https://twitter.com/GodotRust
101+
[godot-rust]: https://godot-rust.github.io
102+
75103
## Learning Material Updates
76104

77105
## Tooling Updates

0 commit comments

Comments
 (0)