[aa1db83] | 1 | [gd_scene load_steps=12 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]
|
---|
| 8 | [ext_resource path="res://Stats/Health/healthbar.tres" type="Theme" id=6]
|
---|
| 9 | [ext_resource path="res://Stats/Stamina/Stamina.tres" type="Theme" id=7]
|
---|
[aa1db83] | 10 | [ext_resource path="res://Stats/Mana/manabar.tres" type="Theme" id=8]
|
---|
[f7b09c8] | 11 |
|
---|
| 12 | [sub_resource type="CapsuleMesh" id=1]
|
---|
[70fb6d4] | 13 | radius = 0.5
|
---|
[f7b09c8] | 14 |
|
---|
| 15 | [sub_resource type="CapsuleShape" id=2]
|
---|
[70fb6d4] | 16 | radius = 0.5
|
---|
| 17 |
|
---|
| 18 | [sub_resource type="Animation" id=3]
|
---|
| 19 | resource_name = "FallDamage"
|
---|
| 20 | length = 0.6
|
---|
| 21 | tracks/0/type = "value"
|
---|
| 22 | tracks/0/path = NodePath("../HUD/Control/FallDamage:modulate")
|
---|
| 23 | tracks/0/interp = 1
|
---|
| 24 | tracks/0/loop_wrap = true
|
---|
| 25 | tracks/0/imported = false
|
---|
| 26 | tracks/0/enabled = true
|
---|
| 27 | tracks/0/keys = {
|
---|
| 28 | "times": PoolRealArray( 0, 0.2, 0.6 ),
|
---|
| 29 | "transitions": PoolRealArray( 1, 1, 1 ),
|
---|
| 30 | "update": 0,
|
---|
| 31 | "values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
|
---|
| 32 | }
|
---|
[f7b09c8] | 33 |
|
---|
| 34 | [node name="Player" type="KinematicBody"]
|
---|
| 35 | transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 8.25497, 0 )
|
---|
| 36 | script = ExtResource( 1 )
|
---|
| 37 |
|
---|
| 38 | [node name="BodyMesh" type="MeshInstance" parent="."]
|
---|
| 39 | transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 )
|
---|
| 40 | mesh = SubResource( 1 )
|
---|
| 41 | material/0 = null
|
---|
| 42 |
|
---|
| 43 | [node name="BodyCollison" type="CollisionShape" parent="."]
|
---|
| 44 | transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 )
|
---|
| 45 | shape = SubResource( 2 )
|
---|
| 46 |
|
---|
| 47 | [node name="Head" type="Spatial" parent="."]
|
---|
[70fb6d4] | 48 | transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.64, 0 )
|
---|
[f7b09c8] | 49 |
|
---|
| 50 | [node name="Camera" type="Camera" parent="Head"]
|
---|
[70fb6d4] | 51 | script = ExtResource( 5 )
|
---|
[f7b09c8] | 52 |
|
---|
[70fb6d4] | 53 | [node name="AnimationPlayer" type="AnimationPlayer" parent="Head"]
|
---|
| 54 | anims/FallDamage = SubResource( 3 )
|
---|
[f7b09c8] | 55 |
|
---|
| 56 | [node name="HUD" type="Control" parent="."]
|
---|
| 57 | anchor_right = 1.0
|
---|
| 58 | anchor_bottom = 1.0
|
---|
[aa1db83] | 59 | margin_left = -0.33374
|
---|
[70fb6d4] | 60 | margin_top = -0.314941
|
---|
[aa1db83] | 61 | margin_right = 3.66626
|
---|
[70fb6d4] | 62 | margin_bottom = -0.314941
|
---|
[f7b09c8] | 63 | __meta__ = {
|
---|
| 64 | "_edit_use_anchors_": false
|
---|
| 65 | }
|
---|
| 66 |
|
---|
| 67 | [node name="Crosshair" type="Control" parent="HUD"]
|
---|
| 68 | anchor_left = 0.5
|
---|
| 69 | anchor_top = 0.5
|
---|
| 70 | anchor_right = 0.5
|
---|
| 71 | anchor_bottom = 0.5
|
---|
| 72 | margin_left = -21.0
|
---|
| 73 | margin_top = -21.0
|
---|
| 74 | margin_right = 21.0
|
---|
| 75 | margin_bottom = 21.0
|
---|
| 76 | __meta__ = {
|
---|
| 77 | "_edit_use_anchors_": false
|
---|
| 78 | }
|
---|
| 79 |
|
---|
| 80 | [node name="Crosshair_Image" type="TextureRect" parent="HUD/Crosshair"]
|
---|
| 81 | anchor_right = 0.5
|
---|
| 82 | anchor_bottom = 0.5
|
---|
[aa1db83] | 83 | margin_left = -1.12244
|
---|
| 84 | margin_top = -1.12244
|
---|
| 85 | margin_right = 38.8776
|
---|
| 86 | margin_bottom = 38.8776
|
---|
[f7b09c8] | 87 | texture = ExtResource( 2 )
|
---|
[70fb6d4] | 88 | __meta__ = {
|
---|
| 89 | "_edit_use_anchors_": false
|
---|
| 90 | }
|
---|
[f7b09c8] | 91 |
|
---|
| 92 | [node name="Control" type="Control" parent="HUD"]
|
---|
| 93 | anchor_top = 1.0
|
---|
| 94 | anchor_right = 0.5
|
---|
| 95 | anchor_bottom = 1.0
|
---|
[70fb6d4] | 96 | margin_left = -0.445442
|
---|
[f7b09c8] | 97 | margin_top = 542.0
|
---|
[70fb6d4] | 98 | margin_right = -514.445
|
---|
| 99 | margin_bottom = 542.0
|
---|
| 100 | __meta__ = {
|
---|
| 101 | "_edit_use_anchors_": false
|
---|
| 102 | }
|
---|
[f7b09c8] | 103 |
|
---|
[70fb6d4] | 104 | [node name="Man" type="TextureRect" parent="HUD/Control"]
|
---|
| 105 | light_mask = 2
|
---|
[f7b09c8] | 106 | anchor_right = 0.5
|
---|
| 107 | anchor_bottom = 0.5
|
---|
| 108 | margin_left = 5.89191
|
---|
| 109 | margin_top = -733.919
|
---|
| 110 | margin_right = 107.892
|
---|
| 111 | margin_bottom = -546.919
|
---|
| 112 | texture = ExtResource( 3 )
|
---|
| 113 | __meta__ = {
|
---|
| 114 | "_edit_use_anchors_": false
|
---|
| 115 | }
|
---|
[70fb6d4] | 116 |
|
---|
| 117 | [node name="FallDamage" type="TextureRect" parent="HUD/Control"]
|
---|
| 118 | modulate = Color( 1, 1, 1, 0 )
|
---|
| 119 | anchor_right = 0.5
|
---|
| 120 | anchor_bottom = 0.5
|
---|
| 121 | margin_left = 22.8588
|
---|
| 122 | margin_top = -573.435
|
---|
| 123 | margin_right = 90.8588
|
---|
| 124 | margin_bottom = -547.435
|
---|
| 125 | texture = ExtResource( 4 )
|
---|
| 126 | __meta__ = {
|
---|
| 127 | "_edit_use_anchors_": false
|
---|
| 128 | }
|
---|
| 129 |
|
---|
| 130 | [node name="HealthBar" type="ProgressBar" parent="HUD/Control"]
|
---|
[aa1db83] | 131 | anchor_left = 2.0
|
---|
| 132 | anchor_right = 2.0
|
---|
| 133 | anchor_bottom = 1.0
|
---|
| 134 | margin_left = 744.7
|
---|
| 135 | margin_top = -584.977
|
---|
| 136 | margin_right = 1007.7
|
---|
| 137 | margin_bottom = -555.977
|
---|
[70fb6d4] | 138 | theme = ExtResource( 6 )
|
---|
| 139 | max_value = 101.6
|
---|
| 140 | value = 100.0
|
---|
| 141 | rounded = true
|
---|
| 142 | percent_visible = false
|
---|
| 143 | __meta__ = {
|
---|
| 144 | "_edit_use_anchors_": false
|
---|
| 145 | }
|
---|
| 146 |
|
---|
| 147 | [node name="StaminaBar" type="ProgressBar" parent="HUD/Control"]
|
---|
[aa1db83] | 148 | anchor_left = 2.0
|
---|
| 149 | anchor_right = 2.0
|
---|
| 150 | anchor_bottom = 1.0
|
---|
| 151 | margin_left = 744.653
|
---|
| 152 | margin_top = -619.119
|
---|
| 153 | margin_right = 1007.65
|
---|
| 154 | margin_bottom = -590.119
|
---|
| 155 | size_flags_horizontal = 0
|
---|
[70fb6d4] | 156 | theme = ExtResource( 7 )
|
---|
| 157 | max_value = 101.6
|
---|
| 158 | value = 100.0
|
---|
| 159 | rounded = true
|
---|
| 160 | percent_visible = false
|
---|
| 161 | __meta__ = {
|
---|
| 162 | "_edit_use_anchors_": false
|
---|
| 163 | }
|
---|
[aa1db83] | 164 |
|
---|
| 165 | [node name="ManaBar" type="ProgressBar" parent="HUD/Control"]
|
---|
| 166 | anchor_left = 2.0
|
---|
| 167 | anchor_right = 2.0
|
---|
| 168 | anchor_bottom = 1.0
|
---|
| 169 | margin_left = 744.653
|
---|
[f9161ba] | 170 | margin_top = -652.6
|
---|
[aa1db83] | 171 | margin_right = 1007.65
|
---|
[f9161ba] | 172 | margin_bottom = -623.6
|
---|
[aa1db83] | 173 | size_flags_horizontal = 0
|
---|
| 174 | theme = ExtResource( 8 )
|
---|
| 175 | max_value = 101.6
|
---|
| 176 | value = 100.0
|
---|
| 177 | rounded = true
|
---|
| 178 | percent_visible = false
|
---|
| 179 | __meta__ = {
|
---|
| 180 | "_edit_use_anchors_": false
|
---|
| 181 | }
|
---|