aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcinzelent <zelent.marcin@gmail.com>2019-04-28 07:25:26 +0200
committermarcinzelent <zelent.marcin@gmail.com>2019-04-28 07:25:26 +0200
commit3c5d537524d90993f54600bf78d043110d708b35 (patch)
tree5e2c32737943e9dd69183c05e81bf083b6b7af1c /nGJ2019
parent4e3a0fc7dc6e32d90168705f7ce4355fcf40cee7 (diff)
Added tutorial
Diffstat (limited to 'nGJ2019')
-rw-r--r--nGJ2019/Assets/Scenes/Tutorial.unity1145
-rw-r--r--nGJ2019/Assets/Scenes/Tutorial.unity.meta7
-rw-r--r--nGJ2019/Assets/Scripts/Messenger.cs13
-rw-r--r--nGJ2019/Assets/Scripts/ObstacleSpawner.cs15
-rw-r--r--nGJ2019/Assets/Scripts/TitleScreen.cs2
5 files changed, 1179 insertions, 3 deletions
diff --git a/nGJ2019/Assets/Scenes/Tutorial.unity b/nGJ2019/Assets/Scenes/Tutorial.unity
new file mode 100644
index 0000000..4aaf866
--- /dev/null
+++ b/nGJ2019/Assets/Scenes/Tutorial.unity
@@ -0,0 +1,1145 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!29 &1
+OcclusionCullingSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_OcclusionBakeSettings:
+ smallestOccluder: 5
+ smallestHole: 0.25
+ backfaceThreshold: 100
+ m_SceneGUID: 00000000000000000000000000000000
+ m_OcclusionCullingData: {fileID: 0}
+--- !u!104 &2
+RenderSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 9
+ m_Fog: 0
+ m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
+ m_FogMode: 3
+ m_FogDensity: 0.01
+ m_LinearFogStart: 0
+ m_LinearFogEnd: 300
+ m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
+ m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
+ m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
+ m_AmbientIntensity: 1
+ m_AmbientMode: 3
+ m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
+ m_SkyboxMaterial: {fileID: 0}
+ m_HaloStrength: 0.5
+ m_FlareStrength: 1
+ m_FlareFadeSpeed: 3
+ m_HaloTexture: {fileID: 0}
+ m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
+ m_DefaultReflectionMode: 0
+ m_DefaultReflectionResolution: 128
+ m_ReflectionBounces: 1
+ m_ReflectionIntensity: 1
+ m_CustomReflection: {fileID: 0}
+ m_Sun: {fileID: 0}
+ m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
+ m_UseRadianceAmbientProbe: 0
+--- !u!157 &3
+LightmapSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 11
+ m_GIWorkflowMode: 1
+ m_GISettings:
+ serializedVersion: 2
+ m_BounceScale: 1
+ m_IndirectOutputScale: 1
+ m_AlbedoBoost: 1
+ m_EnvironmentLightingMode: 0
+ m_EnableBakedLightmaps: 0
+ m_EnableRealtimeLightmaps: 0
+ m_LightmapEditorSettings:
+ serializedVersion: 12
+ m_Resolution: 2
+ m_BakeResolution: 40
+ m_AtlasSize: 1024
+ m_AO: 0
+ m_AOMaxDistance: 1
+ m_CompAOExponent: 1
+ m_CompAOExponentDirect: 0
+ m_ExtractAmbientOcclusion: 0
+ m_Padding: 2
+ m_LightmapParameters: {fileID: 0}
+ m_LightmapsBakeMode: 1
+ m_TextureCompression: 1
+ m_FinalGather: 0
+ m_FinalGatherFiltering: 1
+ m_FinalGatherRayCount: 256
+ m_ReflectionCompression: 2
+ m_MixedBakeMode: 2
+ m_BakeBackend: 1
+ m_PVRSampling: 1
+ m_PVRDirectSampleCount: 32
+ m_PVRSampleCount: 512
+ m_PVRBounces: 2
+ m_PVREnvironmentSampleCount: 256
+ m_PVREnvironmentReferencePointCount: 2048
+ m_PVRFilteringMode: 1
+ m_PVRDenoiserTypeDirect: 1
+ m_PVRDenoiserTypeIndirect: 1
+ m_PVRDenoiserTypeAO: 1
+ m_PVRFilterTypeDirect: 0
+ m_PVRFilterTypeIndirect: 0
+ m_PVRFilterTypeAO: 0
+ m_PVREnvironmentMIS: 1
+ m_PVRCulling: 1
+ m_PVRFilteringGaussRadiusDirect: 1
+ m_PVRFilteringGaussRadiusIndirect: 5
+ m_PVRFilteringGaussRadiusAO: 2
+ m_PVRFilteringAtrousPositionSigmaDirect: 0.5
+ m_PVRFilteringAtrousPositionSigmaIndirect: 2
+ m_PVRFilteringAtrousPositionSigmaAO: 1
+ m_ShowResolutionOverlay: 1
+ m_ExportTrainingData: 0
+ m_LightingDataAsset: {fileID: 0}
+ m_UseShadowmask: 1
+--- !u!196 &4
+NavMeshSettings:
+ serializedVersion: 2
+ m_ObjectHideFlags: 0
+ m_BuildSettings:
+ serializedVersion: 2
+ agentTypeID: 0
+ agentRadius: 0.5
+ agentHeight: 2
+ agentSlope: 45
+ agentClimb: 0.4
+ ledgeDropHeight: 0
+ maxJumpAcrossDistance: 0
+ minRegionArea: 2
+ manualCellSize: 0
+ cellSize: 0.16666667
+ manualTileSize: 0
+ tileSize: 256
+ accuratePlacement: 0
+ debug:
+ m_Flags: 0
+ m_NavMeshData: {fileID: 0}
+--- !u!1 &202725830
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 202725832}
+ - component: {fileID: 202725831}
+ m_Layer: 0
+ m_Name: Level
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &202725831
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 202725830}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: aaf20d9fc2cd6804e8bd7774f129d61a, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ UpdateRate: -10
+ Obstacles:
+ - {fileID: 1359531025}
+ - {fileID: 1133548864}
+ Background: {fileID: 1342555977}
+--- !u!4 &202725832
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 202725830}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children:
+ - {fileID: 1342555977}
+ - {fileID: 1576648787}
+ m_Father: {fileID: 0}
+ m_RootOrder: 6
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!137 &684421193 stripped
+SkinnedMeshRenderer:
+ m_CorrespondingSourceObject: {fileID: 6829653077879027395, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ m_PrefabInstance: {fileID: 1494101563}
+ m_PrefabAsset: {fileID: 0}
+--- !u!23 &696415087 stripped
+MeshRenderer:
+ m_CorrespondingSourceObject: {fileID: 6831756989294198273, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ m_PrefabInstance: {fileID: 1494101563}
+ m_PrefabAsset: {fileID: 0}
+--- !u!1 &762447638
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 762447640}
+ - component: {fileID: 762447639}
+ m_Layer: 0
+ m_Name: Messenger
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &762447639
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 762447638}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 37ad83f716361f142917156690ed3186, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ MainText: {fileID: 1427683653}
+ Spawner: {fileID: 1576648788}
+--- !u!4 &762447640
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 762447638}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: -11}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1001 &963179641
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: 1998900778231223134, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_Name
+ value: CaveWalls1
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalPosition.x
+ value: -9.51
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalRotation.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalRotation.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_RootOrder
+ value: 4
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3}
+--- !u!1 &1133548864 stripped
+GameObject:
+ m_CorrespondingSourceObject: {fileID: 1998900778231223134, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ m_PrefabInstance: {fileID: 1920748800}
+ m_PrefabAsset: {fileID: 0}
+--- !u!1 &1196247045
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1196247048}
+ - component: {fileID: 1196247047}
+ - component: {fileID: 1196247046}
+ m_Layer: 0
+ m_Name: EventSystem
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &1196247046
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1196247045}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_HorizontalAxis: Horizontal
+ m_VerticalAxis: Vertical
+ m_SubmitButton: Submit
+ m_CancelButton: Cancel
+ m_InputActionsPerSecond: 10
+ m_RepeatDelay: 0.5
+ m_ForceModuleActive: 0
+--- !u!114 &1196247047
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1196247045}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_FirstSelected: {fileID: 0}
+ m_sendNavigationEvents: 1
+ m_DragThreshold: 10
+--- !u!4 &1196247048
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1196247045}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 8
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &1342555976
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1342555977}
+ - component: {fileID: 1342555978}
+ m_Layer: 0
+ m_Name: Background
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &1342555977
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1342555976}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 8.886415, y: 0, z: 10}
+ m_LocalScale: {x: 1.736111, y: 1.736111, z: 1}
+ m_Children: []
+ m_Father: {fileID: 202725832}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!212 &1342555978
+SpriteRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1342555976}
+ m_Enabled: 1
+ m_CastShadows: 0
+ m_ReceiveShadows: 0
+ m_DynamicOccludee: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 1
+ m_ReflectionProbeUsage: 1
+ m_RenderingLayerMask: 1
+ m_RendererPriority: 0
+ m_Materials:
+ - {fileID: 2100000, guid: 5d5aaa9c2f47c436b922e7b7869e8557, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_StitchLightmapSeams: 1
+ m_SelectedEditorRenderState: 0
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+ m_Sprite: {fileID: 21300000, guid: 7aa3787a4288d4f4fab4afdfb3345d7b, type: 3}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_FlipX: 0
+ m_FlipY: 0
+ m_DrawMode: 0
+ m_Size: {x: 20.48, y: 5.76}
+ m_AdaptiveModeThreshold: 0.5
+ m_SpriteTileMode: 0
+ m_WasSpriteAssigned: 1
+ m_MaskInteraction: 0
+ m_SpriteSortPoint: 0
+--- !u!1 &1359531025 stripped
+GameObject:
+ m_CorrespondingSourceObject: {fileID: 1998900778231223134, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ m_PrefabInstance: {fileID: 963179641}
+ m_PrefabAsset: {fileID: 0}
+--- !u!23 &1359874285 stripped
+MeshRenderer:
+ m_CorrespondingSourceObject: {fileID: 8784228374599439413, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ m_PrefabInstance: {fileID: 1494101563}
+ m_PrefabAsset: {fileID: 0}
+--- !u!1 &1427683651
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1427683652}
+ - component: {fileID: 1427683654}
+ - component: {fileID: 1427683653}
+ m_Layer: 5
+ m_Name: Text
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1427683652
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1427683651}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: -4232}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 1695765869}
+ 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, y: 99.1}
+ m_SizeDelta: {x: 712, y: 40.9}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1427683653
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1427683651}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_FontData:
+ m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
+ m_FontSize: 21
+ m_FontStyle: 0
+ m_BestFit: 0
+ m_MinSize: 1
+ m_MaxSize: 40
+ m_Alignment: 1
+ m_AlignByGeometry: 0
+ m_RichText: 1
+ m_HorizontalOverflow: 0
+ m_VerticalOverflow: 0
+ m_LineSpacing: 1
+ m_Text:
+--- !u!222 &1427683654
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1427683651}
+ m_CullTransparentMesh: 0
+--- !u!1001 &1494101563
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: 1540055299232912362, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: m_Name
+ value: Dragon
+ objectReference: {fileID: 0}
+ - target: {fileID: 1540055299232912360, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: m_LocalPosition.x
+ value: -3.7374325
+ objectReference: {fileID: 0}
+ - target: {fileID: 1540055299232912360, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0.13672495
+ objectReference: {fileID: 0}
+ - target: {fileID: 1540055299232912360, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 1.06
+ objectReference: {fileID: 0}
+ - target: {fileID: 1540055299232912360, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: m_LocalRotation.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1540055299232912360, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1540055299232912360, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: m_LocalRotation.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1540055299232912360, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 1540055299232912360, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: m_RootOrder
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 1540055299232912360, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1540055299232912360, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1540055299232912360, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1540055299232912361, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: solids.Array.size
+ value: 4
+ objectReference: {fileID: 0}
+ - target: {fileID: 1540055299232912361, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: hurtPrefab
+ value:
+ objectReference: {fileID: 445228207040156449, guid: 3d4b5c434ac207e44953eebd411a4c3f,
+ type: 3}
+ - target: {fileID: 1540055299232912361, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: healthBar
+ value:
+ objectReference: {fileID: 1651299502}
+ - target: {fileID: 1540055299232912361, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: solids.Array.data[0]
+ value:
+ objectReference: {fileID: 696415087}
+ - target: {fileID: 1540055299232912361, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: solids.Array.data[1]
+ value:
+ objectReference: {fileID: 1930954936}
+ - target: {fileID: 1540055299232912361, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: solids.Array.data[2]
+ value:
+ objectReference: {fileID: 684421193}
+ - target: {fileID: 1540055299232912361, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: solids.Array.data[3]
+ value:
+ objectReference: {fileID: 1359874285}
+ - target: {fileID: 1540055299232912365, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: swarmPrefab
+ value:
+ objectReference: {fileID: 445228207040156449, guid: 3d4b5c434ac207e44953eebd411a4c3f,
+ type: 3}
+ - target: {fileID: 1540055299232912365, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: anchorPrefab
+ value:
+ objectReference: {fileID: 3978565615945284120, guid: 4d7317502d499e646b99708821814925,
+ type: 3}
+ - target: {fileID: 1540055299232912365, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: size
+ value: 100
+ objectReference: {fileID: 0}
+ - target: {fileID: 1540055299232912365, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: showGuides
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 1540055299232912365, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: showMesh
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1540055299232912365, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: meshRender
+ value:
+ objectReference: {fileID: 684421193}
+ - target: {fileID: 1540055299232912365, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: collapseCenter.z
+ value: -2.36
+ objectReference: {fileID: 0}
+ - target: {fileID: 1540055299232912365, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: collapseCenter.y
+ value: 0.56
+ objectReference: {fileID: 0}
+ - target: {fileID: 1540055299232912365, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ propertyPath: collapseCenter.x
+ value: 2.26
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 439782ce0455fb740be2c55da31ff44f, type: 3}
+--- !u!1 &1508541068
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1508541070}
+ - component: {fileID: 1508541069}
+ m_Layer: 0
+ m_Name: Directional Light
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!108 &1508541069
+Light:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1508541068}
+ m_Enabled: 1
+ serializedVersion: 9
+ m_Type: 1
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_Intensity: 1
+ m_Range: 10
+ m_SpotAngle: 30
+ m_InnerSpotAngle: 21.80208
+ m_CookieSize: 10
+ m_Shadows:
+ m_Type: 0
+ m_Resolution: -1
+ m_CustomResolution: -1
+ m_Strength: 1
+ m_Bias: 0.05
+ m_NormalBias: 0.4
+ m_NearPlane: 0.2
+ m_CullingMatrixOverride:
+ e00: 1
+ e01: 0
+ e02: 0
+ e03: 0
+ e10: 0
+ e11: 1
+ e12: 0
+ e13: 0
+ e20: 0
+ e21: 0
+ e22: 1
+ e23: 0
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ m_UseCullingMatrixOverride: 0
+ m_Cookie: {fileID: 0}
+ m_DrawHalo: 0
+ m_Flare: {fileID: 0}
+ m_RenderMode: 0
+ m_CullingMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+ m_RenderingLayerMask: 1
+ m_Lightmapping: 4
+ m_LightShadowCasterMode: 0
+ m_AreaSize: {x: 1, y: 1}
+ m_BounceIntensity: 1
+ m_ColorTemperature: 6570
+ m_UseColorTemperature: 0
+ m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
+ m_UseBoundingSphereOverride: 0
+ m_ShadowRadius: 0
+ m_ShadowAngle: 0
+--- !u!4 &1508541070
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1508541068}
+ m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
+ m_LocalPosition: {x: -4.45036, y: -0.67610717, z: -0.7478653}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 7
+ m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
+--- !u!1 &1576648786
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1576648787}
+ - component: {fileID: 1576648788}
+ m_Layer: 0
+ m_Name: ObstacleSpawner
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &1576648787
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1576648786}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 202725832}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!114 &1576648788
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1576648786}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: d769188f2214e9f448de88193d84f4a2, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ caveWallsPrefab: {fileID: 1998900778231223134, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ rockTopPrefab: {fileID: 2825962919672506772, guid: facec2f96803c4c4b9b62c8e259a993b,
+ type: 3}
+ rockBottomPrefab: {fileID: 264553704504758048, guid: 61077335c23f94734a98510f8775f6c7,
+ type: 3}
+ narrowPassagePrefab: {fileID: 1998900778231223134, guid: ce339cccf24f74448af698eb997a3d95,
+ type: 3}
+ rockJawsPrefab: {fileID: 8765725572880811705, guid: a2b1bab6b90944171a71ff986bce4ebf,
+ type: 3}
+ netPrefab: {fileID: 5435085934957895830, guid: 459b4334249a5491ca7e8e02a92f8141,
+ type: 3}
+ scrolling: {fileID: 202725831}
+ spawnLine: 13.5
+--- !u!1 &1651299501
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1651299503}
+ - component: {fileID: 1651299502}
+ m_Layer: 0
+ m_Name: HealthBar
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &1651299502
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1651299501}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 21df74cd7e633ea40bbc7a491852b38a, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ crystalPrefab: {fileID: 6136547117420934535, guid: 22d3f1e2dafbf414e9a2d04e1a5ec602,
+ type: 3}
+ liveCrystal: {fileID: 2100000, guid: d19c2d3c342b20c46b03be1f5369081d, type: 2}
+ deadCrystal: {fileID: 2100000, guid: a772733e42c983144b0a01570895aa30, type: 2}
+ lives: 10
+--- !u!4 &1651299503
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1651299501}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: -8.2, y: 3.96, z: -4.48}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 9
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &1695765865
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1695765869}
+ - component: {fileID: 1695765868}
+ - component: {fileID: 1695765867}
+ - component: {fileID: 1695765866}
+ m_Layer: 5
+ m_Name: Canvas
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &1695765866
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1695765865}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreReversedGraphics: 1
+ m_BlockingObjects: 0
+ m_BlockingMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+--- !u!114 &1695765867
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1695765865}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_UiScaleMode: 0
+ m_ReferencePixelsPerUnit: 100
+ m_ScaleFactor: 1
+ m_ReferenceResolution: {x: 800, y: 600}
+ m_ScreenMatchMode: 0
+ m_MatchWidthOrHeight: 0
+ m_PhysicalUnit: 3
+ m_FallbackScreenDPI: 96
+ m_DefaultSpriteDPI: 96
+ m_DynamicPixelsPerUnit: 1
+--- !u!223 &1695765868
+Canvas:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1695765865}
+ m_Enabled: 1
+ serializedVersion: 3
+ m_RenderMode: 1
+ m_Camera: {fileID: 1928510846}
+ m_PlaneDistance: 100
+ m_PixelPerfect: 0
+ m_ReceivesEvents: 1
+ m_OverrideSorting: 0
+ m_OverridePixelPerfect: 0
+ m_SortingBucketNormalizedSize: 0
+ m_AdditionalShaderChannelsFlag: 0
+ m_SortingLayerID: 0
+ m_SortingOrder: 3
+ m_TargetDisplay: 0
+--- !u!224 &1695765869
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1695765865}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 0, y: 0, z: 0}
+ m_Children:
+ - {fileID: 1427683652}
+ m_Father: {fileID: 0}
+ m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0, y: 0}
+--- !u!1001 &1920748800
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: 1998900778231223134, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_Name
+ value: CaveWalls2
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 0.68
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalRotation.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalRotation.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_RootOrder
+ value: 5
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 1998900778231223133, guid: 1955f0f25a1504ef6978634b4e8986ca,
+ type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 1955f0f25a1504ef6978634b4e8986ca, type: 3}
+--- !u!1 &1928510844
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1928510847}
+ - component: {fileID: 1928510846}
+ - component: {fileID: 1928510845}
+ m_Layer: 0
+ m_Name: Main Camera
+ m_TagString: MainCamera
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!81 &1928510845
+AudioListener:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1928510844}
+ m_Enabled: 1
+--- !u!20 &1928510846
+Camera:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1928510844}
+ m_Enabled: 1
+ serializedVersion: 2
+ m_ClearFlags: 1
+ m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
+ m_projectionMatrixMode: 1
+ m_GateFitMode: 2
+ m_FOVAxisMode: 0
+ m_SensorSize: {x: 36, y: 24}
+ m_LensShift: {x: 0, y: 0}
+ m_FocalLength: 50
+ m_NormalizedViewPortRect:
+ serializedVersion: 2
+ x: 0
+ y: 0
+ width: 1
+ height: 1
+ near clip plane: 0.3
+ far clip plane: 1000
+ field of view: 60
+ orthographic: 1
+ orthographic size: 5
+ m_Depth: -1
+ m_CullingMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+ m_RenderingPath: -1
+ m_TargetTexture: {fileID: 0}
+ m_TargetDisplay: 0
+ m_TargetEye: 3
+ m_HDR: 1
+ m_AllowMSAA: 1
+ m_AllowDynamicResolution: 0
+ m_ForceIntoRT: 0
+ m_OcclusionCulling: 1
+ m_StereoConvergence: 10
+ m_StereoSeparation: 0.022
+--- !u!4 &1928510847
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1928510844}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: -10}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!23 &1930954936 stripped
+MeshRenderer:
+ m_CorrespondingSourceObject: {fileID: 8398687980986394140, guid: 439782ce0455fb740be2c55da31ff44f,
+ type: 3}
+ m_PrefabInstance: {fileID: 1494101563}
+ m_PrefabAsset: {fileID: 0}
diff --git a/nGJ2019/Assets/Scenes/Tutorial.unity.meta b/nGJ2019/Assets/Scenes/Tutorial.unity.meta
new file mode 100644
index 0000000..5ef44e0
--- /dev/null
+++ b/nGJ2019/Assets/Scenes/Tutorial.unity.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 414df89fcb738420884bf28a8c6af277
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/nGJ2019/Assets/Scripts/Messenger.cs b/nGJ2019/Assets/Scripts/Messenger.cs
index c86bcce..a1935fd 100644
--- a/nGJ2019/Assets/Scripts/Messenger.cs
+++ b/nGJ2019/Assets/Scripts/Messenger.cs
@@ -15,8 +15,17 @@ public class Messenger : MonoBehaviour
{
timeline = Spawner.GetEventTimeline();
- //timeline.Add(1, "Test");
- //timeline.Add(3, "");
+ var scene = UnityEngine.SceneManagement.SceneManager.GetActiveScene();
+ if (scene.name == "Tutorial")
+ {
+ timeline.Add(2, "USE WSAD KEYS OR GAMEPAD THUMB TO CONTROL THE DRAGON");
+ timeline.Add(8, "AVOID OBSTACLES, YOU WILL LOSE HEALTH IF YOU HIT THEM");
+ timeline.Add(31, "USE I, J, AND K KEYS TO CHANGE THE DRAGON FORM");
+ timeline.Add(39, "PRESS J TO SHRINK AND FIT IN THE NARROW PASSAGE AHEAD");
+ timeline.Add(43, "");
+ timeline.Add(55, "PRESS K TO SPLIT INTO PARTICLES AND GO THROUGH THE NET");
+ timeline.Add(59, "");
+ }
timeline.OnMessageEvent += MessageOnEvent;
}
diff --git a/nGJ2019/Assets/Scripts/ObstacleSpawner.cs b/nGJ2019/Assets/Scripts/ObstacleSpawner.cs
index 931a96b..bea85b2 100644
--- a/nGJ2019/Assets/Scripts/ObstacleSpawner.cs
+++ b/nGJ2019/Assets/Scripts/ObstacleSpawner.cs
@@ -56,6 +56,21 @@ public class ObstacleSpawner : MonoBehaviour
timeline.Add(i * 12.5f + 15f, new Vector3(0, 0.5f, 3), ObstacleType.net);
}
}
+ else if (scene.name == "Tutorial")
+ {
+ for (int i = 0; i < 60; i++)
+ timeline.Add(i * 2.5f, new Vector3(0, 0, 0), ObstacleType.caveWalls);
+
+ timeline.Add(10, new Vector3(0, 2.75f, 0), ObstacleType.rockTop);
+ timeline.Add(15, new Vector3(0, -2, 0), ObstacleType.rockBottom);
+ timeline.Add(20, new Vector3(0, 2.75f, 0), ObstacleType.rockTop);
+ timeline.Add(23, new Vector3(0, -2, 0), ObstacleType.rockBottom);
+ timeline.Add(26, new Vector3(0, 2.75f, 0), ObstacleType.rockTop);
+
+ timeline.Add(40, new Vector3(0, 0, 0), ObstacleType.narrowPassage);
+ timeline.Add(48, new Vector3(0, -2.5f, 2), ObstacleType.rockJaws);
+ timeline.Add(56, new Vector3(0, 0.5f, 3), ObstacleType.net);
+ }
else if (scene.name == "Level1")
{
for (int i = 0; i < 1000; i++)
diff --git a/nGJ2019/Assets/Scripts/TitleScreen.cs b/nGJ2019/Assets/Scripts/TitleScreen.cs
index d439c51..3ec62b2 100644
--- a/nGJ2019/Assets/Scripts/TitleScreen.cs
+++ b/nGJ2019/Assets/Scripts/TitleScreen.cs
@@ -15,7 +15,7 @@ public class TitleScreen : MonoBehaviour
public void ToLevel1()
{
- SceneManager.LoadScene("Level1");
+ SceneManager.LoadScene("Tutorial");
}
public void Quit()