Easy Achievements and Leaderboards - Engage your players

Easy Achievements and Leaderboards
Engage your players easily
3518591--281784--easy-achievements.jpg

Get it now from the Asset Store
For detailed implementation instruction see the Documentation

Download Android Demo

Key features:

  • Submit achievements and scores with minimal setup.
  • Same code for both Android and iOS platforms.
  • Just import the Google Play Games SDK - no additional setup is required for Android
  • No additional SDK is required for iOS.
  • Error prone - all messy string type ID’s will auto generate into an enum i.e. LeaderboardNames, AchivementNames, for an easy, error free usage in your code.
  • Works with Unity 5.3 and above.

Currently supported platforms:

  • Android - Google Play Services
  • iOS - Game Center

Easy setup from a Custom Editor Window:

Simple methods to submit achievements and scores that work for all platforms:

  • Login
GameServices.Instance.LogIn(UnityAction<bool> LoginComplete = null);

private void LoginComplete (bool success)
{
     if(success==true)
     {
          //Login was successful
     }
     else
     {
          //Login failed
     }
}
  • Submit Achievements
GameServices.Instance.SubmitAchievement(AchievementNames achievementName, UnityAction<bool,string> SubmitComplete = null);

private void SubmitComplete (bool success, string message)
{
     if(success)
     {
          //achievement was submitted
     }
     else
     {
          //an error occurred
          Debug.LogError("Achievement failed to submit: " + message);
     }
}
  • Show Achievements
GameServices.Instance.ShowAchievementsUI();
  • Submit Score
GameServices.Instance.SubmitScore(long score, LeaderboardNames leaderboardName, UnityAction<bool, string> SubmitComplete = null);

private void SubmitComplete(bool success, string message)
{
     if(success)
     {
          //score successfully submitted
     }
     else
     {
          //an error occurred
          Debug.LogError("Score failed to submit: " + message);
     }
}
  • Show Leaderboards
GameServices.Instance.ShowLeaderboadsUI();

Any sugestions are always welcome.

1 Like

Version 1.0.1 of Easy Achievements and Leaderboards is now available on Asset Store. You can now download it for FREE for a limited time only. Take a look now.

1 Like

You’re on the go!!! :smile::slight_smile: Have so much to look and test this summer :smile: Big thank you again!

We are glad you like our plugins. Please let us know if you need some changes of new features to this plugin.

When I use the above line in a method, the IDE objects:

UnityAction is a type which is not valid in the given context
Invalid express term bool
The name LoginComplete does not exist in the current context

It doesn’t work outside of a method either.

What am I doing wrong?

Thanks,

Richard

Oh but when using your demo scene, built for Android, when I press the Login button nothing happens, it just ignores me. So I could use the demo code, if only it worked :slight_smile: I don’t believe there are any permissions required, what am I missing?

Richard

Hello,
Did you add your id-s in the Settings Window like this:
3552887--285837--android achievements setup.png

To login you have to do something like this:

GameServices.Instance.LogIn(LoginComplete);

private void LoginComplete (bool success)
{
     if(success==true)
     {
          //Login was successful
     }
     else
     {
          //Login failed
     }
}

Please let us know if you managed to make it work.

Hi,
I eventually gave up, restored my project and installed the Google Play Games Unity plugin and started to use that directly but that had issues too though extremely hard to diagnose. It turned out to be the javahome path which was pointing to a non-existent location. All fixed now, but I’ll continue using the GPG plugin as it’s quite easy to use anyway :slight_smile:

Thanks!

Ok, no problem

Our plugin has almost the same implementation as the plugin from Google, but if you need the achievements and leaderboards from iOS also, you just have to add your iOS id`s and it will work, no aditional work is needed. This is the way it was intended to be used.

Version 1.1.2 of the plugin was just submitted for review to the Asset Store.
We fixed a crash that sometimes occurs in Unity 2018 due to an invalid game id.

Hello,

We just released a video tutorial with step by step instructions on how to create an app on Google Play, create Game Services, add achievements and leaderboards, add test users, and finally integrate our plugin using Unity. We hope this will help more users with the setup of Game Services.

Version 1.1.3 is now available on Asset Store
Now you can show a specific leaderboard on Google Play using this method:

GameServices.Instance.ShowSpecificLeaderboard(LeaderboardNames.yourLeaderboardName);

If you are interested in this plugin but you think is too expensive write us an e-mail at gley.mobi@gmail.com
We have 4 free vouchers waiting for you.

Hey @GleyGames , just bought this asset and it’s not working with Unity 2018.2.11f1. Sent you an email just now as well.

Any idea whats going on? I was using “very simple leaderboard” prior to your asset, and that stopped working with the latest google play sdk and/or latest unity. Could you help? Everything is setup correctly on my end.

Hello,
We just check our plugin with Unity 2018.2.11 and it works on our side.
Please check the following points that might cause your app to fail:

  • the google play app id is not correct
  • you are not a tester
  • you should download your app from google play from alpha or beta test first time you test your game services
  • your app is not signed with the same key as one from the store
  • your Game Services from google account are not published.

Please verify and let us know if the problem persists.

Also you can follow our step by step tutorial and your app should work:

https://www.youtube.com/watch?v=hYA9vrn7jzE

I need an asset like this. How optimized is the asset, meaning does it support a 100 achievements or can it support 1000’s without much noticeable difference. Thanks

Hello,
It supports as many achievements as Google Play console supports we do not know what is the maximum number of achievements permitted by Google.
The asset is not dependent by the number of achievements, you just have to set up all your 100 achievements in our settings window and the asset will work the same even if you set 1 or 1000.
You can check our documentation to see how it works and if you have more questions we are happy to answer them.

1 Like

Version 1.1.5 is now available on Asset Store

Changes in this version:

  • Better compatibility with other plugins in your app
  • Better error handling

Hey there, I’m using your plugin and something seemingly very simple isn’t working:

3897898--331747--Screenshot 2018-11-16 at 18.55.23.png

I have “using UnityEngine.Events;”. I have installed Google Play Services. What else am I missing?

Please assist, thanks!

Thank you for using our plugin.

To login you simply have to call this:

GameServices.Instance.LogIn();

If you want to see if the login was successful or not you have to do this:

GameServices.Instance.LogIn(LoginComplete);
private void LoginComplete (bool success)
{
     if(success==true)
     {
          //Login was successful
     }
     else
     {
          //Login failed
     }
}

You can watch this step by step tutorial that will guide you through the entire process of creating and testing achievements and leaderboards.

https://www.youtube.com/watch?v=hYA9vrn7jzE