30 lines
1.3 KiB
Go
30 lines
1.3 KiB
Go
components {
|
|
id: "player"
|
|
component: "/main/player.script"
|
|
}
|
|
components {
|
|
id: "debug"
|
|
component: "/main/debug.gui"
|
|
}
|
|
embedded_components {
|
|
id: "sprite"
|
|
type: "sprite"
|
|
data: "default_animation: \"still_right\"\nmaterial: \"/builtins/materials/sprite.material\"\ntextures {\n sampler: \"texture_sampler\"\n texture: \"/main/graphics.atlas\"\n}\n"
|
|
position {
|
|
z: 0.2
|
|
}
|
|
scale {
|
|
x: 0.5
|
|
y: 0.5
|
|
}
|
|
}
|
|
embedded_components {
|
|
id: "collisionobjectplatform"
|
|
type: "collisionobject"
|
|
data: "type: COLLISION_OBJECT_TYPE_KINEMATIC\nmass: 0.0\nfriction: 0.1\nrestitution: 0.5\ngroup: \"player\"\nmask: \"platform\"\nembedded_collision_shape {\n shapes {\n shape_type: TYPE_BOX\n position {\n y: -30.0\n }\n rotation {\n }\n index: 0\n count: 3\n }\n data: 21.752527\n data: 3.5919755\n data: 10.0\n}\nlinear_damping: 1.0\nlocked_rotation: true\n"
|
|
}
|
|
embedded_components {
|
|
id: "collisionobjectladder"
|
|
type: "collisionobject"
|
|
data: "type: COLLISION_OBJECT_TYPE_KINEMATIC\nmass: 0.0\nfriction: 0.1\nrestitution: 0.5\ngroup: \"player\"\nmask: \"ladder\"\nmask: \"curse\"\nmask: \"amulet\"\nembedded_collision_shape {\n shapes {\n shape_type: TYPE_BOX\n position {\n }\n rotation {\n }\n index: 0\n count: 3\n }\n data: 21.718147\n data: 32.986557\n data: 10.0\n}\n"
|
|
}
|