-
Notifications
You must be signed in to change notification settings - Fork 0
MAP
Lili edited this page Jul 5, 2026
·
4 revisions
./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
},
{
// ...
},
// ...
]
}