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

@@ -0,0 +1,56 @@
[gd_scene load_steps=9 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_room.gd" type="Script" id=1]
[ext_resource path="res://gymkhana/characters/oier/oier.tscn" type="PackedScene" id=2]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/background.png" type="Texture" id=3]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/scrollingText.tscn" type="PackedScene" id=4]
[ext_resource path="res://gymkhana/characters/eneko/eneko_smoking.tscn" type="PackedScene" id=5]
[ext_resource path="res://gymkhana/logo-small.png" type="Texture" id=6]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/SceneHandler.gd" type="Script" id=7]
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/RestartGameButton.gd" type="Script" id=8]
[node name="ESCRoom2" type="Node2D"]
script = ExtResource( 1 )
global_id = "turno_cocina_creditos"
esc_script = "res://gymkhana/rooms/turno_cocina/creditos/esc/creditos.esc"
player_scene = ExtResource( 2 )
camera_limits = [ Rect2( 0, 0, 1280, 577 ) ]
editor_debug_mode = 1
[node name="background" type="Sprite" parent="."]
position = Vector2( 644.5, 372.812 )
scale = Vector2( 1.01797, 1.29008 )
texture = ExtResource( 3 )
[node name="scrollingText" parent="." instance=ExtResource( 4 )]
margin_left = 368.0
margin_top = 764.0
margin_right = 933.0
margin_bottom = 1201.0
[node name="ESCPlayerWithTooltip" parent="." instance=ExtResource( 2 )]
position = Vector2( 175, 532 )
global_id = "oier_head"
[node name="ESCPlayerWithTooltip2" parent="." instance=ExtResource( 5 )]
position = Vector2( 1093, 480 )
global_id = "eneko_head"
[node name="Button" type="Button" parent="."]
margin_left = 495.0
margin_top = 486.0
margin_right = 845.0
margin_bottom = 612.0
text = "Volver a menu"
script = ExtResource( 8 )
[node name="Logo-small" type="Sprite" parent="Button"]
position = Vector2( 176.25, -190.5 )
scale = Vector2( 1.01504, 1.00333 )
texture = ExtResource( 6 )
[node name="Node2D" type="Node2D" parent="."]
script = ExtResource( 7 )
[connection signal="finished" from="scrollingText" to="Node2D" method="_on_scrollingText_finished"]
[connection signal="button_up" from="Button" to="Node2D" method="_on_Button_button_up"]