Files
whale-town-front-v2/scenes/Maps/personal_space.tscn
2026-07-21 23:07:31 +08:00

101 lines
3.6 KiB
Plaintext

[gd_scene load_steps=13 format=4]
[ext_resource type="Script" path="res://scenes/Maps/PersonalSpace.gd" id="1_personal_space"]
[ext_resource type="Texture2D" path="res://assets/maps/personal_space/v1/base/personal_room_25d_sidewalls_wider_not_longer_v1.png" id="2_room_base"]
[ext_resource type="PackedScene" path="res://scenes/characters/player.tscn" id="3_player"]
[ext_resource type="Script" path="res://scenes/Maps/ScenePortal.gd" id="4_portal"]
[ext_resource type="PackedScene" path="res://scenes/ui/ChatUI.tscn" id="5_chatui"]
[ext_resource type="PackedScene" path="res://scenes/ui/PlayerHud.tscn" id="6_playerhud"]
[ext_resource type="PackedScene" path="res://scenes/ui/FriendListPanel.tscn" id="7_friendpanel"]
[ext_resource type="PackedScene" path="res://scenes/ui/SettingsPanel.tscn" id="8_settingspanel"]
[ext_resource type="PackedScene" path="res://scenes/ui/MapPanel.tscn" id="9_mappanel"]
[sub_resource type="RectangleShape2D" id="Shape_TopWall"]
size = Vector2(882, 76)
[sub_resource type="RectangleShape2D" id="Shape_LeftWall"]
size = Vector2(133, 518)
[sub_resource type="RectangleShape2D" id="Shape_RightWall"]
size = Vector2(133, 518)
[sub_resource type="RectangleShape2D" id="Shape_ExitPortal"]
size = Vector2(105, 57)
[node name="PersonalSpace" type="Node2D"]
script = ExtResource("1_personal_space")
[node name="UILayer" type="CanvasLayer" parent="."]
layer = 10
[node name="ChatUI" parent="UILayer" instance=ExtResource("5_chatui")]
[node name="PlayerHud" parent="UILayer" instance=ExtResource("6_playerhud")]
[node name="FriendListPanel" parent="UILayer" instance=ExtResource("7_friendpanel")]
[node name="SettingsPanel" parent="UILayer" instance=ExtResource("8_settingspanel")]
[node name="MapPanel" parent="UILayer" instance=ExtResource("9_mappanel")]
[node name="StageBackdrop" type="ColorRect" parent="."]
z_index = -200
offset_left = -2000.0
offset_top = -1400.0
offset_right = 2000.0
offset_bottom = 1400.0
color = Color(0.118, 0.149, 0.18, 1)
[node name="RoomBase" type="Sprite2D" parent="."]
z_index = -100
texture_filter = 2
scale = Vector2(0.7, 0.7)
texture = ExtResource("2_room_base")
[node name="YSortWorld" type="Node2D" parent="."]
y_sort_enabled = true
[node name="Characters" type="Node2D" parent="YSortWorld"]
y_sort_enabled = true
[node name="Players" type="Node2D" parent="YSortWorld/Characters"]
y_sort_enabled = true
[node name="Player" parent="YSortWorld/Characters/Players" instance=ExtResource("3_player")]
position = Vector2(0, 217)
[node name="StaticCollision" type="Node2D" parent="."]
[node name="RoomBoundary" type="StaticBody2D" parent="StaticCollision"]
[node name="TopWall" type="CollisionShape2D" parent="StaticCollision/RoomBoundary"]
position = Vector2(0, -210)
shape = SubResource("Shape_TopWall")
[node name="LeftWall" type="CollisionShape2D" parent="StaticCollision/RoomBoundary"]
position = Vector2(-483, 14)
shape = SubResource("Shape_LeftWall")
[node name="RightWall" type="CollisionShape2D" parent="StaticCollision/RoomBoundary"]
position = Vector2(483, 14)
shape = SubResource("Shape_RightWall")
[node name="InteractionAreas" type="Node2D" parent="."]
[node name="ExitToSquareArea" type="Area2D" parent="InteractionAreas"]
position = Vector2(0, 273)
script = ExtResource("4_portal")
targetSceneName = "square"
targetSpawnName = "NeighborhoodTeleport"
[node name="CollisionShape2D" type="CollisionShape2D" parent="InteractionAreas/ExitToSquareArea"]
shape = SubResource("Shape_ExitPortal")
[node name="Markers" type="Node2D" parent="."]
[node name="DefaultSpawn" type="Marker2D" parent="Markers"]
position = Vector2(0, 200)
[node name="FromNeighborhood" type="Marker2D" parent="Markers"]
position = Vector2(0, 214)