Closed mrfabroa closed 2 years ago
That world file is for a "grid" world. The world builder can only edit "custom" world. I've added some checks in the world builder so that it'll give the appropriate error message now instead of failing quietly.
In your case, the grid world is fortunately very similar to the custom world, so it's possible to convert the file with a few changes...
{
"worldName": "custom",
"options": {
"imageURL": "textures/maps/grid.png",
"groundType": "box",
"length": 400,
"width": 400,
"uScale": 20,
"vScale": 20,
"imageScale": "2.353",
"timer": "none",
"timerDuration": 60,
"timerEnd": "continue",
"wall": true,
"wallHeight": 10,
"wallThickness": 5,
"wallColor": "B3B3B3",
"groundFriction": 1,
"wallFriction": 0.1,
"groundRestitution": 0,
"wallRestitution": 0.1,
"restartAnimationOnRun": false,
"objects": [],
"startPos": "center",
"startPosXYZStr": "",
"startRotStr": "",
"startPosXYZ": null,
"startRot": null,
"arenaStartPosXYZ": null,
"arenaStartRot": null
}
}
For those who are interested, the technical reasons behind this are...
Got it, thank you for the adjustments and a very thorough response.
I tried loading a world file into the World Builder and the default world is not being updated. Edits I've tried are selecting a new ground and changing the height of the walls. The world in the configurator is not updated with these changes. When trying to load a world the world is still not being updated. Here are the contents of the World file.