Comments (2)
Hi @mabe95 . I have checked saved games functionality and it is working properly.
Could you please check if you are doing it right (if you followed Readme, it should be known to you):
-
Save the game using next function ->
play_games_services.save_snapshot("SNAPSHOT_NAME", to_json(data_to_save), "DESCRIPTION")
, "SNAPSHOT_NAME" is the name of your saved game, later you can load the saved game using this name. You can provide any name here. -
Load the game using next function ->
play_games_services.load_snapshot("SNAPSHOT_NAME")
. Here you load the game using the same name you saved the game previously. Once the game is successfully loaded, you will be notified in the next callback ->func _on_game_load_success(saved_game):
, and then you can get your saved data from thesaved_game
. Check Readme.
If you are trying latest plugin at the moment 1.2.0 (https://github.com/cgisca/PGSGP/releases/tag/1.2.0), keep in mind that you need to call init function with 3 params (instance id, show popups, enable save game functionality) play_games_services.init(get_instance_id(), true, true)
from pgsgp.
Closing the issue. Please check the latest version of the plugin.
from pgsgp.
Related Issues (20)
- Error 12501
- Error 4 when sign in with app on production HOT 1
- Need an update for 3.2.4 HOT 5
- Unable to get the module to work for Godot-3.2.2. HOT 1
- [Feature Request]Getting leaderboard data for internal leaderboard
- How to retrieve idToken on sign_in function
- account_id parameter in _on_sign_in_success() always null and does not print HOT 2
- Stuck forever after tapping on account to sign in if using initWithSavedGames instead of just init HOT 5
- [CAUSED BY DEPRECATED API] Only works with default configuration and Class not found when unmarshalling: com.google.android.gms.auth.api.signin.internal.SignInConfiguration HOT 2
- fun isSignedIn(): Boolean .. can't react on this with c# HOT 1
- 2 crashes: com.google.android.gms.tasks.RuntimeExecutionException and io.cgisca.godot.gpgs.accountinfo.PlayerInfoController$fetchPlayerInfo$1.onComplete
- Nonexistent function 'init' in base 'JNISingleton'. HOT 7
- Godot cannot be cast to android.app.Activity HOT 7
- godot didn't work in 3.3.2
- How can I get this to work on 3.3.2?
- Fatal exception on Godot 3.3.2 HOT 1
- Update to 3.4.2 HOT 1
- how to use this in flutter application
- play_games_services.signIn() causes a crash
- PGSGP: How works backend token verification?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgsgp.