Hit The Button RPG 1.2 – Character profiles via CloudKit
This post is long overdue but here goes. Since its release, my iOS game Hit The Button RPG was not a very social experience for the players. Of course it had the Game Center leaderboards for showing off who has the most experience, but an important social feature was missing: players weren’t able to share their character with other players to show off progress and the items they’ve found. This was changed with Hit The Button RPG 1.2.
This feature was on the back of my mind for a long time. There were a couple of options how to realise it. The simplest one would have been adding a button which would tweet the character information in a standardised fashion – e.g. “Tmu | lvl 73 | str 265+36 agi 35+20 sta 75+30 #HitTheButtonRPG”. The amount of information would have been quite limited and the format would not have been reusable in other social media platforms like on Facebook or gaming forums.
For the actual web profile implementation there isn’t much to write about. Basically:
- The website checks the Profile ID (e.g. A490412E-5DC4-4A5F-94B1-EB3D00878E11-0) from the URL.
- Renders the save game as a web page.
For example, here is my main character’s profile (click the picture to view the actual profile web page):
To summarize: it was easy to add this kind of web profile functionality, even to an existing app that wasn’t designed with this kind of use case in mind. Web profiles are pretty cool as they enable extending the apps functionality. In this case, I’ve added displaying some of the character statistics to the web profile. In the actual Hit The Button RPG 1.2 iOS application these statistics are not visible anywhere even though they are collected.