mirror of
https://github.com/lucky-sideburn/kubeinvaders.git
synced 2026-04-07 02:46:52 +00:00
81 lines
1.3 KiB
Go
81 lines
1.3 KiB
Go
components {
|
|
id: "bullet"
|
|
component: "/main/bullet.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: "tile_set: \"/assets/bullet.atlas\"\n"
|
|
"default_animation: \"bulletkube\"\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: \"bullet\"\n"
|
|
"mask: \"pod\"\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"
|
|
" }\n"
|
|
" data: 15.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
|
|
}
|
|
}
|