Initial commit
This commit is contained in:
87
C#/TSEngine/assets/zones/testZone.json
Normal file
87
C#/TSEngine/assets/zones/testZone.json
Normal file
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user