Files
kubeinvaders/main/k8s_node.go
2021-01-06 18:04:12 +01:00

84 lines
1.4 KiB
Go

components {
id: "k8s_node1"
component: "/main/k8s_node.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: "k8s_node"
type: "sprite"
data: "tile_set: \"/assets/k8s_node.atlas\"\n"
"default_animation: \"led\"\n"
"material: \"/builtins/materials/sprite.material\"\n"
"blend_mode: BLEND_MODE_ALPHA\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: \"k8s_node\"\n"
"mask: \"bullet\"\n"
"mask: \"spaceship\"\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"
" }\n"
" data: 25.0\n"
" data: 40.0\n"
" data: 10.0\n"
"}\n"
"linear_damping: 0.0\n"
"angular_damping: 0.0\n"
"locked_rotation: 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
}
}