Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
So I am trying to parse the word "Hola" out of this JSON:
{"outputs": [{"output":"Hola","stats":{"elapsed_time":463,"nb_characters":5,"nb_tokens":1,"nb_tus":1,"nb_tus_failed":0}}]}
The JSON contains the list "outputs" then the first element of that list will be an object and the word I am...
Hi,
I want to load a large JSON file (more than 40k lines when formatted) and decode it.
The system that I'm using at the moment works perfectly fine if all the data is contained in one line (loading the text into a string takes less than 1 second).
However, if the JSON is formatted, it takes...
Im trying to store some date in a json and read the data out. however the game crashes whenever i try to read out the array. this is the code:
var checker = json_decode(@'
{
"player" : {
"name" : "Player",
"array" : ["huhu","2we"]
}
}');
var inf = checker[...
JSON Toolkit v1.1.0
Companion scripts for json_encode() and json_decode()
Overview
JSON Toolkit is a set of companion scripts facilitating the use of GML's built-in json_encode() and json_decode() functions. It contains utilities for visually building JSON structure, accessing and manipulating...
Hello, i have a button, when i click on it it sends out a HTTP request
//This is on the left pressed event
http_get("http://mywebsite.com/generate.php");
It should generate a json with random values what looks like:
{"s1o1":"6","s2o1":"5"}
//This is in the Button's Async - HTTP Event...
Hi, I was following Shaun Spalding - better saving tutorial
Although I needed only save button config, but mine has array (since I'm working with GM:S1.4 there's also joystick category):
global.p1_jump = array(0,0,0,0,"none"); // (input device, device index, button type, button, "display...
I'm trying to load a json file using the below code and I don't understand where to place the file while running the game in GMS2's IDE. The working_directory variable seems to be looking in the \AppData\Local\GameMakerStudio2\GMS2TEMP but every time I run the project it creates a new folder...