Premier commit

This commit is contained in:
2026-09-01 22:41:37 +02:00
commit 7cff988739
133 changed files with 6412 additions and 0 deletions
+264
View File
@@ -0,0 +1,264 @@
[gd_scene format=3 uid="uid://bimqv18m7axjk"]
[ext_resource type="Script" uid="uid://i1k7uvreb7o0" path="res://gui/game_gui/game_gui.gd" id="1_hi8mw"]
[ext_resource type="FontFile" uid="uid://iug4bpafhqp" path="res://common/fonts/BPdotsPlusBold.otf" id="2_dce4h"]
[ext_resource type="Theme" uid="uid://pemhq200t8km" path="res://common/theme/default.tres" id="3_xsn8x"]
[ext_resource type="Texture2D" uid="uid://c46rt5tydx8ih" path="res://common/assets/wheat_pattern.png" id="4_0211q"]
[ext_resource type="Texture2D" uid="uid://dqasylgir7ka2" path="res://common/assets/alien_2d_anim/alien_running.tres" id="4_h86ds"]
[sub_resource type="LabelSettings" id="LabelSettings_s3fup"]
font = ExtResource("2_dce4h")
font_size = 32
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_e6mfr"]
bg_color = Color(0.22352941, 0.03529412, 0.2784314, 1)
border_width_left = 10
border_width_top = 10
border_width_right = 10
border_width_bottom = 10
border_color = Color(0.22352941, 0.03529412, 0.2784314, 1)
corner_radius_top_left = 100
corner_radius_top_right = 100
corner_radius_bottom_right = 100
corner_radius_bottom_left = 100
corner_detail = 1
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_vrt4x"]
bg_color = Color(0.8, 0.25882354, 0.36862746, 1)
corner_radius_top_left = 100
corner_radius_top_right = 100
corner_radius_bottom_right = 100
corner_radius_bottom_left = 100
corner_detail = 1
shadow_color = Color(0, 0, 0, 1)
shadow_offset = Vector2(8.805, 0)
[sub_resource type="Animation" id="Animation_xsn8x"]
resource_name = "Appear"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("ColorRect:modulate")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.1, 0.26666668),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".:visible")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.06666667),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [false, true]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("MarginContainer/VBoxContainer:modulate")
tracks/2/interp = 2
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0.26666668, 0.43333334),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("WheatTextureRect:offset_transform_position")
tracks/3/interp = 2
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0.43333334, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(0, 200), Vector2(0, 0)]
}
[sub_resource type="Animation" id="Animation_0211q"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("ColorRect: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("MarginContainer/VBoxContainer:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("WheatTextureRect:offset_transform_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)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_h86ds"]
_data = {
&"Appear": SubResource("Animation_xsn8x"),
&"RESET": SubResource("Animation_0211q")
}
[node name="GameGui" type="Node" unique_id=1834150819]
script = ExtResource("1_hi8mw")
[node name="InGameGui" type="CanvasLayer" parent="." unique_id=690401621]
[node name="MarginContainer" type="MarginContainer" parent="InGameGui" unique_id=505084840]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 20
theme_override_constants/margin_top = 20
theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 20
[node name="FPSCount" type="Label" parent="InGameGui/MarginContainer" unique_id=1901714455]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
text = "60"
label_settings = SubResource("LabelSettings_s3fup")
[node name="VBoxContainer" type="VBoxContainer" parent="InGameGui/MarginContainer" unique_id=334322492]
layout_mode = 2
size_flags_vertical = 8
[node name="Label" type="Label" parent="InGameGui/MarginContainer/VBoxContainer" unique_id=1844773394]
layout_mode = 2
size_flags_horizontal = 4
theme = ExtResource("3_xsn8x")
text = "HP"
[node name="HPProgressBar" type="ProgressBar" parent="InGameGui/MarginContainer/VBoxContainer" unique_id=1290386622]
unique_name_in_owner = true
custom_minimum_size = Vector2(500, 0)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
theme_override_fonts/font = ExtResource("2_dce4h")
theme_override_styles/background = SubResource("StyleBoxFlat_e6mfr")
theme_override_styles/fill = SubResource("StyleBoxFlat_vrt4x")
value = 53.55
[node name="LoseGui" type="CanvasLayer" parent="." unique_id=1327310714]
process_mode = 3
visible = false
[node name="ColorRect" type="ColorRect" parent="LoseGui" unique_id=2001573710]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.22315995, 0.036399998, 0.28, 0.8627451)
[node name="MarginContainer" type="MarginContainer" parent="LoseGui" unique_id=606840258]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_bottom = 130
[node name="VBoxContainer" type="VBoxContainer" parent="LoseGui/MarginContainer" unique_id=1986040987]
layout_mode = 2
theme = ExtResource("3_xsn8x")
theme_override_constants/separation = 34
alignment = 1
[node name="TextureRect" type="TextureRect" parent="LoseGui/MarginContainer/VBoxContainer" unique_id=661476620]
modulate = Color(0.8, 0.2627451, 0.36862746, 1)
custom_minimum_size = Vector2(300, 118.99)
layout_mode = 2
size_flags_horizontal = 4
texture = ExtResource("4_h86ds")
expand_mode = 1
stretch_mode = 6
[node name="Label" type="Label" parent="LoseGui/MarginContainer/VBoxContainer" unique_id=549082129]
layout_mode = 2
theme = ExtResource("3_xsn8x")
theme_override_font_sizes/font_size = 116
text = "You
Lost"
horizontal_alignment = 1
[node name="Label2" type="RichTextLabel" parent="LoseGui/MarginContainer/VBoxContainer" unique_id=1870970148]
layout_mode = 2
theme = ExtResource("3_xsn8x")
text = "Wave 3"
fit_content = true
horizontal_alignment = 1
[node name="RetryButton" type="Button" parent="LoseGui/MarginContainer/VBoxContainer" unique_id=1360931085]
layout_mode = 2
size_flags_horizontal = 4
theme = ExtResource("3_xsn8x")
text = "Retry"
[node name="WheatTextureRect" type="TextureRect" parent="LoseGui" unique_id=403968258]
custom_minimum_size = Vector2(0, 100)
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -145.0
offset_bottom = 0.00036621094
grow_horizontal = 2
grow_vertical = 0
size_flags_vertical = 8
offset_transform_enabled = true
texture = ExtResource("4_0211q")
stretch_mode = 1
[node name="LooseAnimationPlayer" type="AnimationPlayer" parent="LoseGui" unique_id=1363083305]
unique_name_in_owner = true
libraries/ = SubResource("AnimationLibrary_h86ds")
[connection signal="pressed" from="LoseGui/MarginContainer/VBoxContainer/RetryButton" to="." method="_on_retry_button_pressed"]