-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Labels
breaking-changeIssues and PRs that are breaking to fix/merge.Issues and PRs that are breaking to fix/merge.bugc: bindingsComponent: GDNative bindings (mod api)Component: GDNative bindings (mod api)
Milestone
Description
The dodge_the_creeps example in godot-rust, which uses Input::is_action_pressed()
, no longer compiles with Godot 3.4.
Reason is an API change in GDNative:
-
Class
Input
for Godot 3.3:
-
Class
Input
for Godot 3.4:
The extra parameter exact
is optional, which is a non-breaking change in GDScript and C++, but a breaking one in Rust, since the language does not support default parameters.
There are likely more places in the GDNative API with such changes. At the moment, they make it impossible for godot-rust to support multiple Godot minor versions simultaneously. Either we find a way to support such APIs in Rust, or we can only support the latest minor version.
bluenote10, indubitablement2, flynneva and Bogay
Metadata
Metadata
Assignees
Labels
breaking-changeIssues and PRs that are breaking to fix/merge.Issues and PRs that are breaking to fix/merge.bugc: bindingsComponent: GDNative bindings (mod api)Component: GDNative bindings (mod api)