123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338 |
- name: "raycast"
- scale_along_z: 0
- embedded_instances {
- id: "bee"
- data: "components {\n"
- " id: \"raycast\"\n"
- " component: \"/example/raycast.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"
- "embedded_components {\n"
- " id: \"sprite\"\n"
- " type: \"sprite\"\n"
- " data: \"default_animation: \\\"bee\\\"\\n"
- "material: \\\"/builtins/materials/sprite.material\\\"\\n"
- "blend_mode: BLEND_MODE_ALPHA\\n"
- "textures {\\n"
- " sampler: \\\"texture_sampler\\\"\\n"
- " texture: \\\"/assets/bee.atlas\\\"\\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"
- ""
- position {
- x: 360.0
- y: 360.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: "stone3"
- data: "embedded_components {\n"
- " id: \"sprite\"\n"
- " type: \"sprite\"\n"
- " data: \"default_animation: \\\"elementStone023\\\"\\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"
- " 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"
- "embedded_components {\n"
- " id: \"collisionobject\"\n"
- " type: \"collisionobject\"\n"
- " data: \"collision_shape: \\\"\\\"\\n"
- "type: COLLISION_OBJECT_TYPE_KINEMATIC\\n"
- "mass: 0.0\\n"
- "friction: 0.1\\n"
- "restitution: 0.5\\n"
- "group: \\\"stone\\\"\\n"
- "mask: \\\"bee\\\"\\n"
- "embedded_collision_shape {\\n"
- " shapes {\\n"
- " shape_type: TYPE_BOX\\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"
- " index: 0\\n"
- " count: 3\\n"
- " id: \\\"\\\"\\n"
- " }\\n"
- " data: 70.0\\n"
- " data: 70.0\\n"
- " data: 10.0\\n"
- "}\\n"
- "linear_damping: 0.0\\n"
- "angular_damping: 0.0\\n"
- "locked_rotation: false\\n"
- "bullet: false\\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: 131.0
- y: 161.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: "stone1"
- data: "embedded_components {\n"
- " id: \"collisionobject\"\n"
- " type: \"collisionobject\"\n"
- " data: \"collision_shape: \\\"\\\"\\n"
- "type: COLLISION_OBJECT_TYPE_KINEMATIC\\n"
- "mass: 0.0\\n"
- "friction: 0.1\\n"
- "restitution: 0.5\\n"
- "group: \\\"stone\\\"\\n"
- "mask: \\\"bee\\\"\\n"
- "embedded_collision_shape {\\n"
- " shapes {\\n"
- " shape_type: TYPE_BOX\\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"
- " index: 0\\n"
- " count: 3\\n"
- " id: \\\"\\\"\\n"
- " }\\n"
- " data: 70.0\\n"
- " data: 70.0\\n"
- " data: 10.0\\n"
- "}\\n"
- "linear_damping: 0.0\\n"
- "angular_damping: 0.0\\n"
- "locked_rotation: false\\n"
- "bullet: false\\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"
- "embedded_components {\n"
- " id: \"sprite\"\n"
- " type: \"sprite\"\n"
- " data: \"default_animation: \\\"elementStone023\\\"\\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"
- " 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: 566.0
- y: 233.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: "stone2"
- data: "embedded_components {\n"
- " id: \"collisionobject\"\n"
- " type: \"collisionobject\"\n"
- " data: \"collision_shape: \\\"\\\"\\n"
- "type: COLLISION_OBJECT_TYPE_KINEMATIC\\n"
- "mass: 0.0\\n"
- "friction: 0.1\\n"
- "restitution: 0.5\\n"
- "group: \\\"stone\\\"\\n"
- "mask: \\\"bee\\\"\\n"
- "embedded_collision_shape {\\n"
- " shapes {\\n"
- " shape_type: TYPE_BOX\\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"
- " index: 0\\n"
- " count: 3\\n"
- " id: \\\"\\\"\\n"
- " }\\n"
- " data: 70.0\\n"
- " data: 70.0\\n"
- " data: 10.0\\n"
- "}\\n"
- "linear_damping: 0.0\\n"
- "angular_damping: 0.0\\n"
- "locked_rotation: false\\n"
- "bullet: false\\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"
- "embedded_components {\n"
- " id: \"sprite\"\n"
- " type: \"sprite\"\n"
- " data: \"default_animation: \\\"elementStone023\\\"\\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"
- " 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: 273.0
- y: 532.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
- }
- }
|