Added cocina_delante room

This commit is contained in:
2023-08-25 16:46:08 +02:00
parent 48d7740fc8
commit a8d669d43c
5 changed files with 44 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

View File

@@ -0,0 +1,39 @@
[gd_scene load_steps=7 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/cocina_delante/assets/background.png" type="Texture" id=3]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=4]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=5]
[sub_resource type="NavigationPolygon" id=1]
vertices = PoolVector2Array( -236, 229, 193, 193, 175, 286, -981, 285, -527, 170, -374, 165 )
polygons = [ PoolIntArray( 0, 1, 2 ), PoolIntArray( 0, 2, 3 ), PoolIntArray( 0, 3, 4, 5 ) ]
outlines = [ PoolVector2Array( -981, 285, -527, 170, -374, 165, -236, 229, 193, 193, 175, 286 ) ]
[node name="ESCRoom" type="Node2D"]
script = ExtResource( 1 )
global_id = "cocina_delante"
esc_script = "res://gymkhana/rooms/turno_cocina/cocina_delante/esc/cocina_delante.esc"
player_scene = ExtResource( 2 )
camera_limits = [ Rect2( 0, 0, 2391, 577 ) ]
[node name="background" type="Sprite" parent="."]
position = Vector2( 1160, 289 )
texture = ExtResource( 3 )
[node name="ESCTerrain" type="Navigation2D" parent="."]
script = ExtResource( 4 )
scale_min = 0.75
scale_max = 0.75
[node name="NavigationPolygonInstance" type="NavigationPolygonInstance" parent="ESCTerrain"]
position = Vector2( 1160, 289 )
navpoly = SubResource( 1 )
[node name="start" type="Position2D" parent="."]
position = Vector2( 716, 473 )
script = ExtResource( 5 )
global_id = "start"
is_start_location = true
player_orients_on_arrival = false

View File

@@ -0,0 +1,3 @@
:setup
teleport player start
set_angle player 180

View File

@@ -8,4 +8,4 @@ play_snd res://game/sfx/Game-Menu_Looping.mp3 _music
:newgame
# 1/ Simple scene
change_scene res://gymkhana/rooms/trasera_cocina/trasera_cocina.tscn
change_scene res://gymkhana/rooms/turno_cocina/cocina_delante/cocina_delante.tscn

View File

@@ -870,7 +870,7 @@ debug/crash_message="We're sorry, but the game crashed. Please send us the follo
%s"
debug/enable_room_selector=true
debug/room_selector_room_dir="res://gymkhana/rooms"
debug/room_selector_room_dir="res://gymkhana/rooms/turno_cocina"
ui/game_scene="res://gymkhana/addons/escoria-ui-return-monkey-island/game.tscn"
ui/inventory_items_path="res://gymkhana/items/inventory"
ui/default_transition="instant"