diff --git a/Assets/Prefabs/EXPBarSprite.bmp b/Assets/Prefabs/EXPBarSprite.bmp new file mode 100644 index 0000000..2ee6972 Binary files /dev/null and b/Assets/Prefabs/EXPBarSprite.bmp differ diff --git a/Assets/Prefabs/EXPBarSprite.bmp.meta b/Assets/Prefabs/EXPBarSprite.bmp.meta new file mode 100644 index 0000000..a468a9a --- /dev/null +++ b/Assets/Prefabs/EXPBarSprite.bmp.meta @@ -0,0 +1,152 @@ +fileFormatVersion: 2 +guid: 4fe29e11b36d63d4bbddcaa4ef2409cb +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: 1 + wrapV: 1 + wrapW: -1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Windows Store Apps + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: iPhone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Pop-up Panel.prefab b/Assets/Prefabs/Pop-up Panel.prefab index 7b1e0cb..239a077 100644 Binary files a/Assets/Prefabs/Pop-up Panel.prefab and b/Assets/Prefabs/Pop-up Panel.prefab differ diff --git a/Assets/Prefabs/Pop-up Panels/Pop-up Panel 1.prefab b/Assets/Prefabs/Pop-up Panels/Pop-up Panel 1.prefab index a7c6d87..16b6b09 100644 Binary files a/Assets/Prefabs/Pop-up Panels/Pop-up Panel 1.prefab and b/Assets/Prefabs/Pop-up Panels/Pop-up Panel 1.prefab differ diff --git a/Assets/Prefabs/Pop-up Panels/Pop-up Panel 2.prefab b/Assets/Prefabs/Pop-up Panels/Pop-up Panel 2.prefab index 371d483..51dcf86 100644 Binary files a/Assets/Prefabs/Pop-up Panels/Pop-up Panel 2.prefab and b/Assets/Prefabs/Pop-up Panels/Pop-up Panel 2.prefab differ diff --git a/Assets/Prefabs/Pop-up Panels/Pop-up Panel 3.prefab b/Assets/Prefabs/Pop-up Panels/Pop-up Panel 3.prefab index 5d5f55c..87e4c28 100644 Binary files a/Assets/Prefabs/Pop-up Panels/Pop-up Panel 3.prefab and b/Assets/Prefabs/Pop-up Panels/Pop-up Panel 3.prefab differ diff --git a/Assets/Prefabs/Pop-up Panels/Pop-up Panel 4.prefab b/Assets/Prefabs/Pop-up Panels/Pop-up Panel 4.prefab index 875cf58..7a4107f 100644 Binary files a/Assets/Prefabs/Pop-up Panels/Pop-up Panel 4.prefab and b/Assets/Prefabs/Pop-up Panels/Pop-up Panel 4.prefab differ diff --git a/Assets/Scenes/Main.unity b/Assets/Scenes/Main.unity index c66b8c8..5935449 100644 Binary files a/Assets/Scenes/Main.unity and b/Assets/Scenes/Main.unity differ diff --git a/Logs/Packages-Update.log b/Logs/Packages-Update.log new file mode 100644 index 0000000..9b9d201 --- /dev/null +++ b/Logs/Packages-Update.log @@ -0,0 +1,45 @@ + +=== Mon Nov 23 15:21:06 2020 + +Packages were changed. +Update Mode: resetToDefaultDependencies + +The following packages were added: + com.unity.collab-proxy@1.2.16 + com.unity.ide.rider@1.1.4 + com.unity.ide.vscode@1.2.0 + com.unity.modules.ai@1.0.0 + com.unity.modules.androidjni@1.0.0 + com.unity.modules.animation@1.0.0 + com.unity.modules.assetbundle@1.0.0 + com.unity.modules.audio@1.0.0 + com.unity.modules.cloth@1.0.0 + com.unity.modules.director@1.0.0 + com.unity.modules.imageconversion@1.0.0 + com.unity.modules.imgui@1.0.0 + com.unity.modules.jsonserialize@1.0.0 + com.unity.modules.particlesystem@1.0.0 + com.unity.modules.physics@1.0.0 + com.unity.modules.physics2d@1.0.0 + com.unity.modules.screencapture@1.0.0 + com.unity.modules.terrain@1.0.0 + com.unity.modules.terrainphysics@1.0.0 + com.unity.modules.tilemap@1.0.0 + com.unity.modules.ui@1.0.0 + com.unity.modules.uielements@1.0.0 + com.unity.modules.umbra@1.0.0 + com.unity.modules.unityanalytics@1.0.0 + com.unity.modules.unitywebrequest@1.0.0 + com.unity.modules.unitywebrequestassetbundle@1.0.0 + com.unity.modules.unitywebrequestaudio@1.0.0 + com.unity.modules.unitywebrequesttexture@1.0.0 + com.unity.modules.unitywebrequestwww@1.0.0 + com.unity.modules.vehicles@1.0.0 + com.unity.modules.video@1.0.0 + com.unity.modules.vr@1.0.0 + com.unity.modules.wind@1.0.0 + com.unity.modules.xr@1.0.0 + com.unity.test-framework@1.1.13 + com.unity.textmeshpro@2.0.1 + com.unity.timeline@1.2.14 + com.unity.ugui@1.0.0 diff --git a/Packages/manifest.json b/Packages/manifest.json new file mode 100644 index 0000000..21cc5af --- /dev/null +++ b/Packages/manifest.json @@ -0,0 +1,42 @@ +{ + "dependencies": { + "com.unity.collab-proxy": "1.2.16", + "com.unity.ide.rider": "1.1.4", + "com.unity.ide.vscode": "1.2.0", + "com.unity.test-framework": "1.1.13", + "com.unity.textmeshpro": "2.0.1", + "com.unity.timeline": "1.2.14", + "com.unity.ugui": "1.0.0", + "com.unity.modules.ai": "1.0.0", + "com.unity.modules.androidjni": "1.0.0", + "com.unity.modules.animation": "1.0.0", + "com.unity.modules.assetbundle": "1.0.0", + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.cloth": "1.0.0", + "com.unity.modules.director": "1.0.0", + "com.unity.modules.imageconversion": "1.0.0", + "com.unity.modules.imgui": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0", + "com.unity.modules.particlesystem": "1.0.0", + "com.unity.modules.physics": "1.0.0", + "com.unity.modules.physics2d": "1.0.0", + "com.unity.modules.screencapture": "1.0.0", + "com.unity.modules.terrain": "1.0.0", + "com.unity.modules.terrainphysics": "1.0.0", + "com.unity.modules.tilemap": "1.0.0", + "com.unity.modules.ui": "1.0.0", + "com.unity.modules.uielements": "1.0.0", + "com.unity.modules.umbra": "1.0.0", + "com.unity.modules.unityanalytics": "1.0.0", + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.unitywebrequestassetbundle": "1.0.0", + "com.unity.modules.unitywebrequestaudio": "1.0.0", + "com.unity.modules.unitywebrequesttexture": "1.0.0", + "com.unity.modules.unitywebrequestwww": "1.0.0", + "com.unity.modules.vehicles": "1.0.0", + "com.unity.modules.video": "1.0.0", + "com.unity.modules.vr": "1.0.0", + "com.unity.modules.wind": "1.0.0", + "com.unity.modules.xr": "1.0.0" + } +} diff --git a/ProjectSettings/EditorSettings.asset b/ProjectSettings/EditorSettings.asset index 86b755e..706ff95 100644 Binary files a/ProjectSettings/EditorSettings.asset and b/ProjectSettings/EditorSettings.asset differ diff --git a/ProjectSettings/PresetManager.asset b/ProjectSettings/PresetManager.asset new file mode 100644 index 0000000..29c4c47 Binary files /dev/null and b/ProjectSettings/PresetManager.asset differ diff --git a/ProjectSettings/ProjectVersion.txt b/ProjectSettings/ProjectVersion.txt index ca1aa05..beea0cc 100644 --- a/ProjectSettings/ProjectVersion.txt +++ b/ProjectSettings/ProjectVersion.txt @@ -1 +1,2 @@ -m_EditorVersion: 2017.1.0f3 +m_EditorVersion: 2019.3.13f1 +m_EditorVersionWithRevision: 2019.3.13f1 (d4ddf0d95db9) diff --git a/ProjectSettings/UnityConnectSettings.asset b/ProjectSettings/UnityConnectSettings.asset index 51030e7..7e5c084 100644 Binary files a/ProjectSettings/UnityConnectSettings.asset and b/ProjectSettings/UnityConnectSettings.asset differ diff --git a/ProjectSettings/UnityAdsSettings.asset b/ProjectSettings/VFXManager.asset similarity index 76% rename from ProjectSettings/UnityAdsSettings.asset rename to ProjectSettings/VFXManager.asset index 0db06d2..4b4b0e4 100644 Binary files a/ProjectSettings/UnityAdsSettings.asset and b/ProjectSettings/VFXManager.asset differ diff --git a/ProjectSettings/XRSettings.asset b/ProjectSettings/XRSettings.asset new file mode 100644 index 0000000..482590c --- /dev/null +++ b/ProjectSettings/XRSettings.asset @@ -0,0 +1,10 @@ +{ + "m_SettingKeys": [ + "VR Device Disabled", + "VR Device User Alert" + ], + "m_SettingValues": [ + "False", + "False" + ] +} \ No newline at end of file diff --git a/README.md b/README.md index 9b02b8f..5f4f219 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,19 @@ First Android Unity project A basic Android Application that can be built and played either on a device as a .apk or within the unity editor. -Not a game, but a demonstration of C# scripting within unity. +Not a game, but a demonstration of C# scripting within unity to create an idle-clicker like EXP system. A learning experience. The cube spins on the screen at a slow rate initially, as the cube rotates every full rotation grants exp. Upon leveling up the rotation speed is increased. +Saves player data on exit, loads on start. +If the app is closed, or otherwise suspended, when returning EXP is added for time spent away and awarded to player. Feel free to use the UI buttons to force your speed to ridiculous amounts. Other fun debugging options in there, as well as changing the color of the cube. Have fun, feel free to make a pull request. + +![Screenshot of spinningcube](Screenshot.PNG) + + diff --git a/Screenshot.PNG b/Screenshot.PNG new file mode 100644 index 0000000..6bf8480 Binary files /dev/null and b/Screenshot.PNG differ