Browse Source

Add screenshot to README, fix EXP bar sprite scaling

master
Shaun Reed 2 years ago
parent
commit
85c0d5fffe
  1. BIN
      Assets/Prefabs/EXPBarSprite.bmp
  2. 152
      Assets/Prefabs/EXPBarSprite.bmp.meta
  3. BIN
      Assets/Prefabs/Pop-up Panel.prefab
  4. BIN
      Assets/Prefabs/Pop-up Panels/Pop-up Panel 1.prefab
  5. BIN
      Assets/Prefabs/Pop-up Panels/Pop-up Panel 2.prefab
  6. BIN
      Assets/Prefabs/Pop-up Panels/Pop-up Panel 3.prefab
  7. BIN
      Assets/Prefabs/Pop-up Panels/Pop-up Panel 4.prefab
  8. BIN
      Assets/Scenes/Main.unity
  9. 45
      Logs/Packages-Update.log
  10. 42
      Packages/manifest.json
  11. BIN
      ProjectSettings/EditorSettings.asset
  12. BIN
      ProjectSettings/PresetManager.asset
  13. 3
      ProjectSettings/ProjectVersion.txt
  14. BIN
      ProjectSettings/UnityConnectSettings.asset
  15. BIN
      ProjectSettings/VFXManager.asset
  16. 10
      ProjectSettings/XRSettings.asset
  17. 8
      README.md
  18. BIN
      Screenshot.PNG

BIN
Assets/Prefabs/EXPBarSprite.bmp

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB

152
Assets/Prefabs/EXPBarSprite.bmp.meta

@ -0,0 +1,152 @@ @@ -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:

BIN
Assets/Prefabs/Pop-up Panel.prefab

Binary file not shown.

BIN
Assets/Prefabs/Pop-up Panels/Pop-up Panel 1.prefab

Binary file not shown.

BIN
Assets/Prefabs/Pop-up Panels/Pop-up Panel 2.prefab

Binary file not shown.

BIN
Assets/Prefabs/Pop-up Panels/Pop-up Panel 3.prefab

Binary file not shown.

BIN
Assets/Prefabs/Pop-up Panels/Pop-up Panel 4.prefab

Binary file not shown.

BIN
Assets/Scenes/Main.unity

Binary file not shown.

45
Logs/Packages-Update.log

@ -0,0 +1,45 @@ @@ -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

42
Packages/manifest.json

@ -0,0 +1,42 @@ @@ -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"
}
}

BIN
ProjectSettings/EditorSettings.asset

Binary file not shown.

BIN
ProjectSettings/PresetManager.asset

Binary file not shown.

3
ProjectSettings/ProjectVersion.txt

@ -1 +1,2 @@ @@ -1 +1,2 @@
m_EditorVersion: 2017.1.0f3
m_EditorVersion: 2019.3.13f1
m_EditorVersionWithRevision: 2019.3.13f1 (d4ddf0d95db9)

BIN
ProjectSettings/UnityConnectSettings.asset

Binary file not shown.

BIN
ProjectSettings/UnityAdsSettings.asset → ProjectSettings/VFXManager.asset

Binary file not shown.

10
ProjectSettings/XRSettings.asset

@ -0,0 +1,10 @@ @@ -0,0 +1,10 @@
{
"m_SettingKeys": [
"VR Device Disabled",
"VR Device User Alert"
],
"m_SettingValues": [
"False",
"False"
]
}

8
README.md

@ -3,13 +3,19 @@ First Android Unity project @@ -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)

BIN
Screenshot.PNG

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Loading…
Cancel
Save