diff --git a/Assets/Scenes/Ingame.unity b/Assets/Scenes/Ingame.unity index b502508..6bb82ff 100644 --- a/Assets/Scenes/Ingame.unity +++ b/Assets/Scenes/Ingame.unity @@ -4130,7 +4130,7 @@ PrefabInstance: - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} propertyPath: m_LocalPosition.y - value: -3.62 + value: -5.62 objectReference: {fileID: 0} - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} @@ -17050,7 +17050,7 @@ PrefabInstance: - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} propertyPath: m_LocalPosition.y - value: -3.62 + value: -5.62 objectReference: {fileID: 0} - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} @@ -21711,7 +21711,7 @@ Transform: m_GameObject: {fileID: 519420028} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 2.12, z: -9} + m_LocalPosition: {x: 0, y: 1.5, z: -9} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] @@ -119895,7 +119895,7 @@ PrefabInstance: - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} propertyPath: m_LocalPosition.y - value: -3.62 + value: -5.62 objectReference: {fileID: 0} - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} @@ -122288,7 +122288,7 @@ PrefabInstance: - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} propertyPath: m_LocalPosition.y - value: -3.62 + value: -5.62 objectReference: {fileID: 0} - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} @@ -125990,7 +125990,7 @@ PrefabInstance: - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} propertyPath: m_LocalPosition.y - value: -3.62 + value: -5.62 objectReference: {fileID: 0} - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} @@ -126405,7 +126405,7 @@ PrefabInstance: - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} propertyPath: m_LocalPosition.y - value: -3.62 + value: -5.62 objectReference: {fileID: 0} - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} @@ -134684,7 +134684,7 @@ PrefabInstance: - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} propertyPath: m_LocalPosition.y - value: -3.62 + value: -5.62 objectReference: {fileID: 0} - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} @@ -138647,7 +138647,7 @@ PrefabInstance: - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} propertyPath: m_LocalPosition.y - value: -3.62 + value: -5.62 objectReference: {fileID: 0} - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} @@ -138715,7 +138715,7 @@ PrefabInstance: - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} propertyPath: m_LocalPosition.y - value: -3.62 + value: -5.62 objectReference: {fileID: 0} - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} @@ -141435,7 +141435,7 @@ PrefabInstance: - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} propertyPath: m_LocalPosition.y - value: -3.62 + value: -5.62 objectReference: {fileID: 0} - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} @@ -297220,7 +297220,7 @@ PrefabInstance: - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} propertyPath: m_LocalPosition.y - value: -3.62 + value: -5.62 objectReference: {fileID: 0} - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} @@ -298322,7 +298322,7 @@ PrefabInstance: - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} propertyPath: m_LocalPosition.y - value: -3.62 + value: -5.62 objectReference: {fileID: 0} - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} @@ -312642,7 +312642,7 @@ PrefabInstance: - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} propertyPath: m_LocalPosition.y - value: -3.62 + value: -5.62 objectReference: {fileID: 0} - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} @@ -313956,7 +313956,7 @@ Transform: m_GameObject: {fileID: 1946717923} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 2.12, z: -9} + m_LocalPosition: {x: 0, y: 1.5, z: -9} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] @@ -314006,7 +314006,7 @@ MonoBehaviour: Size: {x: 0.8, y: 0.8} Offset: {x: 0, y: 0} CenterOnActivate: 1 - TargetOffset: {x: 0, y: 1, z: 0} + TargetOffset: {x: 0, y: 0, z: 0} Damping: {x: 1, y: 1, z: 1} Lookahead: Enabled: 0 @@ -314038,7 +314038,7 @@ MonoBehaviour: CustomLookAtTarget: 0 Lens: FieldOfView: 40 - OrthographicSize: 3.5 + OrthographicSize: 5 NearClipPlane: 0.1 FarClipPlane: 5000 Dutch: 0 @@ -315966,7 +315966,7 @@ PrefabInstance: - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} propertyPath: m_LocalPosition.y - value: -3.62 + value: -5.62 objectReference: {fileID: 0} - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} @@ -318857,7 +318857,7 @@ PrefabInstance: - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} propertyPath: m_LocalPosition.y - value: -3.62 + value: -5.62 objectReference: {fileID: 0} - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} @@ -321778,7 +321778,7 @@ PrefabInstance: - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} propertyPath: m_LocalPosition.y - value: -3.62 + value: -5.62 objectReference: {fileID: 0} - target: {fileID: 1658460978237467174, guid: f158aa2be3df6489185ef721f6fd79c1, type: 3} diff --git a/Assets/Scripts/Mechanics/EnemyController.cs b/Assets/Scripts/Mechanics/EnemyController.cs index 0073a8f..f6d15d3 100644 --- a/Assets/Scripts/Mechanics/EnemyController.cs +++ b/Assets/Scripts/Mechanics/EnemyController.cs @@ -199,7 +199,9 @@ namespace Platformer.Mechanics #if UNITY_EDITOR && ENEMY_DIAG_VERBOSE Debug.Log($"[Enemy@{name}] dir={dir} startY={transformY:F2} colliderFoot={colliderFootY:F2} spriteFoot={spriteFootY:F2} chosenFootY={chosenFootY:F2} startTm={(startTm!=null?startTm.name:"NULL")} startCell={startCell}"); #endif - if (startTm == null) return 0f; + // BT12-Dev 2026-05-10 — startTm 부재 fallback (Tilemap Count>0이나 Enemy 시작 cell HasTile X 환경). + // GameObject 기반 Composite Collider patrol 정합·patrolMaxRange 좌우 왕복. + if (startTm == null) return patrolMaxRange; // 좌·우 연속 Tile 영역 끝 영역 검색 // BT111 (2026-05-08) — 위·아래 1 cell 인접 cell도 검색 (계단 영역 발판 연속 정합) diff --git a/Assets/Scripts/Skills/Effectors/Projectile.cs b/Assets/Scripts/Skills/Effectors/Projectile.cs index 52e537c..049d777 100644 --- a/Assets/Scripts/Skills/Effectors/Projectile.cs +++ b/Assets/Scripts/Skills/Effectors/Projectile.cs @@ -51,7 +51,9 @@ namespace EerieVillage.Skills.Effectors float aspect = (cam.aspect > 0.01f) ? cam.aspect : (16f / 9f); camWidth = cam.orthographicSize * 2f * aspect; } - float[] mults = { 0.2f, 0.5f, 0.667f, 1.0f, 1.5f }; + // BT12-Dev 2026-05-10 Camera ortho 3.5→5.0 정합 정정 (camWidth 12.44→17.78·1.43배). + // 기존 maxRange 동등 유지 위해 mults 1/1.43 비례 축소. + float[] mults = { 0.14f, 0.35f, 0.467f, 0.7f, 1.05f }; int idx = Mathf.Clamp((int)_data.Range, 0, mults.Length - 1); _maxRange = camWidth * mults[idx];