19 lines
783 B
Go
19 lines
783 B
Go
components {
|
|
id: "amulet"
|
|
component: "/main/amulet.script"
|
|
}
|
|
embedded_components {
|
|
id: "collisionobject"
|
|
type: "collisionobject"
|
|
data: "type: COLLISION_OBJECT_TYPE_KINEMATIC\nmass: 0.0\nfriction: 0.1\nrestitution: 0.5\ngroup: \"amulet\"\nmask: \"player\"\nembedded_collision_shape {\n shapes {\n shape_type: TYPE_BOX\n position {\n }\n rotation {\n }\n index: 0\n count: 3\n id: \"amulet_collision\"\n }\n data: 16.031746\n data: 16.074074\n data: 10.0\n}\n"
|
|
}
|
|
embedded_components {
|
|
id: "sprite"
|
|
type: "sprite"
|
|
data: "default_animation: \"amulet\"\nmaterial: \"/builtins/materials/sprite.material\"\ntextures {\n sampler: \"texture_sampler\"\n texture: \"/main/graphics.atlas\"\n}\n"
|
|
scale {
|
|
x: 0.25
|
|
y: 0.25
|
|
z: 0.25
|
|
}
|
|
}
|