2024-10-11 06:52:39 +00:00
|
|
|
[gd_scene load_steps=10 format=4 uid="uid://c57cc1tyreybb"]
|
2024-04-28 13:55:19 +00:00
|
|
|
|
|
|
|
[ext_resource type="TileSet" uid="uid://c4wpp12rr44hi" path="res://tileSets/dungeon.tres" id="1_rn2om"]
|
2024-08-24 14:49:59 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://drw45jlmfo0su" path="res://sprites/light/White_100.png" id="2_1ctsj"]
|
2024-10-08 14:04:37 +00:00
|
|
|
[ext_resource type="Script" path="res://scripts/map/AiCharacterSpawn.cs" id="3_u5h84"]
|
2024-04-28 13:55:19 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_o85u0"]
|
|
|
|
size = Vector2(20, 48)
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_30r3c"]
|
|
|
|
size = Vector2(22, 46)
|
|
|
|
|
2024-05-24 14:58:52 +00:00
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_6qg1t"]
|
2024-10-16 12:15:39 +00:00
|
|
|
size = Vector2(21, 45.5)
|
2024-05-24 14:58:52 +00:00
|
|
|
|
2024-06-30 23:55:58 +00:00
|
|
|
[sub_resource type="NavigationPolygon" id="NavigationPolygon_1qloc"]
|
2024-08-22 14:03:44 +00:00
|
|
|
vertices = PackedVector2Array(696.148, 425, 719.617, 425, 722.328, 467.047, 12.5391, 470.938, 10.4531, 426.43, 46.0312, 424.461, 690.859, 84.1562, 45.0234, 48.9219, 721.523, 44.0625, 723.5, 80.1875)
|
2024-06-30 23:55:58 +00:00
|
|
|
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3, 4), PackedInt32Array(0, 4, 5), PackedInt32Array(6, 0, 5, 7), PackedInt32Array(6, 7, 8, 9)])
|
|
|
|
outlines = Array[PackedVector2Array]([PackedVector2Array(35, 39, 36, 415, 0, 417, 3, 481, 733, 477, 729, 415, 706, 415, 701, 93, 734, 89, 731, 34)])
|
|
|
|
source_geometry_group_name = &"navigation_polygon_source_group"
|
|
|
|
|
2024-10-11 06:52:39 +00:00
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kiih8"]
|
2024-10-17 08:08:21 +00:00
|
|
|
size = Vector2(730, 509)
|
2024-04-28 13:55:19 +00:00
|
|
|
|
2024-10-11 06:52:39 +00:00
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kfmgh"]
|
|
|
|
size = Vector2(509, 407)
|
2024-04-28 13:55:19 +00:00
|
|
|
|
2024-10-11 06:52:39 +00:00
|
|
|
[node name="InitialRoom2" type="Node2D"]
|
2024-04-28 13:55:19 +00:00
|
|
|
|
|
|
|
[node name="RoomSlotList" type="Node2D" parent="."]
|
|
|
|
|
|
|
|
[node name="Area2D" type="Area2D" parent="RoomSlotList"]
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D"]
|
|
|
|
position = Vector2(18, 449)
|
|
|
|
shape = SubResource("RectangleShape2D_o85u0")
|
|
|
|
|
|
|
|
[node name="Area2D2" type="Area2D" parent="RoomSlotList"]
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D2"]
|
|
|
|
position = Vector2(720, 61)
|
|
|
|
shape = SubResource("RectangleShape2D_30r3c")
|
2024-05-24 14:58:52 +00:00
|
|
|
|
|
|
|
[node name="Area2D3" type="Area2D" parent="RoomSlotList"]
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D3"]
|
2024-09-08 13:17:05 +00:00
|
|
|
position = Vector2(722, 447)
|
2024-05-24 14:58:52 +00:00
|
|
|
shape = SubResource("RectangleShape2D_6qg1t")
|
2024-06-30 23:55:58 +00:00
|
|
|
|
2024-10-16 12:15:39 +00:00
|
|
|
[node name="Area2D4" type="Area2D" parent="RoomSlotList"]
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D4"]
|
|
|
|
position = Vector2(16, 196)
|
|
|
|
shape = SubResource("RectangleShape2D_6qg1t")
|
|
|
|
|
2024-06-30 23:55:58 +00:00
|
|
|
[node name="NavigationRegion2D" type="NavigationRegion2D" parent="."]
|
|
|
|
navigation_polygon = SubResource("NavigationPolygon_1qloc")
|
2024-07-26 14:38:18 +00:00
|
|
|
|
|
|
|
[node name="TileMap" type="Node2D" parent="."]
|
|
|
|
|
|
|
|
[node name="BackgroundWall" type="TileMapLayer" parent="TileMap"]
|
|
|
|
use_parent_material = true
|
2024-10-16 12:15:39 +00:00
|
|
|
tile_map_data = PackedByteArray("AAABAAEAAQAGAAUAAAABAAIAAQAGAAUAAAABAAMAAQAGAAUAAAABAAQAAQAGAAUAAAABAAUAAQAGAAUAAAABAAYAAQAGAAUAAAABAAcAAQAGAAUAAAABAAgAAQAGAAUAAAABAAkAAQAGAAUAAAABAAoAAQAGAAUAAAACAAEAAQAGAAUAAAACAAIAAQAGAAUAAAACAAMAAQAGAAUAAAACAAQAAQAGAAUAAAACAAUAAQAGAAUAAAACAAYAAQAGAAUAAAACAAcAAQAGAAUAAAACAAgAAQAGAAUAAAACAAkAAQAGAAUAAAACAAoAAQAGAAUAAAADAAEAAQAGAAUAAAADAAIAAQAGAAUAAAADAAMAAQAGAAUAAAADAAQAAQAGAAUAAAADAAUAAQAGAAUAAAADAAYAAQAGAAUAAAADAAcAAQAGAAUAAAADAAgAAQAGAAUAAAADAAkAAQAGAAUAAAADAAoAAQAGAAUAAAAEAAEAAQAGAAUAAAAEAAIAAQAGAAUAAAAEAAMAAQAGAAUAAAAEAAQAAQAGAAUAAAAEAAUAAQAGAAUAAAAEAAYAAQAGAAUAAAAEAAcAAQAGAAUAAAAEAAgAAQAGAAUAAAAEAAkAAQAGAAUAAAAEAAoAAQAGAAUAAAAFAAEAAQAGAAUAAAAFAAIAAQAGAAUAAAAFAAMAAQAGAAUAAAAFAAQAAQAGAAUAA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AAAAIAA0AAQAGAAUAAAAIAA4AAQAGAAUAAAAJAAsAAQAGAAUAAAAJAAwAAQAGAAUAAAAJAA0AAQAGAAUAAAAJAA4AAQAGAAUAAAAKAAsAAQAGAAUAAAAKAAwAAQAGAAUAAAAKAA0AAQAGAAUAAAAKAA4AAQAGAAUAAAALAAsAAQAGAAUAAAALAAwAAQAGAAUAAAALAA0AAQAGAAUAAAALAA4AAQAGAA
|
2024-07-26 14:38:18 +00:00
|
|
|
tile_set = ExtResource("1_rn2om")
|
|
|
|
navigation_enabled = false
|
|
|
|
|
|
|
|
[node name="BackgroundDecoration" type="TileMapLayer" parent="TileMap"]
|
|
|
|
use_parent_material = true
|
|
|
|
tile_map_data = PackedByteArray("AAAVAA4AAQAHAAEAAAABAAYAAQAHAAEAAAAVAAMAAQAHAAQAAAABAAcAAQAGAAQAAAABAAEAAQAGAAQAAAA=")
|
|
|
|
tile_set = ExtResource("1_rn2om")
|
|
|
|
|
|
|
|
[node name="Ground" type="TileMapLayer" parent="TileMap"]
|
|
|
|
use_parent_material = true
|
2024-10-16 12:15:39 +00:00
|
|
|
tile_map_data = PackedByteArray("AAAAAAAAAQAAAAMAAAAAAAEAAQACAAEAAAAAAAIAAQACAAEAAAAAAAMAAQACAAEAAAAAAAQAAQACAAEAAAABAAAAAQABAAIAAAACAAAAAQABAAIAAAADAAAAAQABAAIAAAAEAAAAAQABAAIAAAAFAAAAAQABAAIAAAAGAAAAAQABAAIAAAAHAAAAAQABAAIAAAAIAAAAAQABAAIAAAAJAAAAAQABAAIAAAAKAAAAAQABAAIAAAALAAAAAQABAAIAAAAMAAAAAQABAAIAAAANAAAAAQABAAIAAAAOAAAAAQABAAIAAAAPAAAAAQABAAIAAAAQAAAAAQABAAIAAAARAAAAAQABAAIAAAASAAAAAQABAAIAAAATAAAAAQABAAIAAAAUAAAAAQABAAIAAAAVAAAAAQABAAIAAAAWAAAAAQACAAMAAAAWAAMAAQAAAAEAAAAWAAQAAQAAAAEAAAAWAAUAA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AEAAQAAAAMAAcAAQAEAAQAAAANAAcAAQAEAAQAAAAOAAcAAQAEAAQAAAAPAAcAAQAEAAQAAAAQAAcAAQAEAAQAAAARAAcAAQAEAAQAAAASAAcAAQAEAAQAAAATAAcAAQAEAAQAAAAUAAcAAQAEAAQAAAAVAAcAAQAFAAQAAAABAAcAAQADAAQAAAACAAcAAQAEAAQAAAADAAcAAQAEAAQAAAAEAAcAAQAEAAQAAAAFAAcAAQAEAAQAAAALAAYAAQAEAAQAAAAMAAUAAQAEAAQAAAAPAAMAAQAEAAQAAAAQAAMAAQAEAAQAAAARAAMAAQAEAAQAAAASAAMAAQAEAAQAAAATAAMAAQAEAAQAAAAUAAMAAQAEAAQAAAAVAAMAAQAFAAQAAAABAAMAAQADAAQAAAACAAMAAQAEAAQAAAADAAMAAQAEAAQAAAAEAAMAAQAEAAQAAAAFAAMAAQAEAAQAAAAGAAMAAQAEAAQAAAAHAAMAAQAEAAQAAAAIAAMAAQAEAAQAAAAJAAMAAQAEAAQAAAAKAAMAAQAEAAQAAAAKAAsAAQAEAAQAAAALAAsAAQAEAAQAAAAGAAcAAQAEAAQAAAALAAMAAQAEAAQAAAAMAAMAAQAEAAQAAAA=")
|
2024-07-26 14:38:18 +00:00
|
|
|
tile_set = ExtResource("1_rn2om")
|
2024-08-24 14:49:59 +00:00
|
|
|
|
2024-09-08 13:17:05 +00:00
|
|
|
[node name="Barrier" type="TileMapLayer" parent="TileMap"]
|
|
|
|
use_parent_material = true
|
2024-10-16 12:15:39 +00:00
|
|
|
tile_map_data = PackedByteArray("AAAWAA0AAQAAAAEAAAAWAA4AAQAAAAEAAAAWAAEAAQAAAAEAAAAWAAIAAQAAAAEAAAAAAA0AAQACAAEAAAAAAA4AAQACAAEAAAAAAAYAAQACAAEAAAAAAAUAAQACAAEAAAA=")
|
2024-09-08 13:17:05 +00:00
|
|
|
tile_set = ExtResource("1_rn2om")
|
|
|
|
|
2024-08-24 14:49:59 +00:00
|
|
|
[node name="PointLight2D" type="PointLight2D" parent="."]
|
|
|
|
visible = false
|
|
|
|
position = Vector2(367.5, 258)
|
|
|
|
scale = Vector2(23.0938, 16.25)
|
|
|
|
texture = ExtResource("2_1ctsj")
|
2024-10-08 14:04:37 +00:00
|
|
|
|
|
|
|
[node name="AutoSpawn" type="Node2D" parent="."]
|
|
|
|
|
|
|
|
[node name="Marker2D" type="Marker2D" parent="AutoSpawn"]
|
|
|
|
position = Vector2(121, 178)
|
|
|
|
script = ExtResource("3_u5h84")
|
|
|
|
_resPathArray = PackedStringArray("res://prefab/entitys/BlackenedAboriginalWarrior.tscn", "res://prefab/entitys/BlackenedAboriginalWarrior.tscn", "", "res://prefab/entitys/BlackenedAboriginalWarrior.tscn")
|
|
|
|
|
|
|
|
[node name="Marker2D2" type="Marker2D" parent="AutoSpawn"]
|
2024-10-16 08:42:32 +00:00
|
|
|
position = Vector2(541, 297)
|
2024-10-08 14:04:37 +00:00
|
|
|
script = ExtResource("3_u5h84")
|
|
|
|
_resPathArray = PackedStringArray("res://prefab/entitys/BlackenedAboriginalWarrior.tscn", "", "res://prefab/entitys/BlackenedAboriginalWarrior.tscn", "")
|
2024-10-11 06:52:39 +00:00
|
|
|
|
|
|
|
[node name="RoomArea" type="Area2D" parent="."]
|
|
|
|
collision_mask = 0
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomArea"]
|
2024-10-17 08:08:21 +00:00
|
|
|
position = Vector2(368, 255.5)
|
2024-10-11 06:52:39 +00:00
|
|
|
shape = SubResource("RectangleShape2D_kiih8")
|
|
|
|
|
|
|
|
[node name="SpawnArea" type="Area2D" parent="."]
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="SpawnArea"]
|
|
|
|
position = Vector2(359.5, 246.5)
|
|
|
|
shape = SubResource("RectangleShape2D_kfmgh")
|