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

@@ -78,12 +78,14 @@ set_active cocina_delante_puerta_detras true
set_global cocina_delante_catando false
> [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
set_global turno_cocina_eneko_cata_ok true
set_active eneko_smoking true
set_active turno_cocina_ajo false
play_snd res://gymkhana/sounds/music_loop.ogg _music
stop
> [turno_cocina_ingrediente_patatas,turno_cocina_ingrediente_ajo_en_lentejas]
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 turno_cocina_ajo false
play_snd res://gymkhana/sounds/music_loop.ogg _music

View File

@@ -46,10 +46,10 @@ is_movable = true
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"
}
"tooltips": {
"action1": "cocina_delante_eneko_smoking_action1",
"action2": "cocina_delante_eneko_smoking_action2"
}
}
action3_target_texts = {
"turno_cocina_frontal": "Ofrecer",

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View 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 )

View 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 )