|
@@ -1,41 +1,21 @@
|
|
name: "default"
|
|
name: "default"
|
|
scale_along_z: 0
|
|
scale_along_z: 0
|
|
embedded_instances {
|
|
embedded_instances {
|
|
- id: "bunny 1"
|
|
|
|
|
|
+ id: "spaceship1"
|
|
data: "components {\n"
|
|
data: "components {\n"
|
|
" id: \"script\"\n"
|
|
" id: \"script\"\n"
|
|
- " component: \"/example/bunny1.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"
|
|
|
|
|
|
+ " component: \"/example/spaceship1.script\"\n"
|
|
"}\n"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
"embedded_components {\n"
|
|
" id: \"sprite\"\n"
|
|
" id: \"sprite\"\n"
|
|
" type: \"sprite\"\n"
|
|
" type: \"sprite\"\n"
|
|
- " data: \"tile_set: \\\"/assets/sprites.atlas\\\"\\n"
|
|
|
|
- "default_animation: \\\"bunny1_ready\\\"\\n"
|
|
|
|
|
|
+ " data: \"default_animation: \\\"shipBlue_manned\\\"\\n"
|
|
"material: \\\"/builtins/materials/sprite.material\\\"\\n"
|
|
"material: \\\"/builtins/materials/sprite.material\\\"\\n"
|
|
- "blend_mode: BLEND_MODE_ALPHA\\n"
|
|
|
|
|
|
+ "textures {\\n"
|
|
|
|
+ " sampler: \\\"texture_sampler\\\"\\n"
|
|
|
|
+ " texture: \\\"/assets/sprites.atlas\\\"\\n"
|
|
|
|
+ "}\\n"
|
|
"\"\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"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
"embedded_components {\n"
|
|
" id: \"speech\"\n"
|
|
" id: \"speech\"\n"
|
|
@@ -43,38 +23,18 @@ embedded_instances {
|
|
" data: \"size {\\n"
|
|
" data: \"size {\\n"
|
|
" x: 128.0\\n"
|
|
" x: 128.0\\n"
|
|
" y: 32.0\\n"
|
|
" y: 32.0\\n"
|
|
- " z: 0.0\\n"
|
|
|
|
- " w: 0.0\\n"
|
|
|
|
- "}\\n"
|
|
|
|
- "scale {\\n"
|
|
|
|
- " x: 0.5\\n"
|
|
|
|
- " y: 0.5\\n"
|
|
|
|
- " z: 1.0\\n"
|
|
|
|
- " w: 0.0\\n"
|
|
|
|
"}\\n"
|
|
"}\\n"
|
|
"color {\\n"
|
|
"color {\\n"
|
|
" x: 0.0\\n"
|
|
" x: 0.0\\n"
|
|
" y: 0.5647059\\n"
|
|
" y: 0.5647059\\n"
|
|
" z: 0.99215686\\n"
|
|
" z: 0.99215686\\n"
|
|
- " w: 1.0\\n"
|
|
|
|
"}\\n"
|
|
"}\\n"
|
|
"outline {\\n"
|
|
"outline {\\n"
|
|
" x: 1.0\\n"
|
|
" x: 1.0\\n"
|
|
" y: 1.0\\n"
|
|
" y: 1.0\\n"
|
|
" z: 1.0\\n"
|
|
" z: 1.0\\n"
|
|
- " w: 1.0\\n"
|
|
|
|
- "}\\n"
|
|
|
|
- "shadow {\\n"
|
|
|
|
- " x: 0.0\\n"
|
|
|
|
- " y: 0.0\\n"
|
|
|
|
- " z: 0.0\\n"
|
|
|
|
- " w: 1.0\\n"
|
|
|
|
"}\\n"
|
|
"}\\n"
|
|
- "leading: 1.0\\n"
|
|
|
|
- "tracking: 0.0\\n"
|
|
|
|
"pivot: PIVOT_W\\n"
|
|
"pivot: PIVOT_W\\n"
|
|
- "blend_mode: BLEND_MODE_ALPHA\\n"
|
|
|
|
- "line_break: false\\n"
|
|
|
|
"text: \\\"...\\\"\\n"
|
|
"text: \\\"...\\\"\\n"
|
|
"font: \\\"/assets/text48.font\\\"\\n"
|
|
"font: \\\"/assets/text48.font\\\"\\n"
|
|
"material: \\\"/builtins/fonts/label.material\\\"\\n"
|
|
"material: \\\"/builtins/fonts/label.material\\\"\\n"
|
|
@@ -82,69 +42,34 @@ embedded_instances {
|
|
" position {\n"
|
|
" position {\n"
|
|
" x: 54.068\n"
|
|
" x: 54.068\n"
|
|
" y: 61.483\n"
|
|
" y: 61.483\n"
|
|
- " z: 0.0\n"
|
|
|
|
" }\n"
|
|
" }\n"
|
|
- " rotation {\n"
|
|
|
|
- " x: 0.0\n"
|
|
|
|
- " y: 0.0\n"
|
|
|
|
- " z: 0.0\n"
|
|
|
|
- " w: 1.0\n"
|
|
|
|
|
|
+ " scale {\n"
|
|
|
|
+ " x: 0.5\n"
|
|
|
|
+ " y: 0.5\n"
|
|
" }\n"
|
|
" }\n"
|
|
"}\n"
|
|
"}\n"
|
|
""
|
|
""
|
|
position {
|
|
position {
|
|
x: 543.188
|
|
x: 543.188
|
|
y: 210.168
|
|
y: 210.168
|
|
- 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 {
|
|
embedded_instances {
|
|
- id: "bunny 2"
|
|
|
|
|
|
+ id: "spaceship2"
|
|
data: "components {\n"
|
|
data: "components {\n"
|
|
" id: \"script\"\n"
|
|
" id: \"script\"\n"
|
|
- " component: \"/example/bunny2.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"
|
|
|
|
|
|
+ " component: \"/example/spaceship2.script\"\n"
|
|
"}\n"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
"embedded_components {\n"
|
|
" id: \"sprite\"\n"
|
|
" id: \"sprite\"\n"
|
|
" type: \"sprite\"\n"
|
|
" type: \"sprite\"\n"
|
|
- " data: \"tile_set: \\\"/assets/sprites.atlas\\\"\\n"
|
|
|
|
- "default_animation: \\\"bunny2_ready\\\"\\n"
|
|
|
|
|
|
+ " data: \"default_animation: \\\"shipPink_manned\\\"\\n"
|
|
"material: \\\"/builtins/materials/sprite.material\\\"\\n"
|
|
"material: \\\"/builtins/materials/sprite.material\\\"\\n"
|
|
- "blend_mode: BLEND_MODE_ALPHA\\n"
|
|
|
|
|
|
+ "textures {\\n"
|
|
|
|
+ " sampler: \\\"texture_sampler\\\"\\n"
|
|
|
|
+ " texture: \\\"/assets/sprites.atlas\\\"\\n"
|
|
|
|
+ "}\\n"
|
|
"\"\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"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
"embedded_components {\n"
|
|
" id: \"speech\"\n"
|
|
" id: \"speech\"\n"
|
|
@@ -152,38 +77,18 @@ embedded_instances {
|
|
" data: \"size {\\n"
|
|
" data: \"size {\\n"
|
|
" x: 128.0\\n"
|
|
" x: 128.0\\n"
|
|
" y: 32.0\\n"
|
|
" y: 32.0\\n"
|
|
- " z: 0.0\\n"
|
|
|
|
- " w: 0.0\\n"
|
|
|
|
- "}\\n"
|
|
|
|
- "scale {\\n"
|
|
|
|
- " x: 0.5\\n"
|
|
|
|
- " y: 0.5\\n"
|
|
|
|
- " z: 1.0\\n"
|
|
|
|
- " w: 0.0\\n"
|
|
|
|
"}\\n"
|
|
"}\\n"
|
|
"color {\\n"
|
|
"color {\\n"
|
|
" x: 0.0\\n"
|
|
" x: 0.0\\n"
|
|
" y: 0.5647059\\n"
|
|
" y: 0.5647059\\n"
|
|
" z: 0.99215686\\n"
|
|
" z: 0.99215686\\n"
|
|
- " w: 1.0\\n"
|
|
|
|
"}\\n"
|
|
"}\\n"
|
|
"outline {\\n"
|
|
"outline {\\n"
|
|
" x: 1.0\\n"
|
|
" x: 1.0\\n"
|
|
" y: 1.0\\n"
|
|
" y: 1.0\\n"
|
|
" z: 1.0\\n"
|
|
" z: 1.0\\n"
|
|
- " w: 1.0\\n"
|
|
|
|
- "}\\n"
|
|
|
|
- "shadow {\\n"
|
|
|
|
- " x: 0.0\\n"
|
|
|
|
- " y: 0.0\\n"
|
|
|
|
- " z: 0.0\\n"
|
|
|
|
- " w: 1.0\\n"
|
|
|
|
"}\\n"
|
|
"}\\n"
|
|
- "leading: 1.0\\n"
|
|
|
|
- "tracking: 0.0\\n"
|
|
|
|
"pivot: PIVOT_W\\n"
|
|
"pivot: PIVOT_W\\n"
|
|
- "blend_mode: BLEND_MODE_ALPHA\\n"
|
|
|
|
- "line_break: false\\n"
|
|
|
|
"text: \\\"Click and I will follow...\\\"\\n"
|
|
"text: \\\"Click and I will follow...\\\"\\n"
|
|
"font: \\\"/assets/text48.font\\\"\\n"
|
|
"font: \\\"/assets/text48.font\\\"\\n"
|
|
"material: \\\"/builtins/fonts/label.material\\\"\\n"
|
|
"material: \\\"/builtins/fonts/label.material\\\"\\n"
|
|
@@ -191,30 +96,15 @@ embedded_instances {
|
|
" position {\n"
|
|
" position {\n"
|
|
" x: 46.972\n"
|
|
" x: 46.972\n"
|
|
" y: 66.551\n"
|
|
" y: 66.551\n"
|
|
- " z: 0.0\n"
|
|
|
|
" }\n"
|
|
" }\n"
|
|
- " rotation {\n"
|
|
|
|
- " x: 0.0\n"
|
|
|
|
- " y: 0.0\n"
|
|
|
|
- " z: 0.0\n"
|
|
|
|
- " w: 1.0\n"
|
|
|
|
|
|
+ " scale {\n"
|
|
|
|
+ " x: 0.5\n"
|
|
|
|
+ " y: 0.5\n"
|
|
" }\n"
|
|
" }\n"
|
|
"}\n"
|
|
"}\n"
|
|
""
|
|
""
|
|
position {
|
|
position {
|
|
x: 245.774
|
|
x: 245.774
|
|
y: 532.971
|
|
y: 532.971
|
|
- 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
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|