[Plugins] Construct2 Cordova Plugins

Post your completed addons to share with the community

Post » Sun Feb 01, 2015 6:24 pm

@EyeForcz

You can think html5 version google play is like clay.io leaderboard.

But Phonegap Game plugin is SDK version (native) and run on iOS (Game Center) too.

If you want to know more, join this community: https://plus.google.com/communities/117 ... 5005605917

Thanks.
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Mon Feb 02, 2015 7:33 am

Thanks Sang.

I have one question though. I have been trying to use your phonegap game plugin to allow google logins and access leaderboards.

Google logins are happening just fine, and I have buttons for weekly, monthly leaderboards. However, what i cant find anywhere is, do i need to create a leaderboard specific layout or code? Or Just using the action 'show leaderboard' with the correct leaderboard ID from google play game services be enough?

I mean, is there a google pop-up that is shown similar to login/IAP pop-ups or we need to create our own leaderboard events and actions?

Thanks in advance for your help.
B
3
Posts: 9
Reputation: 195

Post » Mon Feb 02, 2015 8:39 am

@suneelnairk

Just using the action 'show leaderboard' with the correct leaderboard ID from google play game services be enough

For further infomation, join and post here: https://plus.google.com/communities/117 ... 5005605917

Thanks
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Mon Feb 02, 2015 10:10 am

Thanks Sang. :)

already joined your community. I will try and check what i am doing wrong and will contact you in case I am not able to figure it out.

Awesome plugins by the way! :) makes our life much easier and definitely worth it.
B
3
Posts: 9
Reputation: 195

Post » Tue Feb 03, 2015 1:06 am

Now. current version of cranberrygame PhonegapScreenOrientation not work on IOS app.
B
15
S
3
G
4
Posts: 27
Reputation: 2,819

Post » Tue Feb 03, 2015 11:58 am

@cranberrygame

I installed the cranberrygame game plugin but when i start my game that i installed on my smartphone (via. USB) and click the Login Button my game crashes.
What is wrong?
Thanks :D

Here is my code:
(I also filled in my App ID in the phonegap properties)
You do not have the required permissions to view the files attached to this post.
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Tue Feb 03, 2015 3:15 pm

@suneelnairk

Ok

Thanks

@nichekeys

You post this on G+ community.
I will check.
And will reply to G+ community.

Thanks

@aquadijoib

Replied see: https://plus.google.com/116566223935450 ... FDQeN3tu1s

Thanks
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Wed Feb 04, 2015 8:29 am

No reply in the Google Plus group so I'm asking here.

The Crosswalk builds fails in the XDK when using the Facebook plugin with the following;

[dependency] Found 2 versions of android-support-v4.jar in the dependency list,
[dependency] but not all the versions are identical (check is based on SHA-1 only at this time).
[dependency] All versions of the libraries must be the same at this time.
[dependency] Versions found are:
[dependency] Path: .../EscapeFromSpace/com.phonegap.plugins.facebookconnect/FacebookLib/libs/android-support-v4.jar
[dependency] Length: 987314
[dependency] SHA-1: 9b6a9a9078af571732159b904ad423b03b7cc786
[dependency] Path: .../EscapeFromSpace/libs/android-support-v4.jar
[dependency] Length: 621451
[dependency] SHA-1: 5896b0a4e377ac4242eb2bc785220c1c4fc052f4

BUILD FAILED
.../tools/ant/build.xml:577: Jar mismatch! Fix your dependencies

So presently I cannot get past this point.

Does anybody know how to fix the problem?

EDIT: I have been informed this issue is caused by using both the facebook and game plugin.
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Post » Wed Feb 04, 2015 1:39 pm

@TheWyrm

Sorry for late reply.

Try this: https://plus.google.com/107107588579347 ... 38FEhop9U1

Thanks
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Thu Feb 05, 2015 8:18 am

Hello @cranberrygame. Maybe if it's possible, please could you take a look at Amazon Gamecircle? It's like Google Play Game Services, but actually for Amazon Apps. I think it would be an awesome extension to be added to the repository :D

https://developer.amazon.com/public/api ... gamecircle

Kind regards.
Last edited by lamies on Wed Feb 11, 2015 9:20 am, edited 1 time in total.
B
23
S
3
G
3
Posts: 26
Reputation: 1,832

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest