From 569bbe62cbb788e3e6fef1db8ce7c92c4ef8fdb5 Mon Sep 17 00:00:00 2001 From: Damian-Fools Date: Mon, 15 Dec 2025 06:20:06 +0100 Subject: [PATCH] Modified the distance for target spawning --- .../Placeholder_Target_Bob.prefab | 11 ++++++----- .../Placeholder_Target_Gardener.prefab | 17 +++++++++-------- Assets/Settings/AirplaneSettings.asset | 8 ++++---- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/Assets/Prefabs/Minigames/Airplane/PlaceholderSpawns/Placeholder_Target_Bob.prefab b/Assets/Prefabs/Minigames/Airplane/PlaceholderSpawns/Placeholder_Target_Bob.prefab index 57443623..042d458a 100644 --- a/Assets/Prefabs/Minigames/Airplane/PlaceholderSpawns/Placeholder_Target_Bob.prefab +++ b/Assets/Prefabs/Minigames/Airplane/PlaceholderSpawns/Placeholder_Target_Bob.prefab @@ -29,13 +29,14 @@ Transform: serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 5, y: 5, z: 5} + m_LocalScale: {x: 1.5, y: 1.5, z: 1.5} m_ConstrainProportionsScale: 1 m_Children: [] m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!212 &8972759402263058808 SpriteRenderer: + serializedVersion: 2 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} @@ -81,7 +82,8 @@ SpriteRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 - m_Sprite: {fileID: 6741082507358000137, guid: 2406a20d35d3e8946b1e3f83ecd269c2, type: 3} + m_MaskInteraction: 0 + m_Sprite: {fileID: -42628851728975446, guid: 15bcfb37405d31d488cfd0ea84ae739e, type: 3} m_Color: {r: 1, g: 1, b: 1, a: 1} m_FlipX: 0 m_FlipY: 0 @@ -90,7 +92,6 @@ SpriteRenderer: m_AdaptiveModeThreshold: 0.5 m_SpriteTileMode: 0 m_WasSpriteAssigned: 1 - m_MaskInteraction: 0 m_SpriteSortPoint: 0 --- !u!61 &2399602594988894182 BoxCollider2D: @@ -130,13 +131,13 @@ BoxCollider2D: m_SpriteTilingProperty: border: {x: 0, y: 0, z: 0, w: 0} pivot: {x: 0.5, y: 0.5} - oldSize: {x: 0.59, y: 0.71} + oldSize: {x: 6.0875, y: 11.325} newSize: {x: 0.59, y: 0.71} adaptiveTilingThreshold: 0.5 drawMode: 0 adaptiveTiling: 0 m_AutoTiling: 0 - m_Size: {x: 0.59, y: 0.71} + m_Size: {x: 6.68, y: 11.64} m_EdgeRadius: 0 --- !u!114 &7284054513935473023 MonoBehaviour: diff --git a/Assets/Prefabs/Minigames/Airplane/PlaceholderSpawns/Placeholder_Target_Gardener.prefab b/Assets/Prefabs/Minigames/Airplane/PlaceholderSpawns/Placeholder_Target_Gardener.prefab index e9554a84..fdefdab4 100644 --- a/Assets/Prefabs/Minigames/Airplane/PlaceholderSpawns/Placeholder_Target_Gardener.prefab +++ b/Assets/Prefabs/Minigames/Airplane/PlaceholderSpawns/Placeholder_Target_Gardener.prefab @@ -28,14 +28,15 @@ Transform: m_GameObject: {fileID: 3207629437433571205} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 5, y: 5, z: 5} + m_LocalPosition: {x: 0, y: 1.01, z: 0} + m_LocalScale: {x: 2, y: 2, z: 2} m_ConstrainProportionsScale: 1 m_Children: [] m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!212 &8972759402263058808 SpriteRenderer: + serializedVersion: 2 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} @@ -81,7 +82,8 @@ SpriteRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 - m_Sprite: {fileID: 6741082507358000137, guid: 2406a20d35d3e8946b1e3f83ecd269c2, type: 3} + m_MaskInteraction: 0 + m_Sprite: {fileID: 2078754395, guid: 0286e94aa91f53d4f8f574a8c6d1eb35, type: 3} m_Color: {r: 1, g: 1, b: 1, a: 1} m_FlipX: 0 m_FlipY: 0 @@ -90,7 +92,6 @@ SpriteRenderer: m_AdaptiveModeThreshold: 0.5 m_SpriteTileMode: 0 m_WasSpriteAssigned: 1 - m_MaskInteraction: 0 m_SpriteSortPoint: 0 --- !u!61 &2399602594988894182 BoxCollider2D: @@ -126,17 +127,17 @@ BoxCollider2D: m_UsedByEffector: 0 m_CompositeOperation: 0 m_CompositeOrder: 0 - m_Offset: {x: 0, y: 0} + m_Offset: {x: 0.42, y: 3.47} m_SpriteTilingProperty: border: {x: 0, y: 0, z: 0, w: 0} - pivot: {x: 0.5, y: 0.5} - oldSize: {x: 0.59, y: 0.71} + pivot: {x: 0.44512194, y: 0.09307229} + oldSize: {x: 3.28, y: 6.64} newSize: {x: 0.59, y: 0.71} adaptiveTilingThreshold: 0.5 drawMode: 0 adaptiveTiling: 0 m_AutoTiling: 0 - m_Size: {x: 0.59, y: 0.71} + m_Size: {x: 4.19, y: 8.14} m_EdgeRadius: 0 --- !u!114 &7284054513935473023 MonoBehaviour: diff --git a/Assets/Settings/AirplaneSettings.asset b/Assets/Settings/AirplaneSettings.asset index 3335ec98..c439a976 100644 --- a/Assets/Settings/AirplaneSettings.asset +++ b/Assets/Settings/AirplaneSettings.asset @@ -26,8 +26,8 @@ MonoBehaviour: jetAbilityConfig: abilityName: Jet Boost abilityIcon: {fileID: 1411070990185071134, guid: 4f579a820baebc14a9151832fbe37559, type: 3} - cooldownDuration: 5 - jetSpeed: 30 + cooldownDuration: 8 + jetSpeed: 40 jetAngle: 5 bobbingPlaneConfig: displayName: Bobbing Plane @@ -79,8 +79,8 @@ MonoBehaviour: personIntroDuration: 2 evaluationDuration: 2 dynamicSpawnThresholdMarker: {fileID: 0} - targetMinDistance: 500 - targetMaxDistance: 1000 + targetMinDistance: 100 + targetMaxDistance: 300 objectSpawnMinDistance: 5 objectSpawnMaxDistance: 30 positiveNegativeRatio: 0.5