-
Notifications
You must be signed in to change notification settings - Fork 0
/
Start.tscn
128 lines (98 loc) · 3.73 KB
/
Start.tscn
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[gd_scene load_steps=17 format=2]
[ext_resource path="res://TheButtonScript.gd" type="Script" id=1]
[ext_resource path="res://StartScreenScript.gd" type="Script" id=2]
[ext_resource path="res://Player.gd" type="Script" id=3]
[ext_resource path="res://Box.gd" type="Script" id=4]
[sub_resource type="CylinderShape" id=1]
[sub_resource type="CylinderMesh" id=2]
[sub_resource type="Skin" id=3]
[sub_resource type="SpatialMaterial" id=14]
albedo_color = Color( 0.933333, 0.352941, 0.0352941, 1 )
[sub_resource type="CylinderMesh" id=4]
material = SubResource( 14 )
[sub_resource type="Skin" id=13]
[sub_resource type="PhysicsMaterial" id=5]
rough = true
[sub_resource type="BoxShape" id=6]
[sub_resource type="CubeMesh" id=7]
[sub_resource type="BoxShape" id=8]
[sub_resource type="CubeMesh" id=9]
size = Vector3( 1, 1, 1 )
[sub_resource type="SpatialMaterial" id=10]
albedo_color = Color( 0.34902, 0.811765, 0.219608, 1 )
[node name="Spatial" type="Spatial"]
script = ExtResource( 2 )
[node name="Camera" type="Camera" parent="."]
transform = Transform( 0.144871, -0.18853, 0.971323, 0.0278112, 0.982067, 0.186467, -0.98906, -6.59137e-08, 0.147516, 15.3782, 6, 0 )
fov = 81.5625
[node name="ALabel" type="Label" parent="."]
anchor_left = 0.011
anchor_top = 0.022
anchor_right = 0.054
anchor_bottom = 0.075
margin_right = 40.0
margin_bottom = 14.0
custom_colors/font_color = Color( 0.776471, 0.137255, 0.137255, 1 )
text = "And this is where the story begins."
__meta__ = {
"_edit_use_anchors_": false
}
[node name="DropsLabel" type="Label" parent="."]
margin_left = 10.0
margin_top = 42.0
margin_right = 56.0
margin_bottom = 56.0
text = "Drops: "
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TheButton" type="Button" parent="."]
margin_left = 329.0
margin_top = 1.0
margin_right = 401.0
margin_bottom = 67.0
text = "A"
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Player" type="KinematicBody" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4, 0 )
script = ExtResource( 3 )
[node name="CollisionShape" type="CollisionShape" parent="Player"]
shape = SubResource( 1 )
[node name="MeshInstance" type="MeshInstance" parent="Player"]
mesh = SubResource( 2 )
skin = SubResource( 3 )
material/0 = null
[node name="Nose" type="MeshInstance" parent="Player"]
transform = Transform( 0.5, 0, 0, 0, -1.62921e-07, -0.5, 0, 1, -8.14603e-08, 0, 0, 0.3 )
mesh = SubResource( 4 )
skin = SubResource( 13 )
material/0 = null
[node name="Camera" type="Camera" parent="Player"]
transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, 0, 0, 0 )
[node name="Box" type="RigidBody" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 10, 0 )
physics_material_override = SubResource( 5 )
script = ExtResource( 4 )
[node name="CollisionShape" type="CollisionShape" parent="Box"]
shape = SubResource( 6 )
[node name="MeshInstance" type="MeshInstance" parent="Box"]
mesh = SubResource( 7 )
material/0 = null
[node name="Floor" type="KinematicBody" parent="."]
transform = Transform( 50, 0, 0, 0, 1, 0, 0, 0, 50, 0, 0.5, 0 )
[node name="CollisionShape" type="CollisionShape" parent="Floor"]
shape = SubResource( 8 )
[node name="MeshInstance" type="MeshInstance" parent="Floor"]
transform = Transform( 2, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0 )
mesh = SubResource( 9 )
material/0 = SubResource( 10 )
[node name="SpotLight" type="SpotLight" parent="."]
transform = Transform( 1, 0, 0, 0, -1.62921e-07, 1, 0, -1, -1.62921e-07, 0, 12, 0 )
spot_range = 15.0
spot_angle = 8.3
[connection signal="button_down" from="TheButton" to="." method="_on_TheButton_button_down"]
[connection signal="pressed" from="TheButton" to="TheButton" method="_on_TheButton_pressedOderSo"]
[connection signal="dropped" from="Box" to="." method="_on_Box_dropped"]