123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270 |
- name: "default"
- scale_along_z: 0
- embedded_instances {
- id: "hud"
- data: "components {\n"
- " id: \"gui\"\n"
- " component: \"/example/easing.gui\"\n"
- " position {\n"
- " x: 0.0\n"
- " y: 0.0\n"
- " z: 0.0\n"
- " }\n"
- " rotation {\n"
- " x: 0.0\n"
- " y: 0.0\n"
- " z: 0.0\n"
- " w: 1.0\n"
- " }\n"
- " property_decls {\n"
- " }\n"
- "}\n"
- ""
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale3 {
- x: 1.0
- y: 1.0
- z: 1.0
- }
- }
- embedded_instances {
- id: "demo"
- children: "position_demo"
- children: "rotation_demo"
- children: "scale_demo"
- data: "components {\n"
- " id: \"controller\"\n"
- " component: \"/example/controller.script\"\n"
- " position {\n"
- " x: 0.0\n"
- " y: 0.0\n"
- " z: 0.0\n"
- " }\n"
- " rotation {\n"
- " x: 0.0\n"
- " y: 0.0\n"
- " z: 0.0\n"
- " w: 1.0\n"
- " }\n"
- " property_decls {\n"
- " }\n"
- "}\n"
- ""
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale3 {
- x: 1.0
- y: 1.0
- z: 1.0
- }
- }
- embedded_instances {
- id: "position_demo"
- data: "components {\n"
- " id: \"animator\"\n"
- " component: \"/example/animator.script\"\n"
- " position {\n"
- " x: 0.0\n"
- " y: 0.0\n"
- " z: 0.0\n"
- " }\n"
- " rotation {\n"
- " x: 0.0\n"
- " y: 0.0\n"
- " z: 0.0\n"
- " w: 1.0\n"
- " }\n"
- " properties {\n"
- " id: \"start_position\"\n"
- " value: \"200.0, 400.0, 0.0\"\n"
- " type: PROPERTY_TYPE_VECTOR3\n"
- " }\n"
- " properties {\n"
- " id: \"end_position\"\n"
- " value: \"550.0, 400.0, 0.0\"\n"
- " type: PROPERTY_TYPE_VECTOR3\n"
- " }\n"
- " property_decls {\n"
- " }\n"
- "}\n"
- "embedded_components {\n"
- " id: \"sprite\"\n"
- " type: \"sprite\"\n"
- " data: \"tile_set: \\\"/assets/sprites.atlas\\\"\\n"
- "default_animation: \\\"logo-color\\\"\\n"
- "material: \\\"/builtins/materials/sprite.material\\\"\\n"
- "blend_mode: BLEND_MODE_ALPHA\\n"
- "\"\n"
- " position {\n"
- " x: 0.0\n"
- " y: 0.0\n"
- " z: 0.0\n"
- " }\n"
- " rotation {\n"
- " x: 0.0\n"
- " y: 0.0\n"
- " z: 0.0\n"
- " w: 1.0\n"
- " }\n"
- "}\n"
- ""
- position {
- x: 200.0
- y: 400.0
- z: 0.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale3 {
- x: 1.0
- y: 1.0
- z: 1.0
- }
- }
- embedded_instances {
- id: "rotation_demo"
- data: "components {\n"
- " id: \"animator\"\n"
- " component: \"/example/animator.script\"\n"
- " position {\n"
- " x: 0.0\n"
- " y: 0.0\n"
- " z: 0.0\n"
- " }\n"
- " rotation {\n"
- " x: 0.0\n"
- " y: 0.0\n"
- " z: 0.0\n"
- " w: 1.0\n"
- " }\n"
- " properties {\n"
- " id: \"end_rotation\"\n"
- " value: \"0.0, 0.0, 180.0\"\n"
- " type: PROPERTY_TYPE_VECTOR3\n"
- " }\n"
- " property_decls {\n"
- " }\n"
- "}\n"
- "embedded_components {\n"
- " id: \"sprite\"\n"
- " type: \"sprite\"\n"
- " data: \"tile_set: \\\"/assets/sprites.atlas\\\"\\n"
- "default_animation: \\\"logo-color\\\"\\n"
- "material: \\\"/builtins/materials/sprite.material\\\"\\n"
- "blend_mode: BLEND_MODE_ALPHA\\n"
- "\"\n"
- " position {\n"
- " x: 0.0\n"
- " y: 0.0\n"
- " z: 0.0\n"
- " }\n"
- " rotation {\n"
- " x: 0.0\n"
- " y: 0.0\n"
- " z: 0.0\n"
- " w: 1.0\n"
- " }\n"
- "}\n"
- ""
- position {
- x: 200.0
- y: 600.0
- z: 0.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale3 {
- x: 1.0
- y: 1.0
- z: 1.0
- }
- }
- embedded_instances {
- id: "scale_demo"
- data: "components {\n"
- " id: \"animator\"\n"
- " component: \"/example/animator.script\"\n"
- " position {\n"
- " x: 0.0\n"
- " y: 0.0\n"
- " z: 0.0\n"
- " }\n"
- " rotation {\n"
- " x: 0.0\n"
- " y: 0.0\n"
- " z: 0.0\n"
- " w: 1.0\n"
- " }\n"
- " properties {\n"
- " id: \"end_scale\"\n"
- " value: \"1.7, 1.7, 1.0\"\n"
- " type: PROPERTY_TYPE_VECTOR3\n"
- " }\n"
- " property_decls {\n"
- " }\n"
- "}\n"
- "embedded_components {\n"
- " id: \"sprite\"\n"
- " type: \"sprite\"\n"
- " data: \"tile_set: \\\"/assets/sprites.atlas\\\"\\n"
- "default_animation: \\\"logo-color\\\"\\n"
- "material: \\\"/builtins/materials/sprite.material\\\"\\n"
- "blend_mode: BLEND_MODE_ALPHA\\n"
- "\"\n"
- " position {\n"
- " x: 0.0\n"
- " y: 0.0\n"
- " z: 0.0\n"
- " }\n"
- " rotation {\n"
- " x: 0.0\n"
- " y: 0.0\n"
- " z: 0.0\n"
- " w: 1.0\n"
- " }\n"
- "}\n"
- ""
- position {
- x: 500.0
- y: 600.0
- z: 0.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- scale3 {
- x: 1.0
- y: 1.0
- z: 1.0
- }
- }
|