Week 2 already?!
This week I’m slightly behind schedule, ideally I wanted to have the workflow of the Pillo development kit (PDK) finished but I still have some question which I have to ask the developer of the PDK and he didn’t have time this week so I’ll have to finish this up next week. Meanwhile I already started brainstorming and doing research on how to write a well thought out survey. I will propose a first version tomorrow (22-2-2016).
So what else has been going on? I’ve been writing my Project Initiation Document (PID), which the first version of is now finished and send to the supervisor. I hope it’s good enough so that I can focus on the project itself form now on. the PID has taken most of my time this first week alongside the analysis of the Pillo Application Programming Interface (API) and the workflow of working with the Pillo PDK.
Lastly I discovered that I kind of made a error in the Internship period specified in the contract.. I used a calculator to calculate the days and I came to 86 days. The minimum is 85 so that means I am only allowed to have 1 day off at the most otherwise I wouldn’t meet the quotum. I thought I calculated it before and took 1 extra week but I guess I miscalculated before. I can always stay a week longer I guess if it seems I won’t meet the quotum :).
Towards Week 3!
Been a while since my last post, for my latest project I have been playing around with the GameJolt API. For those who don’t know GameJolt, it’s basically a platform like steam but then for indies. Currently GameJolt has been confirmed to run properly on PC and Mac builds, and also Webplayer and WebGL builds (source). GameJolt is a very easy way to incorperate a login and leaderboard system into your project. All you have to do is:
– in unity: import the GameJolt API package (download).
– in unity: add the GameJoltAPI prefab in your game scene.
– in unity: go to Edit -> Project settings -> Game Jolt API. You will need to set things here after you create your game at GameJolt (see next 2 steps)
– at GameJolt.com: create a game by selecting “+add game”.
– at GameJolt.com: take note of a few things that you’ll need later to do requests and which are to be used in the settings: First you need to get the Game ID and Private Key which you have to fill in the settings which has been highlighted 2 steps back. You can find these at your API settings under the Game API tab (see image below). To get there you’ll have to go to your dashboard and select your game.
Then there is your “Game Token” and your “TableId”, you will need these to add scores and get your leaderboard. Your game token can be found at you user tab (see image above). To get the tableID you’ll have to go to your dashboard, select your game and go to the GameAPI tab where you’ll find the TableId under the scores selection.
For the standard login you can call: GameJolt.UI.Manager.Instance.ShowSignIn();
After that you can use GameJolt.UI.Manager.Instance.ShowLeaderboards(); to show the overal leaderboard of your game. However if you want to get user specific data you’ll have to create a custom view and use GameJolt.API.Scores.Get(); to get data.
Example User specific highscore get:
GameJolt.API.Scores.Get(LeaderboardResult, _tableID, 5, true);
private void LeaderboardResult(GameJolt.API.Objects.Score scores)
for (int i = 0; i < scores.Length; i++)
Debug.Log(scores[i].PlayerName + ” – ” + scores[i].Value);
//do stuff with the scores here