[Request] Plugin for Gamejolt

Post your work in progress addons and get feedback

Post » Fri Feb 22, 2013 6:30 pm

Some of you know that Gamejolt accepts indie games, the API of the Site is very interesting, and it's compatible with almost every platform, but, they only have Construct Classic made, and Construct 2 could be some of the principal tool for developers, so, I'm asking if someone could do a Plugin for the Gamejolt Community.

Here is the API :
http://gamejolt.com/api/doc/game

Here is the List Explaining and Listing all pre-made API's that could be implemented to a PLugin :
http://gamejolt.com/developers/achievements-new/
B
8
S
4
G
1
Posts: 32
Reputation: 1,600

Post » Fri Feb 22, 2013 7:25 pm

Actually the api is pretty straight forward. You should be able to do everything using the Ajax plug and Kyat's Cb hash plug.

Obviously it would be somewhat awkward to make an example as you would have to expose the private key in the capx.

I would suggest some experimentation. Set up a game on the site, gather the required info, and test away.

If you have any questions they have a chat on GameJolt, and there's always the forum here.
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Sat Feb 23, 2013 7:35 pm

I understand, but couldn't you just do an Example Capx without the Key ? LIke substituting for one expression "Here the key", it would help a lot.
B
8
S
4
G
1
Posts: 32
Reputation: 1,600

Post » Wed Mar 13, 2013 2:18 am

I second this motion. I'm confused with using AJAX, so an example would be nice.

...Unless an API is already being made, then I will just wait for that ;)
B
26
S
7
G
5
Posts: 202
Reputation: 5,235

Post » Sat Mar 16, 2013 11:25 am

I also have problem with this :(
I hope they make the plugin for C2 soon
B
12
S
3
G
4
Posts: 56
Reputation: 3,235

Post » Sun Mar 24, 2013 6:49 am

I made a .capx that should show how to use some of the Gamejolt API functions in construct 2. It was made in the latest beta release of construct 2 (123.2)
https://docs.google.com/file/d/0B8qPPIToB3FPY2NuYlB2RU9nREU/edit?usp=sharing

You will need Kyatric's CBHash plugin, which is here
http://www.scirra.com/forum/topic43824.html

Basically, you just use the ajax object to send the api calls to the gamejolt servers, and use the CBHash plugin to provide the signature to verify the calls.

So far I've only really used the api to award trophies, so that's all that this capx shows, but once you have the basics all the api functions are accessed in pretty much the same manner. There's a list of them at http://gamejolt.com/api/doc/game

Hopefully the .capx is pretty straight forward, but If I'm being confusing let me know and I will attempt to clarify.
Check out my games at http://burquitlambadgers.com
B
27
S
3
G
3
Posts: 12
Reputation: 2,187

Post » Mon Mar 25, 2013 5:44 am

thanks @Galactic Octopus
and I've read your post on Gamejolt forum too
I'll let you know if there's something I don't understand
many thanks
B
12
S
3
G
4
Posts: 56
Reputation: 3,235

Post » Tue Sep 24, 2013 5:57 am

If any one is finding this from the Frequently Asked Question thread, LukeDirago has made a tutorial that covers using the Gamejolt Api, and has provided an updated capx. So you may want to check that out here https://www.scirra.com/tutorials/640/gamejolt-login-achievements-and-leaderboards-implementation
Check out my games at http://burquitlambadgers.com
B
27
S
3
G
3
Posts: 12
Reputation: 2,187

Post » Sun Feb 09, 2014 12:49 am

Another "if anyone is finding this" response, but there's now also a separate (easier to use) plugin for this purpose:
http://www.scirra.com/forum/topic85337_post499113.html#499113
ImageImageImage
B
9
S
2
G
1
Posts: 25
Reputation: 5,056


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests