GAMEE Construct Game Jam Vol. 2

0 favourites
From the Asset Store
Casino? money? who knows? but the target is the same!
  • The most painful thing seems to be that we can't use Construct 2's debug to actually look at the data we're accessing.

    This means that when I'm testing, I have to run it through Gamee's Emulator and create logs all over the place, then open up the console and figure it all out.

    This is doubling the time it would usually take to make the game.

    I just want to be able to grab the data, and look at it within C2.

    I'm currently looking at savestates, and it's really tricky, while in Construct 2, it's really simple.

    Isn't there a way of being able to see my downloaded JSON within Construct's Debug?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Would someone be kind enough to explain me the meaning of" unique id of the player you want to get the save state"

    I have still not begun my work

  • Would someone be kind enough to explain me the meaning of" unique id of the player you want to get the save state"

    I have still not begun my work

    I'm not 100% sure! That's something that's bothering me. I know I can grab the user's ID with the other steps, but how I go about using that is a mystery to me :(

    For example, I have no idea if I can save different sets of data; I.E. individual highscores for multiple levels.

  • The key "userID" should be in the return json from request social.

    However Im not 100% sure all features are implemented.

    github.com/gameeapp/gamee-js/wiki/Rich-Social-Features

  • Good Morning,

    I have the following question about the process of sending the game to Jam, do you need the game to be hosted on web or can I just send the html5 files?

    Thanks for the clarification!

  • The procedure of sending the game is another story

    Please someone help me too. I use construct 3

  • From the FAQs mentioned in the first post in this thread:

    How do I submit my game?

    First, make sure your game works within the Gamee emulator. Once it does, send us the link to the working game within the Emulator to creategby@gamee.com and share with us the game via Dropbox/Drive/...

    How do I test the game in emulator?

    You need to upload the game to a hosting (for example Netlify) and paste the link to emulator.gameeapp.com For C3 games, you can use the remote preview.

    What format do I submit?

    No need to send .capx. HTML5 export and link for the playable version within the emulator are enough.

    If you need further clarification perhaps GameeApp can help.

  • You can get the userID by calling the action "Request Player Data" or Player's Friends userID "Request Social" then you will receive a JSON with the player data :

    {name:"playerName", firstName: "John", lastName: "Wick", highScore:1000, avatar:url, userID: 123456, coins:1000}
    

    Then you can use the userID for "Request Player Replay" or "Request Player SaveState"

    Check this JS Wiki for better understanding github.com/gameeapp/gamee-js/wiki/advanced-usage or the Construct Documentation : github.com/gameeapp/gamee-js-construct

  • You can get the userID by calling the action "Request Player Data" or Player's Friends userID "Request Social" then you will receive a JSON with the player data :

    > {name:"playerName", firstName: "John", lastName: "Wick", highScore:1000, avatar:url, userID: 123456, coins:1000}
    

    Then you can use the userID for "Request Player Replay" or "Request Player SaveState"

    Check this JS Wiki for better understanding github.com/gameeapp/gamee-js/wiki/advanced-usage or the Construct Documentation : github.com/gameeapp/gamee-js-construct

    The problem is that we can't see any of this data within Construct 2's debug mode. This means that testing these features are like pulling teeth unfortunately. It's a lot of trial and error.

    For example, I have a bug now where it's pulling up the wrong data, but the only way to test it is with the CTRL-SHIFT-J approach, which gives me:

    {"c2array":true,"size":[4,3,1],"data":[[[55681],[55681],["data:image/jpeg;base64,/9j/4RHlRXhpZgAAT

    Etc... etc... The actual amount of this small array's JSON is significantly longer in console, and I mean 84996 characters long...

    This makes searching through all of the code insanely time consuming.

    Is there a reason why we can't have access to the Gamee dummy data while using Construct's debug? Or are we forced to use the emulator?

    *EDIT*

    As a heads up to people, it turns out that the huge amount of data I was seeing was only appearing while trying to access the Avatar icons. If you don't access these (at least during testing) you'll have a lot less data to sort through :)

    Hope that helped!!!

  • If you copy the string into a formatter, it will be a lot easier to read.

    jsonformatter.curiousconcept.com

    The wiki has snippets of most of the pertinent keys I think.

    If the emulator was just for Construct, I would suggest taking out the phone templates since we can do that via local server preview.

    But its not.

  • I still did not got how to submit the games to the jam

    Share the link within the emulator?? What?

    And will I have to share the source code?

  • I got the game ready and stopped for too! Can anyone help with how to generate this link? GameeApp help me

  • Not wishing to panic, but PANIC :(

    I test my entry in the emulator, everything is fine.

    I export it to HTML5 and load it to Netlify and I get an error, I host it myself and get the same 'Unhandled Promise Rejection: ReferenceError: Can't find variable: g_axH' error and it won't start.

    I removed the Gamee plugin from the game and it hosted fine, I added it back in with NO events, and get the same error.

    I am using R157 of C3 and Chrome 75.0.3770.100

    How can I get this entry in if I can't get the HTML5 hosted? I'd anticipate that even the zipped file will have the error so it wouldn't be testable.

  • I still did not got how to submit the games to the jam

    Share the link within the emulator?? What?

    And will I have to share the source code?

    Friend , after exporting and extracting the folder, access that link app.netlify.com/drop it and drag the folder will load your game and generate the test link in the emulator!

    Note when exporting your game, remove the option to condensar the script, otherwise it will give black screen. Good luck!

  • Note when exporting your game, remove the option to condensar the script, otherwise it will give black screen. Good luck!

    Oh THANK YOU! I did have the minify option on. That did the trick.

    For the other guys, to host the file, you can use netlify for free. Just set up an account and drag/drop the HTML5 output, but deselect minify script.

    Panic over.

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