source: Studio/Player.tscn@ 49e3bfa

sandbox
Last change on this file since 49e3bfa 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
RevLine 
[3c8ca52]1[gd_scene load_steps=14 format=2]
[f7b09c8]2
3[ext_resource path="res://Player.gd" type="Script" id=1]
[70fb6d4]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]
[3c8ca52]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]
[f7b09c8]13
14[sub_resource type="CapsuleMesh" id=1]
[70fb6d4]15radius = 0.5
[f7b09c8]16
17[sub_resource type="CapsuleShape" id=2]
[70fb6d4]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}
[f7b09c8]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="."]
[70fb6d4]50transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.64, 0 )
[f7b09c8]51
52[node name="Camera" type="Camera" parent="Head"]
[70fb6d4]53script = ExtResource( 5 )
[f7b09c8]54
[70fb6d4]55[node name="AnimationPlayer" type="AnimationPlayer" parent="Head"]
56anims/FallDamage = SubResource( 3 )
[f7b09c8]57
58[node name="HUD" type="Control" parent="."]
59anchor_right = 1.0
60anchor_bottom = 1.0
[3c8ca52]61margin_left = 0.0867312
62margin_top = -1.22662
63margin_right = 4.08679
64margin_bottom = -1.22662
[f7b09c8]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
[aa1db83]85margin_left = -1.12244
86margin_top = -1.12244
87margin_right = 38.8776
88margin_bottom = 38.8776
[f7b09c8]89texture = ExtResource( 2 )
[70fb6d4]90__meta__ = {
91"_edit_use_anchors_": false
92}
[f7b09c8]93
94[node name="Control" type="Control" parent="HUD"]
95anchor_top = 1.0
96anchor_right = 0.5
97anchor_bottom = 1.0
[70fb6d4]98margin_left = -0.445442
[f7b09c8]99margin_top = 542.0
[70fb6d4]100margin_right = -514.445
101margin_bottom = 542.0
102__meta__ = {
103"_edit_use_anchors_": false
104}
[f7b09c8]105
[70fb6d4]106[node name="Man" type="TextureRect" parent="HUD/Control"]
107light_mask = 2
[f7b09c8]108anchor_right = 0.5
109anchor_bottom = 0.5
[3c8ca52]110margin_left = 7.61129
111margin_top = -771.506
112margin_right = 109.611
113margin_bottom = -584.506
[f7b09c8]114texture = ExtResource( 3 )
115__meta__ = {
116"_edit_use_anchors_": false
117}
[70fb6d4]118
119[node name="FallDamage" type="TextureRect" parent="HUD/Control"]
120modulate = Color( 1, 1, 1, 0 )
121anchor_right = 0.5
122anchor_bottom = 0.5
[3c8ca52]123margin_left = 24.8588
124margin_top = -609.435
125margin_right = 92.8588
126margin_bottom = -583.435
[70fb6d4]127texture = ExtResource( 4 )
128__meta__ = {
129"_edit_use_anchors_": false
130}
131
132[node name="HealthBar" type="ProgressBar" parent="HUD/Control"]
[aa1db83]133anchor_left = 2.0
134anchor_right = 2.0
135anchor_bottom = 1.0
136margin_left = 744.7
[3c8ca52]137margin_top = -614.977
[aa1db83]138margin_right = 1007.7
[3c8ca52]139margin_bottom = -585.977
140theme = ExtResource( 10 )
[70fb6d4]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"]
[aa1db83]150anchor_left = 2.0
151anchor_right = 2.0
152anchor_bottom = 1.0
153margin_left = 744.653
[3c8ca52]154margin_top = -649.119
[aa1db83]155margin_right = 1007.65
[3c8ca52]156margin_bottom = -620.119
[aa1db83]157size_flags_horizontal = 0
[3c8ca52]158theme = ExtResource( 6 )
[70fb6d4]159max_value = 101.6
160value = 100.0
161rounded = true
162percent_visible = false
163__meta__ = {
164"_edit_use_anchors_": false
165}
[aa1db83]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
[3c8ca52]172margin_top = -682.6
[aa1db83]173margin_right = 1007.65
[3c8ca52]174margin_bottom = -653.6
[aa1db83]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}
[3c8ca52]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.