Game Template 2 - Leaderboard (Templates)

Discuss Scirra's 2D Asset Store

Post » Sun Dec 21, 2014 2:27 am



Game Template 2 - Leaderboard — Now for sale in the Scirra Store!
https://www.scirra.com/store/royalty-free-game-templates/game-template-2-leaderboard-538

Description

Troubles including the Google Play Games Service into your game? Just use this prepared function template and extend your game with it!

This template is using the free plugin from cranberrygame.

Download it here: http://goo.gl/tMXcGI

Note: Link is also included in the download package

pre-sale questions?

Just leave a comment :)

Support

All customers get support for free of course! Please contact me if you have troubles instead of leaving bad reviews. I'm always glad to support you!

Function

  • Fetch score from Leaderboard (allows restoring of the record after re-installing of the game)
  • WebStorage/JSON Saving function included
  • Well documented steps
  • Clean code
  • Auto & manuel login
  • Score submittion only if the score is higher than the saved one at the Leaderboard (increases performance)

Updates

Buyers will receive all updates for free!

Scirra notifies you on new version!

License

You are permitted to use all game templates in commercial projects. You need one license for one game!



Use this topic to leave comments, ask questions and talk about Game Template 2 - Leaderboard
Image Image iTunes: Match3 | Google Play: Match3
B
106
S
39
G
31
Posts: 1,170
Reputation: 29,229

Post » Thu May 14, 2015 11:13 pm

Will this work when exporting to mobile or is it just for web?
B
10
S
5
G
4
Posts: 23
Reputation: 2,923

Post » Fri May 15, 2015 10:40 am

azrail13 wrote:Will this work when exporting to mobile or is it just for web?


Hi,
You'll find a version for exporting with Cordova, so it will work for Mobile games, but not for Web Games (HTML5).
I'm also working on a version for CocoonJS. I probably will update the package this weekend.

Regards,
Andreas
Image Image iTunes: Match3 | Google Play: Match3
B
106
S
39
G
31
Posts: 1,170
Reputation: 29,229

Post » Sun May 17, 2015 9:58 pm

What would you recommend for HTML 5 game??
B
4
Posts: 4
Reputation: 213

Post » Mon May 18, 2015 4:59 pm

simonzwick wrote:What would you recommend for HTML 5 game??


Hi,

The template uses the Google Play Game Service and the projects are made for Cordova and CocoonJS.
It will not work if you compile it to HTML5 only.
You would need to replace the leaderboard function with the build-in 'Google Play' plugin from scirra. This will work on HTML5.
Image Image iTunes: Match3 | Google Play: Match3
B
106
S
39
G
31
Posts: 1,170
Reputation: 29,229

Post » Tue May 19, 2015 9:25 pm

We are using the google play plug in now. however our game is timer based, the user has to complete the game in the shortest amount of time. When we submit our variable timer to the google play Leader-board it does not accept the variable. We have tried different formats and nothing has been working any suggestions?
B
4
Posts: 4
Reputation: 213

Post » Tue Jun 09, 2015 3:28 pm

Is it work also for the IOS games or just for the Android ?
B
3
S
1
Posts: 5
Reputation: 335

Post » Tue Jun 09, 2015 5:59 pm

simonzwick wrote:We are using the google play plug in now. however our game is timer based, the user has to complete the game in the shortest amount of time. When we submit our variable timer to the google play Leader-board it does not accept the variable. We have tried different formats and nothing has been working any suggestions?


Hi,
You must submit an integer, otherwise it will be rejected by Google.

A way to handle that is, if you use a constant score variable (for example 10000). Then divide it by your time in seconds. The lower your time is, the higher the highscore will be.
An atlernative would be to submit the time in seconds. But then you must set 'Lower is better' at your leaderboard settings (Google Play).
Image Image iTunes: Match3 | Google Play: Match3
B
106
S
39
G
31
Posts: 1,170
Reputation: 29,229

Post » Tue Jun 09, 2015 6:01 pm

hachi2k wrote:Is it work also for the IOS games or just for the Android ?


Yes, the plugin works for both platforms. You just need to add your iOS App at your Google Play Service and then you need to enter the ID's for the iOS Version.
But it's recommended to use GameCenter on iOS.

Regards
Andreas
Image Image iTunes: Match3 | Google Play: Match3
B
106
S
39
G
31
Posts: 1,170
Reputation: 29,229

Post » Wed Sep 02, 2015 1:46 am

We export our Construct 2 games for android an ios using Cordova>Crosswalk> XDK. Before buying we would like to know if It would still be possible to use XDK to compile using cranberry plugin or we would need to use phongegap.

Thanks in advance
B
6
S
1
Posts: 6
Reputation: 412

Next

Return to Scirra Store

Who is online

Users browsing this forum: No registered users and 0 guests