pruebas background
|
After Width: | Height: | Size: 307 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 4.1 MiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 29 KiB |
BIN
gymkhana/rooms/trasera_cocina/assets/height-map-full.jpg
Normal file
|
After Width: | Height: | Size: 90 KiB |
BIN
gymkhana/rooms/trasera_cocina/assets/height-map.jpg
Normal file
|
After Width: | Height: | Size: 63 KiB |
46
gymkhana/rooms/trasera_cocina/trasera_cocina.tscn
Normal file
@@ -0,0 +1,46 @@
|
||||
[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://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=2]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=3]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=4]
|
||||
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/height-map-full-1500x577-test3.jpg" type="Texture" id=5]
|
||||
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/background trasera cocina-1500x577.jpg" type="Texture" id=6]
|
||||
[ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=7]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id=1]
|
||||
vertices = PoolVector2Array( 1318, 435, 1394, 422, 1388, 546, 1249, 454, 464, 432, 186, 527, 155, 425, 259, 395, 354, 391, 442, 395, 506, 457, 1133, 474, 981, 480, 864, 482, 846, 467, 725, 472, 749, 460, 794, 462, 584, 468 )
|
||||
polygons = [ PoolIntArray( 0, 1, 2, 3 ), PoolIntArray( 4, 5, 6, 7, 8, 9 ), PoolIntArray( 5, 4, 10 ), PoolIntArray( 11, 3, 2 ), PoolIntArray( 11, 2, 5, 12 ), PoolIntArray( 13, 12, 5 ), PoolIntArray( 14, 13, 5, 15 ), PoolIntArray( 15, 16, 17, 14 ), PoolIntArray( 5, 10, 18 ), PoolIntArray( 5, 18, 15 ) ]
|
||||
outlines = [ PoolVector2Array( 259, 395, 354, 391, 442, 395, 464, 432, 506, 457, 584, 468, 725, 472, 749, 460, 794, 462, 846, 467, 864, 482, 981, 480, 1133, 474, 1249, 454, 1318, 435, 1394, 422, 1388, 546, 186, 527, 155, 425 ) ]
|
||||
|
||||
[node name="ESCRoom" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
global_id = "trasera_cocina"
|
||||
esc_script = "res://gymkhana/rooms/trasera_cocina/esc/trasera_cocina.esc"
|
||||
player_scene = ExtResource( 7 )
|
||||
camera_limits = [ Rect2( 0, 0, 3122, 1200 ) ]
|
||||
editor_debug_mode = 1
|
||||
|
||||
[node name="ESCBackground" type="TextureRect" parent="."]
|
||||
margin_right = 40.0
|
||||
margin_bottom = 40.0
|
||||
mouse_filter = 2
|
||||
texture = ExtResource( 6 )
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="ESCTerrain" type="Navigation2D" parent="."]
|
||||
visible = false
|
||||
script = ExtResource( 4 )
|
||||
scales = ExtResource( 5 )
|
||||
scale_min = 0.5
|
||||
scale_max = 0.8
|
||||
|
||||
[node name="NavigationPolygonInstance" type="NavigationPolygonInstance" parent="ESCTerrain"]
|
||||
visible = false
|
||||
navpoly = SubResource( 1 )
|
||||
|
||||
[node name="ESCLocation" type="Position2D" parent="."]
|
||||
position = Vector2( 783, 480 )
|
||||
script = ExtResource( 3 )
|
||||
global_id = "trasera_cocina_start"
|
||||
is_start_location = true
|
||||