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:
@@ -41,18 +41,18 @@ __meta__ = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[node name="TextureRect" type="TextureRect" parent="main/main"]
|
[node name="TextureRect" type="TextureRect" parent="main/main"]
|
||||||
margin_top = 55.0
|
margin_top = 40.0
|
||||||
margin_right = 616.0
|
margin_right = 616.0
|
||||||
margin_bottom = 355.0
|
margin_bottom = 340.0
|
||||||
texture = ExtResource( 3 )
|
texture = ExtResource( 3 )
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_use_anchors_": false
|
"_edit_use_anchors_": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="buttons" type="VBoxContainer" parent="main/main"]
|
[node name="buttons" type="VBoxContainer" parent="main/main"]
|
||||||
margin_top = 455.0
|
margin_top = 440.0
|
||||||
margin_right = 616.0
|
margin_right = 616.0
|
||||||
margin_bottom = 695.0
|
margin_bottom = 710.0
|
||||||
custom_constants/separation = 10
|
custom_constants/separation = 10
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_use_anchors_": false
|
"_edit_use_anchors_": false
|
||||||
@@ -67,14 +67,6 @@ text = "NEW_GAME"
|
|||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_use_anchors_": false
|
"_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"]
|
[node name="load_game" type="Button" parent="main/main/buttons"]
|
||||||
margin_top = 160.0
|
margin_top = 160.0
|
||||||
@@ -92,20 +84,17 @@ margin_bottom = 210.0
|
|||||||
text = "OPTIONS"
|
text = "OPTIONS"
|
||||||
|
|
||||||
[node name="quit" type="Button" parent="main/main/buttons"]
|
[node name="quit" type="Button" parent="main/main/buttons"]
|
||||||
margin_top = 220.0
|
margin_top = 250.0
|
||||||
margin_right = 616.0
|
margin_right = 616.0
|
||||||
margin_bottom = 240.0
|
margin_bottom = 270.0
|
||||||
text = "QUIT"
|
text = "QUIT"
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_use_anchors_": false
|
"_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="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="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/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/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/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/quit" to="." method="_on_quit_pressed"]
|
||||||
[connection signal="pressed" from="main/main/buttons/new_game_without_intro" to="." method="_on_new_without_intro_pressed"]
|
|
||||||
|
|||||||
@@ -78,12 +78,14 @@ set_active cocina_delante_puerta_detras true
|
|||||||
set_global cocina_delante_catando false
|
set_global cocina_delante_catando false
|
||||||
> [turno_cocina_ingrediente_patatas,turno_cocina_ingrediente_ajo_en_lentejas,turno_cocina_ingrediente_romero]
|
> [turno_cocina_ingrediente_patatas,turno_cocina_ingrediente_ajo_en_lentejas,turno_cocina_ingrediente_romero]
|
||||||
play_video res://gymkhana/videos/turno_cocina/eneko_sale_le_gusta_muchisimo.ogv
|
play_video res://gymkhana/videos/turno_cocina/eneko_sale_le_gusta_muchisimo.ogv
|
||||||
|
set_global turno_cocina_eneko_cata_ok true
|
||||||
set_active eneko_smoking true
|
set_active eneko_smoking true
|
||||||
set_active turno_cocina_ajo false
|
set_active turno_cocina_ajo false
|
||||||
play_snd res://gymkhana/sounds/music_loop.ogg _music
|
play_snd res://gymkhana/sounds/music_loop.ogg _music
|
||||||
stop
|
stop
|
||||||
> [turno_cocina_ingrediente_patatas,turno_cocina_ingrediente_ajo_en_lentejas]
|
> [turno_cocina_ingrediente_patatas,turno_cocina_ingrediente_ajo_en_lentejas]
|
||||||
play_video res://gymkhana/videos/turno_cocina/eneko_sale_le_gusta.ogv
|
play_video res://gymkhana/videos/turno_cocina/eneko_sale_le_gusta.ogv
|
||||||
|
set_global turno_cocina_eneko_cata_ok true
|
||||||
set_active eneko_smoking true
|
set_active eneko_smoking true
|
||||||
set_active turno_cocina_ajo false
|
set_active turno_cocina_ajo false
|
||||||
play_snd res://gymkhana/sounds/music_loop.ogg _music
|
play_snd res://gymkhana/sounds/music_loop.ogg _music
|
||||||
|
|||||||
@@ -46,10 +46,10 @@ is_movable = true
|
|||||||
combine_when_selected_action_is_in = [ ]
|
combine_when_selected_action_is_in = [ ]
|
||||||
dialog_color = Color( 0.584314, 0.490196, 0.270588, 1 )
|
dialog_color = Color( 0.584314, 0.490196, 0.270588, 1 )
|
||||||
custom_data = {
|
custom_data = {
|
||||||
"tooltips": {
|
"tooltips": {
|
||||||
"action1": "cocina_delante_eneko_smoking_action1",
|
"action1": "cocina_delante_eneko_smoking_action1",
|
||||||
"action2": "cocina_delante_eneko_smoking_action2"
|
"action2": "cocina_delante_eneko_smoking_action2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
action3_target_texts = {
|
action3_target_texts = {
|
||||||
"turno_cocina_frontal": "Ofrecer",
|
"turno_cocina_frontal": "Ofrecer",
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
BIN
gymkhana/characters/talking-heads/assets/oier-avatar-talking.png
Normal file
BIN
gymkhana/characters/talking-heads/assets/oier-avatar-talking.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
73
gymkhana/characters/talking-heads/eneko.tscn
Normal file
73
gymkhana/characters/talking-heads/eneko.tscn
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
[gd_scene load_steps=9 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://gymkhana/characters/eneko/eneko_smoking_animatios.tres" type="Resource" id=1]
|
||||||
|
[ext_resource path="res://addons/escoria-ui-return-monkey-island/esc_player_with_tooltip.gd" type="Script" id=2]
|
||||||
|
[ext_resource path="res://gymkhana/characters/talking-heads/assets/eneko-avatar-talking.png" type="Texture" id=3]
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=2]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 0, 0, 72, 72 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=3]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 0, 0, 72, 72 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=4]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 72, 0, 72, 72 )
|
||||||
|
|
||||||
|
[sub_resource type="SpriteFrames" id=1]
|
||||||
|
animations = [ {
|
||||||
|
"frames": [ SubResource( 2 ) ],
|
||||||
|
"loop": true,
|
||||||
|
"name": "idle",
|
||||||
|
"speed": 5.0
|
||||||
|
}, {
|
||||||
|
"frames": [ SubResource( 3 ), SubResource( 4 ) ],
|
||||||
|
"loop": true,
|
||||||
|
"name": "speak",
|
||||||
|
"speed": 5.0
|
||||||
|
} ]
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id=5]
|
||||||
|
radius = 40.1123
|
||||||
|
|
||||||
|
[node name="ESCPlayerWithTooltip2" type="Area2D"]
|
||||||
|
pause_mode = 1
|
||||||
|
script = ExtResource( 2 )
|
||||||
|
global_id = "eneko_head"
|
||||||
|
is_interactive = false
|
||||||
|
is_movable = true
|
||||||
|
player_orients_on_arrival = false
|
||||||
|
combine_when_selected_action_is_in = [ ]
|
||||||
|
dialog_color = Color( 0, 0.560784, 0.0470588, 1 )
|
||||||
|
custom_data = {
|
||||||
|
"tooltips": {
|
||||||
|
"action1": "cocina_delante_eneko_smoking_action1",
|
||||||
|
"action2": "cocina_delante_eneko_smoking_action2"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
action3_target_texts = {
|
||||||
|
"turno_cocina_frontal": "Ofrecer",
|
||||||
|
"turno_cocina_madera": "Ofrecerle leña"
|
||||||
|
}
|
||||||
|
target_when_selected_action_is_in = [ "action3" ]
|
||||||
|
selectable = true
|
||||||
|
animations = ExtResource( 1 )
|
||||||
|
|
||||||
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||||
|
position = Vector2( -1, 0 )
|
||||||
|
scale = Vector2( 1.67778, 1.67778 )
|
||||||
|
frames = SubResource( 1 )
|
||||||
|
animation = "speak"
|
||||||
|
flip_h = true
|
||||||
|
|
||||||
|
[node name="dialog_position" type="Position2D" parent="."]
|
||||||
|
position = Vector2( -1, -153 )
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
|
position = Vector2( 0, 1 )
|
||||||
|
shape = SubResource( 5 )
|
||||||
74
gymkhana/characters/talking-heads/oier.tscn
Normal file
74
gymkhana/characters/talking-heads/oier.tscn
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
[gd_scene load_steps=9 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://gymkhana/characters/eneko/eneko_smoking_animatios.tres" type="Resource" id=1]
|
||||||
|
[ext_resource path="res://addons/escoria-ui-return-monkey-island/esc_player_with_tooltip.gd" type="Script" id=2]
|
||||||
|
[ext_resource path="res://gymkhana/characters/talking-heads/assets/oier-avatar-talking.png" type="Texture" id=3]
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=2]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 0, 0, 72, 72 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=3]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 0, 0, 72, 72 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=4]
|
||||||
|
flags = 4
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 72, 0, 72, 72 )
|
||||||
|
|
||||||
|
[sub_resource type="SpriteFrames" id=1]
|
||||||
|
animations = [ {
|
||||||
|
"frames": [ SubResource( 2 ) ],
|
||||||
|
"loop": true,
|
||||||
|
"name": "idle",
|
||||||
|
"speed": 5.0
|
||||||
|
}, {
|
||||||
|
"frames": [ SubResource( 3 ), SubResource( 4 ) ],
|
||||||
|
"loop": true,
|
||||||
|
"name": "speak",
|
||||||
|
"speed": 5.0
|
||||||
|
} ]
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id=5]
|
||||||
|
radius = 40.1123
|
||||||
|
|
||||||
|
[node name="ESCPlayerWithTooltip2" type="Area2D"]
|
||||||
|
pause_mode = 1
|
||||||
|
script = ExtResource( 2 )
|
||||||
|
global_id = "oier_head"
|
||||||
|
is_interactive = false
|
||||||
|
is_movable = true
|
||||||
|
player_orients_on_arrival = false
|
||||||
|
combine_when_selected_action_is_in = [ ]
|
||||||
|
dialog_color = Color( 0.584314, 0.490196, 0.270588, 1 )
|
||||||
|
custom_data = {
|
||||||
|
"tooltips": {
|
||||||
|
"action1": "cocina_delante_eneko_smoking_action1",
|
||||||
|
"action2": "cocina_delante_eneko_smoking_action2"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
action3_target_texts = {
|
||||||
|
"turno_cocina_frontal": "Ofrecer",
|
||||||
|
"turno_cocina_madera": "Ofrecerle leña"
|
||||||
|
}
|
||||||
|
target_when_selected_action_is_in = [ "action3" ]
|
||||||
|
selectable = true
|
||||||
|
animations = ExtResource( 1 )
|
||||||
|
|
||||||
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||||
|
position = Vector2( -1, 0 )
|
||||||
|
scale = Vector2( 1.67778, 1.67778 )
|
||||||
|
frames = SubResource( 1 )
|
||||||
|
animation = "speak"
|
||||||
|
flip_h = true
|
||||||
|
|
||||||
|
[node name="dialog_position" type="Position2D" parent="."]
|
||||||
|
position = Vector2( -1, -153 )
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
|
visible = false
|
||||||
|
position = Vector2( 0, 1 )
|
||||||
|
shape = SubResource( 5 )
|
||||||
@@ -15,10 +15,9 @@ say player "Parece un cuerno de algún animal. Lo usan para llamar a comer."
|
|||||||
walk_block player puerta_cocina_start
|
walk_block player puerta_cocina_start
|
||||||
set_angle player 180
|
set_angle player 180
|
||||||
stop_snd
|
stop_snd
|
||||||
> [turno_cocina_ingrediente_patatas,turno_cocina_ingrediente_ajo_en_lentejas]
|
> [turno_cocina_eneko_cata_ok]
|
||||||
play_video res://gymkhana/videos/turno_cocina/cuerno_epico.ogv
|
play_video res://gymkhana/videos/turno_cocina/cuerno_epico.ogv
|
||||||
# TODO Credits
|
change_scene res://gymkhana/rooms/turno_cocina/creditos/creditos.tscn
|
||||||
show_menu main
|
|
||||||
stop
|
stop
|
||||||
play_video res://gymkhana/videos/turno_cocina/cuerno_antes_de_tiempo.ogv
|
play_video res://gymkhana/videos/turno_cocina/cuerno_antes_de_tiempo.ogv
|
||||||
play_snd res://gymkhana/sounds/music_loop.ogg _music
|
play_snd res://gymkhana/sounds/music_loop.ogg _music
|
||||||
|
|||||||
11
gymkhana/rooms/turno_cocina/creditos/RestartGameButton.gd
Normal file
11
gymkhana/rooms/turno_cocina/creditos/RestartGameButton.gd
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
extends Button
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready():
|
||||||
|
self.visible = false
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _process(delta):
|
||||||
|
if(escoria.globals_manager.get_global("turno_cocina_creditos_return_to_menu_visible")):
|
||||||
|
self.visible = true
|
||||||
27
gymkhana/rooms/turno_cocina/creditos/SceneHandler.gd
Normal file
27
gymkhana/rooms/turno_cocina/creditos/SceneHandler.gd
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
extends Node2D
|
||||||
|
|
||||||
|
|
||||||
|
# Declare member variables here. Examples:
|
||||||
|
# var a = 2
|
||||||
|
# var b = "text"
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready():
|
||||||
|
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
#func _process(delta):
|
||||||
|
# pass
|
||||||
|
|
||||||
|
|
||||||
|
func _on_scrollingText_finished():
|
||||||
|
escoria.globals_manager.set_global("turno_cocina_creditos_return_to_menu_visible", true)
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Button_button_up():
|
||||||
|
escoria.game_scene.show_main_menu()
|
||||||
|
pass # Replace with function body.
|
||||||
BIN
gymkhana/rooms/turno_cocina/creditos/assets/background.png
Normal file
BIN
gymkhana/rooms/turno_cocina/creditos/assets/background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
16
gymkhana/rooms/turno_cocina/creditos/creditos.gd
Normal file
16
gymkhana/rooms/turno_cocina/creditos/creditos.gd
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
extends Node2D
|
||||||
|
|
||||||
|
|
||||||
|
# Declare member variables here. Examples:
|
||||||
|
# var a = 2
|
||||||
|
# var b = "text"
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready():
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
#func _process(delta):
|
||||||
|
# pass
|
||||||
56
gymkhana/rooms/turno_cocina/creditos/creditos.tscn
Normal file
56
gymkhana/rooms/turno_cocina/creditos/creditos.tscn
Normal 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"]
|
||||||
23
gymkhana/rooms/turno_cocina/creditos/esc/creditos.esc
Normal file
23
gymkhana/rooms/turno_cocina/creditos/esc/creditos.esc
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
:setup
|
||||||
|
play_snd res://gymkhana/sounds/intro_menu_loop.ogg _music
|
||||||
|
accept_input NONE
|
||||||
|
set_gui_visible false
|
||||||
|
set_global turno_cocina_creditos_return_to_menu_evisible false
|
||||||
|
set_interactive eneko_head false
|
||||||
|
transition fade_black out 2.0
|
||||||
|
|
||||||
|
:ready
|
||||||
|
set_gui_visible false
|
||||||
|
set_global game_over true
|
||||||
|
transition fade_black in 2.0
|
||||||
|
|
||||||
|
say oier_head "No se me ocurre nada que decir."
|
||||||
|
say eneko_head "A mi tampoco."
|
||||||
|
say eneko_head "Fumamos!?"
|
||||||
|
say oier_head "Me pasas un filttro?"
|
||||||
|
say eneko_head "..."
|
||||||
|
say eneko_head "¡%&@@4!"
|
||||||
|
say oier_head "Ok"
|
||||||
|
say oier_head "Lanzamos los creditos?"
|
||||||
|
say eneko_head "Daleee!"
|
||||||
|
set_global turno_credits_rolling true
|
||||||
14
gymkhana/rooms/turno_cocina/creditos/scrollingText.gd
Normal file
14
gymkhana/rooms/turno_cocina/creditos/scrollingText.gd
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
extends VBoxContainer
|
||||||
|
|
||||||
|
signal finished
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
func _process(delta):
|
||||||
|
var size = self.get_global_rect().size
|
||||||
|
if escoria.globals_manager.get_global("turno_credits_rolling"):
|
||||||
|
self.set_position(self.get_position() + Vector2(0, -1))
|
||||||
|
if self.get_position().y < 0 - size.y:
|
||||||
|
escoria.globals_manager.set_global("turno_credits_rolling", false)
|
||||||
|
emit_signal("finished")
|
||||||
59
gymkhana/rooms/turno_cocina/creditos/scrollingText.tscn
Normal file
59
gymkhana/rooms/turno_cocina/creditos/scrollingText.tscn
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://gymkhana/logo-small.png" type="Texture" id=1]
|
||||||
|
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/scrollingText.gd" type="Script" id=2]
|
||||||
|
|
||||||
|
[node name="scrollingText" type="VBoxContainer"]
|
||||||
|
margin_left = 357.0
|
||||||
|
margin_right = 922.0
|
||||||
|
margin_bottom = 437.0
|
||||||
|
script = ExtResource( 2 )
|
||||||
|
|
||||||
|
[node name="LabelContainer" type="HBoxContainer" parent="."]
|
||||||
|
margin_right = 565.0
|
||||||
|
margin_bottom = 133.0
|
||||||
|
|
||||||
|
[node name="margin" type="MarginContainer" parent="LabelContainer"]
|
||||||
|
margin_right = 280.0
|
||||||
|
margin_bottom = 65.0
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
size_flags_vertical = 0
|
||||||
|
|
||||||
|
[node name="Titles" type="Label" parent="LabelContainer/margin"]
|
||||||
|
margin_right = 280.0
|
||||||
|
margin_bottom = 65.0
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
size_flags_vertical = 0
|
||||||
|
text = "Un poco de todo:
|
||||||
|
|
||||||
|
|
||||||
|
Agradecimientos:"
|
||||||
|
align = 2
|
||||||
|
uppercase = true
|
||||||
|
|
||||||
|
[node name="margin2" type="MarginContainer" parent="LabelContainer"]
|
||||||
|
margin_left = 284.0
|
||||||
|
margin_right = 565.0
|
||||||
|
margin_bottom = 133.0
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
size_flags_vertical = 0
|
||||||
|
|
||||||
|
[node name="Names" type="Label" parent="LabelContainer/margin2"]
|
||||||
|
margin_right = 281.0
|
||||||
|
margin_bottom = 133.0
|
||||||
|
size_flags_horizontal = 3
|
||||||
|
size_flags_vertical = 0
|
||||||
|
text = "Eneko
|
||||||
|
Oier
|
||||||
|
|
||||||
|
|
||||||
|
Miette
|
||||||
|
Niko
|
||||||
|
Piko
|
||||||
|
Urtzi"
|
||||||
|
|
||||||
|
[node name="TextureRect" type="TextureRect" parent="."]
|
||||||
|
margin_top = 137.0
|
||||||
|
margin_right = 565.0
|
||||||
|
margin_bottom = 437.0
|
||||||
|
texture = ExtResource( 1 )
|
||||||
@@ -846,7 +846,7 @@ _global_script_class_icons={
|
|||||||
"ESCItemComponentInventoryChecker": "",
|
"ESCItemComponentInventoryChecker": "",
|
||||||
"ESCItemComponentOutline": "",
|
"ESCItemComponentOutline": "",
|
||||||
"ESCItemCountManager": "",
|
"ESCItemCountManager": "",
|
||||||
"ESCItemWithTooltip": "res://addons/escoria-core/design/esc_item.svg",
|
"ESCItemWithTooltip": "",
|
||||||
"ESCLocation": "res://addons/escoria-core/design/esc_location.svg",
|
"ESCLocation": "res://addons/escoria-core/design/esc_location.svg",
|
||||||
"ESCMain": "",
|
"ESCMain": "",
|
||||||
"ESCMigration": "",
|
"ESCMigration": "",
|
||||||
|
|||||||
262
saves/save_004.tres
Normal file
262
saves/save_004.tres
Normal file
@@ -0,0 +1,262 @@
|
|||||||
|
[gd_resource type="Resource" load_steps=2 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://addons/escoria-core/game/core-scripts/save_data/esc_savegame.gd" type="Script" id=1]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
script = ExtResource( 1 )
|
||||||
|
escoria_version = "1.0.0"
|
||||||
|
game_version = "0.1.0"
|
||||||
|
name = "creditos"
|
||||||
|
date = {
|
||||||
|
"day": 1,
|
||||||
|
"dst": false,
|
||||||
|
"hour": 22,
|
||||||
|
"minute": 35,
|
||||||
|
"month": 11,
|
||||||
|
"second": 33,
|
||||||
|
"weekday": 5,
|
||||||
|
"year": 2024
|
||||||
|
}
|
||||||
|
main = {
|
||||||
|
"current_scene_filename": "res://gymkhana/rooms/turno_cocina/cocina_delante/cocina_delante.tscn",
|
||||||
|
"last_scene_global_id": "cocina_delante"
|
||||||
|
}
|
||||||
|
globals = {
|
||||||
|
"ESC_CURRENT_SCENE": "cocina_delante",
|
||||||
|
"ESC_DIALOG_CHOSEN_OPTION": "¿Que te parece que haga la comida?",
|
||||||
|
"ESC_LAST_SCENE": "cocina",
|
||||||
|
"FORCE_LAST_SCENE_NULL": false,
|
||||||
|
"cocina_delante_intro_played": true,
|
||||||
|
"cocina_intro_played": true,
|
||||||
|
"intro_dialog2_playing": false,
|
||||||
|
"new_game": true,
|
||||||
|
"turno_cocina_eneko_catando": false,
|
||||||
|
"turno_cocina_ingrediente_ajo_en_lentejas": true,
|
||||||
|
"turno_cocina_ingrediente_lentejas": true,
|
||||||
|
"turno_cocina_ingrediente_patatas": true,
|
||||||
|
"turno_cocina_ingrediente_romero": true,
|
||||||
|
"turno_cocina_eneko_cata_ok": true,
|
||||||
|
"turno_cocina_libro_leido_count": 0
|
||||||
|
}
|
||||||
|
inventory = [ "turno_cocina_frontal", "turno_cocina_libro_de_cocina", "turno_cocina_cuerno" ]
|
||||||
|
objects = {
|
||||||
|
"_music": {
|
||||||
|
"active": true,
|
||||||
|
"interactive": true,
|
||||||
|
"playback_position": 0.523356,
|
||||||
|
"state": "res://gymkhana/sounds/music_loop.ogg"
|
||||||
|
},
|
||||||
|
"_sound": {
|
||||||
|
"active": true,
|
||||||
|
"interactive": true,
|
||||||
|
"playback_position": 4.62113,
|
||||||
|
"state": "default"
|
||||||
|
},
|
||||||
|
"_speech": {
|
||||||
|
"active": true,
|
||||||
|
"interactive": true,
|
||||||
|
"state": "default"
|
||||||
|
},
|
||||||
|
"cocina": {
|
||||||
|
"turno_cocina_cocina_gas": {
|
||||||
|
"active": true,
|
||||||
|
"interactive": true,
|
||||||
|
"state": "apagado"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cocina_delante": {
|
||||||
|
"_camera": {
|
||||||
|
"active": true,
|
||||||
|
"interactive": true,
|
||||||
|
"state": "default",
|
||||||
|
"target": "player"
|
||||||
|
},
|
||||||
|
"cocina_delante_pegatinas": {
|
||||||
|
"active": true,
|
||||||
|
"custom_data": {
|
||||||
|
"tooltips": {
|
||||||
|
"action1": "cocina_delante_pegatinas_action1",
|
||||||
|
"action2": "cocina_delante_pegatinas_action2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"interactive": true,
|
||||||
|
"state": "default"
|
||||||
|
},
|
||||||
|
"cocina_delante_puerta_cocina": {
|
||||||
|
"active": true,
|
||||||
|
"custom_data": {
|
||||||
|
"tooltips": {
|
||||||
|
"action1": "cocina_delante_puerta_cocina_action1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"interactive": true,
|
||||||
|
"state": "default"
|
||||||
|
},
|
||||||
|
"cocina_delante_puerta_despensa": {
|
||||||
|
"active": true,
|
||||||
|
"custom_data": {
|
||||||
|
"tooltips": {
|
||||||
|
"action1": "cocina_delante_puerta_despensa_action1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"interactive": true,
|
||||||
|
"state": "default"
|
||||||
|
},
|
||||||
|
"cocina_delante_puerta_detras": {
|
||||||
|
"active": true,
|
||||||
|
"custom_data": {
|
||||||
|
"tooltips": {
|
||||||
|
"action1": "cocina_delante_puerta_detras_action1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"interactive": true,
|
||||||
|
"state": "default"
|
||||||
|
},
|
||||||
|
"eneko_smoking": {
|
||||||
|
"active": true,
|
||||||
|
"custom_data": {
|
||||||
|
"tooltips": {
|
||||||
|
"action1": "cocina_delante_eneko_smoking_action1",
|
||||||
|
"action2": "cocina_delante_eneko_smoking_action2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"global_transform": Transform2D( 1.23314, 0, 0, 1.23314, 813, 440 ),
|
||||||
|
"interactive": true,
|
||||||
|
"last_deg": 271,
|
||||||
|
"last_dir": 0,
|
||||||
|
"state": "speak"
|
||||||
|
},
|
||||||
|
"new_game_start_location": {
|
||||||
|
"active": true,
|
||||||
|
"interactive": true,
|
||||||
|
"state": "default"
|
||||||
|
},
|
||||||
|
"player": {
|
||||||
|
"active": true,
|
||||||
|
"custom_data": {
|
||||||
|
},
|
||||||
|
"global_transform": Transform2D( 0.93549, 0, 0, 0.93549, 749, 521 ),
|
||||||
|
"interactive": false,
|
||||||
|
"last_deg": 161,
|
||||||
|
"last_dir": 6,
|
||||||
|
"state": "speak_down"
|
||||||
|
},
|
||||||
|
"puerta_cocina_start": {
|
||||||
|
"active": true,
|
||||||
|
"interactive": true,
|
||||||
|
"state": "default"
|
||||||
|
},
|
||||||
|
"puerta_despensa_start": {
|
||||||
|
"active": true,
|
||||||
|
"interactive": true,
|
||||||
|
"state": "default"
|
||||||
|
},
|
||||||
|
"puerta_detras_start": {
|
||||||
|
"active": true,
|
||||||
|
"interactive": true,
|
||||||
|
"state": "default"
|
||||||
|
},
|
||||||
|
"turno_cocina_ajo": {
|
||||||
|
"active": false,
|
||||||
|
"custom_data": {
|
||||||
|
"tooltips": {
|
||||||
|
"action1": "Coger ajo",
|
||||||
|
"action3": "Mirar",
|
||||||
|
"action4": "Usar"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"interactive": true,
|
||||||
|
"state": "default"
|
||||||
|
},
|
||||||
|
"turno_cocina_carton": {
|
||||||
|
"active": true,
|
||||||
|
"custom_data": {
|
||||||
|
"tooltips": {
|
||||||
|
"action1": "Mirar",
|
||||||
|
"action2": "Coger",
|
||||||
|
"action3": "Mirar",
|
||||||
|
"action4": "Usar"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"interactive": true,
|
||||||
|
"state": "default"
|
||||||
|
},
|
||||||
|
"turno_cocina_cuerno": {
|
||||||
|
"active": false,
|
||||||
|
"custom_data": {
|
||||||
|
"tooltips": {
|
||||||
|
"action1": "Mirar el cuerno",
|
||||||
|
"action2": "Coger el cuerno",
|
||||||
|
"action3": "Mirar el cuerno",
|
||||||
|
"action4": "Tocar el cuerno"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"interactive": true,
|
||||||
|
"state": "default"
|
||||||
|
},
|
||||||
|
"turno_cocina_frontal": {
|
||||||
|
"active": true,
|
||||||
|
"custom_data": {
|
||||||
|
"tooltips": {
|
||||||
|
"action3": "frontal_action3",
|
||||||
|
"action4": "Usar"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"interactive": true,
|
||||||
|
"state": "default"
|
||||||
|
},
|
||||||
|
"turno_cocina_libro_de_cocina": {
|
||||||
|
"active": false,
|
||||||
|
"custom_data": {
|
||||||
|
"tooltips": {
|
||||||
|
"action1": "Mirar",
|
||||||
|
"action2": "Coger",
|
||||||
|
"action3": "Leer"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"interactive": true,
|
||||||
|
"state": "default"
|
||||||
|
},
|
||||||
|
"turno_cocina_madera": {
|
||||||
|
"active": true,
|
||||||
|
"custom_data": {
|
||||||
|
"tooltips": {
|
||||||
|
"action1": "cocina_delante_madera_action1",
|
||||||
|
"action2": "cocina_delante_madera_action2",
|
||||||
|
"action3": "cocina_delante_madera_action3",
|
||||||
|
"action4": "cocina_delante_madera_action4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"interactive": true,
|
||||||
|
"state": "default"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
events = {
|
||||||
|
"events_queue": {
|
||||||
|
"_front": [ ]
|
||||||
|
},
|
||||||
|
"sched_events": [ ]
|
||||||
|
}
|
||||||
|
terrain_navpolys = {
|
||||||
|
"cocina_delante": {
|
||||||
|
"NavigationPolygonInstance": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
settings = {
|
||||||
|
"custom_settings": {
|
||||||
|
"a_custom_setting": 100
|
||||||
|
},
|
||||||
|
"escoria_version": "1.0.0",
|
||||||
|
"fullscreen": false,
|
||||||
|
"master_volume": 0.391,
|
||||||
|
"music_volume": 0.649,
|
||||||
|
"sfx_volume": 1.0,
|
||||||
|
"speech_enabled": true,
|
||||||
|
"speech_volume": 1.0,
|
||||||
|
"text_lang": "es",
|
||||||
|
"voice_lang": "fr_FR"
|
||||||
|
}
|
||||||
|
custom_data = {
|
||||||
|
"ui_type": "rtmi-ui"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user