source: Studio/Player.tscn@ 994b0da

sandbox
Last change on this file since 994b0da was 3c8ca52, checked in by Kevin Chapman <victory2b@…>, 3 years ago

(WIP) About to remove pause menu for testing.

  • Property mode set to 100644
File size: 5.3 KB
Line 
1[gd_scene load_steps=14 format=2]
2
3[ext_resource path="res://Player.gd" type="Script" id=1]
4[ext_resource path="res://Textures/Crosshair/Crosshair.png" type="Texture" id=2]
5[ext_resource path="res://Textures/Interface/Man.png" type="Texture" id=3]
6[ext_resource path="res://Textures/Interface/FallDamage.png" type="Texture" id=4]
7[ext_resource path="res://Camera.gd" type="Script" id=5]
8[ext_resource path="res://Stats/staminabar.tres" type="Theme" id=6]
9[ext_resource path="res://Stats/lifeforcebar.tres" type="Theme" id=7]
10[ext_resource path="res://Stats/manabar.tres" type="Theme" id=8]
11[ext_resource path="res://Stats/xpbar.tres" type="Theme" id=9]
12[ext_resource path="res://Stats/healthbar.tres" type="Theme" id=10]
13
14[sub_resource type="CapsuleMesh" id=1]
15radius = 0.5
16
17[sub_resource type="CapsuleShape" id=2]
18radius = 0.5
19
20[sub_resource type="Animation" id=3]
21resource_name = "FallDamage"
22length = 0.6
23tracks/0/type = "value"
24tracks/0/path = NodePath("../HUD/Control/FallDamage:modulate")
25tracks/0/interp = 1
26tracks/0/loop_wrap = true
27tracks/0/imported = false
28tracks/0/enabled = true
29tracks/0/keys = {
30"times": PoolRealArray( 0, 0.2, 0.6 ),
31"transitions": PoolRealArray( 1, 1, 1 ),
32"update": 0,
33"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
34}
35
36[node name="Player" type="KinematicBody"]
37transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 8.25497, 0 )
38script = ExtResource( 1 )
39
40[node name="BodyMesh" type="MeshInstance" parent="."]
41transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 )
42mesh = SubResource( 1 )
43material/0 = null
44
45[node name="BodyCollison" type="CollisionShape" parent="."]
46transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 )
47shape = SubResource( 2 )
48
49[node name="Head" type="Spatial" parent="."]
50transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.64, 0 )
51
52[node name="Camera" type="Camera" parent="Head"]
53script = ExtResource( 5 )
54
55[node name="AnimationPlayer" type="AnimationPlayer" parent="Head"]
56anims/FallDamage = SubResource( 3 )
57
58[node name="HUD" type="Control" parent="."]
59anchor_right = 1.0
60anchor_bottom = 1.0
61margin_left = 0.0867312
62margin_top = -1.22662
63margin_right = 4.08679
64margin_bottom = -1.22662
65__meta__ = {
66"_edit_use_anchors_": false
67}
68
69[node name="Crosshair" type="Control" parent="HUD"]
70anchor_left = 0.5
71anchor_top = 0.5
72anchor_right = 0.5
73anchor_bottom = 0.5
74margin_left = -21.0
75margin_top = -21.0
76margin_right = 21.0
77margin_bottom = 21.0
78__meta__ = {
79"_edit_use_anchors_": false
80}
81
82[node name="Crosshair_Image" type="TextureRect" parent="HUD/Crosshair"]
83anchor_right = 0.5
84anchor_bottom = 0.5
85margin_left = -1.12244
86margin_top = -1.12244
87margin_right = 38.8776
88margin_bottom = 38.8776
89texture = ExtResource( 2 )
90__meta__ = {
91"_edit_use_anchors_": false
92}
93
94[node name="Control" type="Control" parent="HUD"]
95anchor_top = 1.0
96anchor_right = 0.5
97anchor_bottom = 1.0
98margin_left = -0.445442
99margin_top = 542.0
100margin_right = -514.445
101margin_bottom = 542.0
102__meta__ = {
103"_edit_use_anchors_": false
104}
105
106[node name="Man" type="TextureRect" parent="HUD/Control"]
107light_mask = 2
108anchor_right = 0.5
109anchor_bottom = 0.5
110margin_left = 7.61129
111margin_top = -771.506
112margin_right = 109.611
113margin_bottom = -584.506
114texture = ExtResource( 3 )
115__meta__ = {
116"_edit_use_anchors_": false
117}
118
119[node name="FallDamage" type="TextureRect" parent="HUD/Control"]
120modulate = Color( 1, 1, 1, 0 )
121anchor_right = 0.5
122anchor_bottom = 0.5
123margin_left = 24.8588
124margin_top = -609.435
125margin_right = 92.8588
126margin_bottom = -583.435
127texture = ExtResource( 4 )
128__meta__ = {
129"_edit_use_anchors_": false
130}
131
132[node name="HealthBar" type="ProgressBar" parent="HUD/Control"]
133anchor_left = 2.0
134anchor_right = 2.0
135anchor_bottom = 1.0
136margin_left = 744.7
137margin_top = -614.977
138margin_right = 1007.7
139margin_bottom = -585.977
140theme = ExtResource( 10 )
141max_value = 101.6
142value = 100.0
143rounded = true
144percent_visible = false
145__meta__ = {
146"_edit_use_anchors_": false
147}
148
149[node name="StaminaBar" type="ProgressBar" parent="HUD/Control"]
150anchor_left = 2.0
151anchor_right = 2.0
152anchor_bottom = 1.0
153margin_left = 744.653
154margin_top = -649.119
155margin_right = 1007.65
156margin_bottom = -620.119
157size_flags_horizontal = 0
158theme = ExtResource( 6 )
159max_value = 101.6
160value = 100.0
161rounded = true
162percent_visible = false
163__meta__ = {
164"_edit_use_anchors_": false
165}
166
167[node name="ManaBar" type="ProgressBar" parent="HUD/Control"]
168anchor_left = 2.0
169anchor_right = 2.0
170anchor_bottom = 1.0
171margin_left = 744.653
172margin_top = -682.6
173margin_right = 1007.65
174margin_bottom = -653.6
175size_flags_horizontal = 0
176theme = ExtResource( 8 )
177max_value = 101.6
178value = 100.0
179rounded = true
180percent_visible = false
181__meta__ = {
182"_edit_use_anchors_": false
183}
184
185[node name="LifeforceBar" type="ProgressBar" parent="HUD/Control"]
186anchor_left = 2.0
187anchor_right = 2.0
188anchor_bottom = 1.0
189margin_left = 744.934
190margin_top = -580.881
191margin_right = 1007.93
192margin_bottom = -551.881
193size_flags_horizontal = 0
194theme = ExtResource( 7 )
195max_value = 101.6
196value = 100.0
197rounded = true
198percent_visible = false
199__meta__ = {
200"_edit_use_anchors_": false
201}
202
203[node name="XPBar" type="ProgressBar" parent="HUD/Control"]
204anchor_bottom = 0.5
205margin_left = 7.99913
206margin_top = -580.782
207margin_right = 109.999
208margin_bottom = -551.782
209size_flags_horizontal = 0
210theme = ExtResource( 9 )
211max_value = 105.0
212rounded = true
213percent_visible = false
214__meta__ = {
215"_edit_use_anchors_": false
216}
Note: See TracBrowser for help on using the repository browser.