Moved some files around

This commit is contained in:
2026-02-20 20:54:05 +11:00
parent 1e730e8321
commit 6b67dd9755
212 changed files with 174 additions and 3756 deletions

View File

@@ -0,0 +1,49 @@
class_name WaveViewer
extends Control
signal closed()
@export var wave_vbox: VBoxContainer
@export var enemy_row_scene: PackedScene
@export var enemy_icon_tex: TextureRect
@export var enemy_name_label: Label
@export var enemy_desc_label: RichTextLabel
func _unhandled_input(event: InputEvent) -> void:
if event.is_action_pressed("Pause") or event.is_action_pressed("Show Wave Preview"):
queue_free()
closed.emit()
get_viewport().set_input_as_handled()
func set_waves(waves: Array[WaveConfig], starting_wave_number: int) -> void:
var i: int = starting_wave_number
for wave: WaveConfig in waves:
var enemy_row: EnemyRow = enemy_row_scene.instantiate() as EnemyRow
enemy_row.enemy_clicked.connect(set_enemy_desc)
wave_vbox.add_child(enemy_row)
enemy_row.set_wave(i)
i += 1
var enemy_dict: Dictionary[Enemy, int] = {}
for enemy_group: EnemyGroup in wave.enemy_groups:
if !enemy_dict.has(enemy_group.enemy):
enemy_dict[enemy_group.enemy] = 0
enemy_dict[enemy_group.enemy] += enemy_group.count
for enemy: Enemy in enemy_dict.keys():
enemy_row.add_enemy_tag(enemy, enemy_dict[enemy])
set_enemy_desc(waves[0].enemy_groups.keys()[0].enemy)
func set_enemy_desc(enemy: Enemy) -> void:
enemy_name_label.text = tr(enemy.title)
enemy_icon_tex.texture = enemy.icon
enemy_desc_label.text = tr(enemy.description)
func _on_button_2_pressed() -> void:
closed.emit()
queue_free()

View File

@@ -0,0 +1 @@
uid://ps6sgjd0b5qr

View File

@@ -0,0 +1,89 @@
[gd_scene format=3 uid="uid://ct6gic4shy5qw"]
[ext_resource type="Script" uid="uid://ps6sgjd0b5qr" path="res://UI/Menus/WaveViewer/wave_viewer.gd" id="1_0v4fq"]
[ext_resource type="PackedScene" uid="uid://b5hp43bm07b8a" path="res://UI/Menus/GameEndScreen/enemy_row.tscn" id="2_lbx3o"]
[ext_resource type="Texture2D" uid="uid://3ywtwfpuuknr" path="res://Assets/Textures/leapfrog.png" id="2_tptaq"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_0v4fq"]
content_margin_left = 2.0
content_margin_top = 2.0
content_margin_right = 2.0
content_margin_bottom = 2.0
[node name="WaveViewer" type="Control" unique_id=499270441 node_paths=PackedStringArray("wave_vbox", "enemy_icon_tex", "enemy_name_label", "enemy_desc_label")]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_0v4fq")
wave_vbox = NodePath("PanelContainer/VBoxContainer/HBoxContainer/ScrollContainer/Waves")
enemy_row_scene = ExtResource("2_lbx3o")
enemy_icon_tex = NodePath("PanelContainer/VBoxContainer/HBoxContainer/EnemyDescription/TextureRect")
enemy_name_label = NodePath("PanelContainer/VBoxContainer/HBoxContainer/EnemyDescription/Label")
enemy_desc_label = NodePath("PanelContainer/VBoxContainer/HBoxContainer/EnemyDescription/RichTextLabel")
[node name="PanelContainer" type="PanelContainer" parent="." unique_id=788649331]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.05
anchor_top = 0.05
anchor_right = 0.95
anchor_bottom = 0.95
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer" unique_id=579941125]
layout_mode = 2
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer" unique_id=402227846]
layout_mode = 2
text = "TITLE_WAVE_VIEWER"
horizontal_alignment = 1
vertical_alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer" unique_id=1508928028]
layout_mode = 2
size_flags_vertical = 3
[node name="ScrollContainer" type="ScrollContainer" parent="PanelContainer/VBoxContainer/HBoxContainer" unique_id=719335415]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 2.0
[node name="Waves" type="VBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer/ScrollContainer" unique_id=1502502154]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="EnemyDescription" type="VBoxContainer" parent="PanelContainer/VBoxContainer/HBoxContainer" unique_id=2098653550]
layout_mode = 2
size_flags_horizontal = 3
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer/EnemyDescription" unique_id=2117809796]
layout_mode = 2
text = "Big dawg"
[node name="TextureRect" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer/EnemyDescription" unique_id=1623597859]
custom_minimum_size = Vector2(64, 64)
layout_mode = 2
texture = ExtResource("2_tptaq")
expand_mode = 1
stretch_mode = 5
[node name="RichTextLabel" type="RichTextLabel" parent="PanelContainer/VBoxContainer/HBoxContainer/EnemyDescription" unique_id=975689037]
layout_mode = 2
size_flags_vertical = 3
theme_override_styles/normal = SubResource("StyleBoxEmpty_0v4fq")
text = "this dawg is so big itll make your big meaty nuts fall off from how fucking scared you are. this dog will rip your balls off. this dog will make you cum on yourself. you'll be so scared you'll cum on yourself. and horny"
[node name="HBoxContainer2" type="HBoxContainer" parent="PanelContainer/VBoxContainer" unique_id=1208475978]
layout_mode = 2
alignment = 2
[node name="Button2" type="Button" parent="PanelContainer/VBoxContainer/HBoxContainer2" unique_id=1478517318]
layout_mode = 2
text = "BUTTON_CLOSE"
[connection signal="pressed" from="PanelContainer/VBoxContainer/HBoxContainer2/Button2" to="." method="_on_button_2_pressed"]

View File

@@ -1,48 +0,0 @@
[gd_scene format=3 uid="uid://bnsf2degj5tio"]
[ext_resource type="Script" uid="uid://v5y44744p7ie" path="res://UI/hero_select_card.gd" id="1_rqutp"]
[ext_resource type="Texture2D" uid="uid://bskg4kgoi576f" path="res://Assets/Textures/Sprite-0001.png" id="2_gly1b"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ihqrr"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_af3d2"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_l67bw"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_00m4l"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_rg2u8"]
[node name="HeroCard" type="PanelContainer" unique_id=1520253199]
custom_minimum_size = Vector2(360, 600)
offset_right = 360.0
offset_bottom = 600.0
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource("1_rqutp")
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=102369566]
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer" unique_id=801081309]
layout_mode = 2
text = "Character name"
horizontal_alignment = 1
vertical_alignment = 1
[node name="TextureRect" type="TextureRect" parent="VBoxContainer" unique_id=1303819119]
layout_mode = 2
size_flags_vertical = 3
texture = ExtResource("2_gly1b")
stretch_mode = 5
[node name="Button" type="Button" parent="." unique_id=1903490533]
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxEmpty_ihqrr")
theme_override_styles/pressed = SubResource("StyleBoxEmpty_af3d2")
theme_override_styles/hover = SubResource("StyleBoxEmpty_l67bw")
theme_override_styles/disabled = SubResource("StyleBoxEmpty_00m4l")
theme_override_styles/focus = SubResource("StyleBoxEmpty_rg2u8")
[connection signal="mouse_entered" from="Button" to="." method="_on_button_mouse_entered"]
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]

View File

@@ -1,21 +0,0 @@
class_name HeroSelectCard
extends PanelContainer
signal pressed(hero_class: int)
signal button_mouse_entered()
var hero_class: HeroClass
func set_hero(hero: HeroClass) -> void:
hero_class = hero
$VBoxContainer/Label.text = hero.hero_name
$VBoxContainer/TextureRect.texture = hero.texture
func _on_button_pressed() -> void:
pressed.emit(Data.characters.find(hero_class))
func _on_button_mouse_entered() -> void:
button_mouse_entered.emit()

View File

@@ -1 +0,0 @@
uid://v5y44744p7ie

View File

@@ -1,546 +0,0 @@
[gd_scene format=3 uid="uid://dko38egcaxubd"]
[ext_resource type="Script" uid="uid://c3ark32u3lct8" path="res://Scripts/lifebar_segment.gd" id="1_dvlcq"]
[ext_resource type="Texture2D" uid="uid://0ey8r48lgjw1" path="res://Assets/Textures/lifebar_pip.png" id="1_pianw"]
[sub_resource type="Animation" id="Animation_i18y2"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("TextureRect6:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(0, 4)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("TextureRect6:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("TextureRect6:rotation")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("TextureRect4:position")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(0, 0)]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("TextureRect4:rotation")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("TextureRect4:modulate")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/6/type = "value"
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/path = NodePath("TextureRect5:position")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(-4, 4)]
}
tracks/7/type = "value"
tracks/7/imported = false
tracks/7/enabled = true
tracks/7/path = NodePath("TextureRect5:rotation")
tracks/7/interp = 1
tracks/7/loop_wrap = true
tracks/7/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
tracks/8/type = "value"
tracks/8/imported = false
tracks/8/enabled = true
tracks/8/path = NodePath("TextureRect5:modulate")
tracks/8/interp = 1
tracks/8/loop_wrap = true
tracks/8/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/9/type = "value"
tracks/9/imported = false
tracks/9/enabled = true
tracks/9/path = NodePath("TextureRect2:position")
tracks/9/interp = 1
tracks/9/loop_wrap = true
tracks/9/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(0, -4)]
}
tracks/10/type = "value"
tracks/10/imported = false
tracks/10/enabled = true
tracks/10/path = NodePath("TextureRect2:rotation")
tracks/10/interp = 1
tracks/10/loop_wrap = true
tracks/10/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
tracks/11/type = "value"
tracks/11/imported = false
tracks/11/enabled = true
tracks/11/path = NodePath("TextureRect2:modulate")
tracks/11/interp = 1
tracks/11/loop_wrap = true
tracks/11/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/12/type = "value"
tracks/12/imported = false
tracks/12/enabled = true
tracks/12/path = NodePath("TextureRect3:position")
tracks/12/interp = 1
tracks/12/loop_wrap = true
tracks/12/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(-4, 0)]
}
tracks/13/type = "value"
tracks/13/imported = false
tracks/13/enabled = true
tracks/13/path = NodePath("TextureRect3:rotation")
tracks/13/interp = 1
tracks/13/loop_wrap = true
tracks/13/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
tracks/14/type = "value"
tracks/14/imported = false
tracks/14/enabled = true
tracks/14/path = NodePath("TextureRect3:modulate")
tracks/14/interp = 1
tracks/14/loop_wrap = true
tracks/14/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/15/type = "value"
tracks/15/imported = false
tracks/15/enabled = true
tracks/15/path = NodePath("TextureRect:position")
tracks/15/interp = 1
tracks/15/loop_wrap = true
tracks/15/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(-4, -4)]
}
tracks/16/type = "value"
tracks/16/imported = false
tracks/16/enabled = true
tracks/16/path = NodePath("TextureRect:rotation")
tracks/16/interp = 1
tracks/16/loop_wrap = true
tracks/16/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
tracks/17/type = "value"
tracks/17/imported = false
tracks/17/enabled = true
tracks/17/path = NodePath("TextureRect:modulate")
tracks/17/interp = 1
tracks/17/loop_wrap = true
tracks/17/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
[sub_resource type="Animation" id="Animation_a6tv4"]
resource_name = "lose1"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("TextureRect6:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(0, 4), Vector2(4.76837e-07, 9)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("TextureRect6:rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 0.567662]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("TextureRect6:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
[sub_resource type="Animation" id="Animation_t2ym0"]
resource_name = "lose2"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("TextureRect4:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(0, 0), Vector2(2, 6)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("TextureRect4:rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, -0.933911]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("TextureRect4:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
[sub_resource type="Animation" id="Animation_ueyfw"]
resource_name = "lose3"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("TextureRect5:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(-4, 4), Vector2(-3, 9)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("TextureRect5:rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, -1.1286]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("TextureRect5:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
[sub_resource type="Animation" id="Animation_r4h4h"]
resource_name = "lose4"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("TextureRect2:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(0, -4), Vector2(4, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("TextureRect2:rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 0.582677]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("TextureRect2:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
[sub_resource type="Animation" id="Animation_defuy"]
resource_name = "lose5"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("TextureRect3:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(-4, 0), Vector2(-1, 4)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("TextureRect3:rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, -0.909425]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("TextureRect3:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
[sub_resource type="Animation" id="Animation_rctjq"]
resource_name = "lose6"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("TextureRect:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(-4, -4), Vector2(1, 2)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("TextureRect:rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, -1.01031]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("TextureRect:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_1s8yp"]
_data = {
&"RESET": SubResource("Animation_i18y2"),
&"lose1": SubResource("Animation_a6tv4"),
&"lose2": SubResource("Animation_t2ym0"),
&"lose3": SubResource("Animation_ueyfw"),
&"lose4": SubResource("Animation_r4h4h"),
&"lose5": SubResource("Animation_defuy"),
&"lose6": SubResource("Animation_rctjq")
}
[node name="Control" type="Control" unique_id=1161969589]
layout_mode = 3
anchors_preset = 0
script = ExtResource("1_dvlcq")
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=244183235]
libraries/ = SubResource("AnimationLibrary_1s8yp")
[node name="AnimationPlayer2" type="AnimationPlayer" parent="." unique_id=949947909]
libraries/ = SubResource("AnimationLibrary_1s8yp")
[node name="AnimationPlayer3" type="AnimationPlayer" parent="." unique_id=1706547506]
libraries/ = SubResource("AnimationLibrary_1s8yp")
[node name="AnimationPlayer4" type="AnimationPlayer" parent="." unique_id=1153443945]
libraries/ = SubResource("AnimationLibrary_1s8yp")
[node name="AnimationPlayer5" type="AnimationPlayer" parent="." unique_id=885170384]
libraries/ = SubResource("AnimationLibrary_1s8yp")
[node name="AnimationPlayer6" type="AnimationPlayer" parent="." unique_id=307263940]
libraries/ = SubResource("AnimationLibrary_1s8yp")
[node name="TextureRect" type="TextureRect" parent="." unique_id=9205291]
texture_filter = 1
layout_mode = 0
offset_left = -4.0
offset_top = -4.0
offset_right = -1.0
offset_bottom = -1.0
texture = ExtResource("1_pianw")
[node name="TextureRect2" type="TextureRect" parent="." unique_id=29487978]
texture_filter = 1
layout_mode = 0
offset_top = -4.0
offset_right = 3.0
offset_bottom = -1.0
texture = ExtResource("1_pianw")
[node name="TextureRect3" type="TextureRect" parent="." unique_id=692052350]
texture_filter = 1
layout_mode = 0
offset_left = -4.0
offset_right = -1.0
offset_bottom = 3.0
texture = ExtResource("1_pianw")
[node name="TextureRect4" type="TextureRect" parent="." unique_id=1227936244]
texture_filter = 1
layout_mode = 0
offset_right = 3.0
offset_bottom = 3.0
texture = ExtResource("1_pianw")
[node name="TextureRect5" type="TextureRect" parent="." unique_id=1660005670]
texture_filter = 1
layout_mode = 0
offset_left = -4.0
offset_top = 4.0
offset_right = -1.0
offset_bottom = 7.0
texture = ExtResource("1_pianw")
[node name="TextureRect6" type="TextureRect" parent="." unique_id=969991985]
texture_filter = 1
layout_mode = 0
offset_top = 4.0
offset_right = 3.0
offset_bottom = 7.00004
texture = ExtResource("1_pianw")

View File

@@ -1,157 +0,0 @@
[gd_scene format=3 uid="uid://24x18qxqhy0i"]
[ext_resource type="Texture2D" uid="uid://dvy2lvtotaxb3" path="res://Assets/Textures/lifebar_bg.png" id="1_x27cx"]
[ext_resource type="Script" uid="uid://b3g3hofk5pbcp" path="res://Scripts/lives_bar.gd" id="2_lqe7s"]
[ext_resource type="PackedScene" uid="uid://dko38egcaxubd" path="res://UI/lifebar_segment.tscn" id="3_6hp86"]
[node name="LivesBar" type="TextureRect" unique_id=859191658 node_paths=PackedStringArray("segments")]
texture_filter = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_x27cx")
stretch_mode = 2
script = ExtResource("2_lqe7s")
segments = [NodePath("Control"), NodePath("Control2"), NodePath("Control3"), NodePath("Control4"), NodePath("Control5"), NodePath("Control6"), NodePath("Control7"), NodePath("Control8"), NodePath("Control9"), NodePath("Control10"), NodePath("Control11"), NodePath("Control12"), NodePath("Control13"), NodePath("Control14"), NodePath("Control15"), NodePath("Control16"), NodePath("Control17"), NodePath("Control18"), NodePath("Control19"), NodePath("Control20")]
[node name="Control" parent="." unique_id=729640093 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 28.0
offset_top = 10.0
offset_right = 28.0
offset_bottom = 10.0
[node name="Control2" parent="." unique_id=1085928027 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 37.0
offset_top = 10.0
offset_right = 37.0
offset_bottom = 10.0
[node name="Control3" parent="." unique_id=1741253440 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 46.0
offset_top = 10.0
offset_right = 46.0
offset_bottom = 10.0
[node name="Control4" parent="." unique_id=1976292667 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 55.0
offset_top = 10.0
offset_right = 55.0
offset_bottom = 10.0
[node name="Control5" parent="." unique_id=1570870748 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 64.0
offset_top = 10.0
offset_right = 64.0
offset_bottom = 10.0
[node name="Control6" parent="." unique_id=983001473 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 73.0
offset_top = 10.0
offset_right = 73.0
offset_bottom = 10.0
[node name="Control7" parent="." unique_id=1797196927 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 82.0
offset_top = 10.0
offset_right = 82.0
offset_bottom = 10.0
[node name="Control8" parent="." unique_id=745005163 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 91.0
offset_top = 10.0
offset_right = 91.0
offset_bottom = 10.0
[node name="Control9" parent="." unique_id=550382220 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 100.0
offset_top = 10.0
offset_right = 100.0
offset_bottom = 10.0
[node name="Control10" parent="." unique_id=1681262304 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 109.0
offset_top = 10.0
offset_right = 109.0
offset_bottom = 10.0
[node name="Control11" parent="." unique_id=583593107 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 118.0
offset_top = 10.0
offset_right = 118.0
offset_bottom = 10.0
[node name="Control12" parent="." unique_id=150742926 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 127.0
offset_top = 10.0
offset_right = 127.0
offset_bottom = 10.0
[node name="Control13" parent="." unique_id=572669701 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 136.0
offset_top = 10.0
offset_right = 136.0
offset_bottom = 10.0
[node name="Control14" parent="." unique_id=796350357 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 145.0
offset_top = 10.0
offset_right = 145.0
offset_bottom = 10.0
[node name="Control15" parent="." unique_id=1046951763 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 154.0
offset_top = 10.0
offset_right = 154.0
offset_bottom = 10.0
[node name="Control16" parent="." unique_id=902817644 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 163.0
offset_top = 10.0
offset_right = 163.0
offset_bottom = 10.0
[node name="Control17" parent="." unique_id=1387999129 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 172.0
offset_top = 10.0
offset_right = 172.0
offset_bottom = 10.0
[node name="Control18" parent="." unique_id=135262630 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 181.0
offset_top = 10.0
offset_right = 181.0
offset_bottom = 10.0
[node name="Control19" parent="." unique_id=864412244 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 190.0
offset_top = 10.0
offset_right = 190.0
offset_bottom = 10.0
[node name="Control20" parent="." unique_id=2019361846 instance=ExtResource("3_6hp86")]
layout_mode = 0
offset_left = 199.0
offset_top = 10.0
offset_right = 199.0
offset_bottom = 10.0

View File

@@ -1,130 +0,0 @@
[gd_resource type="Theme" format=3 uid="uid://b6a0ip4p72tgx"]
[ext_resource type="FontFile" uid="uid://bqy8dm2o3piqm" path="res://Assets/Fonts/Quaver v1.0/quaver.ttf" id="2_i4k6b"]
[ext_resource type="StyleBox" uid="uid://lpof3jdy7hr7" path="res://UI/new_style_box_flat.tres" id="4_o03gw"]
[ext_resource type="FontFile" uid="uid://c17ml15e2qan0" path="res://Assets/Fonts/TrueType (.ttf)/Sagewold-Regular.ttf" id="4_v3wda"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pyjol"]
content_margin_left = 12.0
content_margin_right = 12.0
bg_color = Color(0.311061, 0.305052, 0.26622, 1)
border_width_top = 2
border_width_bottom = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v3wda"]
bg_color = Color(0.6, 0.6, 0.6, 0)
border_width_left = 12
border_width_top = 12
border_width_right = 12
border_width_bottom = 12
border_color = Color(100, 0, 0, 1)
border_blend = true
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_o03gw"]
bg_color = Color(0.364084, 0.357361, 0.313855, 1)
border_width_top = 2
border_width_bottom = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_i4k6b"]
content_margin_left = 12.0
content_margin_right = 12.0
bg_color = Color(0.470588, 0.462745, 0.411765, 1)
border_width_top = 2
border_width_bottom = 2
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_v3wda"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_v4c6d"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_pdxi3"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_8epi8"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_o02xp"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_s5vy1"]
bg_color = Color(0.579938, 0.571628, 0.517202, 1)
border_width_top = 2
border_width_bottom = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ic3v0"]
content_margin_left = 20.0
content_margin_top = 20.0
content_margin_right = 20.0
content_margin_bottom = 20.0
bg_color = Color(0.47, 0.46154, 0.4136, 1)
border_width_top = 6
border_width_bottom = 6
border_color = Color(0.35, 0.2926, 0.2065, 1)
shadow_color = Color(0, 0, 0, 0)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ehga6"]
content_margin_left = 16.0
content_margin_top = 8.0
content_margin_right = 16.0
content_margin_bottom = 0.0
bg_color = Color(0.470588, 0.462745, 0.411765, 1)
border_width_left = 6
border_width_top = 6
border_width_right = 6
border_color = Color(0.34902, 0.294118, 0.207843, 1)
expand_margin_bottom = 6.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tuxkj"]
content_margin_left = 16.0
content_margin_top = 8.0
content_margin_right = 16.0
content_margin_bottom = 0.0
bg_color = Color(0.292324, 0.286585, 0.24951, 1)
border_width_left = 4
border_width_top = 4
border_width_right = 4
border_color = Color(0.212821, 0.203554, 0.148015, 1)
shadow_color = Color(0, 0, 0, 0)
[resource]
Button/colors/font_color = Color(1, 1, 1, 1)
Button/colors/font_hover_color = Color(0.105882, 0.105882, 0.105882, 1)
Button/font_sizes/font_size = 48
Button/fonts/font = ExtResource("4_v3wda")
Button/styles/disabled = SubResource("StyleBoxFlat_pyjol")
Button/styles/focus = SubResource("StyleBoxFlat_v3wda")
Button/styles/hover = SubResource("StyleBoxFlat_o03gw")
Button/styles/hover_pressed = SubResource("StyleBoxFlat_o03gw")
Button/styles/normal = SubResource("StyleBoxFlat_i4k6b")
Button/styles/pressed = SubResource("StyleBoxFlat_o03gw")
CheckButton/styles/disabled = SubResource("StyleBoxEmpty_v3wda")
CheckButton/styles/hover = SubResource("StyleBoxEmpty_v4c6d")
CheckButton/styles/hover_pressed = SubResource("StyleBoxEmpty_pdxi3")
CheckButton/styles/normal = SubResource("StyleBoxEmpty_8epi8")
CheckButton/styles/pressed = SubResource("StyleBoxEmpty_o02xp")
DamageNumLabel/base_type = &"Label"
DamageNumLabel/font_sizes/font_size = 8
DamageNumLabel/fonts/font = ExtResource("2_i4k6b")
HBoxContainer/constants/separation = 10
Label/colors/font_color = Color(0.941129, 0.938917, 0.927802, 1)
Label/font_sizes/font_size = 34
Label/fonts/font = ExtResource("4_v3wda")
LineEdit/colors/font_color = Color(0.113725, 0.113725, 0.113725, 1)
LineEdit/colors/font_placeholder_color = Color(0.243137, 0.243137, 0.243137, 0.6)
LineEdit/font_sizes/font_size = 28
LineEdit/fonts/font = ExtResource("4_v3wda")
LineEdit/styles/focus = SubResource("StyleBoxFlat_s5vy1")
LineEdit/styles/normal = SubResource("StyleBoxFlat_s5vy1")
PanelContainer/styles/panel = ExtResource("4_o03gw")
StartWaveLabel/base_type = &"Label"
TabBar/fonts/font = ExtResource("4_v3wda")
TabContainer/colors/font_hovered_color = Color(0.894118, 0.890196, 0.870588, 1)
TabContainer/colors/font_selected_color = Color(0.895148, 0.891833, 0.869117, 1)
TabContainer/colors/font_unselected_color = Color(0.636428, 0.628262, 0.574486, 1)
TabContainer/constants/side_margin = 32
TabContainer/font_sizes/font_size = 36
TabContainer/fonts/font = ExtResource("4_v3wda")
TabContainer/styles/panel = SubResource("StyleBoxFlat_ic3v0")
TabContainer/styles/tab_focus = SubResource("StyleBoxFlat_ehga6")
TabContainer/styles/tab_hovered = SubResource("StyleBoxFlat_tuxkj")
TabContainer/styles/tab_selected = SubResource("StyleBoxFlat_ehga6")
TabContainer/styles/tab_unselected = SubResource("StyleBoxFlat_tuxkj")
VersionLabel/base_type = &"Label"
VersionLabel/colors/font_color = Color(0.85, 0.85, 0.85, 0.7)
VersionLabel/font_sizes/font_size = 16