87 lines
1.6 KiB
JSON
87 lines
1.6 KiB
JSON
{
|
|
"name": "TestZone",
|
|
"id": 0,
|
|
"description": "",
|
|
"objects": [
|
|
{
|
|
"name": "goblin",
|
|
"transform": {
|
|
"position": {
|
|
"x": 300,
|
|
"y": 300,
|
|
"z": 0
|
|
}
|
|
},
|
|
"components": [
|
|
{
|
|
"type": "animated_sprite",
|
|
"name": "goblinAnimator",
|
|
"materialName": "goblin",
|
|
"frameWidth": 126,
|
|
"frameHeight": 271,
|
|
"frameCount": 7,
|
|
"frameSequence": [0, 1, 2, 3, 4, 5, 6]
|
|
}
|
|
],
|
|
"behaviors": []
|
|
},
|
|
{
|
|
"name": "parentObject",
|
|
"transform": {
|
|
"position": {
|
|
"x": 1000,
|
|
"y": 500,
|
|
"z": 0
|
|
},
|
|
"scale": {
|
|
"x": 2,
|
|
"y": 2
|
|
}
|
|
},
|
|
"children": [
|
|
{
|
|
"name": "childObject",
|
|
"transform": {
|
|
"position": {
|
|
"x": 120,
|
|
"y": 120,
|
|
"z": 0
|
|
}
|
|
},
|
|
"components": [
|
|
{
|
|
"type": "sprite",
|
|
"name": "test",
|
|
"materialName": "crate"
|
|
}
|
|
],
|
|
"behaviors": [
|
|
{
|
|
"name": "rotateX",
|
|
"type": "rotation",
|
|
"rotation": {
|
|
"z": 0.01
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"components": [
|
|
{
|
|
"type": "sprite",
|
|
"name": "test",
|
|
"materialName": "crate"
|
|
}
|
|
],
|
|
"behaviors": [
|
|
{
|
|
"name": "rotateX",
|
|
"type": "rotation",
|
|
"rotation": {
|
|
"z": 0.01
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |