game over screen and stuff

This commit is contained in:
siembra
2026-02-14 15:35:38 -05:00
parent 2812c4211a
commit 77c41a96fd
19 changed files with 192 additions and 0 deletions

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"godotTools.editorPath.godot4": "/Applications/Godot.app"
}

Binary file not shown.

View File

@@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://dr0f3y1aux6nd"
path="res://.godot/imported/04 Ranma's Home.mp3-ed796bdd417c6193706a950ff007255b.mp3str"
[deps]
source_file="res://assets/audio/music/game/comet_zap/04 Ranma's Home.mp3"
dest_files=["res://.godot/imported/04 Ranma's Home.mp3-ed796bdd417c6193706a950ff007255b.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

View File

@@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://n0c01kuajxx5"
path="res://.godot/imported/Better Luck Next Time! - Mario Kart Wii (Soundtrack) [sI61TCby6Z4].mp3-141d7e12733916776928a7373aa7f177.mp3str"
[deps]
source_file="res://assets/audio/music/game/comet_zap/game_over/Better Luck Next Time! - Mario Kart Wii (Soundtrack) [sI61TCby6Z4].mp3"
dest_files=["res://.godot/imported/Better Luck Next Time! - Mario Kart Wii (Soundtrack) [sI61TCby6Z4].mp3-141d7e12733916776928a7373aa7f177.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

View File

@@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://cboj3eff78kep"
path="res://.godot/imported/Finish Line (Lose) - Mario Kart Wii (Soundtrack) [Znjt4LvF4js].mp3-312f9d0d44463cbb684385f49abdfbc6.mp3str"
[deps]
source_file="res://assets/audio/music/game/comet_zap/game_over/Finish Line (Lose) - Mario Kart Wii (Soundtrack) [Znjt4LvF4js].mp3"
dest_files=["res://.godot/imported/Finish Line (Lose) - Mario Kart Wii (Soundtrack) [Znjt4LvF4js].mp3-312f9d0d44463cbb684385f49abdfbc6.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

View File

@@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://pfu68h7hatxm"
path="res://.godot/imported/Losing Results (Race) - Mario Kart Wii (Soundtrack) [hmJPzte8nEI].mp3-86b11b6b9dd614e3d39664c381217f98.mp3str"
[deps]
source_file="res://assets/audio/music/game/comet_zap/game_over/Losing Results (Race) - Mario Kart Wii (Soundtrack) [hmJPzte8nEI].mp3"
dest_files=["res://.godot/imported/Losing Results (Race) - Mario Kart Wii (Soundtrack) [hmJPzte8nEI].mp3-86b11b6b9dd614e3d39664c381217f98.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

View File

@@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://c4drvuieit6x5"
path="res://.godot/imported/Romeo Santos Eres Mía Audio [vY_3YrKtUUE].mp3-658c1247871f6a4d74bd0695dc21c9d4.mp3str"
[deps]
source_file="res://assets/audio/music/game/comet_zap/game_over/Romeo Santos Eres Mía Audio [vY_3YrKtUUE].mp3"
dest_files=["res://.godot/imported/Romeo Santos Eres Mía Audio [vY_3YrKtUUE].mp3-658c1247871f6a4d74bd0695dc21c9d4.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

BIN
assets/audio/sfx/break.mp3 Normal file

Binary file not shown.

View File

@@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://b2xxkgi6bcfh2"
path="res://.godot/imported/break.mp3-9e0a82c915fab2700f19164e60cad8e9.mp3str"
[deps]
source_file="res://assets/audio/sfx/break.mp3"
dest_files=["res://.godot/imported/break.mp3-9e0a82c915fab2700f19164e60cad8e9.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cif65rts2oljo"
path="res://.godot/imported/Hornet_Idle.png-c4a98933d1285cde74a1aee36aaaa223.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/visual/sprites/Hornet_Idle.png"
dest_files=["res://.godot/imported/Hornet_Idle.png-c4a98933d1285cde74a1aee36aaaa223.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

15
scenes/game/exit.gd Normal file
View File

@@ -0,0 +1,15 @@
extends Button
var button_sound
var fade
func _ready() -> void:
button_sound = get_tree().current_scene.get_node("ButtonPress")
fade = get_tree().current_scene.get_node("OnTop").get_node("Fade")
func _on_pressed() -> void:
var tween := create_tween()
tween.parallel().tween_property(fade, "modulate:a", 1, 1).set_trans(Tween.TRANS_SINE).set_ease(Tween.EASE_OUT)
button_sound.play()
await button_sound.finished
get_tree().change_scene_to_file("res://scenes/menus/start_menu/title.tscn")

1
scenes/game/exit.gd.uid Normal file
View File

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

18
scenes/game/restart.gd Normal file
View File

@@ -0,0 +1,18 @@
extends Button
var button_sound
var fade
func _ready() -> void:
button_sound = get_tree().current_scene.get_node("ButtonPress")
fade = get_tree().current_scene.get_node("OnTop").get_node("Fade")
func _on_pressed() -> void:
var tween := create_tween()
tween.parallel().tween_property(fade, "modulate:a", 1, 1).set_trans(Tween.TRANS_SINE).set_ease(Tween.EASE_OUT)
button_sound.play()
await button_sound.finished
var next_scene = load("res://scenes/game/comet_zap.tscn").instantiate()
next_scene.word_set = get_tree().current_scene.word_set
get_tree().change_scene_to_node(next_scene)

View File

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