diff --git a/data/levelGraphs/test.yaml b/data/levelGraphs/test.yaml index 3b6b659..868f4ab 100644 --- a/data/levelGraphs/test.yaml +++ b/data/levelGraphs/test.yaml @@ -7,6 +7,50 @@ connection_data_list: to_id: 3053d123-3f71-4cd0-8f05-f821aa95c702 from_port: 0 to_port: 0 + - from_id: 3053d123-3f71-4cd0-8f05-f821aa95c702 + to_id: fcc9333c-e70f-4a28-9029-1b1098502049 + from_port: 0 + to_port: 0 + - from_id: fcc9333c-e70f-4a28-9029-1b1098502049 + to_id: 627b8abc-abb9-4117-bdea-9f818a69f972 + from_port: 0 + to_port: 0 + - from_id: 627b8abc-abb9-4117-bdea-9f818a69f972 + to_id: 478eee96-e8f6-4eea-82cd-a2ab3f54e015 + from_port: 0 + to_port: 0 + - from_id: 478eee96-e8f6-4eea-82cd-a2ab3f54e015 + to_id: b2dba7b5-baab-4911-be58-7f54bdf89f86 + from_port: 0 + to_port: 0 + - from_id: fcc9333c-e70f-4a28-9029-1b1098502049 + to_id: fb43e864-e7b8-4482-a43a-34612b14aa94 + from_port: 0 + to_port: 0 + - from_id: 627b8abc-abb9-4117-bdea-9f818a69f972 + to_id: fab80988-f9b6-4e53-91cd-4c063d9cb1fb + from_port: 0 + to_port: 0 + - from_id: fb43e864-e7b8-4482-a43a-34612b14aa94 + to_id: 89805068-5b2f-4f44-92b4-58d4df704341 + from_port: 0 + to_port: 0 + - from_id: fab80988-f9b6-4e53-91cd-4c063d9cb1fb + to_id: d28a2647-a7f3-4179-a91d-d4a1d38a7438 + from_port: 0 + to_port: 0 + - from_id: 89805068-5b2f-4f44-92b4-58d4df704341 + to_id: 53abd2f0-995f-4d37-8b2f-058c70282fbd + from_port: 0 + to_port: 0 + - from_id: 53abd2f0-995f-4d37-8b2f-058c70282fbd + to_id: c702286c-5f8a-417b-9220-769bdfc1ea8c + from_port: 0 + to_port: 0 + - from_id: c702286c-5f8a-417b-9220-769bdfc1ea8c + to_id: 310c226b-dbb2-4193-b386-7b018a725228 + from_port: 0 + to_port: 0 room_node_data_list: - id: 5a284c6f-2ce5-4dba-b32e-f0fcb9e9940d title: 房间1 @@ -35,4 +79,103 @@ room_node_data_list: tags: room_injection_processor_data: '' enter_room_event_handler_id: + exit_room_event_handler_id: + - id: fcc9333c-e70f-4a28-9029-1b1098502049 + title: 房间4 + description: '' + room_template_set: + - res://prefab/roomTemplates/dungeon/ + tags: + room_injection_processor_data: '' + enter_room_event_handler_id: + exit_room_event_handler_id: + - id: 627b8abc-abb9-4117-bdea-9f818a69f972 + title: 房间5 + description: '' + room_template_set: + - res://prefab/roomTemplates/dungeon/ + tags: + room_injection_processor_data: '' + enter_room_event_handler_id: + exit_room_event_handler_id: + - id: 478eee96-e8f6-4eea-82cd-a2ab3f54e015 + title: 房间6 + description: '' + room_template_set: + - res://prefab/roomTemplates/dungeon/ + tags: + room_injection_processor_data: '' + enter_room_event_handler_id: + exit_room_event_handler_id: + - id: b2dba7b5-baab-4911-be58-7f54bdf89f86 + title: 房间7 + description: '' + room_template_set: + - res://prefab/roomTemplates/dungeon/ + tags: + room_injection_processor_data: '' + enter_room_event_handler_id: + exit_room_event_handler_id: + - id: fb43e864-e7b8-4482-a43a-34612b14aa94 + title: 房间8 + description: '' + room_template_set: + - res://prefab/roomTemplates/dungeon/ + tags: + room_injection_processor_data: '' + enter_room_event_handler_id: + exit_room_event_handler_id: + - id: fab80988-f9b6-4e53-91cd-4c063d9cb1fb + title: 房间9 + description: '' + room_template_set: + - res://prefab/roomTemplates/dungeon/ + tags: + room_injection_processor_data: '' + enter_room_event_handler_id: + exit_room_event_handler_id: + - id: d28a2647-a7f3-4179-a91d-d4a1d38a7438 + title: 房间11 + description: '' + room_template_set: + - res://prefab/roomTemplates/dungeon/ + tags: + room_injection_processor_data: '' + enter_room_event_handler_id: + exit_room_event_handler_id: + - id: 89805068-5b2f-4f44-92b4-58d4df704341 + title: 房间10 + description: '' + room_template_set: + - res://prefab/roomTemplates/dungeon/ + tags: + room_injection_processor_data: '' + enter_room_event_handler_id: + exit_room_event_handler_id: + - id: c702286c-5f8a-417b-9220-769bdfc1ea8c + title: 房间13 + description: '' + room_template_set: + - res://prefab/roomTemplates/dungeon/ + tags: + room_injection_processor_data: '' + enter_room_event_handler_id: + exit_room_event_handler_id: + - id: 53abd2f0-995f-4d37-8b2f-058c70282fbd + title: 房间12 + description: '' + room_template_set: + - res://prefab/roomTemplates/dungeon/ + tags: + room_injection_processor_data: '' + enter_room_event_handler_id: + exit_room_event_handler_id: + - id: 310c226b-dbb2-4193-b386-7b018a725228 + title: 房间14 + description: '' + room_template_set: + - res://prefab/roomTemplates/dungeon/ + tags: + room_injection_processor_data: '' + enter_room_event_handler_id: exit_room_event_handler_id: \ No newline at end of file diff --git a/locals/UI.csv b/locals/UI.csv index fabf38b..9ce0dcc 100644 --- a/locals/UI.csv +++ b/locals/UI.csv @@ -22,7 +22,7 @@ ui_re_create_map,重新创建地图,Re-create map,地図を再作成します ui_seed_info,种子:{0},Seed: {0},シード:{0} ui_tags,标签,Tags,と呼ぶ ui_room_injection_processor,房间注入处理器,Room injection processor,部屋注入処理器 -ui_game_over_title,你已死亡,You are dead.,あなたは亡くなられました +ui_game_over_title,游戏结束!,Game Over!,ゲームオーバー! ui_death_info_describe,死因,death,死因 ui_restart,重新开始,Restart,ぶり返す ui_contributor_tips,由{0}位贡献者共同打造,Built by {0} contributors,{0}のコントリビューターが共同で作り上げました diff --git a/prefab/roomTemplates/dungeon/cell.tscn b/prefab/roomTemplates/dungeon/cell.tscn new file mode 100644 index 0000000..308e84b --- /dev/null +++ b/prefab/roomTemplates/dungeon/cell.tscn @@ -0,0 +1,106 @@ +[gd_scene load_steps=9 format=4 uid="uid://ce72ll6d2s7qm"] + +[ext_resource type="TileSet" uid="uid://c4wpp12rr44hi" path="res://tileSets/dungeon.tres" id="1_feq8g"] +[ext_resource type="Texture2D" uid="uid://drw45jlmfo0su" path="res://sprites/light/White_100.png" id="2_02nwo"] +[ext_resource type="Script" path="res://scripts/map/AiCharacterSpawn.cs" id="3_io6w6"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_o85u0"] +size = Vector2(20, 48) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_6qg1t"] +size = Vector2(23.9688, 51) + +[sub_resource type="NavigationPolygon" id="NavigationPolygon_1qloc"] +vertices = PackedVector2Array(1015.08, 298.672, 1045.31, 299.672, 1046.68, 342, 11.1719, 342, 11.8438, 300.641, 38.7422, 299.648, 45.7266, 45, 1013.07, 45.9766) +polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3, 4, 5), PackedInt32Array(0, 5, 6, 7)]) +outlines = Array[PackedVector2Array]([PackedVector2Array(36, 35, 1023, 36, 1025, 289, 1055, 290, 1057, 352, 1, 352, 2, 291, 29, 290)]) +source_geometry_group_name = &"navigation_polygon_source_group" + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_kiih8"] +size = Vector2(1054, 379) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_kfmgh"] +size = Vector2(916, 305) + +[node name="InitialRoom2" type="Node2D"] + +[node name="RoomSlotList" type="Node2D" parent="."] + +[node name="Area2D" type="Area2D" parent="RoomSlotList"] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D"] +position = Vector2(15, 322) +shape = SubResource("RectangleShape2D_o85u0") + +[node name="Area2D3" type="Area2D" parent="RoomSlotList"] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D3"] +position = Vector2(1041, 319) +shape = SubResource("RectangleShape2D_6qg1t") + +[node name="NavigationRegion2D" type="NavigationRegion2D" parent="."] +navigation_polygon = SubResource("NavigationPolygon_1qloc") + +[node name="TileMap" type="Node2D" parent="."] + +[node name="BackgroundWall" type="TileMapLayer" parent="TileMap"] +use_parent_material = true +tile_map_data = PackedByteArray("AAABAAEAAQAGAAUAAAACAAEAAQAGAAUAAAADAAEAAQAGAAUAAAAEAAEAAQAGAAUAAAAFAAEAAQAGAAUAAAAGAAEAAQAGAA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AAUAAcAAQAGAAUAAAAVAAcAAQAGAAUAAAAWAAcAAQAGAAUAAAAXAAcAAQAGAAUAAAAXAAYAAQAGAAUAAAAPAAcAAQAGAAUAAAAOAAcAAQAGAAUAAAANAAcAAQAGAAUAAAAMAAcAAQAGAAUAAAALAAcAAQAGAAUAAAAKAAcAAQAGAAUAAAAJAAcAAQAGAAUAAAAIAAcAAQAGAAUAAAAHAAcAAQAGAAUAAAAGAAcAAQAGAAUAAAANAAgAAQAGAAUAAAAOAAgAAQAGAAUAAAAPAAgAAQAGAAUAAAAQAAgAAQAGAAUAAAARAAkAAQAGAAUAAAASAAkAAQAGAAUAAAATAAkAAQAGAAUAAAAUAAkAAQAGAAUAAAAVAAkAAQAGAAUAAAAWAAkAAQAGAAUAAAAXAAkAAQAGAAUAAAAYAAkAAQAGAAUAAAASAAgAAQAGAAUAAAARAAgAAQAGAAUAAAATAAgAAQAGAAUAAAAUAAgAAQAGAAUAAAAVAAgAAQAGAAUAAAAWAAgAAQAGAAUAAAAXAAgAAQAGAAUAAAAQAAkAAQAGAAUAAAAPAAkAAQAGAAUAAAAOAAkAAQAGAAUAAAALAAgAAQAGAAUAAAAKAAgAAQAGAAUAAAAJAAgAAQAGAAUAAAAIAAgAAQAGAAUAAAAHAAgAAQAGAAUAAAAGAAgAAQAGAAUAAAAMAAgAAQAGAAUAAAAAAAoAAQAGAAUAAAAAAAkAAQAGAAUAAAAgAAkAAQAGAAUAAAAgAAoAAQAGAAUAAAA=") +tile_set = ExtResource("1_feq8g") +navigation_enabled = false + +[node name="BackgroundDecoration" type="TileMapLayer" parent="TileMap"] +use_parent_material = true +tile_map_data = PackedByteArray("AAAfAAEAAQAHAAQAAAABAAEAAQAGAAQAAAAGAAUAAQAHAAEAAAA=") +tile_set = ExtResource("1_feq8g") + +[node name="Ground" type="TileMapLayer" parent="TileMap"] +use_parent_material = true +tile_map_data = PackedByteArray("AAABAAAAAQABAAIAAAACAAAAAQABAAIAAAADAAAAAQABAAIAAAAEAA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AAQAAQAAAAEAAAAgAAMAAQAAAAEAAAAgAAIAAQAAAAEAAAAgAAEAAQAAAAEAAAAgAAAAAQACAAMAAAAgAAsAAQACAAUAAAAAAAUAAQACAAEAAAAAAAYAAQACAAEAAAAgAAUAAQAAAAEAAAAgAAYAAQAAAAEAAAACAAYAAQAEAAQAAAADAAYAAQAEAAQAAAAJAAYAAQAEAAQAAAAKAAYAAQAEAAQAAAALAAYAAQAEAAQAAAAMAAYAAQAEAAQAAAANAAYAAQAEAAQAAAAOAAYAAQAEAAQAAAAPAAYAAQAEAAQAAAAQAAYAAQAEAAQAAAAUAAYAAQAEAAQAAAAVAAYAAQAEAAQAAAAWAAYAAQAEAAQAAAAXAAYAAQAEAAQAAAAYAAYAAQAEAAQAAAAZAAYAAQAEAAQAAAAaAAYAAQAEAAQAAAAdAAYAAQAEAAQAAAAeAAYAAQAEAAQAAAAfAAYAAQAFAAQAAAABAAYAAQADAAQAAAATAAYAAQAEAAQAAAASAAYAAQAEAAQAAAARAAYAAQAEAAQAAAAIAAYAAQAEAAQAAAAHAAYAAQAEAAQAAAAGAAYAAQAEAAQAAAAPAAcAAQAEAAQAAAAPAAgAAQAEAAQAAAAPAAkAAQAEAAQAAAAPAAoAAQAEAAQAAAAQAAoAAQAEAAQAAAAQAAkAAQAEAAQAAAAQAAgAAQAEAAQAAAAQAAcAAQAEAAQAAAA=") +tile_set = ExtResource("1_feq8g") + +[node name="Barrier" type="TileMapLayer" parent="TileMap"] +use_parent_material = true +tile_map_data = PackedByteArray("AAAgAAkAAQAAAAEAAAAgAAoAAQAAAAEAAAAAAAkAAQACAAEAAAAAAAoAAQACAAEAAAA=") +tile_set = ExtResource("1_feq8g") + +[node name="PointLight2D" type="PointLight2D" parent="."] +visible = false +position = Vector2(525, 191.5) +scale = Vector2(32.9375, 12.0938) +texture = ExtResource("2_02nwo") + +[node name="AutoSpawn" type="Node2D" parent="."] + +[node name="Marker2D" type="Marker2D" parent="AutoSpawn"] +position = Vector2(54, 155) +script = ExtResource("3_io6w6") +_resPathArray = PackedStringArray("", "res://prefab/entitys/BlackenedAboriginalWarrior.tscn", "res://prefab/entitys/BlackenedAboriginalWarrior.tscn") + +[node name="Marker2D2" type="Marker2D" parent="AutoSpawn"] +position = Vector2(1000, 158) +script = ExtResource("3_io6w6") +_resPathArray = PackedStringArray("", "res://prefab/entitys/BlackenedAboriginalWarrior.tscn", "res://prefab/entitys/BlackenedAboriginalWarrior.tscn") + +[node name="Marker2D3" type="Marker2D" parent="AutoSpawn"] +position = Vector2(285, 158) +script = ExtResource("3_io6w6") +_resPathArray = PackedStringArray("res://prefab/entitys/BlackenedAboriginalWarrior.tscn", "", "res://prefab/entitys/BlackenedAboriginalWarrior.tscn") + +[node name="Marker2D4" type="Marker2D" parent="AutoSpawn"] +position = Vector2(795, 168) +script = ExtResource("3_io6w6") +_resPathArray = PackedStringArray("res://prefab/entitys/BlackenedAboriginalWarrior.tscn", "", "res://prefab/entitys/BlackenedAboriginalWarrior.tscn") + +[node name="RoomArea" type="Area2D" parent="."] +collision_mask = 0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomArea"] +position = Vector2(528, 190.5) +shape = SubResource("RectangleShape2D_kiih8") + +[node name="SpawnArea" type="Area2D" parent="."] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="SpawnArea"] +position = Vector2(523, 191.5) +shape = SubResource("RectangleShape2D_kfmgh") diff --git a/prefab/roomTemplates/dungeon/utilityRoom.tscn b/prefab/roomTemplates/dungeon/utilityRoom.tscn index f1e98c3..d0f1192 100644 --- a/prefab/roomTemplates/dungeon/utilityRoom.tscn +++ b/prefab/roomTemplates/dungeon/utilityRoom.tscn @@ -87,7 +87,7 @@ 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"] -position = Vector2(545, 438) +position = Vector2(541, 297) script = ExtResource("3_u5h84") _resPathArray = PackedStringArray("res://prefab/entitys/BlackenedAboriginalWarrior.tscn", "", "res://prefab/entitys/BlackenedAboriginalWarrior.tscn", "") diff --git a/tileSets/dungeon.tres b/tileSets/dungeon.tres index cc6d078..58911a3 100644 --- a/tileSets/dungeon.tres +++ b/tileSets/dungeon.tres @@ -35,9 +35,9 @@ texture_region_size = Vector2i(32, 32) 2:3/0 = 0 2:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 3:1/0 = 0 -3:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +3:1/0/physics_layer_2/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 3:0/0 = 0 -3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +3:0/0/physics_layer_2/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 2:0/0 = 0 2:0/0/physics_layer_2/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) 4:0/0 = 0