Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPGS HTML/Desktop: saveGameState should respect progressValue #19

Closed
MrStahlfelge opened this issue Nov 28, 2017 · 1 comment
Closed

Comments

@MrStahlfelge
Copy link
Owner

Current implementations of GPGS on HTML and Desktop ignore the progressValue parameter of saveGameState. From the JavaDoc:

progressValue A value indicating player's progress. Used for conflict handling: if game state already saved is higher than this value, the gameState is not saved

The value should be saved in Drive's custom properties and checked before saving.
https://developers.google.com/drive/v3/web/properties

@MrStahlfelge
Copy link
Owner Author

Closing this as desktop is not supported by Google any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant