Skip to content
Lili edited this page Jul 5, 2026 · 4 revisions

MAP.JSON

./map.json stores the Transform objects that will be created during the initial load.

You can define there name, position, size, texture and behavior.

{
	"Transforms":[
		{
			"_name_":"transform's name",
			"x":0, // x axis position in pixels here
			"y":0, // y axis position in pixels here
			"xSize":70, // x size in pixels
			"ySize":35, // y size in pixels
			"texture":"./path/to/the/sprite_image.png", // set to "None" to disable display
			"behavior":"./Resources/Scripts/script.js" // set to "None" to disable Behavior
		},
	    {
	      // ...
	    },
    	// ...
	]
}

Clone this wiki locally