diff --git a/.gitignore b/.gitignore index dbf6167..3c89803 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ export_presets.cfg .vs/ *.translation *.user -AppConfig.yaml \ No newline at end of file +AppConfig.yaml +ColdMint.Traveler.csproj.old \ No newline at end of file diff --git a/ColdMint.Traveler.csproj b/ColdMint.Traveler.csproj index 9ba3342..34b43cd 100644 --- a/ColdMint.Traveler.csproj +++ b/ColdMint.Traveler.csproj @@ -1,4 +1,4 @@ - + net6.0 net7.0 diff --git a/prefab/roomTemplates/dungeon/horizontalCorridor.tscn b/prefab/roomTemplates/dungeon/horizontalCorridor.tscn index c4849c1..b619abc 100644 --- a/prefab/roomTemplates/dungeon/horizontalCorridor.tscn +++ b/prefab/roomTemplates/dungeon/horizontalCorridor.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=8 format=3 uid="uid://b0uurp551pku"] +[gd_scene load_steps=8 format=4 uid="uid://b0uurp551pku"] [ext_resource type="TileSet" uid="uid://c4wpp12rr44hi" path="res://tileSets/dungeon.tres" id="1_a15hy"] [ext_resource type="Script" path="res://scripts/map/AiCharacterSpawn.cs" id="2_wamhd"] @@ -23,17 +23,6 @@ source_geometry_group_name = &"navigation_polygon_source_group" [node name="InitialRoom" type="Node2D"] -[node name="TileMap" type="TileMap" parent="."] -tile_set = ExtResource("1_a15hy") -format = 2 -layer_0/name = "BackgroundWall" -layer_0/navigation_enabled = false -layer_0/tile_data = PackedInt32Array(65550, 393217, 5, 131086, 393217, 5, 196622, 393217, 5, 262158, 393217, 5, 262157, 393217, 5, 196621, 393217, 5, 131085, 393217, 5, 65549, 393217, 5, 65548, 393217, 5, 65547, 393217, 5, 65546, 393217, 5, 65545, 393217, 5, 65544, 393217, 5, 65543, 393217, 5, 65542, 393217, 5, 65541, 393217, 5, 65540, 393217, 5, 65539, 393217, 5, 65538, 393217, 5, 65537, 393217, 5, 131073, 393217, 5, 131074, 393217, 5, 131075, 393217, 5, 131076, 393217, 5, 131077, 393217, 5, 131078, 393217, 5, 131079, 393217, 5, 131080, 393217, 5, 131081, 393217, 5, 131082, 393217, 5, 131083, 393217, 5, 131084, 393217, 5, 196620, 393217, 5, 196619, 393217, 5, 196618, 393217, 5, 196617, 393217, 5, 196616, 262145, 5, 196615, 393217, 5, 196614, 393217, 5, 196613, 262145, 5, 196612, 393217, 5, 196611, 393217, 5, 196610, 393217, 5, 196609, 393217, 5, 262145, 393217, 5, 262146, 393217, 5, 262147, 393217, 5, 262148, 393217, 5, 262149, 393217, 5, 262150, 393217, 5, 262151, 393217, 5, 262152, 393217, 5, 262153, 393217, 5, 262154, 393217, 5, 262155, 393217, 5, 262156, 393217, 5, 196608, 393217, 5, 262144, 393217, 5, 262159, 393217, 5, 196623, 393217, 5, 5, 393217, 5, 6, 393217, 5) -layer_1/name = "BackgroundDecoration" -layer_1/tile_data = PackedInt32Array() -layer_2/name = "Ground" -layer_2/tile_data = PackedInt32Array(0, 1, 3, 65536, 131073, 1, 131072, 131073, 1, 1, 65537, 2, 2, 65537, 2, 3, 65537, 2, 4, 65537, 2, 7, 65537, 2, 8, 65537, 2, 9, 65537, 2, 10, 65537, 2, 11, 65537, 2, 12, 65537, 2, 13, 65537, 2, 14, 65537, 3, 15, 131073, 3, 65551, 131073, 4, 131087, 131073, 4, 327681, 65537, 0, 327682, 65537, 0, 327683, 65537, 0, 327684, 65537, 0, 327685, 65537, 0, 327686, 65537, 0, 327687, 65537, 0, 327688, 65537, 0, 327689, 65537, 0, 327690, 65537, 0, 327691, 65537, 0, 327692, 65537, 0, 327693, 65537, 0, 327694, 65537, 0, 327680, 1, 5, 327695, 131073, 5, 5, 262145, 4, 6, 262145, 4) - [node name="RoomArea" type="Area2D" parent="."] collision_mask = 0 @@ -68,3 +57,20 @@ metadata/ResPath = "res://prefab/entitys/DelivererOfDarkMagic.tscn" [node name="NavigationRegion2D" type="NavigationRegion2D" parent="."] navigation_polygon = SubResource("NavigationPolygon_rh1gx") + +[node name="TileMap" type="Node2D" parent="."] + +[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AUAAAA=") +tile_set = ExtResource("1_a15hy") +navigation_enabled = false + +[node name="BackgroundDecoration" type="TileMapLayer" parent="TileMap"] +use_parent_material = true +tile_set = ExtResource("1_a15hy") + +[node name="Ground" type="TileMapLayer" parent="TileMap"] +use_parent_material = true +tile_map_data = PackedByteArray("AAAAAAAAAQAAAAMAAAAAAAEAAQACAAEAAAAAAAIAAQACAAEAAAABAAAAAQABAAIAAAACAAAAAQABAAIAAAADAAAAAQABAAIAAAAEAAAAAQABAAIAAAAHAAAAAQABAAIAAAAIAAAAAQABAAIAAAAJAAAAAQABAAIAAAAKAAAAAQABAAIAAAALAAAAAQABAAIAAAAMAAAAAQABAAIAAAANAAAAAQABAAIAAAAOAAAAAQABAAMAAAAPAAAAAQACAAMAAAAPAAEAAQACAAQAAAAPAAIAAQACAAQAAAABAAUAAQABAAAAAAACAAUAAQABAAAAAAADAAUAAQABAAAAAAAEAAUAAQABAAAAAAAFAAUAAQABAAAAAAAGAAUAAQABAAAAAAAHAAUAAQABAAAAAAAIAAUAAQABAAAAAAAJAAUAAQABAAAAAAAKAAUAAQABAAAAAAALAAUAAQABAAAAAAAMAAUAAQABAAAAAAANAAUAAQABAAAAAAAOAAUAAQABAAAAAAAAAAUAAQAAAAUAAAAPAAUAAQACAAUAAAAFAAAAAQAEAAQAAAAGAAAAAQAEAAQAAAA=") +tile_set = ExtResource("1_a15hy") diff --git a/prefab/roomTemplates/dungeon/horizontalCorridorWithSewer.tscn b/prefab/roomTemplates/dungeon/horizontalCorridorWithSewer.tscn index ee0997a..8d6a180 100644 --- a/prefab/roomTemplates/dungeon/horizontalCorridorWithSewer.tscn +++ b/prefab/roomTemplates/dungeon/horizontalCorridorWithSewer.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=8 format=3 uid="uid://dslr5tdbp4noq"] +[gd_scene load_steps=8 format=4 uid="uid://dslr5tdbp4noq"] [ext_resource type="TileSet" uid="uid://c4wpp12rr44hi" path="res://tileSets/dungeon.tres" id="1_rn2om"] [ext_resource type="Script" path="res://scripts/map/AiCharacterSpawn.cs" id="2_7q101"] @@ -23,17 +23,6 @@ source_geometry_group_name = &"navigation_polygon_source_group" [node name="InitialRoom" type="Node2D"] -[node name="TileMap" type="TileMap" parent="."] -tile_set = ExtResource("1_rn2om") -format = 2 -layer_0/name = "BackgroundWall" -layer_0/navigation_enabled = false -layer_0/tile_data = PackedInt32Array(65550, 393217, 5, 131086, 393217, 5, 196622, 393217, 5, 262158, 393217, 5, 262157, 393217, 5, 196621, 393217, 5, 131085, 393217, 5, 65549, 393217, 5, 65548, 393217, 5, 65547, 393217, 5, 65546, 393217, 5, 65545, 393217, 5, 65544, 393217, 5, 65543, 393217, 5, 65542, 393217, 5, 65541, 393217, 5, 65540, 393217, 5, 65539, 393217, 5, 65538, 393217, 5, 65537, 393217, 5, 131073, 393217, 5, 131074, 393217, 5, 131075, 393217, 5, 131076, 393217, 5, 131077, 393217, 5, 131078, 393217, 5, 131079, 393217, 5, 131080, 393217, 5, 131081, 393217, 5, 131082, 393217, 5, 131083, 393217, 5, 131084, 393217, 5, 196620, 393217, 5, 196619, 393217, 5, 196618, 393217, 5, 196617, 393217, 5, 196616, 262145, 5, 196615, 393217, 5, 196614, 393217, 5, 196613, 262145, 5, 196612, 393217, 5, 196611, 393217, 5, 196610, 393217, 5, 196609, 393217, 5, 262145, 393217, 5, 262146, 393217, 5, 262147, 393217, 5, 262148, 393217, 5, 262149, 393217, 5, 262150, 393217, 5, 262151, 393217, 5, 262152, 393217, 5, 262153, 393217, 5, 262154, 393217, 5, 262155, 393217, 5, 262156, 393217, 5, 196608, 393217, 5, 262144, 393217, 5, 262159, 393217, 5, 196623, 393217, 5, 327686, 393217, 5, 327687, 393217, 5) -layer_1/name = "BackgroundDecoration" -layer_1/tile_data = PackedInt32Array() -layer_2/name = "Ground" -layer_2/tile_data = PackedInt32Array(0, 1, 3, 65536, 131073, 1, 131072, 131073, 1, 1, 65537, 2, 2, 65537, 2, 3, 65537, 2, 4, 65537, 2, 5, 65537, 2, 6, 65537, 2, 7, 65537, 2, 8, 65537, 2, 9, 65537, 2, 10, 65537, 2, 11, 65537, 2, 12, 65537, 2, 13, 65537, 2, 14, 65537, 3, 15, 131073, 3, 65551, 131073, 4, 131087, 131073, 4, 327681, 65537, 0, 327682, 65537, 0, 327683, 65537, 0, 327684, 65537, 0, 327685, 65537, 0, 327688, 65537, 0, 327689, 65537, 0, 327690, 65537, 0, 327691, 65537, 0, 327692, 65537, 0, 327693, 65537, 0, 327694, 65537, 0, 327680, 1, 5, 327695, 131073, 5, 327686, 262145, 4, 327687, 262145, 4) - [node name="RoomArea" type="Area2D" parent="."] collision_mask = 0 @@ -69,3 +58,20 @@ metadata/ResPath = "res://prefab/entitys/DelivererOfDarkMagic.tscn" [node name="NavigationRegion2D" type="NavigationRegion2D" parent="."] navigation_polygon = SubResource("NavigationPolygon_db40i") + +[node name="TileMap" type="Node2D" parent="."] + +[node name="BackgroundWall" type="TileMapLayer" parent="TileMap"] +use_parent_material = true +tile_map_data = PackedByteArray("AAAOAAEAAQAGAAUAAAAOAAIAAQAGAAUAAAAOAAMAAQAGAAUAAAAOAAQAAQAGAAUAAAANAAQAAQAGAAUAAAANAAMAAQAGAAUAAAANAAIAAQAGAAUAAAANAAEAAQAGAAUAAAAMAAEAAQAGAAUAAAALAAEAAQAGAAUAAAAKAAEAAQAGAAUAAAAJAAEAAQAGAAUAAAAIAAEAAQAGAAUAAAAHAAEAAQAGAAUAAAAGAAEAAQAGAAUAAAAFAAEAAQAGAAUAAAAEAAEAAQAGAAUAAAADAAEAAQAGAAUAAAACAAEAAQAGAAUAAAABAAEAAQAGAAUAAAABAAIAAQAGAAUAAAACAAIAAQAGAAUAAAADAAIAAQAGAAUAAAAEAAIAAQAGAAUAAAAFAAIAAQAGAAUAAAAGAAIAAQAGAAUAAAAHAAIAAQAGAAUAAAAIAAIAAQAGAAUAAAAJAAIAAQAGAAUAAAAKAAIAAQAGAAUAAAALAAIAAQAGAAUAAAAMAAIAAQAGAAUAAAAMAAMAAQAGAAUAAAALAAMAAQAGAAUAAAAKAAMAAQAGAAUAAAAJAAMAAQAGAAUAAAAIAAMAAQAEAAUAAAAHAAMAAQAGAAUAAAAGAAMAAQAGAAUAAAAFAAMAAQAEAAUAAAAEAAMAAQAGAAUAAAADAAMAAQAGAAUAAAACAAMAAQAGAAUAAAABAAMAAQAGAAUAAAABAAQAAQAGAAUAAAACAAQAAQAGAAUAAAADAAQAAQAGAAUAAAAEAAQAAQAGAAUAAAAFAAQAAQAGAAUAAAAGAAQAAQAGAAUAAAAHAAQAAQAGAAUAAAAIAAQAAQAGAAUAAAAJAAQAAQAGAAUAAAAKAAQAAQAGAAUAAAALAAQAAQAGAAUAAAAMAAQAAQAGAAUAAAAAAAMAAQAGAAUAAAAAAAQAAQAGAAUAAAAPAAQAAQAGAAUAAAAPAAMAAQAGAAUAAAAGAAUAAQAGAAUAAAAHAAUAAQAGAAUAAAA=") +tile_set = ExtResource("1_rn2om") +navigation_enabled = false + +[node name="BackgroundDecoration" type="TileMapLayer" parent="TileMap"] +use_parent_material = true +tile_set = ExtResource("1_rn2om") + +[node name="Ground" type="TileMapLayer" parent="TileMap"] +use_parent_material = true +tile_map_data = PackedByteArray("AAAAAAAAAQAAAAMAAAAAAAEAAQACAAEAAAAAAAIAAQACAAEAAAABAAAAAQABAAIAAAACAAAAAQABAAIAAAADAAAAAQABAAIAAAAEAAAAAQABAAIAAAAFAAAAAQABAAIAAAAGAAAAAQABAAIAAAAHAAAAAQABAAIAAAAIAAAAAQABAAIAAAAJAAAAAQABAAIAAAAKAAAAAQABAAIAAAALAAAAAQABAAIAAAAMAAAAAQABAAIAAAANAAAAAQABAAIAAAAOAAAAAQABAAMAAAAPAAAAAQACAAMAAAAPAAEAAQACAAQAAAAPAAIAAQACAAQAAAABAAUAAQABAAAAAAACAAUAAQABAAAAAAADAAUAAQABAAAAAAAEAAUAAQABAAAAAAAFAAUAAQABAAAAAAAIAAUAAQABAAAAAAAJAAUAAQABAAAAAAAKAAUAAQABAAAAAAALAAUAAQABAAAAAAAMAAUAAQABAAAAAAANAAUAAQABAAAAAAAOAAUAAQABAAAAAAAAAAUAAQAAAAUAAAAPAAUAAQACAAUAAAAGAAUAAQAEAAQAAAAHAAUAAQAEAAQAAAA=") +tile_set = ExtResource("1_rn2om") diff --git a/prefab/roomTemplates/dungeon/initialRoom.tscn b/prefab/roomTemplates/dungeon/initialRoom.tscn index 0ff5593..ba92a1f 100644 --- a/prefab/roomTemplates/dungeon/initialRoom.tscn +++ b/prefab/roomTemplates/dungeon/initialRoom.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=8 format=3 uid="uid://du5ldsp613fei"] +[gd_scene load_steps=8 format=4 uid="uid://du5ldsp613fei"] [ext_resource type="TileSet" uid="uid://c4wpp12rr44hi" path="res://tileSets/dungeon.tres" id="1_rn2om"] [ext_resource type="Script" path="res://scripts/map/PlayerSpawn.cs" id="2_6p8mv"] @@ -19,17 +19,6 @@ source_geometry_group_name = &"navigation_polygon_source_group" [node name="InitialRoom" type="Node2D"] -[node name="TileMap" type="TileMap" parent="."] -tile_set = ExtResource("1_rn2om") -format = 2 -layer_0/name = "BackgroundWall" -layer_0/navigation_enabled = false -layer_0/tile_data = PackedInt32Array(393230, 393217, 5, 393229, 393217, 5, 393228, 393217, 5, 393227, 393217, 5, 393226, 393217, 5, 393225, 393217, 5, 393224, 393217, 5, 393223, 393217, 5, 393222, 393217, 5, 65550, 393217, 5, 131086, 393217, 5, 196622, 393217, 5, 262158, 393217, 5, 327694, 393217, 5, 327693, 393217, 5, 262157, 393217, 5, 196621, 393217, 5, 131085, 393217, 5, 65549, 393217, 5, 65548, 393217, 5, 65547, 393217, 5, 65546, 393217, 5, 65545, 393217, 5, 65544, 393217, 5, 65543, 393217, 5, 65542, 393217, 5, 65541, 393217, 5, 65540, 393217, 5, 65539, 393217, 5, 65538, 393217, 5, 65537, 393217, 5, 131073, 393217, 5, 131074, 393217, 5, 131075, 393217, 5, 131076, 393217, 5, 131077, 393217, 5, 131078, 393217, 5, 131079, 393217, 5, 131080, 393217, 5, 131081, 393217, 5, 131082, 393217, 5, 131083, 393217, 5, 131084, 393217, 5, 196620, 393217, 5, 196619, 393217, 5, 196618, 393217, 5, 196617, 393217, 5, 196616, 262145, 5, 196615, 393217, 5, 196614, 393217, 5, 196613, 262145, 5, 196612, 393217, 5, 196611, 393217, 5, 196610, 393217, 5, 196609, 393217, 5, 262145, 393217, 5, 262146, 393217, 5, 262147, 393217, 5, 262148, 393217, 5, 262149, 393217, 5, 262150, 393217, 5, 262151, 393217, 5, 262152, 393217, 5, 262153, 393217, 5, 262154, 393217, 5, 262155, 393217, 5, 262156, 393217, 5, 327692, 393217, 5, 327691, 393217, 5, 327690, 393217, 5, 327689, 393217, 5, 327688, 393217, 5, 327687, 393217, 5, 327686, 393217, 5, 327685, 393217, 5, 327684, 393217, 5, 327683, 393217, 5, 327682, 393217, 5, 327681, 393217, 5, 393217, 393217, 5, 393218, 393217, 5, 393219, 393217, 5, 393220, 393217, 5, 393221, 393217, 5, 393231, 393217, 5, 327695, 393217, 5) -layer_1/name = "BackgroundDecoration" -layer_1/tile_data = PackedInt32Array(393218, 458753, 5, 65550, 458753, 4) -layer_2/name = "Ground" -layer_2/tile_data = PackedInt32Array(0, 1, 3, 65536, 131073, 1, 131072, 131073, 1, 196608, 131073, 1, 262144, 131073, 1, 458752, 1, 5, 15, 131073, 3, 65551, 131073, 4, 131087, 131073, 4, 196623, 131073, 4, 262159, 131073, 4, 458767, 131073, 5, 327680, 131073, 1, 393216, 131073, 1, 1, 65537, 2, 2, 65537, 2, 3, 65537, 2, 4, 65537, 2, 5, 65537, 2, 6, 65537, 2, 7, 65537, 2, 8, 65537, 2, 9, 65537, 2, 10, 65537, 2, 11, 65537, 2, 12, 65537, 2, 13, 65537, 2, 14, 65537, 3, 458753, 65537, 0, 458754, 65537, 0, 458755, 65537, 0, 458756, 65537, 0, 458757, 65537, 0, 458758, 65537, 0, 458759, 65537, 0, 458760, 65537, 0, 458761, 65537, 0, 458762, 65537, 0, 458763, 65537, 0, 458764, 65537, 0, 458765, 65537, 0, 458766, 65537, 0) - [node name="RoomArea" type="Area2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="RoomArea"] @@ -61,3 +50,21 @@ texture = ExtResource("4_psvpu") [node name="NavigationRegion2D" type="NavigationRegion2D" parent="."] navigation_polygon = SubResource("NavigationPolygon_064c7") + +[node name="TileMap" type="Node2D" parent="."] + +[node name="BackgroundWall" type="TileMapLayer" parent="TileMap"] +use_parent_material = true +tile_map_data = PackedByteArray("AAAOAAYAAQAGAAUAAAANAAYAAQAGAAUAAAAMAAYAAQAGAAUAAAALAAYAAQAGAAUAAAAKAAYAAQAGAAUAAAAJAAYAAQAGAAUAAAAIAAYAAQAGAAUAAAAHAAYAAQAGAAUAAAAGAAYAAQAGAAUAAAAOAAEAAQAGAAUAAAAOAAIAAQAGAAUAAAAOAAMAAQAGAAUAAAAOAAQAAQAGAAUAAAAOAAUAAQAGAAUAAAANAAUAAQAGAAUAAAANAAQAAQAGAAUAAAANAAMAAQAGAAUAAAANAAIAAQAGAAUAAAANAAEAAQAGAAUAAAAMAAEAAQAGAAUAAAALAAEAAQAGAAUAAAAKAAEAAQAGAAUAAAAJAAEAAQAGAAUAAAAIAAEAAQAGAAUAAAAHAAEAAQAGAAUAAAAGAAEAAQAGAAUAAAAFAAEAAQAGAAUAAAAEAAEAAQAGAAUAAAADAAEAAQAGAAUAAAACAAEAAQAGAAUAAAABAAEAAQAGAAUAAAABAAIAAQAGAAUAAAACAAIAAQAGAAUAAAADAAIAAQAGAAUAAAAEAAIAAQAGAAUAAAAFAAIAAQAGAAUAAAAGAAIAAQAGAAUAAAAHAAIAAQAGAAUAAAAIAAIAAQAGAAUAAAAJAAIAAQAGAAUAAAAKAAIAAQAGAAUAAAALAAIAAQAGAAUAAAAMAAIAAQAGAAUAAAAMAAMAAQAGAAUAAAALAAMAAQAGAAUAAAAKAAMAAQAGAAUAAAAJAAMAAQAGAAUAAAAIAAMAAQAEAAUAAAAHAAMAAQAGAAUAAAAGAAMAAQAGAAUAAAAFAAMAAQAEAAUAAAAEAAMAAQAGAAUAAAADAAMAAQAGAAUAAAACAAMAAQAGAAUAAAABAAMAAQAGAAUAAAABAAQAAQAGAAUAAAACAAQAAQAGAAUAAAADAAQAAQAGAAUAAAAEAAQAAQAGAAUAAAAFAAQAAQAGAAUAAAAGAAQAAQAGAAUAAAAHAAQAAQAGAAUAAAAIAAQAAQAGAAUAAAAJAAQAAQAGAAUAAAAKAAQAAQAGAAUAAAALAAQAAQAGAAUAAAAMAAQAAQAGAAUAAAAMAAUAAQAGAAUAAAALAAUAAQAGAAUAAAAKAAUAAQAGAAUAAAAJAAUAAQAGAAUAAAAIAAUAAQAGAAUAAAAHAAUAAQAGAAUAAAAGAAUAAQAGAAUAAAAFAAUAAQAGAAUAAAAEAAUAAQAGAAUAAAADAAUAAQAGAAUAAAACAAUAAQAGAAUAAAABAAUAAQAGAAUAAAABAAYAAQAGAAUAAAACAAYAAQAGAAUAAAADAAYAAQAGAAUAAAAEAAYAAQAGAAUAAAAFAAYAAQAGAAUAAAAPAAYAAQAGAAUAAAAPAAUAAQAGAAUAAAA=") +tile_set = ExtResource("1_rn2om") +navigation_enabled = false + +[node name="BackgroundDecoration" type="TileMapLayer" parent="TileMap"] +use_parent_material = true +tile_map_data = PackedByteArray("AAACAAYAAQAHAAUAAAAOAAEAAQAHAAQAAAA=") +tile_set = ExtResource("1_rn2om") + +[node name="Ground" type="TileMapLayer" parent="TileMap"] +use_parent_material = true +tile_map_data = PackedByteArray("AAAAAAAAAQAAAAMAAAAAAAEAAQACAAEAAAAAAAIAAQACAAEAAAAAAAMAAQACAAEAAAAAAAQAAQACAAEAAAAAAAcAAQAAAAUAAAAPAAAAAQACAAMAAAAPAAEAAQACAAQAAAAPAAIAAQACAAQAAAAPAAMAAQACAAQAAAAPAAQAAQACAAQAAAAPAAcAAQACAAUAAAAAAAUAAQACAAEAAAAAAAYAAQACAAEAAAABAAAAAQABAAIAAAACAAAAAQABAAIAAAADAAAAAQABAAIAAAAEAAAAAQABAAIAAAAFAAAAAQABAAIAAAAGAAAAAQABAAIAAAAHAAAAAQABAAIAAAAIAAAAAQABAAIAAAAJAAAAAQABAAIAAAAKAAAAAQABAAIAAAALAAAAAQABAAIAAAAMAAAAAQABAAIAAAANAAAAAQABAAIAAAAOAAAAAQABAAMAAAABAAcAAQABAAAAAAACAAcAAQABAAAAAAADAAcAAQABAAAAAAAEAAcAAQABAAAAAAAFAAcAAQABAAAAAAAGAAcAAQABAAAAAAAHAAcAAQABAAAAAAAIAAcAAQABAAAAAAAJAAcAAQABAAAAAAAKAAcAAQABAAAAAAALAAcAAQABAAAAAAAMAAcAAQABAAAAAAANAAcAAQABAAAAAAAOAAcAAQABAAAAAAA=") +tile_set = ExtResource("1_rn2om") diff --git a/prefab/roomTemplates/dungeon/utilityRoom.tscn b/prefab/roomTemplates/dungeon/utilityRoom.tscn index 23d009a..e80166b 100644 --- a/prefab/roomTemplates/dungeon/utilityRoom.tscn +++ b/prefab/roomTemplates/dungeon/utilityRoom.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=7 format=3 uid="uid://c57cc1tyreybb"] +[gd_scene load_steps=7 format=4 uid="uid://c57cc1tyreybb"] [ext_resource type="TileSet" uid="uid://c4wpp12rr44hi" path="res://tileSets/dungeon.tres" id="1_rn2om"] @@ -22,17 +22,6 @@ source_geometry_group_name = &"navigation_polygon_source_group" [node name="InitialRoom" type="Node2D"] -[node name="TileMap" type="TileMap" parent="."] -tile_set = ExtResource("1_rn2om") -format = 2 -layer_0/name = "BackgroundWall" -layer_0/navigation_enabled = false -layer_0/tile_data = PackedInt32Array(65537, 393217, 5, 131073, 393217, 5, 196609, 393217, 5, 262145, 393217, 5, 327681, 393217, 5, 393217, 393217, 5, 458753, 393217, 5, 524289, 393217, 5, 589825, 393217, 5, 655361, 393217, 5, 65538, 393217, 5, 131074, 393217, 5, 196610, 393217, 5, 262146, 393217, 5, 327682, 393217, 5, 393218, 393217, 5, 458754, 393217, 5, 524290, 393217, 5, 589826, 393217, 5, 655362, 393217, 5, 65539, 393217, 5, 131075, 393217, 5, 196611, 393217, 5, 262147, 393217, 5, 327683, 393217, 5, 393219, 393217, 5, 458755, 393217, 5, 524291, 393217, 5, 589827, 393217, 5, 655363, 393217, 5, 65540, 393217, 5, 131076, 393217, 5, 196612, 393217, 5, 262148, 393217, 5, 327684, 393217, 5, 393220, 393217, 5, 458756, 393217, 5, 524292, 393217, 5, 589828, 393217, 5, 655364, 393217, 5, 65541, 393217, 5, 131077, 393217, 5, 196613, 393217, 5, 262149, 393217, 5, 327685, 393217, 5, 393221, 393217, 5, 458757, 393217, 5, 524293, 393217, 5, 589829, 393217, 5, 655365, 393217, 5, 65542, 393217, 5, 131078, 393217, 5, 196614, 393217, 5, 262150, 393217, 5, 327686, 393217, 5, 393222, 393217, 5, 458758, 393217, 5, 524294, 393217, 5, 589830, 393217, 5, 655366, 393217, 5, 65543, 393217, 5, 131079, 393217, 5, 196615, 393217, 5, 262151, 393217, 5, 327687, 393217, 5, 393223, 393217, 5, 458759, 393217, 5, 524295, 393217, 5, 589831, 393217, 5, 655367, 393217, 5, 65544, 393217, 5, 131080, 393217, 5, 196616, 393217, 5, 262152, 393217, 5, 327688, 393217, 5, 393224, 393217, 5, 458760, 393217, 5, 524296, 393217, 5, 589832, 393217, 5, 655368, 393217, 5, 65545, 393217, 5, 131081, 393217, 5, 196617, 393217, 5, 262153, 393217, 5, 327689, 393217, 5, 393225, 393217, 5, 458761, 393217, 5, 524297, 393217, 5, 589833, 393217, 5, 655369, 393217, 5, 65546, 393217, 5, 131082, 393217, 5, 196618, 393217, 5, 262154, 393217, 5, 327690, 393217, 5, 393226, 393217, 5, 458762, 393217, 5, 524298, 393217, 5, 589834, 393217, 5, 655370, 393217, 5, 65547, 393217, 5, 131083, 393217, 5, 196619, 393217, 5, 262155, 393217, 5, 327691, 393217, 5, 393227, 393217, 5, 458763, 393217, 5, 524299, 393217, 5, 589835, 393217, 5, 655371, 393217, 5, 65548, 393217, 5, 131084, 393217, 5, 196620, 393217, 5, 262156, 393217, 5, 327692, 393217, 5, 393228, 393217, 5, 458764, 393217, 5, 524300, 393217, 5, 589836, 393217, 5, 655372, 393217, 5, 65549, 393217, 5, 131085, 393217, 5, 196621, 393217, 5, 262157, 393217, 5, 327693, 393217, 5, 393229, 393217, 5, 458765, 393217, 5, 524301, 393217, 5, 589837, 393217, 5, 655373, 393217, 5, 65550, 393217, 5, 131086, 393217, 5, 196622, 393217, 5, 262158, 393217, 5, 327694, 393217, 5, 393230, 393217, 5, 458766, 393217, 5, 524302, 393217, 5, 589838, 393217, 5, 655374, 393217, 5, 65551, 393217, 5, 131087, 393217, 5, 196623, 393217, 5, 262159, 393217, 5, 327695, 393217, 5, 393231, 393217, 5, 458767, 393217, 5, 524303, 393217, 5, 589839, 393217, 5, 655375, 393217, 5, 65552, 393217, 5, 131088, 393217, 5, 196624, 393217, 5, 262160, 393217, 5, 327696, 393217, 5, 393232, 393217, 5, 458768, 393217, 5, 524304, 393217, 5, 589840, 393217, 5, 655376, 393217, 5, 65553, 393217, 5, 131089, 393217, 5, 196625, 393217, 5, 262161, 393217, 5, 327697, 393217, 5, 393233, 393217, 5, 458769, 393217, 5, 524305, 393217, 5, 589841, 393217, 5, 655377, 393217, 5, 65554, 393217, 5, 131090, 393217, 5, 196626, 393217, 5, 262162, 393217, 5, 327698, 393217, 5, 393234, 393217, 5, 458770, 393217, 5, 524306, 393217, 5, 589842, 393217, 5, 655378, 393217, 5, 65555, 393217, 5, 131091, 393217, 5, 196627, 393217, 5, 262163, 393217, 5, 327699, 393217, 5, 393235, 393217, 5, 458771, 393217, 5, 524307, 393217, 5, 589843, 393217, 5, 655379, 393217, 5, 65556, 393217, 5, 131092, 393217, 5, 196628, 393217, 5, 262164, 393217, 5, 327700, 393217, 5, 393236, 393217, 5, 458772, 393217, 5, 524308, 393217, 5, 589844, 393217, 5, 655380, 393217, 5, 65557, 393217, 5, 131093, 393217, 5, 196629, 393217, 5, 262165, 393217, 5, 327701, 393217, 5, 393237, 393217, 5, 458773, 393217, 5, 524309, 393217, 5, 589845, 393217, 5, 655381, 393217, 5, 720897, 393217, 5, 786433, 393217, 5, 851969, 393217, 5, 917505, 393217, 5, 720898, 393217, 5, 786434, 393217, 5, 851970, 393217, 5, 917506, 393217, 5, 720899, 393217, 5, 786435, 393217, 5, 851971, 393217, 5, 917507, 393217, 5, 720900, 393217, 5, 786436, 393217, 5, 851972, 393217, 5, 917508, 393217, 5, 720901, 393217, 5, 786437, 393217, 5, 851973, 393217, 5, 917509, 393217, 5, 720902, 393217, 5, 786438, 393217, 5, 851974, 393217, 5, 917510, 393217, 5, 720903, 393217, 5, 786439, 393217, 5, 851975, 393217, 5, 917511, 393217, 5, 720904, 393217, 5, 786440, 393217, 5, 851976, 393217, 5, 917512, 393217, 5, 720905, 393217, 5, 786441, 393217, 5, 851977, 393217, 5, 917513, 393217, 5, 720906, 393217, 5, 786442, 393217, 5, 851978, 393217, 5, 917514, 393217, 5, 720907, 393217, 5, 786443, 393217, 5, 851979, 393217, 5, 917515, 393217, 5, 720908, 393217, 5, 786444, 393217, 5, 851980, 393217, 5, 917516, 393217, 5, 720909, 393217, 5, 786445, 393217, 5, 851981, 393217, 5, 917517, 393217, 5, 720910, 393217, 5, 786446, 393217, 5, 851982, 393217, 5, 917518, 393217, 5, 720911, 393217, 5, 786447, 393217, 5, 851983, 393217, 5, 917519, 393217, 5, 720912, 393217, 5, 786448, 393217, 5, 851984, 393217, 5, 917520, 393217, 5, 720913, 393217, 5, 786449, 393217, 5, 851985, 393217, 5, 917521, 393217, 5, 720914, 393217, 5, 786450, 393217, 5, 851986, 393217, 5, 917522, 393217, 5, 720915, 393217, 5, 786451, 393217, 5, 851987, 393217, 5, 917523, 393217, 5, 720916, 393217, 5, 786452, 393217, 5, 851988, 393217, 5, 917524, 393217, 5, 720917, 393217, 5, 786453, 393217, 5, 851989, 393217, 5, 917525, 393217, 5, 917504, 393217, 5, 851968, 393217, 5, 131094, 393217, 5, 65558, 393217, 5, 851990, 393217, 5, 917526, 393217, 5) -layer_1/name = "BackgroundDecoration" -layer_1/tile_data = PackedInt32Array(917525, 458753, 1, 393217, 458753, 1, 196629, 458753, 4, 458753, 393217, 4, 65537, 393217, 4) -layer_2/name = "Ground" -layer_2/tile_data = PackedInt32Array(0, 1, 3, 65536, 131073, 1, 131072, 131073, 1, 196608, 131073, 1, 262144, 131073, 1, 327680, 131073, 1, 393216, 131073, 1, 1, 65537, 2, 2, 65537, 2, 3, 65537, 2, 4, 65537, 2, 5, 65537, 2, 6, 65537, 2, 7, 65537, 2, 8, 65537, 2, 9, 65537, 2, 10, 65537, 2, 11, 65537, 2, 12, 65537, 2, 13, 65537, 2, 14, 65537, 2, 15, 65537, 2, 16, 65537, 2, 17, 65537, 2, 18, 65537, 2, 19, 65537, 2, 20, 65537, 2, 21, 65537, 2, 22, 131073, 3, 196630, 1, 1, 262166, 1, 1, 327702, 1, 1, 393238, 1, 1, 458774, 1, 1, 524310, 1, 1, 589846, 1, 1, 655382, 1, 1, 720918, 1, 1, 786454, 1, 1, 458752, 131073, 1, 524288, 131073, 1, 589824, 131073, 1, 655360, 131073, 1, 720896, 131073, 1, 786432, 131073, 1, 983061, 65537, 0, 983060, 65537, 0, 983059, 65537, 0, 983058, 65537, 0, 983057, 65537, 0, 983056, 65537, 0, 983055, 65537, 0, 983054, 65537, 0, 983053, 65537, 0, 983052, 65537, 0, 983051, 65537, 0, 983050, 65537, 0, 983049, 65537, 0, 983048, 65537, 0, 983047, 65537, 0, 983046, 65537, 0, 983045, 65537, 0, 983044, 65537, 0, 983043, 65537, 0, 983042, 65537, 0, 983041, 65537, 0, 983040, 1, 5, 983062, 131073, 5, 720914, 262145, 4, 720915, 262145, 4, 720916, 262145, 4, 720917, 327681, 4, 720897, 196609, 4, 720898, 262145, 4, 720899, 262145, 4, 720900, 262145, 4, 720901, 262145, 4, 720902, 262145, 4, 720903, 262145, 4, 720904, 262145, 4, 720910, 262145, 4, 720911, 262145, 4, 720912, 262145, 4, 720913, 262145, 4, 655361, 262145, 3, 655381, 262145, 3, 655362, 262145, 2, 655380, 262145, 2, 262157, 262145, 4, 786445, 262145, 4, 851980, 262145, 4, 917515, 262145, 4, 720905, 262145, 4, 655366, 262145, 4, 589831, 262145, 4, 524296, 262145, 4, 458761, 262145, 4, 458762, 262145, 4, 458763, 262145, 4, 458764, 262145, 4, 458765, 262145, 4, 458766, 262145, 4, 458767, 262145, 4, 458768, 262145, 4, 458769, 262145, 4, 458770, 262145, 4, 458771, 262145, 4, 458772, 262145, 4, 458773, 262145, 4, 458753, 262145, 4, 458754, 262145, 4, 458755, 262145, 4, 458756, 262145, 4, 458757, 262145, 4, 393227, 262145, 4, 327692, 262145, 4, 196623, 262145, 4, 196624, 262145, 4, 196625, 262145, 4, 196626, 262145, 4, 196627, 262145, 4, 196628, 262145, 4, 196629, 262145, 4, 196609, 262145, 4, 196610, 262145, 4, 196611, 262145, 4, 196612, 262145, 4, 196613, 262145, 4, 196614, 262145, 4, 196615, 262145, 4, 196616, 262145, 4, 196617, 262145, 4) - [node name="RoomArea" type="Area2D" parent="."] collision_mask = 0 @@ -63,3 +52,21 @@ 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("AAABAAEAAQAGAAUAAAABAAIAAQAGAAUAAAABAAMAAQAGAAUAAAABAAQAAQAGAAUAAAABAAUAAQAGAAUAAAABAAYAAQAGAAUAAAABAAcAAQAGAAUAAAABAAgAAQAGAAUAAAABAAkAAQAGAAUAAAABAAoAAQAGAAUAAAACAAEAAQAGAAUAAAACAAIAAQAGAAUAAAACAAMAAQAGAAUAAAACAA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AUAAAARAAwAAQAGAAUAAAARAA0AAQAGAAUAAAARAA4AAQAGAAUAAAASAAsAAQAGAAUAAAASAAwAAQAGAAUAAAASAA0AAQAGAAUAAAASAA4AAQAGAAUAAAATAAsAAQAGAAUAAAATAAwAAQAGAAUAAAATAA0AAQAGAAUAAAATAA4AAQAGAAUAAAAUAAsAAQAGAAUAAAAUAAwAAQAGAAUAAAAUAA0AAQAGAAUAAAAUAA4AAQAGAAUAAAAVAAsAAQAGAAUAAAAVAAwAAQAGAAUAAAAVAA0AAQAGAAUAAAAVAA4AAQAGAAUAAAAAAA4AAQAGAAUAAAAAAA0AAQAGAAUAAAAWAAIAAQAGAAUAAAAWAAEAAQAGAAUAAAAWAA0AAQAGAAUAAAAWAA4AAQAGAAUAAAA=") +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 +tile_map_data = PackedByteArray("AAAAAAAAAQAAAAMAAAAAAAEAAQACAAEAAAAAAAIAAQACAAEAAAAAAAMAAQACAAEAAAAAAAQAAQACAAEAAAAAAAUAAQACAAEAAAAAAAYAAQACAAEAAAABAAAAAQABAAIAAAACAAAAAQABAAIAAAADAAAAAQABAAIAAAAEAAAAAQABAAIAAAAFAAAAAQABAAIAAAAGAAAAAQABAAIAAAAHAAAAAQABAAIAAAAIAAAAAQABAAIAAAAJAAAAAQABAAIAAAAKAAAAAQABAAIAAAALAAAAAQABAAIAAAAMAAAAAQABAAIAAAANAAAAAQABAAIAAAAOAAAAAQABAAIAAAAPAAAAAQABAAIAAAAQAAAAAQABAAIAAAARAAAAAQABAAIAAAASAAAAAQABAAIAAAATAAAAAQABAAIA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GAAoAAQAEAAQAAAAHAAkAAQAEAAQAAAAIAAgAAQAEAAQAAAAJAAcAAQAEAAQAAAAKAAcAAQAEAAQAAAALAAcAAQAEAAQAAAAMAAcAAQAEAAQAAAANAAcAAQAEAAQAAAAOAAcAAQAEAAQAAAAPAAcAAQAEAAQAAAAQAAcAAQAEAAQAAAARAAcAAQAEAAQAAAASAAcAAQAEAAQAAAATAAcAAQAEAAQAAAAUAAcAAQAEAAQAAAAVAAcAAQAEAAQAAAABAAcAAQAEAAQAAAACAAcAAQAEAAQAAAADAAcAAQAEAAQAAAAEAAcAAQAEAAQAAAAFAAcAAQAEAAQAAAALAAYAAQAEAAQAAAAMAAUAAQAEAAQAAAAPAAMAAQAEAAQAAAAQAAMAAQAEAAQAAAARAAMAAQAEAAQAAAASAAMAAQAEAAQAAAATAAMAAQAEAAQAAAAUAAMAAQAEAAQAAAAVAAMAAQAEAAQAAAABAAMAAQAEAAQAAAACAAMAAQAEAAQAAAADAAMAAQAEAAQAAAAEAAMAAQAEAAQAAAAFAAMAAQAEAAQAAAAGAAMAAQAEAAQAAAAHAAMAAQAEAAQAAAAIAAMAAQAEAAQAAAAJAAMAAQAEAAQAAAA=") +tile_set = ExtResource("1_rn2om") diff --git a/project.godot b/project.godot index 490ad59..0387734 100644 --- a/project.godot +++ b/project.godot @@ -13,7 +13,7 @@ config_version=5 config/name="Traveler" config/version="0.0.1" run/main_scene="res://scenes/splashScreen.tscn" -config/features=PackedStringArray("4.2", "C#", "Mobile") +config/features=PackedStringArray("4.3", "C#", "Mobile") boot_splash/show_image=false config/icon="res://icon.svg" @@ -40,47 +40,47 @@ theme/custom_font="res://fonts/ark-pixel-12px-proportional-zh_cn.ttf" ui_accept={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":32,"physical_keycode":0,"key_label":0,"unicode":32,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194310,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":32,"physical_keycode":0,"key_label":0,"unicode":32,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194310,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":1,"pressure":0.0,"pressed":true,"script":null) ] } ui_left={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":65,"physical_keycode":0,"key_label":0,"unicode":97,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":65,"physical_keycode":0,"key_label":0,"unicode":97,"location":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":13,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null) ] } ui_right={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":68,"physical_keycode":0,"key_label":0,"unicode":100,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":68,"physical_keycode":0,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null) ] } ui_up={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":87,"physical_keycode":0,"key_label":0,"unicode":119,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":87,"physical_keycode":0,"key_label":0,"unicode":119,"location":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":11,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null) ] } ui_down={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":83,"physical_keycode":0,"key_label":0,"unicode":115,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":83,"physical_keycode":0,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null) ] } pick_up={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":69,"physical_keycode":0,"key_label":0,"unicode":101,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":69,"physical_keycode":0,"key_label":0,"unicode":101,"location":0,"echo":false,"script":null) ] } throw={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":81,"physical_keycode":0,"key_label":0,"unicode":113,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":81,"physical_keycode":0,"key_label":0,"unicode":113,"location":0,"echo":false,"script":null) ] } use_item={ @@ -90,47 +90,47 @@ use_item={ } hotbar_1={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":49,"physical_keycode":0,"key_label":0,"unicode":49,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":49,"physical_keycode":0,"key_label":0,"unicode":49,"location":0,"echo":false,"script":null) ] } hotbar_2={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":50,"physical_keycode":0,"key_label":0,"unicode":50,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":50,"physical_keycode":0,"key_label":0,"unicode":50,"location":0,"echo":false,"script":null) ] } hotbar_3={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":51,"physical_keycode":0,"key_label":0,"unicode":51,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":51,"physical_keycode":0,"key_label":0,"unicode":51,"location":0,"echo":false,"script":null) ] } hotbar_4={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":52,"physical_keycode":0,"key_label":0,"unicode":52,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":52,"physical_keycode":0,"key_label":0,"unicode":52,"location":0,"echo":false,"script":null) ] } hotbar_5={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":53,"physical_keycode":0,"key_label":0,"unicode":53,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":53,"physical_keycode":0,"key_label":0,"unicode":53,"location":0,"echo":false,"script":null) ] } hotbar_6={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":54,"physical_keycode":0,"key_label":0,"unicode":54,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":54,"physical_keycode":0,"key_label":0,"unicode":54,"location":0,"echo":false,"script":null) ] } hotbar_7={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":55,"physical_keycode":0,"key_label":0,"unicode":55,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":55,"physical_keycode":0,"key_label":0,"unicode":55,"location":0,"echo":false,"script":null) ] } hotbar_8={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":56,"physical_keycode":0,"key_label":0,"unicode":56,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":56,"physical_keycode":0,"key_label":0,"unicode":56,"location":0,"echo":false,"script":null) ] } hotbar_9={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":57,"physical_keycode":0,"key_label":0,"unicode":57,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":57,"physical_keycode":0,"key_label":0,"unicode":57,"location":0,"echo":false,"script":null) ] } hotbar_next={ diff --git a/scripts/Config.cs b/scripts/Config.cs index 259f037..6c9c5a5 100644 --- a/scripts/Config.cs +++ b/scripts/Config.cs @@ -95,7 +95,7 @@ public static class Config /// 公司/创作者名字 /// public const string CompanyName = "ColdMint"; - + /// /// Module life handler name /// 模组生命周期处理器名称 @@ -396,6 +396,35 @@ public static class Config public const int Mob = 7; } + /// + /// TileMapLayerName + /// 瓦片节点名称 + /// + public static class TileMapLayerName + { + /// + /// Ground Layer + /// 地面层 + /// + /// + ///There are collision nodes on which players and creatures can stand. + ///拥有碰撞节点,玩家和生物可以站在上面。 + /// + public const string Ground = "Ground"; + + /// + /// Background decorative layer + /// 背景装饰层 + /// + public const string BackgroundDecoration = "BackgroundDecoration"; + + /// + /// Background wall layer + /// 背景墙 + /// + public const string BackgroundWall = "BackgroundWall"; + } + public static class RoomDataTag { /// diff --git a/scripts/character/AiCharacter.cs b/scripts/character/AiCharacter.cs index e0c92ac..2cd2b6b 100644 --- a/scripts/character/AiCharacter.cs +++ b/scripts/character/AiCharacter.cs @@ -494,4 +494,4 @@ public sealed partial class AiCharacter : CharacterTemplate StateMachine.Stop(); } } -} \ No newline at end of file +} diff --git a/scripts/debug/LogCat.cs b/scripts/debug/LogCat.cs index 599822a..2496159 100644 --- a/scripts/debug/LogCat.cs +++ b/scripts/debug/LogCat.cs @@ -252,13 +252,13 @@ public static class LogCat switch (level) { case WarningLogLevel: - GD.PrintRich("[color=#FFDE66]"+concreteLog+"[/color]"); + GD.Print(concreteLog); break; case ErrorLogLevel: - GD.PrintRich("[color=#FF4E39]"+concreteLog+"[/color]"); + GD.PrintErr(concreteLog); break; default: - GD.PrintRich("[color=#CCCED1]"+concreteLog+"[/color]"); + GD.Print(concreteLog); break; } } diff --git a/scripts/loader/sceneLoader/GameSceneLoader.cs b/scripts/loader/sceneLoader/GameSceneLoader.cs index 50a3d16..2c0fc88 100644 --- a/scripts/loader/sceneLoader/GameSceneLoader.cs +++ b/scripts/loader/sceneLoader/GameSceneLoader.cs @@ -97,4 +97,4 @@ public partial class GameSceneLoader : SceneLoaderTemplate } await MapGenerator.GenerateMap(); } -} \ No newline at end of file +} diff --git a/scripts/loader/uiLoader/ContributorGroupLoader.cs b/scripts/loader/uiLoader/ContributorGroupLoader.cs index a5971e8..f2f2da8 100644 --- a/scripts/loader/uiLoader/ContributorGroupLoader.cs +++ b/scripts/loader/uiLoader/ContributorGroupLoader.cs @@ -1,4 +1,4 @@ -using ColdMint.scripts.contribute; +using ColdMint.scripts.contribute; using ColdMint.scripts.utils; using Godot; @@ -109,4 +109,4 @@ public partial class ContributorGroupLoader : UiLoaderTemplate } } } -} \ No newline at end of file +} diff --git a/scripts/loader/uiLoader/ContributorLoader.cs b/scripts/loader/uiLoader/ContributorLoader.cs index 9642d6b..9fbedaa 100644 --- a/scripts/loader/uiLoader/ContributorLoader.cs +++ b/scripts/loader/uiLoader/ContributorLoader.cs @@ -1,4 +1,4 @@ -using ColdMint.scripts.contribute; +using ColdMint.scripts.contribute; using ColdMint.scripts.utils; using Godot; @@ -69,4 +69,4 @@ public partial class ContributorLoader : UiLoaderTemplate }; } } -} \ No newline at end of file +} diff --git a/scripts/loader/uiLoader/GameOverLoaderMenuLoader.cs b/scripts/loader/uiLoader/GameOverLoaderMenuLoader.cs index 7cb4f4d..10009fb 100644 --- a/scripts/loader/uiLoader/GameOverLoaderMenuLoader.cs +++ b/scripts/loader/uiLoader/GameOverLoaderMenuLoader.cs @@ -1,4 +1,4 @@ -using ColdMint.scripts.map.events; +using ColdMint.scripts.map.events; using Godot; namespace ColdMint.scripts.loader.uiLoader; @@ -54,4 +54,4 @@ public partial class GameOverLoaderMenuLoader : UiLoaderTemplate base._ExitTree(); EventManager.GameOverEvent -= OnGameOver; } -} \ No newline at end of file +} diff --git a/scripts/loader/uiLoader/LevelGraphEditorLoader.cs b/scripts/loader/uiLoader/LevelGraphEditorLoader.cs index e7e4c1f..826caad 100644 --- a/scripts/loader/uiLoader/LevelGraphEditorLoader.cs +++ b/scripts/loader/uiLoader/LevelGraphEditorLoader.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using ColdMint.scripts.levelGraphEditor; @@ -735,4 +735,4 @@ public partial class LevelGraphEditorLoader : UiLoaderTemplate _nodeBinding.HBoxContainer.Show(); } } -} \ No newline at end of file +} diff --git a/scripts/loader/uiLoader/MainMenuLoader.cs b/scripts/loader/uiLoader/MainMenuLoader.cs index 6fe2328..6365bf2 100644 --- a/scripts/loader/uiLoader/MainMenuLoader.cs +++ b/scripts/loader/uiLoader/MainMenuLoader.cs @@ -108,4 +108,4 @@ public partial class MainMenuLoader : UiLoaderTemplate }; } } -} \ No newline at end of file +} diff --git a/scripts/map/dateBean/RoomSlot.cs b/scripts/map/dateBean/RoomSlot.cs index 8124710..21b6f7e 100644 --- a/scripts/map/dateBean/RoomSlot.cs +++ b/scripts/map/dateBean/RoomSlot.cs @@ -25,7 +25,7 @@ public class RoomSlot ///相对于瓦片地图而言的。转换为本地位置请调用 /// public Vector2I StartPosition { get; set; } - + /// /// The end position of the room slot @@ -54,5 +54,6 @@ public class RoomSlot /// public CoordinateUtils.OrientationDescribe[]? DistanceToMidpointOfRoom { get; set; } - public int Length => Math.Max(Math.Abs(EndPosition.X - StartPosition.X), Math.Abs(EndPosition.Y - StartPosition.Y)) + 1; + public int Length => + Math.Max(Math.Abs(EndPosition.X - StartPosition.X), Math.Abs(EndPosition.Y - StartPosition.Y)) + 1; } \ No newline at end of file diff --git a/scripts/map/room/Room.cs b/scripts/map/room/Room.cs index 8a497db..09a21e0 100644 --- a/scripts/map/room/Room.cs +++ b/scripts/map/room/Room.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Linq; using ColdMint.scripts.debug; using ColdMint.scripts.map.dateBean; using ColdMint.scripts.utils; @@ -19,7 +20,8 @@ public class Room { private Node2D? _rootNode; private RoomSlot?[]? _roomSlots; - private TileMap? _tileMap; + private List? _tileMapLayers; + private Area2D? _area2D; private CollisionShape2D? _collisionShape2D; @@ -27,6 +29,23 @@ public class Room public string? ExitRoomEventHandlerId { get; set; } + /// + /// Get the corresponding tile layer node based on the tile name + /// 根据瓦片名称获取对应的瓦片图层节点 + /// + /// + ///We recommend using the constants defined in . + ///建议使用内定义的常量。 + /// + /// + /// Return a Layer node with the same name if it is found, otherwise null. + ///如果找到了与其名称相同的Layer节点则返回它,否则返回null。 + /// + public TileMapLayer? GetTileMapLayer(string layerName) + { + return _tileMapLayers?.FirstOrDefault(tileMapLayer => tileMapLayer.Name == layerName); + } + /// /// When a node enters the room /// 当有节点进入房间时 @@ -36,7 +55,8 @@ public class Room { if (_rootNode != null) { - LogCat.LogWithFormat("enter_the_room_debug", LogCat.LogLabel.Default, LogCat.UploadFormat,node.Name, _rootNode.Name); + LogCat.LogWithFormat("enter_the_room_debug", LogCat.LogLabel.Default, LogCat.UploadFormat, node.Name, + _rootNode.Name); } if (string.IsNullOrEmpty(EnterRoomEventHandlerId)) @@ -57,7 +77,8 @@ public class Room { if (_rootNode != null) { - LogCat.LogWithFormat("exit_the_room_debug", LogCat.LogLabel.Default, LogCat.UploadFormat,node.Name, _rootNode.Name); + LogCat.LogWithFormat("exit_the_room_debug", LogCat.LogLabel.Default, LogCat.UploadFormat, node.Name, + _rootNode.Name); } if (string.IsNullOrEmpty(ExitRoomEventHandlerId)) @@ -91,11 +112,6 @@ public class Room set => AnalyzeRoomData(value); } - public TileMap? TileMap - { - get => _tileMap; - set => _tileMap = value; - } /// /// Analyze the data of the room @@ -119,7 +135,13 @@ public class Room } _rootNode = node2D; - _tileMap = node2D.GetNode("TileMap"); + var tileMapNode = node2D.GetNode("TileMap"); + NodeUtils.ForEachNode(tileMapNode, node => + { + _tileMapLayers ??= []; + _tileMapLayers.Add(node); + return false; + }); _area2D = node2D.GetNode("RoomArea"); _area2D.Monitoring = true; _area2D.SetCollisionLayerValue(Config.LayerNumber.RoomArea, true); @@ -129,7 +151,7 @@ public class Room _area2D.BodyExited += OnExitRoom; _area2D.BodyEntered += OnEnterRoom; _collisionShape2D = _area2D.GetChild(0); - _roomSlots = GetRoomSlots(_tileMap, _area2D, + _roomSlots = GetRoomSlots(GetTileMapLayer(Config.TileMapLayerName.Ground), _area2D, node2D.GetNode("RoomSlotList")); } @@ -141,13 +163,13 @@ public class Room /// GetRoomSlots /// 在房间内获取所有插槽 /// - /// + /// /// /// /// - private RoomSlot?[]? GetRoomSlots(TileMap? tileMap, Area2D roomArea2D, Node2D slotList) + private RoomSlot?[]? GetRoomSlots(TileMapLayer? tileMapLayer, Area2D roomArea2D, Node2D slotList) { - if (tileMap == null) + if (tileMapLayer == null) { return null; } @@ -192,8 +214,8 @@ public class Room var midpointOfRoomSlots = area2D.Position + collisionShape2D.Position + rect2.Position + rect2.Size / 2; //Convert to tile map coordinates (midpoint) //转为瓦片地图的坐标(中点) - var tileMapStartPosition = tileMap.LocalToMap(startPosition); - var tileMapEndPosition = tileMap.LocalToMap(endPosition); + var tileMapStartPosition = tileMapLayer.LocalToMap(startPosition); + var tileMapEndPosition = tileMapLayer.LocalToMap(endPosition); var roomSlot = new RoomSlot { EndPosition = tileMapEndPosition, diff --git a/scripts/map/roomPlacer/PatchworkRoomPlacementStrategy.cs b/scripts/map/roomPlacer/PatchworkRoomPlacementStrategy.cs index c7e77d5..5dca08f 100644 --- a/scripts/map/roomPlacer/PatchworkRoomPlacementStrategy.cs +++ b/scripts/map/roomPlacer/PatchworkRoomPlacementStrategy.cs @@ -116,7 +116,7 @@ public class PatchworkRoomPlacementStrategy : IRoomPlacementStrategy Vector2? navigationLink2DStartPosition = null; if (roomPlacementData is { ParentRoom: not null, ParentRoomSlot: not null }) { - var parentRoomTileMap = roomPlacementData.ParentRoom.TileMap; + var parentRoomTileMap = roomPlacementData.ParentRoom.GetTileMapLayer(Config.TileMapLayerName.Ground); var parentRoomRootNode = roomPlacementData.ParentRoom.RootNode; if (parentRoomTileMap != null && parentRoomRootNode != null) { @@ -129,7 +129,7 @@ public class PatchworkRoomPlacementStrategy : IRoomPlacementStrategy Vector2? navigationLink2DEndPosition = null; if (roomPlacementData.NewRoomSlot != null) { - var newRoomTileMap = roomPlacementData.NewRoom.TileMap; + var newRoomTileMap = roomPlacementData.NewRoom.GetTileMapLayer(Config.TileMapLayerName.Ground); if (newRoomTileMap != null) { navigationLink2DEndPosition = newRootRootNode.Position + @@ -379,9 +379,11 @@ public class PatchworkRoomPlacementStrategy : IRoomPlacementStrategy private async Task CalculatedPosition(Room mainRoom, Room newRoom, RoomSlot? mainRoomSlot, RoomSlot? newRoomSlot, bool roomSlotOverlap) { - if (mainRoom.RootNode == null || newRoom.RootNode == null || newRoom.TileMap == null || - mainRoom.TileMap == null || - newRoom.TileMap == null || mainRoomSlot == null || + var mainRoomTileMapLayer = mainRoom.GetTileMapLayer(Config.TileMapLayerName.Ground); + var newRoomTileMapLayer = newRoom.GetTileMapLayer(Config.TileMapLayerName.Ground); + if (mainRoom.RootNode == null || newRoom.RootNode == null || + mainRoomTileMapLayer == null || + newRoomTileMapLayer == null || mainRoomSlot == null || newRoomSlot == null) { return null; @@ -400,8 +402,10 @@ public class PatchworkRoomPlacementStrategy : IRoomPlacementStrategy return null; } - var mainRoomSlotPosition = mainRoom.TileMap.MapToLocal(mainRoomSlot.StartPosition); - var newRoomSlotPosition = newRoom.TileMap.MapToLocal(newRoomSlot.StartPosition); + var mainRoomSlotPosition = mainRoomTileMapLayer + .MapToLocal(mainRoomSlot.StartPosition); + var newRoomSlotPosition = newRoomTileMapLayer + .MapToLocal(newRoomSlot.StartPosition); //Get the vector from the new room slot to the main room slot //得到从新房间槽位到主房间槽位的向量 var newToMain = mainRoomSlotPosition - newRoomSlotPosition; diff --git a/tileSets/dungeon.tres b/tileSets/dungeon.tres index 9d10a51..7739c8b 100644 --- a/tileSets/dungeon.tres +++ b/tileSets/dungeon.tres @@ -6,287 +6,79 @@ texture = ExtResource("1_4c2am") texture_region_size = Vector2i(32, 32) 0:0/0 = 0 -0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:0/0/physics_layer_0/angular_velocity = 0.0 0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) -0:0/0/physics_layer_1/linear_velocity = Vector2(0, 0) -0:0/0/physics_layer_1/angular_velocity = 0.0 1:0/0 = 0 -1:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -1:0/0/physics_layer_0/angular_velocity = 0.0 1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) -1:0/0/physics_layer_1/linear_velocity = Vector2(0, 0) -1:0/0/physics_layer_1/angular_velocity = 0.0 1:1/0 = 0 -1:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) -1:1/0/physics_layer_0/angular_velocity = 0.0 -1:1/0/physics_layer_1/linear_velocity = Vector2(0, 0) -1:1/0/physics_layer_1/angular_velocity = 0.0 2:1/0 = 0 -2:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) -2:1/0/physics_layer_0/angular_velocity = 0.0 2:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) -2:1/0/physics_layer_1/linear_velocity = Vector2(0, 0) -2:1/0/physics_layer_1/angular_velocity = 0.0 2:2/0 = 0 -2:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) -2:2/0/physics_layer_0/angular_velocity = 0.0 2:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) -2:2/0/physics_layer_1/linear_velocity = Vector2(0, 0) -2:2/0/physics_layer_1/angular_velocity = 0.0 3:2/0 = 0 -3:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) -3:2/0/physics_layer_0/angular_velocity = 0.0 -3:2/0/physics_layer_1/linear_velocity = Vector2(0, 0) -3:2/0/physics_layer_1/angular_velocity = 0.0 3:4/0 = 0 -3:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) -3:4/0/physics_layer_0/angular_velocity = 0.0 -3:4/0/physics_layer_1/linear_velocity = Vector2(0, 0) -3:4/0/physics_layer_1/angular_velocity = 0.0 3:4/0/physics_layer_1/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, -6.75, 8.25, -6, 7, -2.25, 1, -2, -16, 16) 3:4/0/physics_layer_1/polygon_0/one_way = true 2:4/0 = 0 -2:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) -2:4/0/physics_layer_0/angular_velocity = 0.0 2:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) -2:4/0/physics_layer_1/linear_velocity = Vector2(0, 0) -2:4/0/physics_layer_1/angular_velocity = 0.0 0:4/0 = 0 -0:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:4/0/physics_layer_0/angular_velocity = 0.0 0:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) -0:4/0/physics_layer_1/linear_velocity = Vector2(0, 0) -0:4/0/physics_layer_1/angular_velocity = 0.0 0:3/0 = 0 -0:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:3/0/physics_layer_0/angular_velocity = 0.0 0:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) -0:3/0/physics_layer_1/linear_velocity = Vector2(0, 0) -0:3/0/physics_layer_1/angular_velocity = 0.0 1:3/0 = 0 -1:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) -1:3/0/physics_layer_0/angular_velocity = 0.0 1:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) -1:3/0/physics_layer_1/linear_velocity = Vector2(0, 0) -1:3/0/physics_layer_1/angular_velocity = 0.0 1:2/0 = 0 -1:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) -1:2/0/physics_layer_0/angular_velocity = 0.0 1:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) -1:2/0/physics_layer_1/linear_velocity = Vector2(0, 0) -1:2/0/physics_layer_1/angular_velocity = 0.0 0:2/0 = 0 -0:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:2/0/physics_layer_0/angular_velocity = 0.0 0:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) -0:2/0/physics_layer_1/linear_velocity = Vector2(0, 0) -0:2/0/physics_layer_1/angular_velocity = 0.0 0:1/0 = 0 -0:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:1/0/physics_layer_0/angular_velocity = 0.0 0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) -0:1/0/physics_layer_1/linear_velocity = Vector2(0, 0) -0:1/0/physics_layer_1/angular_velocity = 0.0 2:3/0 = 0 -2:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) -2:3/0/physics_layer_0/angular_velocity = 0.0 2:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) -2:3/0/physics_layer_1/linear_velocity = Vector2(0, 0) -2:3/0/physics_layer_1/angular_velocity = 0.0 3:1/0 = 0 -3:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) -3:1/0/physics_layer_0/angular_velocity = 0.0 -3:1/0/physics_layer_1/linear_velocity = Vector2(0, 0) -3:1/0/physics_layer_1/angular_velocity = 0.0 3:0/0 = 0 -3:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -3:0/0/physics_layer_0/angular_velocity = 0.0 -3:0/0/physics_layer_1/linear_velocity = Vector2(0, 0) -3:0/0/physics_layer_1/angular_velocity = 0.0 2:0/0 = 0 -2:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -2:0/0/physics_layer_0/angular_velocity = 0.0 2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) -2:0/0/physics_layer_1/linear_velocity = Vector2(0, 0) -2:0/0/physics_layer_1/angular_velocity = 0.0 4:0/0 = 0 -4:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -4:0/0/physics_layer_0/angular_velocity = 0.0 -4:0/0/physics_layer_1/linear_velocity = Vector2(0, 0) -4:0/0/physics_layer_1/angular_velocity = 0.0 4:1/0 = 0 -4:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) -4:1/0/physics_layer_0/angular_velocity = 0.0 -4:1/0/physics_layer_1/linear_velocity = Vector2(0, 0) -4:1/0/physics_layer_1/angular_velocity = 0.0 5:0/0 = 0 -5:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -5:0/0/physics_layer_0/angular_velocity = 0.0 -5:0/0/physics_layer_1/linear_velocity = Vector2(0, 0) -5:0/0/physics_layer_1/angular_velocity = 0.0 5:1/0 = 0 -5:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) -5:1/0/physics_layer_0/angular_velocity = 0.0 -5:1/0/physics_layer_1/linear_velocity = Vector2(0, 0) -5:1/0/physics_layer_1/angular_velocity = 0.0 6:1/0 = 0 -6:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) -6:1/0/physics_layer_0/angular_velocity = 0.0 -6:1/0/physics_layer_1/linear_velocity = Vector2(0, 0) -6:1/0/physics_layer_1/angular_velocity = 0.0 6:2/0 = 0 -6:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) -6:2/0/physics_layer_0/angular_velocity = 0.0 -6:2/0/physics_layer_1/linear_velocity = Vector2(0, 0) -6:2/0/physics_layer_1/angular_velocity = 0.0 6:3/0 = 0 -6:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) -6:3/0/physics_layer_0/angular_velocity = 0.0 -6:3/0/physics_layer_1/linear_velocity = Vector2(0, 0) -6:3/0/physics_layer_1/angular_velocity = 0.0 6:0/0 = 0 -6:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -6:0/0/physics_layer_0/angular_velocity = 0.0 -6:0/0/physics_layer_1/linear_velocity = Vector2(0, 0) -6:0/0/physics_layer_1/angular_velocity = 0.0 7:1/0 = 0 -7:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) -7:1/0/physics_layer_0/angular_velocity = 0.0 -7:1/0/physics_layer_1/linear_velocity = Vector2(0, 0) -7:1/0/physics_layer_1/angular_velocity = 0.0 7:0/0 = 0 -7:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) -7:0/0/physics_layer_0/angular_velocity = 0.0 -7:0/0/physics_layer_1/linear_velocity = Vector2(0, 0) -7:0/0/physics_layer_1/angular_velocity = 0.0 7:2/0 = 0 -7:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) -7:2/0/physics_layer_0/angular_velocity = 0.0 -7:2/0/physics_layer_1/linear_velocity = Vector2(0, 0) -7:2/0/physics_layer_1/angular_velocity = 0.0 5:3/0 = 0 -5:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) -5:3/0/physics_layer_0/angular_velocity = 0.0 -5:3/0/physics_layer_1/linear_velocity = Vector2(0, 0) -5:3/0/physics_layer_1/angular_velocity = 0.0 4:3/0 = 0 -4:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) -4:3/0/physics_layer_0/angular_velocity = 0.0 -4:3/0/physics_layer_1/linear_velocity = Vector2(0, 0) -4:3/0/physics_layer_1/angular_velocity = 0.0 4:2/0 = 0 -4:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) -4:2/0/physics_layer_0/angular_velocity = 0.0 -4:2/0/physics_layer_1/linear_velocity = Vector2(0, 0) -4:2/0/physics_layer_1/angular_velocity = 0.0 5:2/0 = 0 -5:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) -5:2/0/physics_layer_0/angular_velocity = 0.0 -5:2/0/physics_layer_1/linear_velocity = Vector2(0, 0) -5:2/0/physics_layer_1/angular_velocity = 0.0 7:3/0 = 0 -7:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) -7:3/0/physics_layer_0/angular_velocity = 0.0 -7:3/0/physics_layer_1/linear_velocity = Vector2(0, 0) -7:3/0/physics_layer_1/angular_velocity = 0.0 6:4/0 = 0 -6:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) -6:4/0/physics_layer_0/angular_velocity = 0.0 -6:4/0/physics_layer_1/linear_velocity = Vector2(0, 0) -6:4/0/physics_layer_1/angular_velocity = 0.0 5:4/0 = 0 -5:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) -5:4/0/physics_layer_0/angular_velocity = 0.0 -5:4/0/physics_layer_1/linear_velocity = Vector2(0, 0) -5:4/0/physics_layer_1/angular_velocity = 0.0 5:4/0/physics_layer_1/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -0.75, -1.5, -8, -2.25, -8, -7.5, -16, -7.25) 5:4/0/physics_layer_1/polygon_0/one_way = true 4:4/0 = 0 -4:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) -4:4/0/physics_layer_0/angular_velocity = 0.0 -4:4/0/physics_layer_1/linear_velocity = Vector2(0, 0) -4:4/0/physics_layer_1/angular_velocity = 0.0 4:4/0/physics_layer_1/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, -7, -16, -6.75) 4:4/0/physics_layer_1/polygon_0/one_way = true 3:5/0 = 0 -3:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) -3:5/0/physics_layer_0/angular_velocity = 0.0 -3:5/0/physics_layer_1/linear_velocity = Vector2(0, 0) -3:5/0/physics_layer_1/angular_velocity = 0.0 2:5/0 = 0 -2:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) -2:5/0/physics_layer_0/angular_velocity = 0.0 2:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) -2:5/0/physics_layer_1/linear_velocity = Vector2(0, 0) -2:5/0/physics_layer_1/angular_velocity = 0.0 4:5/0 = 0 -4:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) -4:5/0/physics_layer_0/angular_velocity = 0.0 -4:5/0/physics_layer_1/linear_velocity = Vector2(0, 0) -4:5/0/physics_layer_1/angular_velocity = 0.0 5:5/0 = 0 -5:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) -5:5/0/physics_layer_0/angular_velocity = 0.0 -5:5/0/physics_layer_1/linear_velocity = Vector2(0, 0) -5:5/0/physics_layer_1/angular_velocity = 0.0 7:4/0 = 0 -7:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) -7:4/0/physics_layer_0/angular_velocity = 0.0 -7:4/0/physics_layer_1/linear_velocity = Vector2(0, 0) -7:4/0/physics_layer_1/angular_velocity = 0.0 6:5/0 = 0 -6:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) -6:5/0/physics_layer_0/angular_velocity = 0.0 -6:5/0/physics_layer_1/linear_velocity = Vector2(0, 0) -6:5/0/physics_layer_1/angular_velocity = 0.0 3:6/0 = 0 -3:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) -3:6/0/physics_layer_0/angular_velocity = 0.0 -3:6/0/physics_layer_1/linear_velocity = Vector2(0, 0) -3:6/0/physics_layer_1/angular_velocity = 0.0 2:6/0 = 0 -2:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) -2:6/0/physics_layer_0/angular_velocity = 0.0 -2:6/0/physics_layer_1/linear_velocity = Vector2(0, 0) -2:6/0/physics_layer_1/angular_velocity = 0.0 1:6/0 = 0 -1:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) -1:6/0/physics_layer_0/angular_velocity = 0.0 -1:6/0/physics_layer_1/linear_velocity = Vector2(0, 0) -1:6/0/physics_layer_1/angular_velocity = 0.0 0:6/0 = 0 -0:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:6/0/physics_layer_0/angular_velocity = 0.0 -0:6/0/physics_layer_1/linear_velocity = Vector2(0, 0) -0:6/0/physics_layer_1/angular_velocity = 0.0 0:5/0 = 0 -0:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) -0:5/0/physics_layer_0/angular_velocity = 0.0 0:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) -0:5/0/physics_layer_1/linear_velocity = Vector2(0, 0) -0:5/0/physics_layer_1/angular_velocity = 0.0 1:5/0 = 0 -1:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) -1:5/0/physics_layer_0/angular_velocity = 0.0 1:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) -1:5/0/physics_layer_1/linear_velocity = Vector2(0, 0) -1:5/0/physics_layer_1/angular_velocity = 0.0 7:5/0 = 0 -7:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) -7:5/0/physics_layer_0/angular_velocity = 0.0 -7:5/0/physics_layer_1/linear_velocity = Vector2(0, 0) -7:5/0/physics_layer_1/angular_velocity = 0.0 3:3/0 = 0 -3:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) -3:3/0/physics_layer_0/angular_velocity = 0.0 -3:3/0/physics_layer_1/linear_velocity = Vector2(0, 0) -3:3/0/physics_layer_1/angular_velocity = 0.0 1:4/0 = 0 -1:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) -1:4/0/physics_layer_0/angular_velocity = 0.0 -1:4/0/physics_layer_1/linear_velocity = Vector2(0, 0) -1:4/0/physics_layer_1/angular_velocity = 0.0 [resource] tile_size = Vector2i(32, 32)