Can you use Google Play Games API in apps other than games? - android

I want to add achievements to my app. I started doing such my way, but after the last release, with the new Games API, I've seen it looks clearly better than coding all by myself. What I don't know if there are clauses that avoid using the Game API for regular apps rather than games.
PS: I've checked twice the Games Services website, but nothing appears there.

I don't see any problem with that!
This concept is called gamification:
http://en.wikipedia.org/wiki/Gamification

Related

Google Play Games, backing up data, Drive deprecated

I'm just coming to the end of writing my first game, last thing to do is enable backing up the user's game. I have leaderboards and achievements implemented fine, and all Google's docs say I should be saving games to Drive using .requestScopes(Drive.SCOPE_APPFOLDER) which upon trying leads me to find that it's no longer going to work in 2 months.
Digging further, I found this line from Google: "Support for storing and syncing in the app data folder will likely be removed from Drive in the future."
I'm still learning all this as I go, and I'm using Kotlin (I don't know Java). Can anyone point me in the right direction to where I should be looking to backup users game data if the way Google suggests isn't going to work very soon?
Thanks
Google is deprecating the Google Drive Android API in favor of the Google Drive REST API. Here is the best starting point for implementing that in android that I could find.

Using Saved Games API and Turn-Based Multiplayer API

On the Google Play Games Services developer website, it says:
Warning: Using the Saved Games API together with the turn-based multiplayer API could cause version conflicts because the save game and match data are not updated synchronously. To avoid these conflicts in your game, pick and use just one API to save your game state.
I am working on a game where I plan to use both APIs, and I'm curious if I will experience a conflict. I am creating a turn-based strategy RPG, where you can have multiple battles going on with friends (using the Turn-Based Multiplayer API). At the end of each battle, your character and soldiers earn XP and items. These are going to be saved using the Saved Games API. The two APIs won't need to interact at all.
Should I be concerned about this warning?
I would say yes, because it is coming from the Google itself. They put this warning to notify the developer that if they use Saved Games API and turn-based multiplayer API resulting in an error, these two API's will be the reason for that error and the developer can easily identify the cause of it. So they recommended that you need to pick and use just one API between the two to save your game state and avoid any error or conflicts in your game. Hope it helps you.

Bulk upload/update Google Play Games Achievements and Leaderboards

Does Google Play Games has a batch-uploader for Achievements/Leaderboards like Apple's ITMSTransporter?
I have 64 Achievements, 13 Leaderboards, 12 different localizations with a title, description and image to upload. I don't really want to manually copy-paste over 3000 items.
I had to end up hacking together my own solution to this, using the Chrome javascript console. Very disappointing there doesn't seem to be an official tool or API for this.
You can see the sourcecode for my hacky solution here: https://github.com/zzymyn/gpg-batch-uploader
This is an old question, but I faced the same problem recently (had a huge list of achievements with several localizations that I needed to upload).
There's no ready-made solution but I created my own by leveraging the Play Games Services Publishing API (https://developers.google.com/games/services/publishing/). It's a REST API that lets you create and modify achievements and leaderboards. They have clients for several languages, I used the one for Ruby which is what I'm most used to.
It's a bit tricky to set up because the calls need authorization (OAuth 2) and the documentation is not very detailed (I figured out most stuff just by reading their code and samples), but the good part is that once you get it working you get a lot of flexibility.

Can Google Play Games service be used for non games

Ok this sounds weird. Google play games was made for games. And it is excellent. Achievements, cloud save, etc.
Now my app is NOT a game. But it is well documented and researched that turning chores/work/etc into games, makes them more fun, and people more likely to want to do them.
And this is what I want to do for my app. I cant add it to the games section, as it is a productivity/utility app. Yet I would like to add achievements,etc to it. And seeing as Google Play Games services already has some of the functionality i need, i thought i could use it. However, it seems that your app must be a game to use it.
Any one know if you can actually use the services with non games?
It's technically possible but in circumstances where you are using the services in an app, be careful because if your app doesn't meet the branding requirements, it can be pulled from the Play store as described in the Google Play Games Services terms of service.
So long as you can follow the Google Play Games Services Branding Guidelines you should be fine.
Yes, you can. The Google staff speaking in an event yesterday in the Google Campus London actually said this.
For examples of already existing popular such apps, checkout Memrise which is a gamified way to learn languages. It sits in "Education" App category and it has leaderboards and achievements in it, though not sure if its GPG or their own implementation of it.

How to make Android Multiplayer Games using Facebook friends? (Google Play Game Services uses G+ only)

At the risk of this question being marked 'research' or 'too broad', I am placing this question here with the research I have done so far (to count as background work), especially since I have been researching this for a while but have not found a good turnkey solution. thank you for your inputs!
I want to make Turn Based Multiplayer Game. I found Google Play Game Services but that only works with Google+ Login: https://developers.google.com/games/services/android/turnbasedMultiplayer
How do I do the same with Facebook login? Can Google Play Game Services be used with Facebook friends?
In my research, the other option I found is nextpeer.com, but not sure if they can do a turn by turn based. I think i have to send player to player messages directly to achieve the turn based player, dont want to do that.
EDIT: After I posted the question, i found Android Games Tutorial with Facebook SDK - trying to understand if turn based game can be done using Facebook SDK.
Can it?
Disclaimer: I am a Nextpeer employee.
Hi,
Nextpeer does not offer a turn based solution at the moment. However, we do have an asynchronous gaming mode in our Facebook matches mode. In this mode players can either play synchronously together or asynchronously. In the second case, a player can play and the recording of his gameplay will be played to his opponents when they choose to play. Does this answer your need?
I'll be glad to discuss further privately, just email us at support#nextpeer.com and ask to talk to Dror.
I have been looking for a solution on similar lines aswell, and I guess we have a solution that can be helpful for others as well. Just looking forward to integrate it. You can find the required documentation here

Categories

Resources