I’m a little new to gdevelop. So I want to ask you for some help.
What do I want to achieve:
I want to make a game with an online highscore.
The game will send the scores of the player to google spreadsheet and reads the data.
The data will be translated into a leaderboard.
What do I have already achieved:
Script for spreadsheets: http://community.stencyl.com/index.php?topic=51126.0
This approach works fine, after adding a doPost() function. I can post to spreadsheet and see the leaderboard in the sheet.
What didn’t work:
I’ve found that the GET and POST methods should be able to fill a variable.
But I’ve tried both variants and never find input in the variable, which was called in the request action.
So: How do I get the data from the script back to the game?
(I use return states like in the stencyl example. Calling just the link represent a webpage with a single line of JSON)
Is this a problem of using google script instead of php? How can we solve this issue?
Thanks for reading and your time!