Adventure Game Studio

Community => General Discussion => Topic started by: StillInThe90s on Fri 08/05/2015 15:43:44

Title: GameJolt Achievements
Post by: StillInThe90s on Fri 08/05/2015 15:43:44
I registered on gamejolt last night and started, by accident, to read about the achievements system (http://gamejolt.com/developers/achievements-new/). Now, this may not be very relevant for my small game (I always found achievement notifications a bit out of place in adventure games), but it would be interesting to know if anyone has implemented this.
There was a short discussion about it here (http://www.adventuregamestudio.co.uk/forums/index.php?topic=39634.0), but it seems to have been fruitless.
Title: Re: GameJolt Achievements
Post by: Retro Wolf on Fri 08/05/2015 18:18:25
I think it might be worth contacting Cros on game jolt.
Title: Re: GameJolt Achievements
Post by: CaptainD on Fri 08/05/2015 19:45:49
Quote from: Retro Wolf on Fri 08/05/2015 18:18:25
I think it might be worth contacting Cros on game jolt.

Or maybe ask on the GameJolt forums.  I can't actually think of any AGS games that have used GJ achievements, but I might simply not have played them.
Title: Re: GameJolt Achievements
Post by: StillInThe90s on Fri 08/05/2015 23:24:51
QuoteI can't actually think of any AGS games that have used GJ achievements...
Neither can I. Wadjet eye's games use steam/in-game achievements, right? Anyway, I don't think I have much use for it atm. It would have been a nice addition to AGS though.
Title: Re: GameJolt Achievements
Post by: Retro Wolf on Sat 09/05/2015 00:33:08
Some people actually expect working achievements in games now, perhaps not such a big deal for hobbyist devs though.

I once actually had some A-Hole PM me saying he withheld a rating star for one of my games, because I hadn't implemented achievements.
Title: Re: GameJolt Achievements
Post by: selmiak on Sat 09/05/2015 00:40:27
You solved a puzzle... Achievement unlocked!
You got a key! :P
Title: Re: GameJolt Achievements
Post by: StillInThe90s on Sat 09/05/2015 00:51:50
@Selmiak: But you need keys to open doors... Seems like a catch 22, or whatever it's called.

QuoteSome people actually expect working achievements in games now...
I suspect a majority of those are young people, i.e. people who wouldn't have enough patience for my game anyway. :-D
Title: Re: GameJolt Achievements
Post by: Stupot on Sat 09/05/2015 00:53:53
I wouldn't even know where to begin implementing achievements in AGS that somehow link up to the GameJolt achievement system. That sounds like a job for... someone else.

Simply finishing a game is the only achievement I need.
Title: Re: GameJolt Achievements
Post by: Gurok on Sat 09/05/2015 01:16:26
The sockets plugin might be helpful. Is there a simpler plugin for HTTP (without all the asynchronous behaviour) that might be easier to use? I'm thinking:

String response = Curl("http://gamejolt.com/api/game/v1/data-store/?game_id=32&key=test&signature=912ec803b2ce49e4a541068d495ab570");

I say this because if you wanted to write a module, I think people would probably expect synchronous results when the API is called. I don't think you could wrap async sockets using just the power of AGS.

The API looks pretty nice. One of the trickier parts would be grabbing the user token (supposedly passed in through a file and/or command line parameters). If the file's in a location AGS can find, it shouldn't be too much hassle.
Title: Re: GameJolt Achievements
Post by: StillInThe90s on Sat 09/05/2015 01:24:39
That would be nice. Looking at the api documentation (http://gamejolt.com/api/doc/game), it seems that you can ask for the players token (as a login). The big issue, as far as I can see (not being competent enough to even talk about these things) is the required encryption.
Title: Re: GameJolt Achievements
Post by: Gurok on Sat 09/05/2015 01:36:12
MD5 can be implemented in AGS script. There are no issues with translating it. I was immediately discounting asking the user for a token because it seemed like a half implementation to me, but I guess a hypothetical module could work with that. Hypothetical! I'm not offering to make this module :D.
Title: Re: GameJolt Achievements
Post by: StillInThe90s on Sat 09/05/2015 01:52:32
Oh, I just assumed that a token login was the standard way of doing it, since gamejolt info says:
QuoteYour user token is what you input into games to record your achievements. For security reasons it should be different than your password. You shouldn't share your password with anyone. If a game asks for your password rather than your user token, please report the game.
Title: Re: GameJolt Achievements
Post by: Gurok on Sat 09/05/2015 02:01:22
Hrmmm it seems it is. I was assuming that most games used the Quick Play functionality. Well I guess it's even easier then!
Title: Re: GameJolt Achievements
Post by: StillInThe90s on Wed 13/05/2015 00:55:52
Just got word from the folks at gamejolt.
QuoteHi there,

I'm afraid it never got any further. Maybe someone will come up with a plugin after we release the updated API soon!
Well, there we are.
Title: Re: GameJolt Achievements
Post by: shaun9991 on Mon 25/05/2015 19:17:47
Hey guys,

I was recently contacted by Gamejolt about the possibility of getting achievements into AGS games. My programming skills are terrible - but hopefully some generous soul out there will crack it :)

http://gamejolt.com/developers/achievements-new/