| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- components {
- id: "enemy"
- component: "/example/enemy.script"
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- }
- embedded_components {
- id: "sprite"
- type: "sprite"
- data: "default_animation: \"enemyBlack1\"\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"
- ""
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- }
- embedded_components {
- id: "collisionobject"
- type: "collisionobject"
- data: "collision_shape: \"\"\n"
- "type: COLLISION_OBJECT_TYPE_KINEMATIC\n"
- "mass: 0.0\n"
- "friction: 0.1\n"
- "restitution: 0.5\n"
- "group: \"enemy\"\n"
- "mask: \"bullet\"\n"
- "embedded_collision_shape {\n"
- " shapes {\n"
- " shape_type: TYPE_SPHERE\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: 1\n"
- " id: \"\"\n"
- " }\n"
- " data: 40.0\n"
- "}\n"
- "linear_damping: 0.0\n"
- "angular_damping: 0.0\n"
- "locked_rotation: false\n"
- "bullet: false\n"
- ""
- position {
- x: 0.0
- y: 0.0
- z: 0.0
- }
- rotation {
- x: 0.0
- y: 0.0
- z: 0.0
- w: 1.0
- }
- }
|