diff --git a/samples/bin/library/prefabs/camera_prefab.json b/samples/bin/library/prefabs/camera_prefab.json index 35983ca9..b90781d2 100644 --- a/samples/bin/library/prefabs/camera_prefab.json +++ b/samples/bin/library/prefabs/camera_prefab.json @@ -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" : {} diff --git a/samples/bin/library/scenes/sample_09.json b/samples/bin/library/scenes/sample_09.json index 75a15970..5fa5aeea 100644 --- a/samples/bin/library/scenes/sample_09.json +++ b/samples/bin/library/scenes/sample_09.json @@ -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] + } + } + }] + }] }] }