Files
ai-game-2/scenes/bedroom/bedroom.tscn
2024-05-29 13:26:31 -07:00

53 lines
2.4 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://ba1v540jrjhc8"]
[ext_resource type="Script" path="res://ScalePoint_.gd" id="1"]
[ext_resource type="Script" path="res://scenes/bedroom/bedroom.gd" id="2"]
[ext_resource type="Script" path="res://SetPiece_.gd" id="3"]
[ext_resource type="Texture2D" uid="uid://gvm7exe71yo6" path="res://scenes/bedroom/big-bedroom.png" id="4"]
[ext_resource type="Texture2D" uid="uid://dgwv2tlexbc33" path="res://scenes/bedroom/left_wall.png" id="5"]
[sub_resource type="NavigationPolygon" id="5"]
vertices = PackedVector2Array(3273, 1876, 3515, 1847, 3411, 1921, 2439, 2027, 347, 2003, 751.25, 1775.25, 582, 1730, 253.25, 1736.25, 275, 1671, 506, 1694, 933.25, 1644.25, 1548.25, 1698.25, 2437, 1662, 2962, 1823, 3401, 2031)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2), PackedInt32Array(3, 4, 5), PackedInt32Array(6, 7, 8, 9), PackedInt32Array(3, 5, 6, 9, 10, 11), PackedInt32Array(3, 11, 12, 13, 14), PackedInt32Array(14, 13, 0, 2)])
outlines = Array[PackedVector2Array]([PackedVector2Array(3273, 1876, 2962, 1823, 2437, 1662, 1548.25, 1698.25, 933.25, 1644.25, 506, 1694, 275, 1671, 253.25, 1736.25, 582, 1730, 751.25, 1775.25, 347, 2003, 2439, 2027, 3401, 2031, 3411, 1921, 3515, 1847)])
[node name="background" type="Node2D"]
script = ExtResource("2")
__meta__ = {
"_edit_lock_": true
}
background_scale = 0.55
[node name="pathfind" type="NavigationRegion2D" parent="."]
navigation_polygon = SubResource("5")
[node name="entrance-exit-point" type="Node2D" parent="."]
position = Vector2(90, 1735)
[node name="entrance-exit" type="Polygon2D" parent="." groups=["set-piece"]]
position = Vector2(-2685, -795)
color = Color(1, 1, 1, 0.262745)
polygon = PackedVector2Array(2941, 1998, 2938.57, 2175.71, 2934, 2560, 3211, 2525, 3395, 2567, 3430, 2164.29, 3391.43, 1940, 3430.83, 1609.17, 3207.5, 1565.83, 2914.17, 1689.17)
script = ExtResource("3")
label = "To entrance"
[node name="StartScalePoint" type="Node2D" parent="."]
position = Vector2(1766, 1622)
script = ExtResource("1")
target_scale = 1.4
[node name="EndScalePoint" type="Node2D" parent="."]
position = Vector2(1832, 2060)
script = ExtResource("1")
target_scale = 1.8
[node name="bg" type="Sprite2D" parent="."]
texture = ExtResource("4")
centered = false
[node name="LeftWall" type="Sprite2D" parent="."]
position = Vector2(358, 1800)
texture = ExtResource("5")
centered = false
offset = Vector2(-358, -1227)