Load screen with pausing

This commit is contained in:
2024-09-04 12:52:28 -07:00
parent bd6f57e7df
commit b21bcf0573
15 changed files with 202 additions and 75 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=17 format=3 uid="uid://cfecvvav8kkp6"]
[gd_scene load_steps=19 format=3 uid="uid://cfecvvav8kkp6"]
[ext_resource type="Script" path="res://src/player/Player.cs" id="1_xcol5"]
[ext_resource type="Texture2D" uid="uid://bokx3h8kfdo5i" path="res://src/player/slash_0000_Classic_30.png" id="2_la11l"]
@@ -109,6 +109,12 @@ animations = [{
"speed": 12.0
}]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kxbln"]
bg_color = Color(0, 0.411765, 0, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_onron"]
bg_color = Color(0, 0.411765, 0, 1)
[node name="Player" type="CharacterBody3D"]
collision_layer = 38
collision_mask = 7
@@ -159,6 +165,7 @@ animation = &"attack"
[node name="HealthTimer" type="Timer" parent="."]
unique_name_in_owner = true
process_mode = 1
wait_time = 3.0
autostart = true
@@ -188,6 +195,7 @@ text = "HP: inf/inf"
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 25)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_kxbln")
show_percentage = false
[node name="VTNumber" type="Label" parent="MarginContainer/VBoxContainer"]
@@ -199,4 +207,5 @@ text = "VT: inf/inf"
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 25)
layout_mode = 2
theme_override_styles/background = SubResource("StyleBoxFlat_onron")
show_percentage = false