diff --git a/Assets/Scenes/Levels/Level.unity b/Assets/Scenes/Levels/Level.unity index 74ec5ce..2a5cd21 100644 --- a/Assets/Scenes/Levels/Level.unity +++ b/Assets/Scenes/Levels/Level.unity @@ -345,7 +345,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 11 + m_RootOrder: 10 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &293691291 GameObject: @@ -360,7 +360,7 @@ GameObject: - component: {fileID: 293691292} m_Layer: 0 m_Name: 2048 - m_TagString: Ball + m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 @@ -519,7 +519,7 @@ TextMesh: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 482402549} - m_Text: 1 + m_Text: 0 m_OffsetZ: 0 m_CharacterSize: 0.66 m_LineSpacing: 1 @@ -1729,7 +1729,8 @@ Transform: m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: -0.14412709, y: 1.3818009, z: -0.043904576} m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] + m_Children: + - {fileID: 1579393362} m_Father: {fileID: 0} m_RootOrder: 9 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -1891,16 +1892,16 @@ RectTransform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1579393359} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0.178} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0.22190458} m_LocalScale: {x: 0.039261445, y: 0.038003728, z: 0.034458} m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 10 + m_Father: {fileID: 1500372616} + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0.029, y: 1.566} + m_AnchoredPosition: {x: 0.17312708, y: 0.1841991} m_SizeDelta: {x: 49.4141, y: 5} m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &1582045456 diff --git a/Assets/Scripts/GameManager.cs b/Assets/Scripts/GameManager.cs index f39fed9..1f8d6c2 100644 --- a/Assets/Scripts/GameManager.cs +++ b/Assets/Scripts/GameManager.cs @@ -40,6 +40,7 @@ private void Start() //long.TryParse(balls[balls.Length - 1].gameObject.name, out toReach); //toReach *= 2; //shrinkSizes(); + if (PlayerPrefs.GetInt("level") > 0) { score = PlayerPrefs.GetFloat("score"); diff --git a/ProjectSettings/EditorBuildSettings.asset b/ProjectSettings/EditorBuildSettings.asset index b74fbf5..fe501a1 100644 --- a/ProjectSettings/EditorBuildSettings.asset +++ b/ProjectSettings/EditorBuildSettings.asset @@ -6,9 +6,9 @@ EditorBuildSettings: serializedVersion: 2 m_Scenes: - enabled: 1 - path: Assets/Scenes/Levels/Level 1.unity + path: Assets/Scenes/Levels/Level.unity guid: 9fc0d4010bbf28b4594072e72b8655ab - - enabled: 1 + - enabled: 0 path: Assets/Scenes/Levels/Level 2.unity guid: dc64a86aace8b4a40a4fd07e1d6c0a24 m_configObjects: {} diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index a5fc1f9..79aa8d5 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -44,8 +44,8 @@ PlayerSettings: m_HolographicTrackingLossScreen: {fileID: 0} defaultScreenWidth: 1024 defaultScreenHeight: 768 - defaultScreenWidthWeb: 960 - defaultScreenHeightWeb: 600 + defaultScreenWidthWeb: 360 + defaultScreenHeightWeb: 640 m_StereoRenderingPath: 0 m_ActiveColorSpace: 0 m_MTRendering: 1 @@ -774,8 +774,8 @@ PlayerSettings: webGLTemplate: APPLICATION:Default webGLAnalyzeBuildSize: 0 webGLUseEmbeddedResources: 0 - webGLCompressionFormat: 1 - webGLWasmArithmeticExceptions: 0 + webGLCompressionFormat: 2 + webGLWasmArithmeticExceptions: 1 webGLLinkerTarget: 1 webGLThreadsSupport: 0 webGLDecompressionFallback: 0 diff --git a/README.md b/README.md new file mode 100644 index 0000000..1e50a0b --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# 2048 Balls! - Clone + +Clone prototype inspired by the game [2048 Balls 3D by voodoo](https://apps.apple.com/us/app/2048-balls-3d/id1485247734) + +Developed using Unity. + +I developed the game mainly to mimic the game mechanism made by voodoo and not the game itself, the game is playable but doesn't contain menus & saves. + + +## Demo + +You can download the latest APK from [releases](https://github.com/sapirnoam/2048-balls/releases/) (WebGL version) + + +## Roadmap: +- End game scene +- Saving data +- Redesign UI +- Scoreboard (Online) +- Integrate with Database. + + +## Contribute +Feel free to fork / Contribute to the project. The game works great both for mobile & PC but only lacks menus & Saves functions. \ No newline at end of file