layout sample scene

This commit is contained in:
BlackMATov
2020-02-07 11:10:58 +07:00
parent efe2ec5c44
commit d584224223
2 changed files with 61 additions and 1 deletions

View File

@@ -4,7 +4,8 @@
"name" : "camera"
},
"camera" : {
"background" : [1.0, 0.4, 0.0, 1.0]
"background" : [1.0, 0.4, 0.0, 1.0],
"mode" : "fixed_crop"
},
"camera.input" : {},
"camera.gizmos" : {}

View File

@@ -4,5 +4,64 @@
"prototype" : "../prefabs/background_prefab.json"
},{
"prototype" : "../prefabs/camera_prefab.json"
},{
"components" : {
"named" : {
"name" : "layout"
},
"layout" : {}
},
"children" : [{
"components" : {
"named" : {
"name" : "layout_item"
},
"layout_item" : {
"size" : [66,113]
}
},
"children" : [{
"prototype" : "../prefabs/ship_prefab.json",
"components" : {
"actor" : {
"translation" : [33,56.5]
}
}
}]
},{
"components" : {
"named" : {
"name" : "layout_item"
},
"layout_item" : {
"size" : [66,113]
}
},
"children" : [{
"prototype" : "../prefabs/ship_prefab.json",
"components" : {
"actor" : {
"translation" : [33,56.5]
}
}
}]
},{
"components" : {
"named" : {
"name" : "layout_item"
},
"layout_item" : {
"size" : [66,113]
}
},
"children" : [{
"prototype" : "../prefabs/ship_prefab.json",
"components" : {
"actor" : {
"translation" : [33,56.5]
}
}
}]
}]
}]
}