Compare commits
No commits in common. "565fbfcc8e5276c942fa8959fb07caec9a4ca51d" and "603dc76e639b5467914e3cf44bfe8d701e59e871" have entirely different histories.
565fbfcc8e
...
603dc76e63
4 changed files with 0 additions and 77 deletions
|
|
@ -117,8 +117,6 @@ func die():
|
|||
child.queue_free()
|
||||
$DeathSound.play()
|
||||
await $DeathSound.finished
|
||||
await get_tree().create_timer(3).timeout
|
||||
get_tree().change_scene_to_file("res://ui/victory_screen/victory_screen.tscn")
|
||||
queue_free()
|
||||
|
||||
func _on_enemy_hurtbox_damage_taken(_damage, _dir) -> void:
|
||||
|
|
|
|||
|
|
@ -1,68 +0,0 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://uyr7i3p0gq87"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://dwlus1hjwtch4" path="res://large_theme.tres" id="1_w5gup"]
|
||||
[ext_resource type="Script" uid="uid://cnyqct7s7m4th" path="res://ui/victory_screen/victory_screen_button_main_menu.gd" id="2_axvl8"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_axvl8"]
|
||||
bg_color = Color(0.25, 0.025000006, 0.025000006, 1)
|
||||
corner_radius_top_left = 20
|
||||
corner_radius_top_right = 20
|
||||
corner_radius_bottom_right = 20
|
||||
corner_radius_bottom_left = 20
|
||||
|
||||
[node name="VictoryScreen" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0, 0, 0, 1)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="ColorRect"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -20.0
|
||||
offset_top = -20.0
|
||||
offset_right = 20.0
|
||||
offset_bottom = 20.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="ColorRect/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(1000, 100)
|
||||
layout_mode = 2
|
||||
theme = ExtResource("1_w5gup")
|
||||
theme_override_colors/default_color = Color(1, 1, 1, 1)
|
||||
text = "Congratulations!"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Spacer" type="Control" parent="ColorRect/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 200)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PanelContainer2" type="PanelContainer" parent="ColorRect/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_axvl8")
|
||||
|
||||
[node name="Button_Main_Menu" type="Button" parent="ColorRect/VBoxContainer/PanelContainer2"]
|
||||
custom_minimum_size = Vector2(400, 100)
|
||||
layout_mode = 2
|
||||
theme_type_variation = &"FlatButton"
|
||||
text = "Main Menu"
|
||||
script = ExtResource("2_axvl8")
|
||||
|
||||
[connection signal="pressed" from="ColorRect/VBoxContainer/PanelContainer2/Button_Main_Menu" to="ColorRect/VBoxContainer/PanelContainer2/Button_Main_Menu" method="_on_pressed"]
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
extends Button
|
||||
|
||||
|
||||
|
||||
func _on_pressed() -> void:
|
||||
get_tree().change_scene_to_file("res://ui/main_menu/main_menu.tscn")
|
||||
|
|
@ -1 +0,0 @@
|
|||
uid://cnyqct7s7m4th
|
||||
Loading…
Add table
Reference in a new issue