v0.3.0 - Compatibility + Community Fixes #158
Zach Hooper (XBOX) (zachhooper)
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What's Changed
Warning
Breaking change:
GDK*classes are nowXbox*. Every script-visible type was renamed from theGDKprefix to theXboxprefix —GDKUser→XboxUser,GDKResult→XboxResult,GDKAchievement→XboxAchievement, and so on. The C# facade moved with them: namespaceGodotGdk→GodotXbox, static classGdk→Xbox. No deprecatedGDK*aliases are provided, so type references must be updated.Why: to let this addon enable console support inside compatible Godot forks. Those forks provide the console platform layer and expose their own types, and the
GDK*prefix collided with names they already use. Moving to theXbox*prefix keeps this addon's types distinct so it can be dropped into such a fork and light up console scenarios there. Godot itself is unchanged — the engine's own console support is not something this repo provides.One binary covers both. The same addon build runs on PC and on console — there is no separate console compilation, preset, or
#define.godot_gdk.gdextensiondeclares only thewindows.*.x86_64libraries, and those are what a console-capable fork loads too.The singleton is still called
GDK. Calls likeGDK.initialize()andGDK.users.add_default_user_async()keep working unchanged — only the type names moved. Theaddons/godot_gdkfolder, thegdk/runtime/*Project Settings, and thegodot_gdk.gdextensionentry point are all unchanged as well.One consequence worth calling out: the ClassDB class name (
Xbox) and the singleton name (GDK) are now different strings. If your code class-checks the singleton, compare against"Xbox"—is_class("GDK")no longer matches.See Migrating to v0.3.0 for the full old → new table, or run the codemod:
This discussion was created from the release v0.3.0 - Compatibility + Community Fixes.
All reactions