game over screen and stuff
This commit is contained in:
@@ -2,15 +2,25 @@
|
||||
|
||||
[ext_resource type="Script" uid="uid://c7vntfq6dyb2k" path="res://scenes/game/comet_zap.gd" id="1_eyb20"]
|
||||
[ext_resource type="Texture2D" uid="uid://b0jndopqfkddu" path="res://assets/visual/backgrounds/omori/Battle Backgrounds/battleback_ow_outskirts.png" id="2_2j0xl"]
|
||||
[ext_resource type="AudioStream" uid="uid://b2l55uknctgo6" path="res://assets/audio/music/game/comet_zap/Ranma Nibun-no-ichi Bakuretsu Rantouhen - King's Casino [Qk0v_NIqVPg].mp3" id="2_ije4o"]
|
||||
[ext_resource type="AudioStream" uid="uid://dr0f3y1aux6nd" path="res://assets/audio/music/game/comet_zap/04 Ranma's Home.mp3" id="3_6eapk"]
|
||||
[ext_resource type="AudioStream" uid="uid://ckr4pf3etle0p" path="res://assets/audio/sfx/SYS_cancel.ogg" id="4_2j0xl"]
|
||||
[ext_resource type="Texture2D" uid="uid://jd2rnhvq6gl6" path="res://original data/images/tux/tux-yes2.png" id="4_yib6v"]
|
||||
[ext_resource type="AudioStream" uid="uid://t6tbvilcrwy8" path="res://assets/audio/sfx/SE_Push.ogg" id="5_62k7v"]
|
||||
[ext_resource type="AudioStream" uid="uid://b2xxkgi6bcfh2" path="res://assets/audio/sfx/break.mp3" id="6_6eapk"]
|
||||
[ext_resource type="PackedScene" uid="uid://dm6jp4gjboooc" path="res://scenes/menus/pause/pause.tscn" id="6_cjaft"]
|
||||
[ext_resource type="AudioStream" uid="uid://podscahsf0d4" path="res://assets/audio/sfx/MenuAccept.wav" id="7_4elh0"]
|
||||
[ext_resource type="AudioStream" uid="uid://cboj3eff78kep" path="res://assets/audio/music/game/comet_zap/game_over/Finish Line (Lose) - Mario Kart Wii (Soundtrack) [Znjt4LvF4js].mp3" id="8_jnvlf"]
|
||||
[ext_resource type="AudioStream" uid="uid://c4drvuieit6x5" path="res://assets/audio/music/game/comet_zap/game_over/Romeo Santos Eres Mía Audio [vY_3YrKtUUE].mp3" id="9_rlh21"]
|
||||
[ext_resource type="Script" uid="uid://or8mcd735o0r" path="res://scenes/game/restart.gd" id="10_apana"]
|
||||
[ext_resource type="Script" uid="uid://crxm56favhwos" path="res://scenes/game/exit.gd" id="11_jnvlf"]
|
||||
[ext_resource type="Texture2D" uid="uid://cif65rts2oljo" path="res://assets/visual/sprites/Hornet_Idle.png" id="12_rlh21"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_2j0xl"]
|
||||
font_size = 50
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_xsyba"]
|
||||
font_size = 128
|
||||
|
||||
[node name="CometZap" type="Node2D" unique_id=1227404695]
|
||||
script = ExtResource("1_eyb20")
|
||||
|
||||
@@ -38,7 +48,8 @@ expand_mode = 1
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="BackgroundMusic" type="AudioStreamPlayer2D" parent="." unique_id=1814622732]
|
||||
stream = ExtResource("2_ije4o")
|
||||
stream = ExtResource("3_6eapk")
|
||||
volume_db = 5.0
|
||||
autoplay = true
|
||||
parameters/looping = true
|
||||
|
||||
@@ -48,6 +59,19 @@ stream = ExtResource("4_2j0xl")
|
||||
[node name="CometBreakSound" type="AudioStreamPlayer2D" parent="." unique_id=169663936]
|
||||
stream = ExtResource("5_62k7v")
|
||||
|
||||
[node name="Miss" type="AudioStreamPlayer2D" parent="." unique_id=1721176045]
|
||||
stream = ExtResource("6_6eapk")
|
||||
|
||||
[node name="ButtonPress" type="AudioStreamPlayer2D" parent="." unique_id=1890596377]
|
||||
stream = ExtResource("7_4elh0")
|
||||
volume_db = -10.0
|
||||
|
||||
[node name="Lose" type="AudioStreamPlayer2D" parent="." unique_id=1672401064]
|
||||
stream = ExtResource("8_jnvlf")
|
||||
|
||||
[node name="Sad" type="AudioStreamPlayer2D" parent="." unique_id=228584401]
|
||||
stream = ExtResource("9_rlh21")
|
||||
|
||||
[node name="Tux" type="Sprite2D" parent="." unique_id=1799546830]
|
||||
position = Vector2(960, 990)
|
||||
scale = Vector2(3.583, 3)
|
||||
@@ -97,6 +121,81 @@ label_settings = SubResource("LabelSettings_2j0xl")
|
||||
[node name="Pause" parent="OnTop" unique_id=1227462733 instance=ExtResource("6_cjaft")]
|
||||
visible = false
|
||||
|
||||
[node name="GameOver" type="Control" parent="OnTop" unique_id=2084475928]
|
||||
visible = false
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Dim" type="ColorRect" parent="OnTop/GameOver" unique_id=651690269]
|
||||
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, 0.29411766)
|
||||
|
||||
[node name="Label" type="Label" parent="OnTop/GameOver" unique_id=1830840075]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -277.0
|
||||
offset_top = -290.0
|
||||
offset_right = 277.0
|
||||
offset_bottom = -114.99994
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "GIT GUD!"
|
||||
label_settings = SubResource("LabelSettings_xsyba")
|
||||
|
||||
[node name="Buttons" type="BoxContainer" parent="OnTop/GameOver" unique_id=812956524]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -267.0
|
||||
offset_top = -118.75
|
||||
offset_right = 267.0
|
||||
offset_bottom = 118.75
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
alignment = 1
|
||||
vertical = true
|
||||
|
||||
[node name="Restart" type="Button" parent="OnTop/GameOver/Buttons" unique_id=702028007]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "Restart
|
||||
"
|
||||
script = ExtResource("10_apana")
|
||||
|
||||
[node name="Exit" type="Button" parent="OnTop/GameOver/Buttons" unique_id=1929956127]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "Back To Title
|
||||
"
|
||||
script = ExtResource("11_jnvlf")
|
||||
|
||||
[node name="silson" type="TextureRect" parent="OnTop/GameOver" unique_id=761029797]
|
||||
layout_mode = 0
|
||||
offset_left = 1270.0
|
||||
offset_top = 394.0
|
||||
offset_right = 1863.0
|
||||
offset_bottom = 1185.0
|
||||
texture = ExtResource("12_rlh21")
|
||||
stretch_mode = 4
|
||||
|
||||
[node name="Fade" type="ColorRect" parent="OnTop" unique_id=1872046404]
|
||||
visible = false
|
||||
anchors_preset = 15
|
||||
@@ -106,3 +205,6 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(0, 0, 0, 1)
|
||||
|
||||
[connection signal="pressed" from="OnTop/GameOver/Buttons/Restart" to="OnTop/GameOver/Buttons/Restart" method="_on_pressed"]
|
||||
[connection signal="pressed" from="OnTop/GameOver/Buttons/Exit" to="OnTop/GameOver/Buttons/Exit" method="_on_pressed"]
|
||||
|
||||
Reference in New Issue
Block a user