Add title screen.

This commit is contained in:
Kaj Forney 2021-10-21 11:36:25 -06:00
parent 671c8d6f7c
commit dae1a6665b
Signed by: kforney
GPG key ID: 3AB4E2E04CEF656F
9 changed files with 1264 additions and 149 deletions

View file

@ -26,7 +26,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8316473563626554650}
m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 10, z: -2.042687}
m_LocalPosition: {x: 0, y: 20, z: -2.042687}
m_LocalScale: {x: 30, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 8316473563876316029}
@ -115,7 +115,7 @@ ParticleSystem:
startLifetime:
serializedVersion: 2
minMaxState: 0
scalar: 10
scalar: 30
minScalar: 5
maxCurve:
serializedVersion: 2
@ -222,7 +222,7 @@ ParticleSystem:
serializedVersion: 2
minMaxState: 0
minColor: {r: 1, g: 1, b: 1, a: 1}
maxColor: {r: 0.5283019, g: 0.5283019, b: 0.5283019, a: 1}
maxColor: {r: 0.24528301, g: 0.24528301, b: 0.24528301, a: 1}
maxGradient:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}
@ -866,7 +866,7 @@ ParticleSystem:
rateOverTime:
serializedVersion: 2
minMaxState: 0
scalar: 2
scalar: 1
minScalar: 10
maxCurve:
serializedVersion: 2
@ -4866,7 +4866,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8316473563887898669}
m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068}
m_LocalPosition: {x: -15, y: 0, z: 0}
m_LocalPosition: {x: -40, y: 0, z: 0}
m_LocalScale: {x: 0.0000003, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 8316473563876316029}
@ -4955,7 +4955,7 @@ ParticleSystem:
startLifetime:
serializedVersion: 2
minMaxState: 0
scalar: 20
scalar: 50
minScalar: 5
maxCurve:
serializedVersion: 2
@ -5062,7 +5062,7 @@ ParticleSystem:
serializedVersion: 2
minMaxState: 0
minColor: {r: 1, g: 1, b: 1, a: 1}
maxColor: {r: 1, g: 1, b: 1, a: 1}
maxColor: {r: 0.5188679, g: 0.5188679, b: 0.5188679, a: 1}
maxGradient:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}
@ -5706,7 +5706,7 @@ ParticleSystem:
rateOverTime:
serializedVersion: 2
minMaxState: 0
scalar: 2
scalar: 1
minScalar: 10
maxCurve:
serializedVersion: 2
@ -9672,7 +9672,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8316473564275017832}
m_LocalRotation: {x: -0.7071068, y: 0, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0, y: -10, z: -2.042687}
m_LocalPosition: {x: 0, y: -15, z: -2.042687}
m_LocalScale: {x: 30, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 8316473563876316029}
@ -9761,7 +9761,7 @@ ParticleSystem:
startLifetime:
serializedVersion: 2
minMaxState: 0
scalar: 5
scalar: 30
minScalar: 5
maxCurve:
serializedVersion: 2
@ -9868,7 +9868,7 @@ ParticleSystem:
serializedVersion: 2
minMaxState: 0
minColor: {r: 1, g: 1, b: 1, a: 1}
maxColor: {r: 1, g: 1, b: 1, a: 1}
maxColor: {r: 0.5188679, g: 0.5188679, b: 0.5188679, a: 1}
maxGradient:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}
@ -10512,7 +10512,7 @@ ParticleSystem:
rateOverTime:
serializedVersion: 2
minMaxState: 0
scalar: 2
scalar: 1
minScalar: 10
maxCurve:
serializedVersion: 2
@ -14478,7 +14478,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8316473564418632948}
m_LocalRotation: {x: 0, y: -0.7071068, z: 0, w: 0.7071068}
m_LocalPosition: {x: 15, y: 0, z: 0}
m_LocalPosition: {x: 40, y: 0, z: 0}
m_LocalScale: {x: 0.0000003, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 8316473563876316029}
@ -14567,7 +14567,7 @@ ParticleSystem:
startLifetime:
serializedVersion: 2
minMaxState: 0
scalar: 20
scalar: 40
minScalar: 5
maxCurve:
serializedVersion: 2
@ -14674,7 +14674,7 @@ ParticleSystem:
serializedVersion: 2
minMaxState: 0
minColor: {r: 1, g: 1, b: 1, a: 1}
maxColor: {r: 0.5377358, g: 0.5377358, b: 0.5377358, a: 1}
maxColor: {r: 0.2264151, g: 0.2264151, b: 0.2264151, a: 1}
maxGradient:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}
@ -15318,7 +15318,7 @@ ParticleSystem:
rateOverTime:
serializedVersion: 2
minMaxState: 0
scalar: 2
scalar: 1
minScalar: 10
maxCurve:
serializedVersion: 2

View file

@ -511,46 +511,11 @@ PrefabInstance:
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 8316473563626554649, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: EmissionModule.rateOverTime.scalar
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8316473563626554649, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: InitialModule.startLifetime.scalar
value: 30
objectReference: {fileID: 0}
- target: {fileID: 8316473563626554649, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: InitialModule.startColor.maxColor.b
value: 0.24528301
objectReference: {fileID: 0}
- target: {fileID: 8316473563626554649, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: InitialModule.startColor.maxColor.g
value: 0.24528301
objectReference: {fileID: 0}
- target: {fileID: 8316473563626554649, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: InitialModule.startColor.maxColor.r
value: 0.24528301
objectReference: {fileID: 0}
- target: {fileID: 8316473563626554651, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: m_LocalPosition.y
value: 20
objectReference: {fileID: 0}
- target: {fileID: 8316473563876316028, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: m_Name
value: backgroundGridAnimated
objectReference: {fileID: 0}
- target: {fileID: 8316473563876316028, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8316473563876316029, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: m_RootOrder
@ -606,101 +571,6 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8316473563887898656, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: EmissionModule.rateOverTime.scalar
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8316473563887898656, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: InitialModule.startLifetime.scalar
value: 50
objectReference: {fileID: 0}
- target: {fileID: 8316473563887898656, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: InitialModule.startColor.maxColor.b
value: 0.5188679
objectReference: {fileID: 0}
- target: {fileID: 8316473563887898656, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: InitialModule.startColor.maxColor.g
value: 0.5188679
objectReference: {fileID: 0}
- target: {fileID: 8316473563887898656, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: InitialModule.startColor.maxColor.r
value: 0.5188679
objectReference: {fileID: 0}
- target: {fileID: 8316473563887898658, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: m_LocalPosition.x
value: -40
objectReference: {fileID: 0}
- target: {fileID: 8316473564275017833, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: m_LocalPosition.y
value: -15
objectReference: {fileID: 0}
- target: {fileID: 8316473564275017839, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: EmissionModule.rateOverTime.scalar
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8316473564275017839, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: InitialModule.startLifetime.scalar
value: 30
objectReference: {fileID: 0}
- target: {fileID: 8316473564275017839, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: InitialModule.startColor.maxColor.b
value: 0.5188679
objectReference: {fileID: 0}
- target: {fileID: 8316473564275017839, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: InitialModule.startColor.maxColor.g
value: 0.5188679
objectReference: {fileID: 0}
- target: {fileID: 8316473564275017839, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: InitialModule.startColor.maxColor.r
value: 0.5188679
objectReference: {fileID: 0}
- target: {fileID: 8316473564418632715, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: EmissionModule.rateOverTime.scalar
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8316473564418632715, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: InitialModule.startLifetime.scalar
value: 40
objectReference: {fileID: 0}
- target: {fileID: 8316473564418632715, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: InitialModule.startColor.maxColor.b
value: 0.2264151
objectReference: {fileID: 0}
- target: {fileID: 8316473564418632715, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: InitialModule.startColor.maxColor.g
value: 0.2264151
objectReference: {fileID: 0}
- target: {fileID: 8316473564418632715, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: InitialModule.startColor.maxColor.r
value: 0.2264151
objectReference: {fileID: 0}
- target: {fileID: 8316473564418632949, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: m_LocalPosition.x
value: 40
objectReference: {fileID: 0}
- target: {fileID: 8316473564418632949, guid: 871e4192f45f5aa20b35dd703a6f4cb5,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 871e4192f45f5aa20b35dd703a6f4cb5, type: 3}
--- !u!1 &463936830

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: d840779767a824ffc80a0bf6e8943c80
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,31 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class titleButtonsControl : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public void startButtonClick()
{
GetComponent<AudioSource>().Play();
SceneManager.LoadScene("level1");
}
public void exitButtonClick()
{
GetComponent<AudioSource>().Play();
Application.Quit(0);
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 8ffb05fb88b3bfe4b8da64ed69ba0dba
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 B

After

Width:  |  Height:  |  Size: 162 B

View file

@ -43,11 +43,11 @@ TextureImporter:
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
spriteMeshType: 0
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 16
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 32
spriteBorder: {x: 3, y: 3, z: 3, w: 3}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
@ -99,6 +99,18 @@ TextureImporter:
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
spriteSheet:
serializedVersion: 2
sprites: []

View file

@ -5,6 +5,9 @@ EditorBuildSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes:
- enabled: 1
path: Assets/Scenes/titleScreen.unity
guid: d840779767a824ffc80a0bf6e8943c80
- enabled: 1
path: Assets/Scenes/level1.unity
guid: 66cff697d6d49e7d1b9f134f4fb04caf