Here's the completed plugin for Construct for working with the Game Jolt API.
Current Features
- User Authorization
- Trophies
- Scores
- Data Storage
Install Plugin
You'll have to first install the plugin files into Construct. This should be in Construct/Plugins. The file can be downloaded here:
Example CAP
Once you have the plugin installed, here is an example CAP file to look at:
http://gamejolt.com/freeware/games/construct-api-example/files/api-example-files/download/937/1922/
Source Code
You can fork and modify and help make it better, if you'd like.
https://github.com/hworld/gj-construct-plugin
Some Documentation
You first need to populate the Game Jolt API object with your Game ID and your game's Private Key. These can be found in the Manage Trophies section when you're editing your game.
After that you'll have to set the Username and User Token as well. This can be done in the event sheet. You can not make any API calls without having the Game ID, Private Key, Username and User Token variables set.
Experiment around with it. The example CAP should show you pretty much how to use it.
If you have any questions, just ask.
Last edited on July 30, 2012 - 07:04 PM by CROS



