adds game over credits (#74)

## Changes
- Adds game over credits

Reviewed-on: gymkhana/gymkhana#74
Reviewed-by: Eneko Nieto <eneko@eneko.ovh>
Co-authored-by: oier <oierbravo@gmail.com>
Co-committed-by: oier <oierbravo@gmail.com>
This commit is contained in:
2024-11-02 00:59:37 +01:00
committed by Oier Bravo
parent 62e07c83fe
commit f142ea1b5d
20 changed files with 632 additions and 27 deletions

View File

@@ -108,4 +108,4 @@ func _on_paused():
# Handler managing resume notification from Escoria
func _on_resumed():
show_chooser()
show_chooser()

View File

@@ -41,18 +41,18 @@ __meta__ = {
}
[node name="TextureRect" type="TextureRect" parent="main/main"]
margin_top = 55.0
margin_top = 40.0
margin_right = 616.0
margin_bottom = 355.0
margin_bottom = 340.0
texture = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="buttons" type="VBoxContainer" parent="main/main"]
margin_top = 455.0
margin_top = 440.0
margin_right = 616.0
margin_bottom = 695.0
margin_bottom = 710.0
custom_constants/separation = 10
__meta__ = {
"_edit_use_anchors_": false
@@ -67,14 +67,6 @@ text = "NEW_GAME"
__meta__ = {
"_edit_use_anchors_": false
}
; [node name="new_game_without_intro" type="Button" parent="main/main/buttons"]
; margin_right = 616.0
; margin_bottom = 270.0
; size_flags_vertical = 3
; text = "NEW_GAME (without intro)"
; __meta__ = {
; "_edit_use_anchors_": false
; }
[node name="load_game" type="Button" parent="main/main/buttons"]
margin_top = 160.0
@@ -92,20 +84,17 @@ margin_bottom = 210.0
text = "OPTIONS"
[node name="quit" type="Button" parent="main/main/buttons"]
margin_top = 220.0
margin_top = 250.0
margin_right = 616.0
margin_bottom = 240.0
margin_bottom = 270.0
text = "QUIT"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="back_button_pressed" from="load_game" to="." method="_on_load_game_back_button_pressed"]
[connection signal="back_button_pressed" from="options" to="." method="_on_options_back_button_pressed"]
[connection signal="pressed" from="main/main/buttons/new_game" to="." method="_on_new_game_pressed"]
[connection signal="pressed" from="main/main/buttons/load_game" to="." method="_on_load_game_pressed"]
[connection signal="pressed" from="main/main/buttons/options" to="." method="_on_options_pressed"]
[connection signal="pressed" from="main/main/buttons/quit" to="." method="_on_quit_pressed"]
[connection signal="pressed" from="main/main/buttons/new_game_without_intro" to="." method="_on_new_without_intro_pressed"]