|
@@ -5,129 +5,59 @@ embedded_instances {
|
|
data: "components {\n"
|
|
data: "components {\n"
|
|
" id: \"dynamic\"\n"
|
|
" id: \"dynamic\"\n"
|
|
" component: \"/example/dynamic.script\"\n"
|
|
" component: \"/example/dynamic.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"
|
|
"}\n"
|
|
"embedded_components {\n"
|
|
"embedded_components {\n"
|
|
" id: \"bulletfactory\"\n"
|
|
" id: \"bulletfactory\"\n"
|
|
" type: \"factory\"\n"
|
|
" type: \"factory\"\n"
|
|
" data: \"prototype: \\\"/example/flame.go\\\"\\n"
|
|
" data: \"prototype: \\\"/example/flame.go\\\"\\n"
|
|
- "load_dynamically: false\\n"
|
|
|
|
"dynamic_prototype: true\\n"
|
|
"dynamic_prototype: true\\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: \"bullets\"\n"
|
|
" id: \"bullets\"\n"
|
|
" type: \"collectionproxy\"\n"
|
|
" type: \"collectionproxy\"\n"
|
|
" data: \"collection: \\\"/example/bullets.collection\\\"\\n"
|
|
" data: \"collection: \\\"/example/bullets.collection\\\"\\n"
|
|
- "exclude: false\\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: \"sprite\"\n"
|
|
" id: \"sprite\"\n"
|
|
" type: \"sprite\"\n"
|
|
" type: \"sprite\"\n"
|
|
- " data: \"tile_set: \\\"/assets/sprites.atlas\\\"\\n"
|
|
|
|
- "default_animation: \\\"playerShip1_red\\\"\\n"
|
|
|
|
|
|
+ " data: \"default_animation: \\\"playerShip1_red\\\"\\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"
|
|
" position {\n"
|
|
- " x: 0.0\n"
|
|
|
|
- " y: 0.0\n"
|
|
|
|
" z: 1.0\n"
|
|
" z: 1.0\n"
|
|
" }\n"
|
|
" }\n"
|
|
- " rotation {\n"
|
|
|
|
- " x: 0.0\n"
|
|
|
|
- " y: 0.0\n"
|
|
|
|
- " z: 0.0\n"
|
|
|
|
- " w: 1.0\n"
|
|
|
|
- " }\n"
|
|
|
|
"}\n"
|
|
"}\n"
|
|
""
|
|
""
|
|
position {
|
|
position {
|
|
x: 360.0
|
|
x: 360.0
|
|
y: 116.0
|
|
y: 116.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 {
|
|
embedded_instances {
|
|
- id: "go1"
|
|
|
|
|
|
+ id: "go"
|
|
data: "embedded_components {\n"
|
|
data: "embedded_components {\n"
|
|
- " id: \"label1\"\n"
|
|
|
|
|
|
+ " id: \"instructions\"\n"
|
|
" type: \"label\"\n"
|
|
" type: \"label\"\n"
|
|
" 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"
|
|
"}\\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"
|
|
"}\\n"
|
|
- "shadow {\\n"
|
|
|
|
- " x: 0.0\\n"
|
|
|
|
- " y: 0.0\\n"
|
|
|
|
- " z: 0.0\\n"
|
|
|
|
- " w: 1.0\\n"
|
|
|
|
- "}\\n"
|
|
|
|
- "leading: 1.0\\n"
|
|
|
|
- "tracking: 0.0\\n"
|
|
|
|
- "pivot: PIVOT_CENTER\\n"
|
|
|
|
- "blend_mode: BLEND_MODE_ALPHA\\n"
|
|
|
|
- "line_break: false\\n"
|
|
|
|
"text: \\\"Click/spacebar to change bullet\\\"\\n"
|
|
"text: \\\"Click/spacebar to change bullet\\\"\\n"
|
|
"font: \\\"/assets/text48.font\\\"\\n"
|
|
"font: \\\"/assets/text48.font\\\"\\n"
|
|
"material: \\\"/builtins/fonts/label.material\\\"\\n"
|
|
"material: \\\"/builtins/fonts/label.material\\\"\\n"
|
|
@@ -135,35 +65,11 @@ embedded_instances {
|
|
" position {\n"
|
|
" position {\n"
|
|
" x: 360.0\n"
|
|
" x: 360.0\n"
|
|
" y: 20.0\n"
|
|
" y: 20.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"
|
|
" scale {\n"
|
|
" scale {\n"
|
|
" x: 0.5\n"
|
|
" x: 0.5\n"
|
|
" y: 0.5\n"
|
|
" y: 0.5\n"
|
|
- " z: 1.0\n"
|
|
|
|
" }\n"
|
|
" }\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
|
|
|
|
- }
|
|
|
|
}
|
|
}
|