Google Play Game Services API

Discussion and feedback on Construct 2

Post » Mon Sep 30, 2013 5:59 pm

Good Afternoon, Scirra Team

I want to ask, we will have plugin google game api in the future, because it is very good...
B
50
S
12
G
9
Posts: 154
Reputation: 21,152

Post » Mon Sep 30, 2013 6:01 pm

I think this question falls in the hands of Ludei with CocoonJS, but I could be wrong..
Image
B
81
S
16
G
4
Posts: 503
Reputation: 8,953

Post » Tue Oct 01, 2013 6:19 am

Eventually. i hear google intends to support JS in there Android browser.... some day.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,018

Post » Thu Jan 16, 2014 12:39 pm

Is there something new about this topic? I want to add it, too!
Image Image iTunes: Match3 | Google Play: Match3
B
98
S
33
G
30
Posts: 1,117
Reputation: 27,781

Post » Thu Jan 16, 2014 4:05 pm

I think the best thing to do is try it with the gamecenter options. I believe the plugin is designed to be more generic (leaderboards, achievements, purchases, etc) and then when you cloud compile it takes note of which options you select in the cloud compiler and compiles each distribution differently based on your selections. Then you just need to name your leaderboard the same on both Google Play and GameCenter and then you can just say, post this score to this leaderboard in C2. I think the name gamecenter in the plugin is confusing.

I'm not sure if I am explaining that very well. Does it make sense?

When I have time I plan on trying it myself.
B
101
S
32
G
11
Posts: 1,552
Reputation: 21,667

Post » Thu Jan 16, 2014 8:40 pm

In the CocoonJS cloud compiler there is an option to enable game center and google play games, but not configuration options for both. Only Google Play Games has configuration in the cloud compiler, and only Game Center has configuration in the plug in... so if what @Arcaded is saying is true then you just have to configure it the same for each one.

For example give your google play and game center leaderboards the same name and then you only have to make the call once in your game and it should pick the right one dependant on if it is on an iOS device or Android... h
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,583

Post » Thu Jan 30, 2014 9:54 pm

I would die for a guide. Can anyone help us out? I'll really appreciate that :)
Image Image iTunes: Match3 | Google Play: Match3
B
98
S
33
G
30
Posts: 1,117
Reputation: 27,781

Post » Tue Feb 04, 2014 12:01 pm

[QUOTE=BluePhaze] In the CocoonJS cloud compiler there is an option to enable game center and google play games, but not configuration options for both. Only Google Play Games has configuration in the cloud compiler, and only Game Center has configuration in the plug in... so if what @Arcaded is saying is true then you just have to configure it the same for each one.

For example give your google play and game center leaderboards the same name and then you only have to make the call once in your game and it should pick the right one dependant on if it is on an iOS device or Android... h[/QUOTE]

I'm trying it but doesn't work, at least for me, here is my post:

http://www.scirra.com/forum/google-play-scoreboards_topic85114.html

I'm not sure if it's a configuration problem, but i don't reach the "on failed" event (or "on success") so i don't know what is happening.
B
32
S
7
G
2
Posts: 164
Reputation: 3,774

Post » Tue Feb 18, 2014 5:36 pm

@Ashley
Now we have a new way to Android exporting, but we still have a difficulty using Google Game Service.
Is it on the todo list?
B
23
S
8
G
1
Posts: 172
Reputation: 2,780

Post » Wed Mar 19, 2014 4:25 am

I'm developing my first android game with C2, and setting up a Google Play page. They require 5 achievements minimum to publish. I have no idea what I'm doing. I assume I might have to export the html files with C2, then compile the APK, then hunt thru the code with Android SDK and type in sharing/achievement features with Google API.
B
9
Posts: 18
Reputation: 361

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests