How do I use Google play plugin?

Get help using Construct 2

Post » Sun Apr 10, 2016 8:34 am

To use google play plugin I need to link my game to google play service as web app. On the second step of linking it is asking to authorize my site (on wich I upload my game) with oauth2. How can I do this?
I've read google instructions and I completely don't get it. :(
B
4
Posts: 8
Reputation: 212

Post » Sun Apr 10, 2016 10:14 am

@Geforio - You don't need to read the GooglePlay instruction in adding GooglePlay Games in your games since C2 does the work for you. First, you need to know what compiler you are going to use in your game.

If you use IntelXDK to compile your game then you are going to need Cranberry Plugin (Scirra Store: https://www.scirra.com/store/construct2-plugins/construct2-cordova-plugins-1662 or @Cranberrygame website http://cranberrygame.github.io/request_construct2_cordova_plugins/ which is a paid plugin.

then read this to learn how to do the events:
https://www.scirra.com/manual/175/google-play

also read this guide for compiling:
https://www.scirra.com/tutorials/4864/how-to-install-cranberrys-google-play-games-plugin

You also need to download the build/compiler program:
https://software.intel.com/en-us/intel-xdk

But If you want to compile to Cocoon.IO then @AndreasR 's tutorial will help you.

https://www.scirra.com/tutorials/1010/google-play-games-leaderboard-achievements

The Cloud Compiler website:

http://cocoon.io/
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
65
S
21
G
90
Posts: 1,124
Reputation: 59,857

Post » Sun Apr 10, 2016 11:46 am

@chadorireborn if you read his question, he asks how to implement it in a webgame

Geforio wrote:To use google play plugin I need to link my game to google play service as web app. On the second step of linking it is asking to authorize my site (on wich I upload my game) with oauth2. How can I do this?
I've read google instructions and I completely don't get it. :(


@Geforio go to your google API, click credentials
Image

Click create credential > OAuth Client ID
Image

and then enter the correct urls, localhost in my example
Image
B
25
S
11
G
9
Posts: 136
Reputation: 6,657

Post » Sun Apr 10, 2016 11:59 am

@Wishy - Sorry. I guess I misread. You can take over from here then.
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
65
S
21
G
90
Posts: 1,124
Reputation: 59,857

Post » Tue Apr 12, 2016 8:05 am

@Wishy, that works perfectly!
And @chadorireborn 's tutorials I will save for future)

Thank you!
B
4
Posts: 8
Reputation: 212

Post » Thu Apr 14, 2016 8:05 am

How do i get fingerprints for API credential
Image
B
64
S
39
G
46
Posts: 656
Reputation: 32,728

Post » Thu Apr 14, 2016 9:02 am

@luckyrawatlucky: Please, stop multiplying posts and topics about the same issue. Stick to a single topic on a specific subject.
Do some searching in the forums and using a search engine (like google for example) as well to educate yourself.
You may find informations in your own language which might be easier for you to compute.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
292
S
115
G
96
Posts: 7,295
Reputation: 70,795


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 48 guests