From c8959959f080b4308d0ac14845f941bfac6ca3e5 Mon Sep 17 00:00:00 2001 From: GamerClassN7 Date: Sun, 30 Jan 2022 11:34:49 +0100 Subject: [PATCH] Few Range --- .../compass.prefab => Background Objects/bg_compas.prefab} | 2 +- .../bg_compas.prefab.meta} | 0 .../bg_magnet.prefab} | 2 +- .../bg_magnet.prefab.meta} | 0 .../level chunk 1.prefab => Level Chunks/level_chunk_1.prefab} | 2 +- .../level_chunk_1.prefab.meta} | 0 .../level chunk 2.prefab => Level Chunks/level_chunk_2.prefab} | 2 +- .../level_chunk_2.prefab.meta} | 0 .../level chunk 3.prefab => Level Chunks/level_chunk_3.prefab} | 2 +- .../level_chunk_3.prefab.meta} | 0 .../platform_neutral.prefab} | 2 +- .../platform_neutral.prefab.meta} | 0 .../platform_neutral_sharp.prefab} | 2 +- .../platform_neutral_sharp.prefab.meta} | 0 .../platform 2 power.prefab => Platforms/platform_power.prefab} | 2 +- .../platform_power.prefab.meta} | 0 .../Platform_Orange.prefab => Platforms/platform_rrange.prefab} | 2 +- .../platform_rrange.prefab.meta} | 0 .../platform 3 speed.prefab => Platforms/platform_speed.prefab} | 2 +- .../platform_speed.prefab.meta} | 0 .../Platform Start.prefab => Platforms/platform_start.prefab} | 2 +- .../platform_start.prefab.meta} | 0 Assets/Prefabs/platforms/Platform_Blue.prefab | 2 +- Assets/Prefabs/platforms/Platform_Green.prefab | 2 +- Assets/Prefabs/platforms/Platform_Red.prefab | 2 +- Assets/Prefabs/platforms/Platform_empty.prefab | 2 +- Assets/Prefabs/platforms/Platform_yellow.prefab | 2 +- Assets/Scripts/BGRotation.cs | 2 +- Assets/Scripts/ProceduralGeneration.cs | 2 +- 29 files changed, 18 insertions(+), 18 deletions(-) rename Assets/Prefabs/{background objects/compass.prefab => Background Objects/bg_compas.prefab} (99%) rename Assets/Prefabs/{background objects/compass.prefab.meta => Background Objects/bg_compas.prefab.meta} (100%) rename Assets/Prefabs/{background objects/Gaint Freaking Magnet.prefab => Background Objects/bg_magnet.prefab} (99%) rename Assets/Prefabs/{background objects/Gaint Freaking Magnet.prefab.meta => Background Objects/bg_magnet.prefab.meta} (100%) rename Assets/Prefabs/{Level chunks/level chunk 1.prefab => Level Chunks/level_chunk_1.prefab} (99%) rename Assets/Prefabs/{Level chunks/level chunk 1.prefab.meta => Level Chunks/level_chunk_1.prefab.meta} (100%) rename Assets/Prefabs/{Level chunks/level chunk 2.prefab => Level Chunks/level_chunk_2.prefab} (99%) rename Assets/Prefabs/{Level chunks/level chunk 2.prefab.meta => Level Chunks/level_chunk_2.prefab.meta} (100%) rename Assets/Prefabs/{Level chunks/level chunk 3.prefab => Level Chunks/level_chunk_3.prefab} (99%) rename Assets/Prefabs/{Level chunks/level chunk 3.prefab.meta => Level Chunks/level_chunk_3.prefab.meta} (100%) rename Assets/Prefabs/{platforms/platform 3 neutral.prefab => Platforms/platform_neutral.prefab} (99%) rename Assets/Prefabs/{platforms/platform 3 neutral.prefab.meta => Platforms/platform_neutral.prefab.meta} (100%) rename Assets/Prefabs/{platforms/platform 4 neutral.prefab => Platforms/platform_neutral_sharp.prefab} (99%) rename Assets/Prefabs/{platforms/platform 4 neutral.prefab.meta => Platforms/platform_neutral_sharp.prefab.meta} (100%) rename Assets/Prefabs/{platforms/platform 2 power.prefab => Platforms/platform_power.prefab} (99%) rename Assets/Prefabs/{platforms/platform 2 power.prefab.meta => Platforms/platform_power.prefab.meta} (100%) rename Assets/Prefabs/{platforms/Platform_Orange.prefab => Platforms/platform_rrange.prefab} (99%) rename Assets/Prefabs/{platforms/Platform_Orange.prefab.meta => Platforms/platform_rrange.prefab.meta} (100%) rename Assets/Prefabs/{platforms/platform 3 speed.prefab => Platforms/platform_speed.prefab} (99%) rename Assets/Prefabs/{platforms/platform 3 speed.prefab.meta => Platforms/platform_speed.prefab.meta} (100%) rename Assets/Prefabs/{platforms/Platform Start.prefab => Platforms/platform_start.prefab} (99%) rename Assets/Prefabs/{platforms/Platform Start.prefab.meta => Platforms/platform_start.prefab.meta} (100%) diff --git a/Assets/Prefabs/background objects/compass.prefab b/Assets/Prefabs/Background Objects/bg_compas.prefab similarity index 99% rename from Assets/Prefabs/background objects/compass.prefab rename to Assets/Prefabs/Background Objects/bg_compas.prefab index 6354a3d..6888072 100644 --- a/Assets/Prefabs/background objects/compass.prefab +++ b/Assets/Prefabs/Background Objects/bg_compas.prefab @@ -95,7 +95,7 @@ GameObject: - component: {fileID: 6816399794078047248} - component: {fileID: 304331928327035788} m_Layer: 0 - m_Name: compass + m_Name: bg_compas m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/Assets/Prefabs/background objects/compass.prefab.meta b/Assets/Prefabs/Background Objects/bg_compas.prefab.meta similarity index 100% rename from Assets/Prefabs/background objects/compass.prefab.meta rename to Assets/Prefabs/Background Objects/bg_compas.prefab.meta diff --git a/Assets/Prefabs/background objects/Gaint Freaking Magnet.prefab b/Assets/Prefabs/Background Objects/bg_magnet.prefab similarity index 99% rename from Assets/Prefabs/background objects/Gaint Freaking Magnet.prefab rename to Assets/Prefabs/Background Objects/bg_magnet.prefab index a244f3e..de53f37 100644 --- a/Assets/Prefabs/background objects/Gaint Freaking Magnet.prefab +++ b/Assets/Prefabs/Background Objects/bg_magnet.prefab @@ -178,7 +178,7 @@ GameObject: - component: {fileID: 7299430167591065022} - component: {fileID: 8979301594789080325} m_Layer: 0 - m_Name: Gaint Freaking Magnet + m_Name: bg_magnet m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/Assets/Prefabs/background objects/Gaint Freaking Magnet.prefab.meta b/Assets/Prefabs/Background Objects/bg_magnet.prefab.meta similarity index 100% rename from Assets/Prefabs/background objects/Gaint Freaking Magnet.prefab.meta rename to Assets/Prefabs/Background Objects/bg_magnet.prefab.meta diff --git a/Assets/Prefabs/Level chunks/level chunk 1.prefab b/Assets/Prefabs/Level Chunks/level_chunk_1.prefab similarity index 99% rename from Assets/Prefabs/Level chunks/level chunk 1.prefab rename to Assets/Prefabs/Level Chunks/level_chunk_1.prefab index cb2f915..0e10495 100644 --- a/Assets/Prefabs/Level chunks/level chunk 1.prefab +++ b/Assets/Prefabs/Level Chunks/level_chunk_1.prefab @@ -11,7 +11,7 @@ GameObject: - component: {fileID: 2957714535164430066} - component: {fileID: -6971605353857731775} m_Layer: 0 - m_Name: level chunk 1 + m_Name: level_chunk_1 m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/Assets/Prefabs/Level chunks/level chunk 1.prefab.meta b/Assets/Prefabs/Level Chunks/level_chunk_1.prefab.meta similarity index 100% rename from Assets/Prefabs/Level chunks/level chunk 1.prefab.meta rename to Assets/Prefabs/Level Chunks/level_chunk_1.prefab.meta diff --git a/Assets/Prefabs/Level chunks/level chunk 2.prefab b/Assets/Prefabs/Level Chunks/level_chunk_2.prefab similarity index 99% rename from Assets/Prefabs/Level chunks/level chunk 2.prefab rename to Assets/Prefabs/Level Chunks/level_chunk_2.prefab index a05331b..9146228 100644 --- a/Assets/Prefabs/Level chunks/level chunk 2.prefab +++ b/Assets/Prefabs/Level Chunks/level_chunk_2.prefab @@ -11,7 +11,7 @@ GameObject: - component: {fileID: 2957714535164430066} - component: {fileID: -4978173286257615179} m_Layer: 0 - m_Name: level chunk 2 + m_Name: level_chunk_2 m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/Assets/Prefabs/Level chunks/level chunk 2.prefab.meta b/Assets/Prefabs/Level Chunks/level_chunk_2.prefab.meta similarity index 100% rename from Assets/Prefabs/Level chunks/level chunk 2.prefab.meta rename to Assets/Prefabs/Level Chunks/level_chunk_2.prefab.meta diff --git a/Assets/Prefabs/Level chunks/level chunk 3.prefab b/Assets/Prefabs/Level Chunks/level_chunk_3.prefab similarity index 99% rename from Assets/Prefabs/Level chunks/level chunk 3.prefab rename to Assets/Prefabs/Level Chunks/level_chunk_3.prefab index e659b3f..9f21f18 100644 --- a/Assets/Prefabs/Level chunks/level chunk 3.prefab +++ b/Assets/Prefabs/Level Chunks/level_chunk_3.prefab @@ -11,7 +11,7 @@ GameObject: - component: {fileID: 2957714535164430066} - component: {fileID: 4501625178067468098} m_Layer: 0 - m_Name: level chunk 3 + m_Name: level_chunk_3 m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/Assets/Prefabs/Level chunks/level chunk 3.prefab.meta b/Assets/Prefabs/Level Chunks/level_chunk_3.prefab.meta similarity index 100% rename from Assets/Prefabs/Level chunks/level chunk 3.prefab.meta rename to Assets/Prefabs/Level Chunks/level_chunk_3.prefab.meta diff --git a/Assets/Prefabs/platforms/platform 3 neutral.prefab b/Assets/Prefabs/Platforms/platform_neutral.prefab similarity index 99% rename from Assets/Prefabs/platforms/platform 3 neutral.prefab rename to Assets/Prefabs/Platforms/platform_neutral.prefab index e42e893..293d6b8 100644 --- a/Assets/Prefabs/platforms/platform 3 neutral.prefab +++ b/Assets/Prefabs/Platforms/platform_neutral.prefab @@ -179,7 +179,7 @@ GameObject: - component: {fileID: 991026633550732616} - component: {fileID: -3679359786245750542} m_Layer: 0 - m_Name: platform 3 neutral + m_Name: platform_neutral m_TagString: platform m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/Assets/Prefabs/platforms/platform 3 neutral.prefab.meta b/Assets/Prefabs/Platforms/platform_neutral.prefab.meta similarity index 100% rename from Assets/Prefabs/platforms/platform 3 neutral.prefab.meta rename to Assets/Prefabs/Platforms/platform_neutral.prefab.meta diff --git a/Assets/Prefabs/platforms/platform 4 neutral.prefab b/Assets/Prefabs/Platforms/platform_neutral_sharp.prefab similarity index 99% rename from Assets/Prefabs/platforms/platform 4 neutral.prefab rename to Assets/Prefabs/Platforms/platform_neutral_sharp.prefab index 14ab358..6c5c45c 100644 --- a/Assets/Prefabs/platforms/platform 4 neutral.prefab +++ b/Assets/Prefabs/Platforms/platform_neutral_sharp.prefab @@ -97,7 +97,7 @@ GameObject: - component: {fileID: 8372693939530454457} - component: {fileID: 458963570543655786} m_Layer: 0 - m_Name: platform 4 neutral + m_Name: platform_neutral_sharp m_TagString: platform m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/Assets/Prefabs/platforms/platform 4 neutral.prefab.meta b/Assets/Prefabs/Platforms/platform_neutral_sharp.prefab.meta similarity index 100% rename from Assets/Prefabs/platforms/platform 4 neutral.prefab.meta rename to Assets/Prefabs/Platforms/platform_neutral_sharp.prefab.meta diff --git a/Assets/Prefabs/platforms/platform 2 power.prefab b/Assets/Prefabs/Platforms/platform_power.prefab similarity index 99% rename from Assets/Prefabs/platforms/platform 2 power.prefab rename to Assets/Prefabs/Platforms/platform_power.prefab index a869775..7b8e27f 100644 --- a/Assets/Prefabs/platforms/platform 2 power.prefab +++ b/Assets/Prefabs/Platforms/platform_power.prefab @@ -99,7 +99,7 @@ GameObject: - component: {fileID: -731181381576803345} - component: {fileID: 3389900204265069980} m_Layer: 0 - m_Name: platform 2 power + m_Name: platform_power m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/Assets/Prefabs/platforms/platform 2 power.prefab.meta b/Assets/Prefabs/Platforms/platform_power.prefab.meta similarity index 100% rename from Assets/Prefabs/platforms/platform 2 power.prefab.meta rename to Assets/Prefabs/Platforms/platform_power.prefab.meta diff --git a/Assets/Prefabs/platforms/Platform_Orange.prefab b/Assets/Prefabs/Platforms/platform_rrange.prefab similarity index 99% rename from Assets/Prefabs/platforms/Platform_Orange.prefab rename to Assets/Prefabs/Platforms/platform_rrange.prefab index 66b348e..9659e34 100644 --- a/Assets/Prefabs/platforms/Platform_Orange.prefab +++ b/Assets/Prefabs/Platforms/platform_rrange.prefab @@ -117,7 +117,7 @@ GameObject: - component: {fileID: 7973800414101489524} - component: {fileID: 6165408165884203318} m_Layer: 0 - m_Name: Platform_Orange + m_Name: platform_rrange m_TagString: platform m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/Assets/Prefabs/platforms/Platform_Orange.prefab.meta b/Assets/Prefabs/Platforms/platform_rrange.prefab.meta similarity index 100% rename from Assets/Prefabs/platforms/Platform_Orange.prefab.meta rename to Assets/Prefabs/Platforms/platform_rrange.prefab.meta diff --git a/Assets/Prefabs/platforms/platform 3 speed.prefab b/Assets/Prefabs/Platforms/platform_speed.prefab similarity index 99% rename from Assets/Prefabs/platforms/platform 3 speed.prefab rename to Assets/Prefabs/Platforms/platform_speed.prefab index 87ee7ae..ff241a8 100644 --- a/Assets/Prefabs/platforms/platform 3 speed.prefab +++ b/Assets/Prefabs/Platforms/platform_speed.prefab @@ -96,7 +96,7 @@ GameObject: - component: {fileID: 5794058540197003412} - component: {fileID: 8763404315579740833} m_Layer: 0 - m_Name: platform 3 speed + m_Name: platform_speed m_TagString: platform m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/Assets/Prefabs/platforms/platform 3 speed.prefab.meta b/Assets/Prefabs/Platforms/platform_speed.prefab.meta similarity index 100% rename from Assets/Prefabs/platforms/platform 3 speed.prefab.meta rename to Assets/Prefabs/Platforms/platform_speed.prefab.meta diff --git a/Assets/Prefabs/platforms/Platform Start.prefab b/Assets/Prefabs/Platforms/platform_start.prefab similarity index 99% rename from Assets/Prefabs/platforms/Platform Start.prefab rename to Assets/Prefabs/Platforms/platform_start.prefab index 6256f9c..c0dd0b6 100644 --- a/Assets/Prefabs/platforms/Platform Start.prefab +++ b/Assets/Prefabs/Platforms/platform_start.prefab @@ -181,7 +181,7 @@ GameObject: - component: {fileID: 2187729912207573111} - component: {fileID: -6601052459336252156} m_Layer: 0 - m_Name: Platform Start + m_Name: platform_start m_TagString: platform m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/Assets/Prefabs/platforms/Platform Start.prefab.meta b/Assets/Prefabs/Platforms/platform_start.prefab.meta similarity index 100% rename from Assets/Prefabs/platforms/Platform Start.prefab.meta rename to Assets/Prefabs/Platforms/platform_start.prefab.meta diff --git a/Assets/Prefabs/platforms/Platform_Blue.prefab b/Assets/Prefabs/platforms/Platform_Blue.prefab index cde9ae2..cb79eef 100644 --- a/Assets/Prefabs/platforms/Platform_Blue.prefab +++ b/Assets/Prefabs/platforms/Platform_Blue.prefab @@ -101,7 +101,7 @@ GameObject: - component: {fileID: 2527761051471871889} - component: {fileID: 4240483973579556787} m_Layer: 0 - m_Name: Platform_Blue + m_Name: platform_blue m_TagString: platform m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/Assets/Prefabs/platforms/Platform_Green.prefab b/Assets/Prefabs/platforms/Platform_Green.prefab index cd7679e..24c9161 100644 --- a/Assets/Prefabs/platforms/Platform_Green.prefab +++ b/Assets/Prefabs/platforms/Platform_Green.prefab @@ -116,7 +116,7 @@ GameObject: - component: {fileID: -7597049073915248875} - component: {fileID: 3278078638141404736} m_Layer: 0 - m_Name: Platform_Green + m_Name: platform_green m_TagString: platform m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/Assets/Prefabs/platforms/Platform_Red.prefab b/Assets/Prefabs/platforms/Platform_Red.prefab index 41d3e49..b35bccc 100644 --- a/Assets/Prefabs/platforms/Platform_Red.prefab +++ b/Assets/Prefabs/platforms/Platform_Red.prefab @@ -117,7 +117,7 @@ GameObject: - component: {fileID: 5862113707430629064} - component: {fileID: -6889792310482815023} m_Layer: 0 - m_Name: Platform_Red + m_Name: platform_red m_TagString: platform m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/Assets/Prefabs/platforms/Platform_empty.prefab b/Assets/Prefabs/platforms/Platform_empty.prefab index 9d79ad5..40b91f2 100644 --- a/Assets/Prefabs/platforms/Platform_empty.prefab +++ b/Assets/Prefabs/platforms/Platform_empty.prefab @@ -87,7 +87,7 @@ GameObject: - component: {fileID: 5458493816772439993} - component: {fileID: 6374445660222366211} m_Layer: 0 - m_Name: Platform_empty + m_Name: platform_empty m_TagString: platform m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/Assets/Prefabs/platforms/Platform_yellow.prefab b/Assets/Prefabs/platforms/Platform_yellow.prefab index 5440d93..817a106 100644 --- a/Assets/Prefabs/platforms/Platform_yellow.prefab +++ b/Assets/Prefabs/platforms/Platform_yellow.prefab @@ -117,7 +117,7 @@ GameObject: - component: {fileID: 8383421295717427161} - component: {fileID: 3996111038030861644} m_Layer: 0 - m_Name: Platform_yellow + m_Name: platform_yellow m_TagString: platform m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/Assets/Scripts/BGRotation.cs b/Assets/Scripts/BGRotation.cs index 5bab17e..6ab3572 100644 --- a/Assets/Scripts/BGRotation.cs +++ b/Assets/Scripts/BGRotation.cs @@ -8,7 +8,7 @@ public class BGRotation : MonoBehaviour private void Start() { - rotation = new Vector3(Random.Range(0, 360), Random.Range(0, 360), Random.Range(0, 360)); + rotation = new Vector3(Random.Range(0, 360), Random.Range(0, 360), Random.Range(0, 360)) * 0.009f; } void FixedUpdate() diff --git a/Assets/Scripts/ProceduralGeneration.cs b/Assets/Scripts/ProceduralGeneration.cs index 6f8e883..ca1f8a5 100644 --- a/Assets/Scripts/ProceduralGeneration.cs +++ b/Assets/Scripts/ProceduralGeneration.cs @@ -73,7 +73,7 @@ public class ProceduralGeneration : MonoBehaviour // Debug.Log("Building LOOP"); int pieceCount = 10; - float radius = (pieceCount / 2) * 2; + float radius = (pieceCount / 2) + 1.9f; float angle = 360f / (float)pieceCount; Bounds bounds = this.getPrefabBounds(lastObject);