Intro cocina

This commit is contained in:
2024-01-28 13:11:36 +01:00
parent ca87c01104
commit 83c8b2e6be
22 changed files with 17 additions and 1020 deletions

View File

@@ -29,3 +29,12 @@ set_active turno_cocina_olla_llena true [turno_cocina_economica_con_olla]
set_active turno_cocina_olla_llena false [!turno_cocina_economica_con_olla]
set_active turno_cocina_economica true [!turno_cocina_economica_con_olla]
set_active turno_cocina_economica false [turno_cocina_economica_con_olla]
:ready
> [!cocina_intro_played]
set_global cocina_intro_played true
accept_input SKIP
set_angle player 180
say player "Debo hacer algo de comer"
accept_input ALL

View File

@@ -123,7 +123,7 @@ z_index = 4096
texture = ExtResource( 9 )
[node name="new_game_start_location" type="Position2D" parent="."]
position = Vector2( 1326, 519 )
position = Vector2( 718, 509 )
script = ExtResource( 5 )
global_id = "new_game_start_location"
is_start_location = true

View File

@@ -15,19 +15,18 @@ anim eneko_smoking idle
set_angle player 180
stop
teleport player new_game_start_location
set_angle player 180
set_angle player 90
:ready
> [!cutscene_played]
set_global cutscene_played true
> [!cocina_delante_intro_played]
set_global cocina_delante_intro_played true
accept_input SKIP
stop_snd
play_video res://gymkhana/videos/turno_cocina/intro.ogv
# set_gui_visible false
# walk_block player puerta_cocina_start
# set_angle player 90
queue_event eneko_smoking intro_dialog
queue_event eneko_smoking intro_dialog intro_dialog_channel true
set_gui_visible true
walk_block player puerta_cocina_start
queue_event cocina_delante_puerta_cocina action1
accept_input ALL
play_snd res://gymkhana/sounds/music_loop.ogg _music