diff --git a/DungeonShooting_Godot/src/framework/map/DungeonGenerator.cs b/DungeonShooting_Godot/src/framework/map/DungeonGenerator.cs index 2e7324c..5c83e0b 100644 --- a/DungeonShooting_Godot/src/framework/map/DungeonGenerator.cs +++ b/DungeonShooting_Godot/src/framework/map/DungeonGenerator.cs @@ -45,17 +45,16 @@ private DungeonRoomType _nextRoomType = DungeonRoomType.Battle; //间隔 - private int _roomMinInterval = 6; - private int _roomMaxInterval = 10; + private int _roomMinInterval = 5; + private int _roomMaxInterval = 6; //房间横轴分散程度 - private float _roomHorizontalMinDispersion = 0f; - private float _roomHorizontalMaxDispersion = 0.7f; + private float _roomHorizontalMaxDispersion = 0.5f; //房间纵轴分散程度 private float _roomVerticalMinDispersion = 0f; - private float _roomVerticalMaxDispersion = 0.7f; + private float _roomVerticalMaxDispersion = 0.5f; //区域限制 private bool _enableLimitRange = true; diff --git a/DungeonShooting_Godot/src/framework/map/room/RoomInfo.cs b/DungeonShooting_Godot/src/framework/map/room/RoomInfo.cs index bc905ec..a37d67c 100644 --- a/DungeonShooting_Godot/src/framework/map/room/RoomInfo.cs +++ b/DungeonShooting_Godot/src/framework/map/room/RoomInfo.cs @@ -184,8 +184,11 @@ { StaticImageCanvas.Destroy(); } - - AffiliationArea.Destroy(); + + if (AffiliationArea != null) + { + AffiliationArea.Destroy(); + } } /// diff --git a/DungeonShooting_Godot/src/game/activity/role/Player.cs b/DungeonShooting_Godot/src/game/activity/role/Player.cs index b8b09eb..ad22cfb 100644 --- a/DungeonShooting_Godot/src/game/activity/role/Player.cs +++ b/DungeonShooting_Godot/src/game/activity/role/Player.cs @@ -41,7 +41,7 @@ // RoleState.MoveSpeed = 500; // CollisionLayer = 0; // CollisionMask = 0; - // GameCamera.Main.Zoom = new Vector2(.75f, 0.75f); + // GameCamera.Main.Zoom = new Vector2(0.2f, 0.2f); // //GameCamera.Main.Zoom = new Vector2(0.5f, 0.5f); }