2024-11-01 23:23:07 +08:00
|
|
|
[gd_scene load_steps=10 format=4 uid="uid://bt05onvfl6ael"]
|
2024-10-28 19:24:10 +08:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scene/map/map_test_0.gd" id="1_mkv6t"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dxtu12mw7fsq8" path="res://res/image/test/tile.png" id="2_k3cp7"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://b6jyxox72yxjc" path="res://scene/mark/character_marker_2d.tscn" id="3_v1al5"]
|
2024-11-01 23:23:07 +08:00
|
|
|
[ext_resource type="PackedScene" uid="uid://dbs4jk1ljeq1o" path="res://scene/test/test_door.tscn" id="4_gs5kc"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://2wkc3dlcfrnj" path="res://scene/trade_interaction_item/trade.tscn" id="6_fl6uv"]
|
2024-10-30 19:54:45 +08:00
|
|
|
[ext_resource type="Script" path="res://scene/class/born_mark.gd" id="6_qu6gr"]
|
2024-10-28 19:24:10 +08:00
|
|
|
|
|
|
|
[sub_resource type="NavigationPolygon" id="NavigationPolygon_tjudi"]
|
|
|
|
vertices = PackedVector2Array(32, 32, -32, 32, -32, -32, 32, -32)
|
|
|
|
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)])
|
|
|
|
outlines = Array[PackedVector2Array]([PackedVector2Array(-32, -32, 32, -32, 32, 32, -32, 32)])
|
|
|
|
agent_radius = 0.0
|
|
|
|
|
|
|
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_j4j8n"]
|
|
|
|
texture = ExtResource("2_k3cp7")
|
|
|
|
texture_region_size = Vector2i(64, 64)
|
|
|
|
0:0/0 = 0
|
|
|
|
0:0/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_tjudi")
|
|
|
|
0:1/0 = 0
|
|
|
|
0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-32, -32, 32, -32, 32, 32, -32, 32)
|
|
|
|
|
|
|
|
[sub_resource type="TileSet" id="TileSet_0njwo"]
|
|
|
|
tile_size = Vector2i(64, 64)
|
|
|
|
physics_layer_0/collision_layer = 1
|
|
|
|
navigation_layer_0/layers = 1
|
|
|
|
sources/0 = SubResource("TileSetAtlasSource_j4j8n")
|
|
|
|
|
2024-10-30 19:54:45 +08:00
|
|
|
[node name="map_test_0" type="Node2D" node_paths=PackedStringArray("map_born_mark")]
|
2024-10-28 19:24:10 +08:00
|
|
|
script = ExtResource("1_mkv6t")
|
2024-10-30 19:54:45 +08:00
|
|
|
map_born_mark = [NodePath("BornMark")]
|
2024-10-28 19:24:10 +08:00
|
|
|
|
|
|
|
[node name="navigation" type="TileMapLayer" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
tile_map_data = PackedByteArray("AAD0//r/AAAAAAAAAAD0//v/AAAAAAEAAAD0//z/AAAAAAEAAAD0//3/AAAAAAAAAAD0//7/AAAAAAAAAAD0////AAAAAAAAAAD0/wAAAAAAAAAAAAD0/wEAAAAAAAAAAAD0/wIAAAAAAAAAAAD0/wMAAAAAAAEAAAD0/wQAAAAAAAEAAAD0/wUAAAAAAAAAAAD1/wYAAAAAAAEAAAD2/wYAAAAAAAEAAAD3/wcAAAAAAAAAAAD4/wcAAAAAAAEAAAD5/wcAAAAAAAAAAAD6/wgAAAAAAAEAAAD7/wgAAAAAAAAAAAD8/wgAAAAAAAAAAAD9/wgAAAAAAAAAAAD+/wgAAAAAAAAAAAD+/wkAAAAAAAEAAAD//wkAAAAAAAAAAAAAAAkAAAAAAAAAAAABAAkAAAAAAAAAAAACAAkAAAAAAAAAAAADAAkAAAAAAAAAAAAEAAkAAAAAAAAAAAAFAAkAAAAAAAEAAAAGAAkAAAAAAAEAAAAHAAkAAAAAAAAAAAAIAAkAAAAAAAAAAAAJAAkAAAAAAAAAAAAKAAkAAAAAAAAAAAALAAkAAAAAAAAAAAAMAAkAAAAAAAAAAAAMAAgAAAAAAAAAAAANAAgAAAAAAAAAAAANAAcAAAAAAAAAAAANA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AAAAADv//v/AAAAAAAAAADv//z/AAAAAAAAAADv//3/AAAAAAAAAADv//7/AAAAAAAAAADv////AAAAAAAAAADv/wAAAAAAAAAAAADv/wEAAAAAAAAAAADv/wIAAAAAAAAAAADv/wMAAAAAAAAAAADv/wQAAAAAAAAAAADv/wUAAAAAAAAAAADv/wYAAAAAAAAAAADv/wcAAAAAAAAAAADv/wgAAAAAAAAAAADv/wkAAAAAAAAAAADv/woAAAAAAAAAAADv/wsAAAAAAAAAAADw//f/AAAAAAAAAADw//j/AAAAAAAAAADw//n/AAAAAAAAAADw//r/AAAAAAAAAADw//v/AAAAAAAAAADw//z/AAAAAAAAAADw//3/AAAAAAAAAADw//7/AAAAAAAAAADw////AAAAAAAAAADw/wAAAAAAAAAAAADw/wEAAAAAAAAAAADw/wIAAAAAAAAAAADw/wMAAAAAAAAAAADw/wQAAAAAAAAAAADw/wUAAAAAAAAAAADw/wYAAAAAAAAAAADw/wcAAAAAAAAAAADw/wgAAAAAAAAAAADw/wkAAAAAAAAAAADw/woAAAAAAAAAAADw/wsAAAAAAAAAAADx//f/AAAAAAAAAADx//j/AAAAAAAAAADx//n/AAAAAAAAAADx//r/AAAAAAAAAADx//v/AAAAAAAAAADx//z/AAAAAAAAAADx//3/AAAAAAAAAADx//7/AAAAAAAAAADx////AAAAAAAAAADx/wAAAAAAAAAAAADx/wEAAAAAAAAAAADx/wIAAAAAAAAAAADx/wMAAAAAAAAAAADx/wQAAAAAAAAAAADx/wUAAAAAAAAAAADx/wYAAAAAAAAAAADx/wcAAAAAAAAAAADx/wgAAAAAAAAAAADx/wkAAAAAAAAAAADx/woAAAAAAAAAAADx/wsAAAAAAAAAAADy//f/AAAAAAAAAADy//j/AAAAAAAAAADy//n/AAAAAAAAAADy//r/AAAAAAAAAADy//v/AAAAAAEAAADy//z/AAAAAAEAAADy//3/AAAAAAEAAADy//7/AAAAAAEAAADy////AAAAAAEAAADy/wAAAAAAAAEAAADy/wEAAAAAAAAAAADy/wIAAAAAAAA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wAAAAAAAAAAAAD2/wEAAAAAAAAAAAD2/wIAAAAAAAAAAAD2/wMAAAAAAAAAAAD2/wQAAAAAAAAAAAD2/wUAAAAAAA
|
|
|
|
tile_set = SubResource("TileSet_0njwo")
|
|
|
|
|
|
|
|
[node name="back" type="TileMapLayer" parent="."]
|
|
|
|
|
|
|
|
[node name="build" type="TileMapLayer" parent="."]
|
|
|
|
|
|
|
|
[node name="Marker2D" parent="." instance=ExtResource("3_v1al5")]
|
|
|
|
unit_id = "test1"
|
|
|
|
unit_data_from_id = "test_character_base"
|
|
|
|
|
|
|
|
[node name="Marker2D2" parent="." instance=ExtResource("3_v1al5")]
|
|
|
|
position = Vector2(842, 32)
|
|
|
|
unit_id = "test2"
|
|
|
|
unit_data_from_id = "test_character_base"
|
|
|
|
|
|
|
|
[node name="Marker2D3" parent="." instance=ExtResource("3_v1al5")]
|
|
|
|
position = Vector2(359, -417)
|
|
|
|
unit_id = "test3"
|
|
|
|
unit_data_from_id = "test_character_base"
|
2024-10-30 19:54:45 +08:00
|
|
|
|
2024-11-01 23:23:07 +08:00
|
|
|
[node name="test_door" parent="." instance=ExtResource("4_gs5kc")]
|
2024-10-30 19:54:45 +08:00
|
|
|
map_id = "map_1"
|
|
|
|
|
|
|
|
[node name="BornMark" type="Marker2D" parent="."]
|
|
|
|
position = Vector2(-1043, -488)
|
|
|
|
script = ExtResource("6_qu6gr")
|
2024-11-01 23:23:07 +08:00
|
|
|
|
|
|
|
[node name="Trade" parent="." instance=ExtResource("6_fl6uv")]
|
|
|
|
position = Vector2(943, 339)
|