0 Favourites

[PLUGIN] GameJolt API

  • Description:

    This is a simplistic plugin implementing GameJolt API. It includes auth, achievement unlocking, and score posting, all with according callbacks.

    Installation:

    As simple as it goes - unzip folder to "Construct 2\exporters\html5\plugins" directory, and restart IDE. Plugin will appear under "Platform specific" category on next launch.

    Usage:

    Include GameJolt plugin into your project by adding an object of it (it is global, so you only need to do this once). Set up your game ID and private key in object properties (this data can be discovered on dashboard). Afterwards, add according events and actions where appropriate.

    Note that while the plugin will automatically authenticate the user, it can take a second or two to do that, so for "first visit" actions you should use "Logged in" event.

    Links:

    Download:

    Announcement blog post:

    Update 1 blog post:

    Demo:

    Demo source (.capx):

    GameJolt topic:

    Twitter:

    Support me:

    If there are any questions, feel free to ask.

  • Don't worry about it.

    If they're smart enough to be here, then they are smart enough to copy the urls and paste them into the browser.

    Thanks for the plug.

  • Thanks!

    You posted on my topic,and if you need any help in coding this plugin I'd be in touch for helping.

    And so far, I've seen your work, and you're a very good and creative programmer.

  • Thanks.

  • Plugin has been updated to include score and trophy fetching functions, as well as Data Store functionality.

    See blog post for details:

    Downloads in posts and on GameJolt are already updated, as well as the demo (which now displays highscore table status and saves the score between sessions).

  • Data store is awesome!

    Thankyou!

  • Awesome plugin, thank you for putting it together! Couple questions I couldn't find the answer to by looking at your blog posts:

    • When I try to use the Set guest name action, it just shows up as {0}, no option to set what you want the guest name to be.
    • Also, how how do you handle logging a player in? I see the "Is Logged In" and "On Login" conditions, but no way to let a player log in. (I probably just don't understand Game Jolt well enough yet, just started using it about 30 minutes ago)
  • - Also, how how do you handle logging a player in? I see the "Is Logged In" and "On Login" conditions, but no way to let a player log in. (I probably just don't understand Game Jolt well enough yet, just started using it about 30 minutes ago)

    f your game is uploaded to GameJolt, player will be logged in automatically on game start.

    You can also simulate the effect by adding your name and token into local testing URL like so:

    http://localhost:50000/?gjapi_username=NAME&gjapi_token=TOKEN[/code:2f117myz]Otherwise there's a User - Auth action.
    I should probably rename it to "login".
    On-site docs kind of vary in terms and I mostly used them for naming actions.
    
    
    

    - When I try to use the Set guest name action, it just shows up as {0}, no option to set what you want the guest name to be.

    h. I had an impression that I have fixed that before release. Seemingly not!

    It's supposed to have a "name" parameter.

    You can get around that until I upload a new version by using "Auth" action with "user token" argument left as a blank string.

  • Thanks for this plugin YellowAfterlife

  • How do I preview the gamejolt plugin? I made a Gamejolt login thing but it won't let me log in.

  • Auth with your username and token.

    Which you should obviously remove before you do the final export.

  • how up to date is this plugin?

  • Same as the api.

    There was talk of a 2.0, but it's gone quiet.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Same as the api.

    There was talk of a 2.0, but it's gone quiet.

    I see. So the basics are functional I presume? Because GJ had some major changes in past months. Was wondering if API had been affected or was it just plain refreshing of the

  • I haven't tried it in a while, but the plug has a demo capx.

    So if that works then most everything else should.

    They don't tend to break stuff, just roll out new stuff out of the blue.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)