feat: turno_cocina_madera

This commit is contained in:
2023-10-25 00:10:04 +02:00
parent bc0894573f
commit 9c0af41ddd
6 changed files with 42 additions and 30 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=11 format=2]
[gd_scene load_steps=12 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]
@@ -9,11 +9,12 @@
[ext_resource path="res://gymkhana/rooms/turno_cocina/cocina_delante/assets/depth.png" type="Texture" id=7]
[ext_resource path="res://gymkhana/characters/eneko/eneko_smoking.tscn" type="PackedScene" id=8]
[ext_resource path="res://gymkhana/rooms/turno_cocina/cocina_delante/assets/foreground.png" type="Texture" id=9]
[ext_resource path="res://gymkhana/items/inventory/turno_cocina_madera.tscn" type="PackedScene" id=10]
[sub_resource type="NavigationPolygon" id=1]
vertices = PoolVector2Array( -768, 301, -1163, 462, -1161, 358, -532, 166, 36, 211, 270, 182, 278, 280, -86, 216, -236, 229, -87, 153, 22, 154, -360, 166 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ), PoolIntArray( 4, 5, 6 ), PoolIntArray( 7, 4, 6, 0, 8 ), PoolIntArray( 7, 9, 10, 4 ), PoolIntArray( 8, 0, 3, 11 ) ]
outlines = [ PoolVector2Array( -1161, 358, -532, 166, -360, 166, -236, 229, -86, 216, -87, 153, 22, 154, 36, 211, 270, 182, 278, 280, -768, 301, -1163, 462 ) ]
vertices = PoolVector2Array( -768, 301, -1163, 462, -1161, 358, -532, 166, 649, 54, 647, -17, 715, -15, 760, 50, 167, 278, 36, 211, -86, 216, -236, 229, -87, 153, 22, 154, -360, 166 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ), PoolIntArray( 4, 5, 6, 7 ), PoolIntArray( 4, 7, 8, 9 ), PoolIntArray( 10, 9, 8, 0, 11 ), PoolIntArray( 10, 12, 13, 9 ), PoolIntArray( 11, 0, 3, 14 ) ]
outlines = [ PoolVector2Array( -1161, 358, -532, 166, -360, 166, -236, 229, -86, 216, -87, 153, 22, 154, 36, 211, 649, 54, 647, -17, 715, -15, 760, 50, 167, 278, -768, 301, -1163, 462 ) ]
[node name="ESCRoom" type="Node2D"]
script = ExtResource( 1 )
@@ -156,3 +157,16 @@ polygon = PoolVector2Array( -20, 43, 37, 46, 39, 87, 57, 86, 92, 84, 91, -16, 47
[node name="ESCLocation" type="Position2D" parent="pegatinas"]
position = Vector2( -99, 213 )
script = ExtResource( 5 )
[node name="turno_cocina_madera" parent="." instance=ExtResource( 10 )]
position = Vector2( 1505, 160 )
scale = Vector2( 0.880435, 0.88735 )
combine_when_selected_action_is_in = [ ]
[node name="turno_cocina_madera_collision" type="CollisionPolygon2D" parent="turno_cocina_madera"]
position = Vector2( 396.395, 87.9022 )
polygon = PoolVector2Array( -2.27148, -21.4121, -2.27148, 32.6816, -77.2345, 30.4277, -78.3702, -21.4121 )
[node name="turno_cocina_madera_location" type="Position2D" parent="turno_cocina_madera"]
position = Vector2( 366.864, 132.98 )
script = ExtResource( 5 )

View File

@@ -22,9 +22,9 @@ set_angle player 180
play_snd res://gymkhana/sounds/music_loop.ogg _music
set_global cutscene_played true
accept_input SKIP
set_gui_visible false
walk_block player puerta_cocina_start
set_angle player 90
queue_event eneko_smoking intro_dialog
set_gui_visible true
# set_gui_visible false
# walk_block player puerta_cocina_start
# set_angle player 90
# queue_event eneko_smoking intro_dialog
# set_gui_visible true
accept_input ALL