|
@@ -1,57 +1,25 @@
|
|
name: "default"
|
|
name: "default"
|
|
scale_along_z: 0
|
|
scale_along_z: 0
|
|
embedded_instances {
|
|
embedded_instances {
|
|
- id: "bunny"
|
|
|
|
|
|
+ id: "spaceship"
|
|
data: "components {\n"
|
|
data: "components {\n"
|
|
" id: \"script\"\n"
|
|
" id: \"script\"\n"
|
|
- " component: \"/example/bunny.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/spaceship.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: \\\"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"
|
|
""
|
|
""
|
|
position {
|
|
position {
|
|
x: 60.0
|
|
x: 60.0
|
|
y: 96.0
|
|
y: 96.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
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|