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