| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- components {
- id: "enemy"
- component: "/example/enemy.script"
- }
- components {
- id: "boom"
- component: "/example/boom.particlefx"
- }
- embedded_components {
- id: "sprite"
- type: "sprite"
- data: "default_animation: \"ufoGreen\"\n"
- "material: \"/builtins/materials/sprite.material\"\n"
- "textures {\n"
- " sampler: \"texture_sampler\"\n"
- " texture: \"/assets/sprites.atlas\"\n"
- "}\n"
- ""
- scale {
- x: 0.5
- y: 0.5
- }
- }
- embedded_components {
- id: "collisionobject"
- type: "collisionobject"
- data: "type: COLLISION_OBJECT_TYPE_TRIGGER\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"
- " }\n"
- " rotation {\n"
- " }\n"
- " index: 0\n"
- " count: 1\n"
- " id: \"ship\"\n"
- " }\n"
- " data: 22.5\n"
- "}\n"
- "event_collision: false\n"
- "event_contact: false\n"
- ""
- }
|