GMWolf
aka fel666
GMS1.x had the ability to export and import a group of scripts.
But it seems GMS2 does not support multiple scripts in a single .gml file.
It would be nice to have a new format, either based on XML or JSON to store a group of scripts, preserving all group structure.
perhaps the format could look something like this:
This would help people easily share scripts, when the marketplace not ideal.
But it seems GMS2 does not support multiple scripts in a single .gml file.
It would be nice to have a new format, either based on XML or JSON to store a group of scripts, preserving all group structure.
perhaps the format could look something like this:
Code:
{
'group1' : [
{
"id": "b8e0818f-d7d9-4ff8-855a-640ed1d9bd01",
"modelName": "GMScript",
"mvc": "1.0",
"name": "r3",
"IsCompatibility": false,
"IsDnD": false
"content": <<CODE WOULD GO HERE>>
},
{
"id": "b8e0818f-d7d9-4ff8-855a-640ed1d9bd01",
"modelName": "GMScript",
"mvc": "1.0",
"name": "r2",
"IsCompatibility": false,
"IsDnD": false
"content": <<SOME MORE CODE GOES HERE>>
}
]
}