Main | Develop |
---|---|
is an Azure PlayFab addon for the Godot Engine. While it is very early, it is supposed to be two things:
- A GDScript-native SDK to Azure PlayFab
- A Godot Editor integration to administer your game
Note: If you are looking for the Godot 3 version, you can use a legacy version of godot-playfab for Godot 3!
I wanted to create an opinionated, "natural" Godot integration/SDK. Anyone could use the C# SDK right now or use any SDK with GDExtension. But these SDKs are only generated SDKs, with a lot of duplicated models, which are nothing more than an API wrapper. However, I want it to feel natural to the environment of Godot.
So my plan is to not only create a GDScript-Native addon with more or less everything handcrafted, but also use Godot's Signals and also provide in-editor tools to work with Godot.
The overarching mission is: Providing a great Developer Experience!
-
Multiple Authentication Methods: Supports various login methods:
- Anonymous
- Custom ID (with or without password)
- Steam
-
Events for Telemetry and PlayStream
- Batched sending to optimize costs
- Direct write for urgent events
-
Session Management: Automatic handling of session tokens and re-authentication.
-
Signal-Based Callbacks: Utilizes Godot's signal system for handling success and failure callbacks.
-
Steam Integration: Built-in support for GodotSteam for seamless Steam authentication.
-
Example Project: A fully functional example project demonstrating common use cases.
-
Configuration Management: Centralized configuration for PlayFab settings.
You can find an example project within this repository. In fact, if you just clone this repository, it's a working example! There are only a few things to do:
💡 I encourage you to use the example project as a starting point for your own game!
- Create a PlayFab title and get the Title ID
- Set the Title ID in project settings under
playfab/title_id
. See Initial Setup.
To use the Steam login, please refer to: Steam Integration.
However, the example projects are not included in the AssetLib or Itch.io packages, as to not confuse users. Please clone the full repository to get the example projects: godot-playfab on GitHub.
The example includes general login, title data retrieval, analytics as well as how to use GodotSteam with godot-playfab to log into PlayFab using Steam!
I am proud to say that there are already some games using godot-playfab
in production! If you want to be listed here, please let me know!
You can use the included Demo scene setup in Scenes
to see how godot-playfab
can be used.
Don't hesitate and join our Discord! Everyone is welcome, and we're looking forward to hearing from you! Or create an issue directly in the repo. All your input is very much appreciated!
Thanks to lentsius-bark for the wonderful re-design of the logo and splash screen ❤