-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.go
More file actions
48 lines (48 loc) · 919 Bytes
/
base.go
File metadata and controls
48 lines (48 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
components {
id: "base"
component: "/main/base.script"
}
components {
id: "baseUI"
component: "/main/baseUI.gui"
}
embedded_components {
id: "sprite"
type: "sprite"
data: "default_animation: \"base-1\"\n"
"material: \"/builtins/materials/sprite.material\"\n"
"textures {\n"
" sampler: \"texture_sampler\"\n"
" texture: \"/main/game.atlas\"\n"
"}\n"
""
scale {
x: 0.2
y: 0.2
}
}
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: \"bases\"\n"
"mask: \"lasers\"\n"
"embedded_collision_shape {\n"
" shapes {\n"
" shape_type: TYPE_BOX\n"
" position {\n"
" }\n"
" rotation {\n"
" }\n"
" index: 0\n"
" count: 3\n"
" }\n"
" data: 50.13678\n"
" data: 51.705593\n"
" data: 10.0\n"
"}\n"
""
}