Book Image

Learning Unreal Engine iOS Game Development

By : Muhammad A.Moniem
3 (1)
Book Image

Learning Unreal Engine iOS Game Development

3 (1)
By: Muhammad A.Moniem

Overview of this book

Table of Contents (18 chapters)
Learning Unreal Engine iOS Game Development
Credits
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
Nodes Database
Index

Adding leaderboards


A leaderboard, as with any other online feature, is very simple and quick to integrate. After adding your leaderboard IDs in iTunes Connect, you will be able to write new values and update them for any of those IDs by calling the Write Leaderboard Integer node. Usually, passing the Player Controller option is essential for all the online nodes. For a leaderboard, you need to assign a value for Stat Name, which is the iTunes Connect ID and the integer value you want to send in the Stat Value slot.

  • If you want to display the whole leaderboard of the game to the player, or you want to show the Game Center screen of your game to your player, then you need to use Show Platform Specific Leaderboard Screen. This is called Specific because the same node is used with Android devices to display the Google Play leaderboard screen:

  • Usually, you save the leaderboard values locally in the device as an integer. However, the player will be the only person on earth who will be able to know...