Different leaderboard in different scenes

0 votes
Hi, I am developing a mobile game using Unity. In my game, I have more than 10 levels, may I know how to implement different leaderboard in different scenes? Because now I am facing that level 1's username and score will show in leaderboard of level 2. Hope someone can help me. Thank you.
asked May 14, 2015 in App42 Cloud API-BaaS by greenninjaad2013 (13 points)
recategorized Aug 13, 2015 by sushil

1 Answer

0 votes

Hello,

You can simply create a leaderboard for each level to resolve this. Login to AppHQ Management console and create a new game for each level from Game Service section and save the user score accordingly in that level. 

Let me know if it helps.
 
Thanks,
Himanshu Sharma
answered May 15, 2015 by hs00105 (2,005 points)
Hi, do I need to duplicate the code such as leaderboard, appConstant, appController for each lelvel?
You don't need to duplicate the code for each level, you just need to manage on the game side. On each level you have the level name,  just pass that level name as a game name to saveUserScore method and save the score of user.

Let me know if it helps.

Thanks,
Himanshu Sharma
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...