From 2e9be690c7519140f672e280918444163cd962a3 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 19 Apr 2020 23:30:25 +0200 Subject: [PATCH] Add main manu and fire game --- .../Microgame_TheFire/Fire.controller | 227 +++-- .../Microgame_TheFire/FireNone.anim | 71 ++ .../Microgame_TheFire/FireNone.anim.meta | 8 + .../Microgame_TheFire/Tree.controller | 298 ++++++ .../Microgame_TheFire/Tree.controller.meta | 8 + .../Animations/Microgame_TheFire/Tree1.anim | 68 ++ .../Microgame_TheFire/Tree1.anim.meta | 8 + .../Animations/Microgame_TheFire/Tree2.anim | 68 ++ .../Microgame_TheFire/Tree2.anim.meta | 8 + .../Animations/Microgame_TheFire/Tree3.anim | 68 ++ .../Microgame_TheFire/Tree3.anim.meta | 8 + .../Animations/Microgame_TheFire/Tree4.anim | 68 ++ .../Microgame_TheFire/Tree4.anim.meta | 8 + .../Animations/Microgame_TheFire/TreeCut.anim | 369 ++++++++ .../Microgame_TheFire/TreeCut.anim.meta | 8 + Assets/Prefabs/Core/Game Controller.prefab | 3 +- Assets/Prefabs/Core/Microgame.prefab | 50 ++ Assets/Prefabs/Core/Microgame.prefab.meta | 7 + Assets/Prefabs/Core/UI/Wheel Panel.prefab | 150 +++- Assets/Prefabs/Microgame_TheFire.meta | 8 + .../Microgame_TheFire/TheFireMicrogame.prefab | 784 ++++++++++++++++ .../TheFireMicrogame.prefab.meta | 7 + Assets/Scenes/Default.unity | 11 - Assets/Scenes/MainMenu.unity | 845 ++++++++++++++++++ Assets/Scenes/MainMenu.unity.meta | 7 + Assets/Scenes/MicrogameTestLab.unity | 30 +- Assets/Scripts/Core/SoundPitchAdjust.cs | 4 + Assets/Scripts/Core/StartOnAnyKey.cs | 14 + Assets/Scripts/Core/StartOnAnyKey.cs.meta | 11 + Assets/Scripts/Microgame_TheFire.meta | 8 + .../Microgame_TheFire/TheFireController.cs | 69 ++ .../TheFireController.cs.meta | 11 + Assets/Sound/Microgame_TheFire.meta | 8 + Assets/Sound/Microgame_TheFire/fireplace.mp3 | 3 + .../Microgame_TheFire/fireplace.mp3.meta | 22 + Assets/Sound/Microgame_TheFire/wood_chop.mp3 | 3 + .../Microgame_TheFire/wood_chop.mp3.meta | 22 + Assets/Sound/Microgame_TheFire/wood_chop2.mp3 | 3 + .../Microgame_TheFire/wood_chop2.mp3.meta | 22 + ...FIRE_alive.meta => Microgame_TheFire.meta} | 0 .../background_snow.png | 0 .../background_snow.png.meta | 40 +- .../fire_medium_1.png | 0 .../fire_medium_1.png.meta | 4 +- .../fire_medium_2.png | 0 .../fire_medium_2.png.meta | 4 +- .../fire_small_1.png | 0 .../fire_small_1.png.meta | 4 +- .../fire_small_2.png | 0 .../fire_small_2.png.meta | 4 +- .../fire_strong_1.png | 0 .../fire_strong_1.png.meta | 4 +- .../fire_strong_2.png | 0 .../fire_strong_2.png.meta | 4 +- .../fire_tiny_1.png | 0 .../fire_tiny_1.png.meta | 4 +- .../fire_tiny_2.png | 0 .../fire_tiny_2.png.meta | 4 +- .../snow_pixel.png | 0 .../snow_pixel.png.meta | 40 +- .../tree_1.png | 0 .../tree_1.png.meta | 40 +- .../tree_2.png | 0 .../tree_2.png.meta | 40 +- .../tree_3.png | 0 .../tree_3.png.meta | 40 +- .../tree_4.png | 0 .../tree_4.png.meta | 40 +- .../tree_5_cut.png | 0 .../tree_5_cut.png.meta | 40 +- ProjectSettings/EditorBuildSettings.asset | 8 +- 71 files changed, 3577 insertions(+), 138 deletions(-) create mode 100644 Assets/Animations/Microgame_TheFire/FireNone.anim create mode 100644 Assets/Animations/Microgame_TheFire/FireNone.anim.meta create mode 100644 Assets/Animations/Microgame_TheFire/Tree.controller create mode 100644 Assets/Animations/Microgame_TheFire/Tree.controller.meta create mode 100644 Assets/Animations/Microgame_TheFire/Tree1.anim create mode 100644 Assets/Animations/Microgame_TheFire/Tree1.anim.meta create mode 100644 Assets/Animations/Microgame_TheFire/Tree2.anim create mode 100644 Assets/Animations/Microgame_TheFire/Tree2.anim.meta create mode 100644 Assets/Animations/Microgame_TheFire/Tree3.anim create mode 100644 Assets/Animations/Microgame_TheFire/Tree3.anim.meta create mode 100644 Assets/Animations/Microgame_TheFire/Tree4.anim create mode 100644 Assets/Animations/Microgame_TheFire/Tree4.anim.meta create mode 100644 Assets/Animations/Microgame_TheFire/TreeCut.anim create mode 100644 Assets/Animations/Microgame_TheFire/TreeCut.anim.meta create mode 100644 Assets/Prefabs/Core/Microgame.prefab create mode 100644 Assets/Prefabs/Core/Microgame.prefab.meta create mode 100644 Assets/Prefabs/Microgame_TheFire.meta create mode 100644 Assets/Prefabs/Microgame_TheFire/TheFireMicrogame.prefab create mode 100644 Assets/Prefabs/Microgame_TheFire/TheFireMicrogame.prefab.meta create mode 100644 Assets/Scenes/MainMenu.unity create mode 100644 Assets/Scenes/MainMenu.unity.meta create mode 100644 Assets/Scripts/Core/StartOnAnyKey.cs create mode 100644 Assets/Scripts/Core/StartOnAnyKey.cs.meta create mode 100644 Assets/Scripts/Microgame_TheFire.meta create mode 100644 Assets/Scripts/Microgame_TheFire/TheFireController.cs create mode 100644 Assets/Scripts/Microgame_TheFire/TheFireController.cs.meta create mode 100644 Assets/Sound/Microgame_TheFire.meta create mode 100644 Assets/Sound/Microgame_TheFire/fireplace.mp3 create mode 100644 Assets/Sound/Microgame_TheFire/fireplace.mp3.meta create mode 100644 Assets/Sound/Microgame_TheFire/wood_chop.mp3 create mode 100644 Assets/Sound/Microgame_TheFire/wood_chop.mp3.meta create mode 100644 Assets/Sound/Microgame_TheFire/wood_chop2.mp3 create mode 100644 Assets/Sound/Microgame_TheFire/wood_chop2.mp3.meta rename Assets/Sprites/{keep_FIRE_alive.meta => Microgame_TheFire.meta} (100%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/background_snow.png (100%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/background_snow.png.meta (66%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/fire_medium_1.png (100%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/fire_medium_1.png.meta (98%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/fire_medium_2.png (100%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/fire_medium_2.png.meta (98%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/fire_small_1.png (100%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/fire_small_1.png.meta (98%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/fire_small_2.png (100%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/fire_small_2.png.meta (98%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/fire_strong_1.png (100%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/fire_strong_1.png.meta (98%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/fire_strong_2.png (100%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/fire_strong_2.png.meta (98%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/fire_tiny_1.png (100%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/fire_tiny_1.png.meta (98%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/fire_tiny_2.png (100%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/fire_tiny_2.png.meta (98%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/snow_pixel.png (100%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/snow_pixel.png.meta (66%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/tree_1.png (100%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/tree_1.png.meta (66%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/tree_2.png (100%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/tree_2.png.meta (66%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/tree_3.png (100%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/tree_3.png.meta (66%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/tree_4.png (100%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/tree_4.png.meta (66%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/tree_5_cut.png (100%) rename Assets/Sprites/{keep_FIRE_alive => Microgame_TheFire}/tree_5_cut.png.meta (66%) diff --git a/Assets/Animations/Microgame_TheFire/Fire.controller b/Assets/Animations/Microgame_TheFire/Fire.controller index f47c4c6..1fff9da 100644 --- a/Assets/Animations/Microgame_TheFire/Fire.controller +++ b/Assets/Animations/Microgame_TheFire/Fire.controller @@ -1,5 +1,30 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: +--- !u!1101 &-7988925471755939743 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 3 + m_ConditionEvent: TimeFraction + m_EventTreshold: 0.8 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: -7077096189891342202} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 --- !u!1102 &-7077096189891342202 AnimatorState: serializedVersion: 5 @@ -48,6 +73,9 @@ AnimatorStateMachine: - serializedVersion: 1 m_State: {fileID: -1046399141160932835} m_Position: {x: 470, y: 20, z: 0} + - serializedVersion: 1 + m_State: {fileID: -253518137622482433} + m_Position: {x: 700, y: 20, z: 0} m_ChildStateMachines: [] m_AnyStateTransitions: [] m_EntryTransitions: [] @@ -58,7 +86,7 @@ AnimatorStateMachine: m_ExitPosition: {x: 570, y: 210, z: 0} m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} m_DefaultState: {fileID: -7077096189891342202} ---- !u!1101 &-5522947165789052400 +--- !u!1101 &-5474194245957916369 AnimatorStateTransition: m_ObjectHideFlags: 1 m_CorrespondingSourceObject: {fileID: 0} @@ -67,42 +95,42 @@ AnimatorStateTransition: m_Name: m_Conditions: - m_ConditionMode: 3 - m_ConditionEvent: FireStrength - m_EventTreshold: 1 + m_ConditionEvent: TimeFraction + m_EventTreshold: 0.1 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 4101909043349981314} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &-3062126614186920003 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 3 + m_ConditionEvent: TimeFraction + m_EventTreshold: 0.6 m_DstStateMachine: {fileID: 0} m_DstState: {fileID: 1562576957145114055} m_Solo: 0 m_Mute: 0 m_IsExit: 0 serializedVersion: 3 - m_TransitionDuration: 0.25 + m_TransitionDuration: 0 m_TransitionOffset: 0 - m_ExitTime: 0.57142854 - m_HasExitTime: 1 - m_HasFixedDuration: 1 - m_InterruptionSource: 0 - m_OrderedInterruption: 1 - m_CanTransitionToSelf: 1 ---- !u!1101 &-4191218604059806671 -AnimatorStateTransition: - m_ObjectHideFlags: 1 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: - m_Conditions: - - m_ConditionMode: 3 - m_ConditionEvent: FireStrength - m_EventTreshold: 0 - m_DstStateMachine: {fileID: 0} - m_DstState: {fileID: -1046399141160932835} - m_Solo: 0 - m_Mute: 0 - m_IsExit: 0 - serializedVersion: 3 - m_TransitionDuration: 0.25 - m_TransitionOffset: 0 - m_ExitTime: 0.57142854 + m_ExitTime: 0 m_HasExitTime: 1 m_HasFixedDuration: 1 m_InterruptionSource: 0 @@ -117,17 +145,17 @@ AnimatorStateTransition: m_Name: m_Conditions: - m_ConditionMode: 4 - m_ConditionEvent: FireStrength - m_EventTreshold: 1 + m_ConditionEvent: TimeFraction + m_EventTreshold: 0.4 m_DstStateMachine: {fileID: 0} m_DstState: {fileID: 4101909043349981314} m_Solo: 0 m_Mute: 0 m_IsExit: 0 serializedVersion: 3 - m_TransitionDuration: 0.25 + m_TransitionDuration: 0 m_TransitionOffset: 0 - m_ExitTime: 0.57142854 + m_ExitTime: 0 m_HasExitTime: 1 m_HasFixedDuration: 1 m_InterruptionSource: 0 @@ -145,7 +173,7 @@ AnimatorState: m_CycleOffset: 0 m_Transitions: - {fileID: -2663944113828947826} - - {fileID: -5522947165789052400} + - {fileID: -3062126614186920003} m_StateMachineBehaviours: [] m_Position: {x: 50, y: 50, z: 0} m_IKOnFeet: 0 @@ -161,6 +189,33 @@ AnimatorState: m_MirrorParameter: m_CycleOffsetParameter: m_TimeParameter: +--- !u!1102 &-253518137622482433 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: FireNone + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: -5474194245957916369} + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 2bb3989d7b7bc384c96f11ddc142b866, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: --- !u!91 &9100000 AnimatorController: m_ObjectHideFlags: 0 @@ -170,9 +225,9 @@ AnimatorController: m_Name: Fire serializedVersion: 5 m_AnimatorParameters: - - m_Name: FireStrength - m_Type: 3 - m_DefaultFloat: 0 + - m_Name: TimeFraction + m_Type: 1 + m_DefaultFloat: 1 m_DefaultInt: 0 m_DefaultBool: 0 m_Controller: {fileID: 0} @@ -189,6 +244,31 @@ AnimatorController: m_IKPass: 0 m_SyncedLayerAffectsTiming: 0 m_Controller: {fileID: 9100000} +--- !u!1101 &942917537526722036 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 4 + m_ConditionEvent: TimeFraction + m_EventTreshold: 0.1 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: -253518137622482433} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 --- !u!1102 &1562576957145114055 AnimatorState: serializedVersion: 5 @@ -201,7 +281,7 @@ AnimatorState: m_CycleOffset: 0 m_Transitions: - {fileID: 9153949731355075881} - - {fileID: 3358107328951546658} + - {fileID: -7988925471755939743} m_StateMachineBehaviours: [] m_Position: {x: 50, y: 50, z: 0} m_IKOnFeet: 0 @@ -226,42 +306,17 @@ AnimatorStateTransition: m_Name: m_Conditions: - m_ConditionMode: 4 - m_ConditionEvent: FireStrength - m_EventTreshold: 3 + m_ConditionEvent: TimeFraction + m_EventTreshold: 0.8 m_DstStateMachine: {fileID: 0} m_DstState: {fileID: 1562576957145114055} m_Solo: 0 m_Mute: 0 m_IsExit: 0 serializedVersion: 3 - m_TransitionDuration: 0.25 + m_TransitionDuration: 0 m_TransitionOffset: 0 - m_ExitTime: 0.57142854 - m_HasExitTime: 1 - m_HasFixedDuration: 1 - m_InterruptionSource: 0 - m_OrderedInterruption: 1 - m_CanTransitionToSelf: 1 ---- !u!1101 &3358107328951546658 -AnimatorStateTransition: - m_ObjectHideFlags: 1 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: - m_Conditions: - - m_ConditionMode: 3 - m_ConditionEvent: FireStrength - m_EventTreshold: 2 - m_DstStateMachine: {fileID: 0} - m_DstState: {fileID: -7077096189891342202} - m_Solo: 0 - m_Mute: 0 - m_IsExit: 0 - serializedVersion: 3 - m_TransitionDuration: 0.25 - m_TransitionOffset: 0 - m_ExitTime: 0.57142854 + m_ExitTime: 0 m_HasExitTime: 1 m_HasFixedDuration: 1 m_InterruptionSource: 0 @@ -278,7 +333,8 @@ AnimatorState: m_Speed: 1 m_CycleOffset: 0 m_Transitions: - - {fileID: -4191218604059806671} + - {fileID: 942917537526722036} + - {fileID: 9015733038900867233} m_StateMachineBehaviours: [] m_Position: {x: 50, y: 50, z: 0} m_IKOnFeet: 0 @@ -294,6 +350,31 @@ AnimatorState: m_MirrorParameter: m_CycleOffsetParameter: m_TimeParameter: +--- !u!1101 &9015733038900867233 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 3 + m_ConditionEvent: TimeFraction + m_EventTreshold: 0.4 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: -1046399141160932835} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 --- !u!1101 &9153949731355075881 AnimatorStateTransition: m_ObjectHideFlags: 1 @@ -303,17 +384,17 @@ AnimatorStateTransition: m_Name: m_Conditions: - m_ConditionMode: 4 - m_ConditionEvent: FireStrength - m_EventTreshold: 2 + m_ConditionEvent: TimeFraction + m_EventTreshold: 0.6 m_DstStateMachine: {fileID: 0} m_DstState: {fileID: -1046399141160932835} m_Solo: 0 m_Mute: 0 m_IsExit: 0 serializedVersion: 3 - m_TransitionDuration: 0.25 + m_TransitionDuration: 0 m_TransitionOffset: 0 - m_ExitTime: 0.57142854 + m_ExitTime: 0 m_HasExitTime: 1 m_HasFixedDuration: 1 m_InterruptionSource: 0 diff --git a/Assets/Animations/Microgame_TheFire/FireNone.anim b/Assets/Animations/Microgame_TheFire/FireNone.anim new file mode 100644 index 0000000..738daa2 --- /dev/null +++ b/Assets/Animations/Microgame_TheFire/FireNone.anim @@ -0,0 +1,71 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: FireNone + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 0} + - time: 0.5 + value: {fileID: 0} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 12 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: 0} + - {fileID: 0} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.5833333 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 1 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_Events: [] diff --git a/Assets/Animations/Microgame_TheFire/FireNone.anim.meta b/Assets/Animations/Microgame_TheFire/FireNone.anim.meta new file mode 100644 index 0000000..c52f997 --- /dev/null +++ b/Assets/Animations/Microgame_TheFire/FireNone.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2bb3989d7b7bc384c96f11ddc142b866 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Microgame_TheFire/Tree.controller b/Assets/Animations/Microgame_TheFire/Tree.controller new file mode 100644 index 0000000..b6b0998 --- /dev/null +++ b/Assets/Animations/Microgame_TheFire/Tree.controller @@ -0,0 +1,298 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1101 &-8011169380200708544 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 4 + m_ConditionEvent: HealthFraction + m_EventTreshold: 0.67 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 4321785992500833821} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 0 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1107 &-4653258769397276835 +AnimatorStateMachine: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Base Layer + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: 9036096649926537078} + m_Position: {x: 230, y: 110, z: 0} + - serializedVersion: 1 + m_State: {fileID: -1549427163479937684} + m_Position: {x: 230, y: 190, z: 0} + - serializedVersion: 1 + m_State: {fileID: 4321785992500833821} + m_Position: {x: 230, y: 270, z: 0} + - serializedVersion: 1 + m_State: {fileID: -2397928278042473120} + m_Position: {x: 230, y: 350, z: 0} + - serializedVersion: 1 + m_State: {fileID: -1259549972118633251} + m_Position: {x: 230, y: 430, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] + m_AnyStatePosition: {x: 50, y: 190, z: 0} + m_EntryPosition: {x: 50, y: 120, z: 0} + m_ExitPosition: {x: 50, y: 270, z: 0} + m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: -1549427163479937684} +--- !u!1102 &-2397928278042473120 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Tree4 + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 753524195663221273} + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 0db3d17eb245b7a49bdd0e7bbab288c0, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1102 &-1549427163479937684 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Tree2 + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: -8011169380200708544} + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 2b0e11de4844764488c5b4fdb548c42a, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1102 &-1259549972118633251 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: TreeCut + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: [] + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: bd37dbd052b343d418ed822438e80296, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!91 &9100000 +AnimatorController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Tree + serializedVersion: 5 + m_AnimatorParameters: + - m_Name: HealthFraction + m_Type: 1 + m_DefaultFloat: 1 + m_DefaultInt: 0 + m_DefaultBool: 0 + m_Controller: {fileID: 0} + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: -4653258769397276835} + m_Mask: {fileID: 0} + m_Motions: [] + m_Behaviours: [] + m_BlendingMode: 0 + m_SyncedLayerIndex: -1 + m_DefaultWeight: 0 + m_IKPass: 0 + m_SyncedLayerAffectsTiming: 0 + m_Controller: {fileID: 9100000} +--- !u!1101 &649847192518373405 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 4 + m_ConditionEvent: HealthFraction + m_EventTreshold: 0.34 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: -2397928278042473120} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 0 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &753524195663221273 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 4 + m_ConditionEvent: HealthFraction + m_EventTreshold: 0.01 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: -1259549972118633251} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 0 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &1588574190041626395 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 4 + m_ConditionEvent: HealthFraction + m_EventTreshold: 0.76 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: -1549427163479937684} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 0 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1102 &4321785992500833821 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Tree3 + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 649847192518373405} + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 0ae894e562cb7184da7929a584a36bc0, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1102 &9036096649926537078 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Tree1 + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 1588574190041626395} + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: a0e189e4aa571d04ebdf6c0edc2dea68, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: diff --git a/Assets/Animations/Microgame_TheFire/Tree.controller.meta b/Assets/Animations/Microgame_TheFire/Tree.controller.meta new file mode 100644 index 0000000..1c3feee --- /dev/null +++ b/Assets/Animations/Microgame_TheFire/Tree.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d7d8ea31c81240d478fbc919a085bcd4 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Microgame_TheFire/Tree1.anim b/Assets/Animations/Microgame_TheFire/Tree1.anim new file mode 100644 index 0000000..d0221cf --- /dev/null +++ b/Assets/Animations/Microgame_TheFire/Tree1.anim @@ -0,0 +1,68 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Tree1 + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 21300000, guid: 7a125e6d5eb7f7b4fbc44e6100a76fb7, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: 21300000, guid: 7a125e6d5eb7f7b4fbc44e6100a76fb7, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.016666668 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 0 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_Events: [] diff --git a/Assets/Animations/Microgame_TheFire/Tree1.anim.meta b/Assets/Animations/Microgame_TheFire/Tree1.anim.meta new file mode 100644 index 0000000..c4173cd --- /dev/null +++ b/Assets/Animations/Microgame_TheFire/Tree1.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a0e189e4aa571d04ebdf6c0edc2dea68 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Microgame_TheFire/Tree2.anim b/Assets/Animations/Microgame_TheFire/Tree2.anim new file mode 100644 index 0000000..6bf3795 --- /dev/null +++ b/Assets/Animations/Microgame_TheFire/Tree2.anim @@ -0,0 +1,68 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Tree2 + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 21300000, guid: 50017d283dbc8fb4a830a987f8658163, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: 21300000, guid: 50017d283dbc8fb4a830a987f8658163, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.016666668 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 0 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_Events: [] diff --git a/Assets/Animations/Microgame_TheFire/Tree2.anim.meta b/Assets/Animations/Microgame_TheFire/Tree2.anim.meta new file mode 100644 index 0000000..3a27fef --- /dev/null +++ b/Assets/Animations/Microgame_TheFire/Tree2.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2b0e11de4844764488c5b4fdb548c42a +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Microgame_TheFire/Tree3.anim b/Assets/Animations/Microgame_TheFire/Tree3.anim new file mode 100644 index 0000000..205e987 --- /dev/null +++ b/Assets/Animations/Microgame_TheFire/Tree3.anim @@ -0,0 +1,68 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Tree3 + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 21300000, guid: 04af6d7c47d0b964aa3b451a48d305de, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: 21300000, guid: 04af6d7c47d0b964aa3b451a48d305de, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.016666668 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 0 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_Events: [] diff --git a/Assets/Animations/Microgame_TheFire/Tree3.anim.meta b/Assets/Animations/Microgame_TheFire/Tree3.anim.meta new file mode 100644 index 0000000..4cdac4c --- /dev/null +++ b/Assets/Animations/Microgame_TheFire/Tree3.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0ae894e562cb7184da7929a584a36bc0 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Microgame_TheFire/Tree4.anim b/Assets/Animations/Microgame_TheFire/Tree4.anim new file mode 100644 index 0000000..c9ec4b0 --- /dev/null +++ b/Assets/Animations/Microgame_TheFire/Tree4.anim @@ -0,0 +1,68 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Tree4 + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 21300000, guid: 2d400591fea5587408481ccf55baa6c2, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: 21300000, guid: 2d400591fea5587408481ccf55baa6c2, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.016666668 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 0 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_Events: [] diff --git a/Assets/Animations/Microgame_TheFire/Tree4.anim.meta b/Assets/Animations/Microgame_TheFire/Tree4.anim.meta new file mode 100644 index 0000000..a439464 --- /dev/null +++ b/Assets/Animations/Microgame_TheFire/Tree4.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0db3d17eb245b7a49bdd0e7bbab288c0 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Microgame_TheFire/TreeCut.anim b/Assets/Animations/Microgame_TheFire/TreeCut.anim new file mode 100644 index 0000000..a9cc0cd --- /dev/null +++ b/Assets/Animations/Microgame_TheFire/TreeCut.anim @@ -0,0 +1,369 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: TreeCut + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: {x: 0, y: 0, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: -180} + tangentMode: 0 + weightedMode: 0 + inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + - serializedVersion: 3 + time: 0.5 + value: {x: 0, y: 0, z: -90} + inSlope: {x: -0, y: -0, z: -180} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + weightedMode: 0 + inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + path: + m_PositionCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: {x: -3.12, y: 1.76, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 9.16, y: -6.12, z: 0} + tangentMode: 0 + weightedMode: 0 + inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + - serializedVersion: 3 + time: 0.25 + value: {x: -0.83, y: 0.23, z: 0} + inSlope: {x: 9.16, y: -6.12, z: -0} + outSlope: {x: 6.063158, y: -9.8210535, z: 0} + tangentMode: 0 + weightedMode: 0 + inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + - serializedVersion: 3 + time: 0.56666666 + value: {x: 1.09, y: -2.88, z: 0} + inSlope: {x: 6.063158, y: -9.8210535, z: -0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + weightedMode: 0 + inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + path: + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 21300000, guid: 5312450989b17554d8a22255080294eb, type: 3} + - time: 0.5 + value: {fileID: 21300000, guid: 5312450989b17554d8a22255080294eb, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 1 + script: {fileID: 0} + typeID: 4 + customType: 0 + isPPtrCurve: 0 + - serializedVersion: 2 + path: 0 + attribute: 4 + script: {fileID: 0} + typeID: 4 + customType: 4 + isPPtrCurve: 0 + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: 21300000, guid: 5312450989b17554d8a22255080294eb, type: 3} + - {fileID: 21300000, guid: 5312450989b17554d8a22255080294eb, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.56666666 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 0 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: -3.12 + inSlope: 0 + outSlope: 9.16 + tangentMode: 69 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.25 + value: -0.83 + inSlope: 9.16 + outSlope: 6.063158 + tangentMode: 69 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.56666666 + value: 1.09 + inSlope: 6.063158 + outSlope: 0 + tangentMode: 69 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalPosition.x + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1.76 + inSlope: 0 + outSlope: -6.12 + tangentMode: 69 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.25 + value: 0.23 + inSlope: -6.12 + outSlope: -9.8210535 + tangentMode: 69 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.56666666 + value: -2.88 + inSlope: -9.8210535 + outSlope: 0 + tangentMode: 69 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalPosition.y + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 69 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.25 + value: 0 + inSlope: -0 + outSlope: 0 + tangentMode: 69 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.56666666 + value: 0 + inSlope: -0 + outSlope: 0 + tangentMode: 69 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalPosition.z + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 69 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.5 + value: 0 + inSlope: -0 + outSlope: 0 + tangentMode: 69 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.x + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 69 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.5 + value: 0 + inSlope: -0 + outSlope: 0 + tangentMode: 69 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.y + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: -180 + tangentMode: 69 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.5 + value: -90 + inSlope: -180 + outSlope: 0 + tangentMode: 69 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.z + path: + classID: 4 + script: {fileID: 0} + m_EulerEditorCurves: + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.x + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.y + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.z + path: + classID: 4 + script: {fileID: 0} + m_HasGenericRootTransform: 1 + m_HasMotionFloatCurves: 0 + m_Events: [] diff --git a/Assets/Animations/Microgame_TheFire/TreeCut.anim.meta b/Assets/Animations/Microgame_TheFire/TreeCut.anim.meta new file mode 100644 index 0000000..daa7366 --- /dev/null +++ b/Assets/Animations/Microgame_TheFire/TreeCut.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: bd37dbd052b343d418ed822438e80296 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Core/Game Controller.prefab b/Assets/Prefabs/Core/Game Controller.prefab index 3a1ab6b..2cd5933 100644 --- a/Assets/Prefabs/Core/Game Controller.prefab +++ b/Assets/Prefabs/Core/Game Controller.prefab @@ -273,10 +273,11 @@ MonoBehaviour: startingLives: 4 maxLives: 4 startingTimescale: 1 - startingDifficulty: 1 startingScore: 0 microgames: - {fileID: 446180028923333666, guid: 69f9e1e67286d4e48951b2dd8a55a22b, type: 3} + - {fileID: 5248486291000105484, guid: 302761e08a5645541a8cd97ea48c40e8, type: 3} + - {fileID: 3409115008165862035, guid: 90d329297da61224c92fd77199701cd1, type: 3} timescaleIncreaseFactor: 0.05 increaseSpeedEvery: 1 wheelSelectionDelay: 0.05 diff --git a/Assets/Prefabs/Core/Microgame.prefab b/Assets/Prefabs/Core/Microgame.prefab new file mode 100644 index 0000000..d8dd281 --- /dev/null +++ b/Assets/Prefabs/Core/Microgame.prefab @@ -0,0 +1,50 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &7478745189159821447 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3476519754739934188} + - component: {fileID: 197948820815713775} + m_Layer: 0 + m_Name: Microgame + m_TagString: MicrogameController + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &3476519754739934188 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7478745189159821447} + 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: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &197948820815713775 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7478745189159821447} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c3e3fb49a6fc58d4e9034931b4d8120e, type: 3} + m_Name: + m_EditorClassIdentifier: + startingTime: 4 + microgameName: THE GAME + microgameNameColor: {r: 1, g: 1, b: 1, a: 1} + microgameNameFont: {fileID: 12800000, guid: 75c9cbfd49e877c468331f81fc132714, type: 3} + victory: 1 diff --git a/Assets/Prefabs/Core/Microgame.prefab.meta b/Assets/Prefabs/Core/Microgame.prefab.meta new file mode 100644 index 0000000..d2537c3 --- /dev/null +++ b/Assets/Prefabs/Core/Microgame.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 3317daf5141ff2e4a887cef6489b0452 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Core/UI/Wheel Panel.prefab b/Assets/Prefabs/Core/UI/Wheel Panel.prefab index ae3f58d..b7aade3 100644 --- a/Assets/Prefabs/Core/UI/Wheel Panel.prefab +++ b/Assets/Prefabs/Core/UI/Wheel Panel.prefab @@ -1,5 +1,96 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: +--- !u!1 &9165270 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 9165271} + - component: {fileID: 9165274} + - component: {fileID: 9165273} + - component: {fileID: 9165272} + m_Layer: 5 + m_Name: AnyKeyOnGameOver + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &9165271 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9165270} + 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: 62263835697235544} + m_RootOrder: 2 + 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: -297.8} + m_SizeDelta: {x: 276, y: 38.314484} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &9165274 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9165270} + m_CullTransparentMesh: 0 +--- !u!114 &9165273 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9165270} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 0.5235849, b: 0.5235849, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 12800000, guid: 75c9cbfd49e877c468331f81fc132714, type: 3} + m_FontSize: 50 + m_FontStyle: 0 + m_BestFit: 1 + m_MinSize: 5 + m_MaxSize: 300 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: RETRY? +--- !u!114 &9165272 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9165270} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 434b0b9680e8eb946ad858c56a075518, type: 3} + m_Name: + m_EditorClassIdentifier: + displayWhen: 1 --- !u!1 &182637521 GameObject: m_ObjectHideFlags: 0 @@ -70,14 +161,14 @@ MonoBehaviour: m_FontStyle: 0 m_BestFit: 1 m_MinSize: 5 - m_MaxSize: 50 + m_MaxSize: 300 m_Alignment: 4 m_AlignByGeometry: 0 m_RichText: 1 m_HorizontalOverflow: 0 m_VerticalOverflow: 0 m_LineSpacing: 1 - m_Text: TEXT + m_Text: IT --- !u!114 &182637525 MonoBehaviour: m_ObjectHideFlags: 0 @@ -122,10 +213,10 @@ RectTransform: m_Father: {fileID: 62263835697235544} 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: -1.72} - m_SizeDelta: {x: 337.00037, y: 163.59747} + m_AnchorMin: {x: 0, y: 0.5} + m_AnchorMax: {x: 1, y: 0.5} + m_AnchoredPosition: {x: -0.9699707, y: 0.0000013113022} + m_SizeDelta: {x: 60.10321, y: 163.59747} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &914644883 CanvasRenderer: @@ -162,7 +253,7 @@ MonoBehaviour: m_FillClockwise: 1 m_FillOrigin: 0 m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 + m_PixelsPerUnitMultiplier: 1.3 --- !u!1 &1475586331092748119 GameObject: m_ObjectHideFlags: 0 @@ -226,6 +317,7 @@ GameObject: - component: {fileID: 1475586332062904172} - component: {fileID: 1475586332062904170} - component: {fileID: 1475586332062904171} + - component: {fileID: 1939693954} m_Layer: 5 m_Name: Keep m_TagString: Untagged @@ -292,6 +384,20 @@ MonoBehaviour: m_VerticalOverflow: 0 m_LineSpacing: 1 m_Text: 'KEEP ' +--- !u!114 &1939693954 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1475586332062904173} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5083bec7e6907f844b7599d852b744c9, type: 3} + m_Name: + m_EditorClassIdentifier: + displayText: GAME + displayColor: {r: 1, g: 0, b: 0, a: 1} --- !u!1 &1475586332177117423 GameObject: m_ObjectHideFlags: 0 @@ -303,6 +409,7 @@ GameObject: - component: {fileID: 1475586332177117422} - component: {fileID: 1475586332177117420} - component: {fileID: 1475586332177117421} + - component: {fileID: 625994397} m_Layer: 5 m_Name: Alive m_TagString: Untagged @@ -369,6 +476,20 @@ MonoBehaviour: m_VerticalOverflow: 0 m_LineSpacing: 1 m_Text: ' ALIVE' +--- !u!114 &625994397 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1475586332177117423} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5083bec7e6907f844b7599d852b744c9, type: 3} + m_Name: + m_EditorClassIdentifier: + displayText: OVER + displayColor: {r: 1, g: 0, b: 0, a: 1} --- !u!1 &3876737460387516449 GameObject: m_ObjectHideFlags: 0 @@ -378,6 +499,7 @@ GameObject: serializedVersion: 6 m_Component: - component: {fileID: 62263835697235544} + - component: {fileID: 1959137561} m_Layer: 5 m_Name: Wheel Options m_TagString: Untagged @@ -398,6 +520,7 @@ RectTransform: m_Children: - {fileID: 914644881} - {fileID: 182637522} + - {fileID: 9165271} m_Father: {fileID: 1475586331092748118} m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -406,3 +529,16 @@ RectTransform: m_AnchoredPosition: {x: -30, y: 0} m_SizeDelta: {x: -614, y: 0} m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1959137561 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3876737460387516449} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 434b0b9680e8eb946ad858c56a075518, type: 3} + m_Name: + m_EditorClassIdentifier: + displayWhen: 2 diff --git a/Assets/Prefabs/Microgame_TheFire.meta b/Assets/Prefabs/Microgame_TheFire.meta new file mode 100644 index 0000000..dc85620 --- /dev/null +++ b/Assets/Prefabs/Microgame_TheFire.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 75e102031dfaa3742ae160ae19380704 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Microgame_TheFire/TheFireMicrogame.prefab b/Assets/Prefabs/Microgame_TheFire/TheFireMicrogame.prefab new file mode 100644 index 0000000..57159aa --- /dev/null +++ b/Assets/Prefabs/Microgame_TheFire/TheFireMicrogame.prefab @@ -0,0 +1,784 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &3409115008089039279 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3409115008089039312} + - component: {fileID: 3409115008089039313} + - component: {fileID: 3409115008089039314} + - component: {fileID: 1797670366880315401} + - component: {fileID: 200967891809159094} + m_Layer: 0 + m_Name: Tree + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &3409115008089039312 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3409115008089039279} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -3.64, y: 0.29, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 8577801550627930792} + - {fileID: 4588558160523472135} + m_Father: {fileID: 8601045387310415406} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &3409115008089039313 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3409115008089039279} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 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: 7a125e6d5eb7f7b4fbc44e6100a76fb7, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 5.857143, y: 9.142858} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!50 &3409115008089039314 +Rigidbody2D: + serializedVersion: 4 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3409115008089039279} + m_BodyType: 2 + m_Simulated: 1 + m_UseFullKinematicContacts: 0 + m_UseAutoMass: 0 + m_Mass: 1 + m_LinearDrag: 0 + m_AngularDrag: 0.05 + m_GravityScale: 1 + m_Material: {fileID: 0} + m_Interpolate: 0 + m_SleepingMode: 1 + m_CollisionDetection: 0 + m_Constraints: 0 +--- !u!95 &1797670366880315401 +Animator: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3409115008089039279} + m_Enabled: 1 + m_Avatar: {fileID: 0} + m_Controller: {fileID: 9100000, guid: d7d8ea31c81240d478fbc919a085bcd4, type: 2} + m_CullingMode: 0 + m_UpdateMode: 0 + m_ApplyRootMotion: 0 + m_LinearVelocityBlending: 0 + m_WarningMessage: + m_HasTransformHierarchy: 1 + m_AllowConstantClipSamplingOptimization: 1 + m_KeepAnimatorControllerStateOnDisable: 0 +--- !u!60 &200967891809159094 +PolygonCollider2D: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3409115008089039279} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_UsedByEffector: 0 + m_UsedByComposite: 0 + m_Offset: {x: 0, y: 0} + m_SpriteTilingProperty: + border: {x: 0, y: 0, z: 0, w: 0} + pivot: {x: 0.5, y: 0.5} + oldSize: {x: 5.857143, y: 9.142858} + newSize: {x: 5.857143, y: 9.142858} + adaptiveTilingThreshold: 0.5 + drawMode: 0 + adaptiveTiling: 0 + m_AutoTiling: 0 + m_Points: + m_Paths: + - - {x: 2.0714288, y: 0.5714286} + - {x: 1.7857144, y: 1.4285715} + - {x: 1.2142857, y: 1.4285715} + - {x: 2.9285715, y: 2.857143} + - {x: 2.9285715, y: 4.4285717} + - {x: 2.7857144, y: 4.571429} + - {x: -0.071428575, y: 4.571429} + - {x: -0.92857146, y: 4.1428576} + - {x: -2.5, y: 1.5714287} + - {x: -2.0714288, y: -1} + - {x: -2.9285715, y: -2.857143} + - {x: -2.9285715, y: -4.1428576} + - {x: -2.357143, y: -4.571429} + - {x: -0.21428573, y: -4.571429} + - {x: -0.21428573, y: -4} + - {x: -0.6428572, y: -2.2857144} +--- !u!1 &3409115008165862033 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8601045387310415406} + - component: {fileID: 3409115008165862035} + - component: {fileID: 3409115008165862034} + m_Layer: 0 + m_Name: TheFireMicrogame + m_TagString: MicrogameController + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &8601045387310415406 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3409115008165862033} + 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: 3409115008758223213} + - {fileID: 3409115008089039312} + - {fileID: 3409115009465811438} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &3409115008165862035 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3409115008165862033} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c3e3fb49a6fc58d4e9034931b4d8120e, type: 3} + m_Name: + m_EditorClassIdentifier: + startingTime: 4 + microgameName: THE FIRE + microgameNameColor: {r: 1, g: 0.39841667, b: 0, a: 1} + microgameNameFont: {fileID: 12800000, guid: 75c9cbfd49e877c468331f81fc132714, type: 3} + victory: 0 +--- !u!114 &3409115008165862034 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3409115008165862033} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: cd3a91b30e6481343bb3b8864c898643, type: 3} + m_Name: + m_EditorClassIdentifier: + startingTreeHealth: 9 + fireObject: {fileID: 3409115009465811437} + treeObject: {fileID: 3409115008089039279} + chopAudioSource: {fileID: 7028444477877117394} + fallAudioSource: {fileID: 4204335899742077653} +--- !u!1 &3409115008758223212 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3409115008758223213} + - component: {fileID: 3409115008758223214} + m_Layer: 0 + m_Name: Background + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &3409115008758223213 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3409115008758223212} + 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: 8601045387310415406} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &3409115008758223214 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3409115008758223212} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 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: -100 + m_Sprite: {fileID: 21300000, guid: b39966afa7e23714d97ae2a5ad0bafdf, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 1.28, y: 0.72} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!1 &3409115009465811437 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3409115009465811438} + - component: {fileID: 3409115009465810960} + - component: {fileID: 3409115009465811439} + - component: {fileID: 7833658494119175996} + - component: {fileID: 1898424423633853653} + m_Layer: 0 + m_Name: Fire + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &3409115009465811438 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3409115009465811437} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 2.27, y: -3.85, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 8601045387310415406} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!95 &3409115009465810960 +Animator: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3409115009465811437} + m_Enabled: 1 + m_Avatar: {fileID: 0} + m_Controller: {fileID: 9100000, guid: 2924e651ae49b6b4d8a739d65f5f88f5, type: 2} + m_CullingMode: 0 + m_UpdateMode: 0 + m_ApplyRootMotion: 0 + m_LinearVelocityBlending: 0 + m_WarningMessage: + m_HasTransformHierarchy: 1 + m_AllowConstantClipSamplingOptimization: 1 + m_KeepAnimatorControllerStateOnDisable: 0 +--- !u!212 &3409115009465811439 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3409115009465811437} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 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: 100 + m_Sprite: {fileID: 21300000, guid: 150543b6402e6d54981ae8358c3c5c96, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 2.142857, y: 2.142857} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!82 &7833658494119175996 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3409115009465811437} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 8300000, guid: 87181a41f08de444994435ea85b74d09, type: 3} + m_PlayOnAwake: 1 + m_Volume: 0.77 + m_Pitch: 1 + Loop: 1 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 +--- !u!114 &1898424423633853653 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3409115009465811437} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1219c341d913e3e4e912d424f804a6b7, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1 &3446766288317788380 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8577801550627930792} + - component: {fileID: 7028444477877117394} + m_Layer: 0 + m_Name: Chop AudioSource + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &8577801550627930792 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3446766288317788380} + 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: 3409115008089039312} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!82 &7028444477877117394 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3446766288317788380} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 8300000, guid: d083b7994e6ae064db9d1c2e13a01539, type: 3} + m_PlayOnAwake: 0 + m_Volume: 0.4 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 +--- !u!1 &7114730320968502858 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4588558160523472135} + - component: {fileID: 4204335899742077653} + m_Layer: 0 + m_Name: Fall AudioSource + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4588558160523472135 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7114730320968502858} + 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: 3409115008089039312} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!82 &4204335899742077653 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7114730320968502858} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 8300000, guid: e085c6c1c1f71f24eb507eab9bf63a02, type: 3} + m_PlayOnAwake: 0 + m_Volume: 0.4 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 diff --git a/Assets/Prefabs/Microgame_TheFire/TheFireMicrogame.prefab.meta b/Assets/Prefabs/Microgame_TheFire/TheFireMicrogame.prefab.meta new file mode 100644 index 0000000..18b12f9 --- /dev/null +++ b/Assets/Prefabs/Microgame_TheFire/TheFireMicrogame.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 90d329297da61224c92fd77199701cd1 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Default.unity b/Assets/Scenes/Default.unity index f8737b8..0a47ae7 100644 --- a/Assets/Scenes/Default.unity +++ b/Assets/Scenes/Default.unity @@ -428,17 +428,6 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 742014442006323161, guid: e2bb5f24fc04fd94fa7d6f04c3713df6, - type: 3} - propertyPath: microgames.Array.size - value: 2 - objectReference: {fileID: 0} - - target: {fileID: 742014442006323161, guid: e2bb5f24fc04fd94fa7d6f04c3713df6, - type: 3} - propertyPath: microgames.Array.data[1] - value: - objectReference: {fileID: 5248486291000105484, guid: 302761e08a5645541a8cd97ea48c40e8, - type: 3} - target: {fileID: 742014442006323162, guid: e2bb5f24fc04fd94fa7d6f04c3713df6, type: 3} propertyPath: m_Name diff --git a/Assets/Scenes/MainMenu.unity b/Assets/Scenes/MainMenu.unity new file mode 100644 index 0000000..15554ef --- /dev/null +++ b/Assets/Scenes/MainMenu.unity @@ -0,0 +1,845 @@ +%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_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + 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!1001 &310998551 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 5804266078435074427, guid: bb65950cd5f10a448b1ecd42a3814aeb, + type: 3} + propertyPath: m_Name + value: Static Background + objectReference: {fileID: 0} + - target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb, + type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5804266078435074431, guid: bb65950cd5f10a448b1ecd42a3814aeb, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: + - {fileID: 1519855736, guid: bb65950cd5f10a448b1ecd42a3814aeb, type: 3} + m_SourcePrefab: {fileID: 100100000, guid: bb65950cd5f10a448b1ecd42a3814aeb, type: 3} +--- !u!1 &890129765 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 890129769} + - component: {fileID: 890129768} + - component: {fileID: 890129767} + - component: {fileID: 890129766} + - component: {fileID: 890129770} + m_Layer: 5 + m_Name: Canvas + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &890129766 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 890129765} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &890129767 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 890129765} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 1 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 1920, y: 1080} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &890129768 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 890129765} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + 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: 0 + m_TargetDisplay: 0 +--- !u!224 &890129769 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 890129765} + 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: 3853807418255776069} + m_Father: {fileID: 0} + m_RootOrder: 2 + 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!114 &890129770 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 890129765} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3d46c12b4cbaadc42bfadbf99457513b, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1 &1128168828 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1128168831} + - component: {fileID: 1128168830} + - component: {fileID: 1128168829} + 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 &1128168829 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1128168828} + m_Enabled: 1 +--- !u!20 &1128168830 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1128168828} + 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 &1128168831 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1128168828} + 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: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1217036074 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1217036075} + - component: {fileID: 1217036078} + - component: {fileID: 1217036077} + m_Layer: 5 + m_Name: Microgame Panel (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1217036075 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1217036074} + 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: 2439851754721138763} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0} + m_AnchorMax: {x: 0.5, y: 0} + m_AnchoredPosition: {x: 0, y: 100} + m_SizeDelta: {x: 482, y: 186.26917} + m_Pivot: {x: 0.5, y: 0} +--- !u!114 &1217036077 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1217036074} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, 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_FontData: + m_Font: {fileID: 12800000, guid: 75c9cbfd49e877c468331f81fc132714, type: 3} + m_FontSize: 50 + m_FontStyle: 0 + m_BestFit: 1 + m_MinSize: 5 + m_MaxSize: 300 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: PRESS ANY KEY +--- !u!222 &1217036078 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1217036074} + m_CullTransparentMesh: 0 +--- !u!1 &1499096902208785970 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2439851754721138763} + m_Layer: 5 + m_Name: Wheel Options + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &2378231137545801152 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2378231137545801154} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 0, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 12800000, guid: 75c9cbfd49e877c468331f81fc132714, type: 3} + m_FontSize: 50 + m_FontStyle: 0 + m_BestFit: 1 + m_MinSize: 5 + m_MaxSize: 300 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: EVERYTHING +--- !u!224 &2378231137545801153 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2378231137545801154} + 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: 2439851754721138763} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!1 &2378231137545801154 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2378231137545801153} + - component: {fileID: 2378231137545801159} + - component: {fileID: 2378231137545801152} + m_Layer: 5 + m_Name: Microgame Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!222 &2378231137545801159 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2378231137545801154} + m_CullTransparentMesh: 0 +--- !u!222 &2378231138554888576 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2378231138554888579} + m_CullTransparentMesh: 0 +--- !u!114 &2378231138554888577 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2378231138554888579} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, 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_Sprite: {fileID: 21300000, guid: 78a001f60740e4c4f93e7c007077cb97, type: 3} + m_Type: 2 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1.3 +--- !u!224 &2378231138554888578 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2378231138554888579} + 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: 2439851754721138763} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.5} + m_AnchorMax: {x: 1, y: 0.5} + m_AnchoredPosition: {x: -0.9699707, y: 0.0000013113022} + m_SizeDelta: {x: 60.10321, y: 163.59747} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!1 &2378231138554888579 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2378231138554888578} + - component: {fileID: 2378231138554888576} + - component: {fileID: 2378231138554888577} + m_Layer: 5 + m_Name: Background + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2439851754721138763 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1499096902208785970} + 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: 2378231138554888578} + - {fileID: 2378231137545801153} + - {fileID: 1217036075} + m_Father: {fileID: 3853807418255776069} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: -30, y: 0} + m_SizeDelta: {x: -614, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!1 &3853807418255776068 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3853807418255776069} + m_Layer: 5 + m_Name: Wheel Area + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3853807418255776069 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3853807418255776068} + 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: 3853807419496198527} + - {fileID: 3853807419314712317} + - {fileID: 2439851754721138763} + m_Father: {fileID: 890129769} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: -824, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!1 &3853807419314712316 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3853807419314712317} + - component: {fileID: 3853807419314712319} + - component: {fileID: 3853807419314712318} + m_Layer: 5 + m_Name: Alive + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3853807419314712317 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3853807419314712316} + 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: 3853807418255776069} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 10, y: 0} + m_SizeDelta: {x: 300, y: 0} + m_Pivot: {x: 1, y: 0.5} +--- !u!114 &3853807419314712318 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3853807419314712316} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, 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_FontData: + m_Font: {fileID: 12800000, guid: 75c9cbfd49e877c468331f81fc132714, type: 3} + m_FontSize: 45 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 0 + m_MaxSize: 84 + m_Alignment: 3 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: ' ALIVE' +--- !u!222 &3853807419314712319 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3853807419314712316} + m_CullTransparentMesh: 0 +--- !u!114 &3853807419496198520 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3853807419496198526} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, 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_FontData: + m_Font: {fileID: 12800000, guid: 75c9cbfd49e877c468331f81fc132714, type: 3} + m_FontSize: 45 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 4 + m_MaxSize: 84 + m_Alignment: 5 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'KEEP ' +--- !u!222 &3853807419496198521 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3853807419496198526} + m_CullTransparentMesh: 0 +--- !u!1 &3853807419496198526 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3853807419496198527} + - component: {fileID: 3853807419496198521} + - component: {fileID: 3853807419496198520} + m_Layer: 5 + m_Name: Keep + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3853807419496198527 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3853807419496198526} + 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: 3853807418255776069} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 240, y: 0} + m_Pivot: {x: 0, y: 0.5} diff --git a/Assets/Scenes/MainMenu.unity.meta b/Assets/Scenes/MainMenu.unity.meta new file mode 100644 index 0000000..be57c60 --- /dev/null +++ b/Assets/Scenes/MainMenu.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 115de2ad0664a6d46b16cf6d994de58b +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/MicrogameTestLab.unity b/Assets/Scenes/MicrogameTestLab.unity index 1bb7abb..ae2bfe3 100644 --- a/Assets/Scenes/MicrogameTestLab.unity +++ b/Assets/Scenes/MicrogameTestLab.unity @@ -204,72 +204,72 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1001 &446180028181535726 +--- !u!1001 &3409115008226936592 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 0} m_Modifications: - - target: {fileID: 446180028923333668, guid: 69f9e1e67286d4e48951b2dd8a55a22b, + - target: {fileID: 3409115008165862033, guid: 90d329297da61224c92fd77199701cd1, type: 3} propertyPath: m_Name - value: EarthMicrogame + value: TheFireMicrogame objectReference: {fileID: 0} - - target: {fileID: 446180028923333669, guid: 69f9e1e67286d4e48951b2dd8a55a22b, + - target: {fileID: 8601045387310415406, guid: 90d329297da61224c92fd77199701cd1, type: 3} propertyPath: m_LocalPosition.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 446180028923333669, guid: 69f9e1e67286d4e48951b2dd8a55a22b, + - target: {fileID: 8601045387310415406, guid: 90d329297da61224c92fd77199701cd1, type: 3} propertyPath: m_LocalPosition.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 446180028923333669, guid: 69f9e1e67286d4e48951b2dd8a55a22b, + - target: {fileID: 8601045387310415406, guid: 90d329297da61224c92fd77199701cd1, type: 3} propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 446180028923333669, guid: 69f9e1e67286d4e48951b2dd8a55a22b, + - target: {fileID: 8601045387310415406, guid: 90d329297da61224c92fd77199701cd1, type: 3} propertyPath: m_LocalRotation.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 446180028923333669, guid: 69f9e1e67286d4e48951b2dd8a55a22b, + - target: {fileID: 8601045387310415406, guid: 90d329297da61224c92fd77199701cd1, type: 3} propertyPath: m_LocalRotation.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 446180028923333669, guid: 69f9e1e67286d4e48951b2dd8a55a22b, + - target: {fileID: 8601045387310415406, guid: 90d329297da61224c92fd77199701cd1, type: 3} propertyPath: m_LocalRotation.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 446180028923333669, guid: 69f9e1e67286d4e48951b2dd8a55a22b, + - target: {fileID: 8601045387310415406, guid: 90d329297da61224c92fd77199701cd1, type: 3} propertyPath: m_LocalRotation.w value: 1 objectReference: {fileID: 0} - - target: {fileID: 446180028923333669, guid: 69f9e1e67286d4e48951b2dd8a55a22b, + - target: {fileID: 8601045387310415406, guid: 90d329297da61224c92fd77199701cd1, type: 3} propertyPath: m_RootOrder value: 1 objectReference: {fileID: 0} - - target: {fileID: 446180028923333669, guid: 69f9e1e67286d4e48951b2dd8a55a22b, + - target: {fileID: 8601045387310415406, guid: 90d329297da61224c92fd77199701cd1, type: 3} propertyPath: m_LocalEulerAnglesHint.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 446180028923333669, guid: 69f9e1e67286d4e48951b2dd8a55a22b, + - target: {fileID: 8601045387310415406, guid: 90d329297da61224c92fd77199701cd1, type: 3} propertyPath: m_LocalEulerAnglesHint.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 446180028923333669, guid: 69f9e1e67286d4e48951b2dd8a55a22b, + - target: {fileID: 8601045387310415406, guid: 90d329297da61224c92fd77199701cd1, type: 3} propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 69f9e1e67286d4e48951b2dd8a55a22b, type: 3} + m_SourcePrefab: {fileID: 100100000, guid: 90d329297da61224c92fd77199701cd1, type: 3} diff --git a/Assets/Scripts/Core/SoundPitchAdjust.cs b/Assets/Scripts/Core/SoundPitchAdjust.cs index 4939c93..6a8715e 100644 --- a/Assets/Scripts/Core/SoundPitchAdjust.cs +++ b/Assets/Scripts/Core/SoundPitchAdjust.cs @@ -18,6 +18,10 @@ public class SoundPitchAdjust : MonoBehaviour gameController.OnSpeedChange += OnSpeedChange; } + private void OnDestroy() { + gameController.OnSpeedChange -= OnSpeedChange; + } + private void OnSpeedChange(float previous, float current) { audioSource.pitch = current; } diff --git a/Assets/Scripts/Core/StartOnAnyKey.cs b/Assets/Scripts/Core/StartOnAnyKey.cs new file mode 100644 index 0000000..e6ed8bb --- /dev/null +++ b/Assets/Scripts/Core/StartOnAnyKey.cs @@ -0,0 +1,14 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.SceneManagement; + +public class StartOnAnyKey : MonoBehaviour +{ + void Update() + { + if(Input.anyKeyDown) { + SceneManager.LoadScene("Default"); + } + } +} diff --git a/Assets/Scripts/Core/StartOnAnyKey.cs.meta b/Assets/Scripts/Core/StartOnAnyKey.cs.meta new file mode 100644 index 0000000..ef5635f --- /dev/null +++ b/Assets/Scripts/Core/StartOnAnyKey.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3d46c12b4cbaadc42bfadbf99457513b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Microgame_TheFire.meta b/Assets/Scripts/Microgame_TheFire.meta new file mode 100644 index 0000000..3b2fb58 --- /dev/null +++ b/Assets/Scripts/Microgame_TheFire.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 58516a9131e28454482d6ee9f343293c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Microgame_TheFire/TheFireController.cs b/Assets/Scripts/Microgame_TheFire/TheFireController.cs new file mode 100644 index 0000000..c22d719 --- /dev/null +++ b/Assets/Scripts/Microgame_TheFire/TheFireController.cs @@ -0,0 +1,69 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class TheFireController : MonoBehaviour +{ + [Header("Microgame Config")] + [BeforeStart] + public int startingTreeHealth = 10; + + [Header("References")] + public GameObject fireObject; + public GameObject treeObject; + public AudioSource chopAudioSource; + public AudioSource fallAudioSource; + private MicrogameController microgameController; + private Animator fireAnimator; + private Animator treeAnimator; + + [Header("Microgame State")] + private int treeHealth; + public int TreeHealth { + get { + return treeHealth; + } + set { + treeAnimator.SetFloat("HealthFraction", (float)treeHealth / (float)startingTreeHealth); + treeHealth = value; + if(treeHealth == 0) { + fallAudioSource.Play(); + microgameController.victory = true; + } + else if(treeHealth > 0) { + chopAudioSource.Play(); + microgameController.victory = false; + } + } + } + + private void Awake() { + microgameController = GameObject.FindGameObjectWithTag("MicrogameController").GetComponent(); + } + + private void Start() { + fireAnimator = fireObject.GetComponent(); + treeAnimator = treeObject.GetComponent(); + treeHealth = startingTreeHealth; + microgameController.victory = false; + } + + private void Update() { + if(treeHealth > 0) { + fireAnimator.SetFloat("TimeFraction", microgameController.TimeFraction); + } + else { + fireAnimator.SetFloat("TimeFraction", 1); + } + DetectClicks(); + } + + private void DetectClicks() { + if(Input.GetMouseButtonDown(0)) { + Collider2D clicked = Physics2D.OverlapPoint(Camera.main.ScreenToWorldPoint(Input.mousePosition)); + if(clicked != null && clicked.gameObject == treeObject) { + TreeHealth -= 1; + } + } + } +} diff --git a/Assets/Scripts/Microgame_TheFire/TheFireController.cs.meta b/Assets/Scripts/Microgame_TheFire/TheFireController.cs.meta new file mode 100644 index 0000000..63d8ef0 --- /dev/null +++ b/Assets/Scripts/Microgame_TheFire/TheFireController.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: cd3a91b30e6481343bb3b8864c898643 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sound/Microgame_TheFire.meta b/Assets/Sound/Microgame_TheFire.meta new file mode 100644 index 0000000..e6d9bc8 --- /dev/null +++ b/Assets/Sound/Microgame_TheFire.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a1a9ac81e9304ad48968ca6d2f7f2283 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sound/Microgame_TheFire/fireplace.mp3 b/Assets/Sound/Microgame_TheFire/fireplace.mp3 new file mode 100644 index 0000000..cb8e001 --- /dev/null +++ b/Assets/Sound/Microgame_TheFire/fireplace.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf51814aaec9ea67019c1a959b987dccacb4b5ebba6544a8b8fda074212326aa +size 253965 diff --git a/Assets/Sound/Microgame_TheFire/fireplace.mp3.meta b/Assets/Sound/Microgame_TheFire/fireplace.mp3.meta new file mode 100644 index 0000000..c5ff0c8 --- /dev/null +++ b/Assets/Sound/Microgame_TheFire/fireplace.mp3.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 87181a41f08de444994435ea85b74d09 +AudioImporter: + externalObjects: {} + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sound/Microgame_TheFire/wood_chop.mp3 b/Assets/Sound/Microgame_TheFire/wood_chop.mp3 new file mode 100644 index 0000000..ecf441f --- /dev/null +++ b/Assets/Sound/Microgame_TheFire/wood_chop.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87b0082d680d9c49ae15fc2ab40becdb766af5cab12640473221de5b8aff72e4 +size 14490 diff --git a/Assets/Sound/Microgame_TheFire/wood_chop.mp3.meta b/Assets/Sound/Microgame_TheFire/wood_chop.mp3.meta new file mode 100644 index 0000000..c71fccf --- /dev/null +++ b/Assets/Sound/Microgame_TheFire/wood_chop.mp3.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: d083b7994e6ae064db9d1c2e13a01539 +AudioImporter: + externalObjects: {} + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sound/Microgame_TheFire/wood_chop2.mp3 b/Assets/Sound/Microgame_TheFire/wood_chop2.mp3 new file mode 100644 index 0000000..b837be8 --- /dev/null +++ b/Assets/Sound/Microgame_TheFire/wood_chop2.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3092a940bd0b51a27ce89cb3e6435d367addfde100a3f34b74e7200e89dc79b7 +size 29346 diff --git a/Assets/Sound/Microgame_TheFire/wood_chop2.mp3.meta b/Assets/Sound/Microgame_TheFire/wood_chop2.mp3.meta new file mode 100644 index 0000000..1d04d22 --- /dev/null +++ b/Assets/Sound/Microgame_TheFire/wood_chop2.mp3.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: e085c6c1c1f71f24eb507eab9bf63a02 +AudioImporter: + externalObjects: {} + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/keep_FIRE_alive.meta b/Assets/Sprites/Microgame_TheFire.meta similarity index 100% rename from Assets/Sprites/keep_FIRE_alive.meta rename to Assets/Sprites/Microgame_TheFire.meta diff --git a/Assets/Sprites/keep_FIRE_alive/background_snow.png b/Assets/Sprites/Microgame_TheFire/background_snow.png similarity index 100% rename from Assets/Sprites/keep_FIRE_alive/background_snow.png rename to Assets/Sprites/Microgame_TheFire/background_snow.png diff --git a/Assets/Sprites/keep_FIRE_alive/background_snow.png.meta b/Assets/Sprites/Microgame_TheFire/background_snow.png.meta similarity index 66% rename from Assets/Sprites/keep_FIRE_alive/background_snow.png.meta rename to Assets/Sprites/Microgame_TheFire/background_snow.png.meta index b594804..67adc19 100644 --- a/Assets/Sprites/keep_FIRE_alive/background_snow.png.meta +++ b/Assets/Sprites/Microgame_TheFire/background_snow.png.meta @@ -31,7 +31,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 + filterMode: 0 aniso: -1 mipBias: -100 wrapU: 1 @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 + spritePixelsToUnits: 7 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 @@ -71,6 +71,42 @@ TextureImporter: 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: 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: [] diff --git a/Assets/Sprites/keep_FIRE_alive/fire_medium_1.png b/Assets/Sprites/Microgame_TheFire/fire_medium_1.png similarity index 100% rename from Assets/Sprites/keep_FIRE_alive/fire_medium_1.png rename to Assets/Sprites/Microgame_TheFire/fire_medium_1.png diff --git a/Assets/Sprites/keep_FIRE_alive/fire_medium_1.png.meta b/Assets/Sprites/Microgame_TheFire/fire_medium_1.png.meta similarity index 98% rename from Assets/Sprites/keep_FIRE_alive/fire_medium_1.png.meta rename to Assets/Sprites/Microgame_TheFire/fire_medium_1.png.meta index e17052a..e634743 100644 --- a/Assets/Sprites/keep_FIRE_alive/fire_medium_1.png.meta +++ b/Assets/Sprites/Microgame_TheFire/fire_medium_1.png.meta @@ -31,7 +31,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 + filterMode: 0 aniso: -1 mipBias: -100 wrapU: 1 @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 7 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 + spritePixelsToUnits: 7 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 diff --git a/Assets/Sprites/keep_FIRE_alive/fire_medium_2.png b/Assets/Sprites/Microgame_TheFire/fire_medium_2.png similarity index 100% rename from Assets/Sprites/keep_FIRE_alive/fire_medium_2.png rename to Assets/Sprites/Microgame_TheFire/fire_medium_2.png diff --git a/Assets/Sprites/keep_FIRE_alive/fire_medium_2.png.meta b/Assets/Sprites/Microgame_TheFire/fire_medium_2.png.meta similarity index 98% rename from Assets/Sprites/keep_FIRE_alive/fire_medium_2.png.meta rename to Assets/Sprites/Microgame_TheFire/fire_medium_2.png.meta index 5eafaea..3d6744b 100644 --- a/Assets/Sprites/keep_FIRE_alive/fire_medium_2.png.meta +++ b/Assets/Sprites/Microgame_TheFire/fire_medium_2.png.meta @@ -31,7 +31,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 + filterMode: 0 aniso: -1 mipBias: -100 wrapU: 1 @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 7 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 + spritePixelsToUnits: 7 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 diff --git a/Assets/Sprites/keep_FIRE_alive/fire_small_1.png b/Assets/Sprites/Microgame_TheFire/fire_small_1.png similarity index 100% rename from Assets/Sprites/keep_FIRE_alive/fire_small_1.png rename to Assets/Sprites/Microgame_TheFire/fire_small_1.png diff --git a/Assets/Sprites/keep_FIRE_alive/fire_small_1.png.meta b/Assets/Sprites/Microgame_TheFire/fire_small_1.png.meta similarity index 98% rename from Assets/Sprites/keep_FIRE_alive/fire_small_1.png.meta rename to Assets/Sprites/Microgame_TheFire/fire_small_1.png.meta index 3298b7b..916d68d 100644 --- a/Assets/Sprites/keep_FIRE_alive/fire_small_1.png.meta +++ b/Assets/Sprites/Microgame_TheFire/fire_small_1.png.meta @@ -31,7 +31,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 + filterMode: 0 aniso: -1 mipBias: -100 wrapU: 1 @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 7 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 + spritePixelsToUnits: 7 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 diff --git a/Assets/Sprites/keep_FIRE_alive/fire_small_2.png b/Assets/Sprites/Microgame_TheFire/fire_small_2.png similarity index 100% rename from Assets/Sprites/keep_FIRE_alive/fire_small_2.png rename to Assets/Sprites/Microgame_TheFire/fire_small_2.png diff --git a/Assets/Sprites/keep_FIRE_alive/fire_small_2.png.meta b/Assets/Sprites/Microgame_TheFire/fire_small_2.png.meta similarity index 98% rename from Assets/Sprites/keep_FIRE_alive/fire_small_2.png.meta rename to Assets/Sprites/Microgame_TheFire/fire_small_2.png.meta index 945aad2..d387b9f 100644 --- a/Assets/Sprites/keep_FIRE_alive/fire_small_2.png.meta +++ b/Assets/Sprites/Microgame_TheFire/fire_small_2.png.meta @@ -31,7 +31,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 + filterMode: 0 aniso: -1 mipBias: -100 wrapU: 1 @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 7 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 + spritePixelsToUnits: 7 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 diff --git a/Assets/Sprites/keep_FIRE_alive/fire_strong_1.png b/Assets/Sprites/Microgame_TheFire/fire_strong_1.png similarity index 100% rename from Assets/Sprites/keep_FIRE_alive/fire_strong_1.png rename to Assets/Sprites/Microgame_TheFire/fire_strong_1.png diff --git a/Assets/Sprites/keep_FIRE_alive/fire_strong_1.png.meta b/Assets/Sprites/Microgame_TheFire/fire_strong_1.png.meta similarity index 98% rename from Assets/Sprites/keep_FIRE_alive/fire_strong_1.png.meta rename to Assets/Sprites/Microgame_TheFire/fire_strong_1.png.meta index d8c3811..f7c2842 100644 --- a/Assets/Sprites/keep_FIRE_alive/fire_strong_1.png.meta +++ b/Assets/Sprites/Microgame_TheFire/fire_strong_1.png.meta @@ -31,7 +31,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 + filterMode: 0 aniso: -1 mipBias: -100 wrapU: 1 @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 7 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 + spritePixelsToUnits: 7 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 diff --git a/Assets/Sprites/keep_FIRE_alive/fire_strong_2.png b/Assets/Sprites/Microgame_TheFire/fire_strong_2.png similarity index 100% rename from Assets/Sprites/keep_FIRE_alive/fire_strong_2.png rename to Assets/Sprites/Microgame_TheFire/fire_strong_2.png diff --git a/Assets/Sprites/keep_FIRE_alive/fire_strong_2.png.meta b/Assets/Sprites/Microgame_TheFire/fire_strong_2.png.meta similarity index 98% rename from Assets/Sprites/keep_FIRE_alive/fire_strong_2.png.meta rename to Assets/Sprites/Microgame_TheFire/fire_strong_2.png.meta index bef156a..cd42e9b 100644 --- a/Assets/Sprites/keep_FIRE_alive/fire_strong_2.png.meta +++ b/Assets/Sprites/Microgame_TheFire/fire_strong_2.png.meta @@ -31,7 +31,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 + filterMode: 0 aniso: -1 mipBias: -100 wrapU: 1 @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 7 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 + spritePixelsToUnits: 7 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 diff --git a/Assets/Sprites/keep_FIRE_alive/fire_tiny_1.png b/Assets/Sprites/Microgame_TheFire/fire_tiny_1.png similarity index 100% rename from Assets/Sprites/keep_FIRE_alive/fire_tiny_1.png rename to Assets/Sprites/Microgame_TheFire/fire_tiny_1.png diff --git a/Assets/Sprites/keep_FIRE_alive/fire_tiny_1.png.meta b/Assets/Sprites/Microgame_TheFire/fire_tiny_1.png.meta similarity index 98% rename from Assets/Sprites/keep_FIRE_alive/fire_tiny_1.png.meta rename to Assets/Sprites/Microgame_TheFire/fire_tiny_1.png.meta index 8ef58f9..898d678 100644 --- a/Assets/Sprites/keep_FIRE_alive/fire_tiny_1.png.meta +++ b/Assets/Sprites/Microgame_TheFire/fire_tiny_1.png.meta @@ -31,7 +31,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 + filterMode: 0 aniso: -1 mipBias: -100 wrapU: 1 @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 7 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 + spritePixelsToUnits: 7 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 diff --git a/Assets/Sprites/keep_FIRE_alive/fire_tiny_2.png b/Assets/Sprites/Microgame_TheFire/fire_tiny_2.png similarity index 100% rename from Assets/Sprites/keep_FIRE_alive/fire_tiny_2.png rename to Assets/Sprites/Microgame_TheFire/fire_tiny_2.png diff --git a/Assets/Sprites/keep_FIRE_alive/fire_tiny_2.png.meta b/Assets/Sprites/Microgame_TheFire/fire_tiny_2.png.meta similarity index 98% rename from Assets/Sprites/keep_FIRE_alive/fire_tiny_2.png.meta rename to Assets/Sprites/Microgame_TheFire/fire_tiny_2.png.meta index 04acd11..c52f584 100644 --- a/Assets/Sprites/keep_FIRE_alive/fire_tiny_2.png.meta +++ b/Assets/Sprites/Microgame_TheFire/fire_tiny_2.png.meta @@ -31,7 +31,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 + filterMode: 0 aniso: -1 mipBias: -100 wrapU: 1 @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 7 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 + spritePixelsToUnits: 7 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 diff --git a/Assets/Sprites/keep_FIRE_alive/snow_pixel.png b/Assets/Sprites/Microgame_TheFire/snow_pixel.png similarity index 100% rename from Assets/Sprites/keep_FIRE_alive/snow_pixel.png rename to Assets/Sprites/Microgame_TheFire/snow_pixel.png diff --git a/Assets/Sprites/keep_FIRE_alive/snow_pixel.png.meta b/Assets/Sprites/Microgame_TheFire/snow_pixel.png.meta similarity index 66% rename from Assets/Sprites/keep_FIRE_alive/snow_pixel.png.meta rename to Assets/Sprites/Microgame_TheFire/snow_pixel.png.meta index fd7ab44..d84ab2a 100644 --- a/Assets/Sprites/keep_FIRE_alive/snow_pixel.png.meta +++ b/Assets/Sprites/Microgame_TheFire/snow_pixel.png.meta @@ -31,7 +31,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 + filterMode: 0 aniso: -1 mipBias: -100 wrapU: 1 @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 + spritePixelsToUnits: 7 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 @@ -71,6 +71,42 @@ TextureImporter: 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: 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: [] diff --git a/Assets/Sprites/keep_FIRE_alive/tree_1.png b/Assets/Sprites/Microgame_TheFire/tree_1.png similarity index 100% rename from Assets/Sprites/keep_FIRE_alive/tree_1.png rename to Assets/Sprites/Microgame_TheFire/tree_1.png diff --git a/Assets/Sprites/keep_FIRE_alive/tree_1.png.meta b/Assets/Sprites/Microgame_TheFire/tree_1.png.meta similarity index 66% rename from Assets/Sprites/keep_FIRE_alive/tree_1.png.meta rename to Assets/Sprites/Microgame_TheFire/tree_1.png.meta index 7ac8e51..93e9c88 100644 --- a/Assets/Sprites/keep_FIRE_alive/tree_1.png.meta +++ b/Assets/Sprites/Microgame_TheFire/tree_1.png.meta @@ -31,7 +31,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 + filterMode: 0 aniso: -1 mipBias: -100 wrapU: 1 @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 + spritePixelsToUnits: 7 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 @@ -71,6 +71,42 @@ TextureImporter: 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: 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: [] diff --git a/Assets/Sprites/keep_FIRE_alive/tree_2.png b/Assets/Sprites/Microgame_TheFire/tree_2.png similarity index 100% rename from Assets/Sprites/keep_FIRE_alive/tree_2.png rename to Assets/Sprites/Microgame_TheFire/tree_2.png diff --git a/Assets/Sprites/keep_FIRE_alive/tree_2.png.meta b/Assets/Sprites/Microgame_TheFire/tree_2.png.meta similarity index 66% rename from Assets/Sprites/keep_FIRE_alive/tree_2.png.meta rename to Assets/Sprites/Microgame_TheFire/tree_2.png.meta index 90914dd..521c2ef 100644 --- a/Assets/Sprites/keep_FIRE_alive/tree_2.png.meta +++ b/Assets/Sprites/Microgame_TheFire/tree_2.png.meta @@ -31,7 +31,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 + filterMode: 0 aniso: -1 mipBias: -100 wrapU: 1 @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 + spritePixelsToUnits: 7 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 @@ -71,6 +71,42 @@ TextureImporter: 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: 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: [] diff --git a/Assets/Sprites/keep_FIRE_alive/tree_3.png b/Assets/Sprites/Microgame_TheFire/tree_3.png similarity index 100% rename from Assets/Sprites/keep_FIRE_alive/tree_3.png rename to Assets/Sprites/Microgame_TheFire/tree_3.png diff --git a/Assets/Sprites/keep_FIRE_alive/tree_3.png.meta b/Assets/Sprites/Microgame_TheFire/tree_3.png.meta similarity index 66% rename from Assets/Sprites/keep_FIRE_alive/tree_3.png.meta rename to Assets/Sprites/Microgame_TheFire/tree_3.png.meta index ec1a49e..e1834d0 100644 --- a/Assets/Sprites/keep_FIRE_alive/tree_3.png.meta +++ b/Assets/Sprites/Microgame_TheFire/tree_3.png.meta @@ -31,7 +31,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 + filterMode: 0 aniso: -1 mipBias: -100 wrapU: 1 @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 + spritePixelsToUnits: 7 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 @@ -71,6 +71,42 @@ TextureImporter: 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: 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: [] diff --git a/Assets/Sprites/keep_FIRE_alive/tree_4.png b/Assets/Sprites/Microgame_TheFire/tree_4.png similarity index 100% rename from Assets/Sprites/keep_FIRE_alive/tree_4.png rename to Assets/Sprites/Microgame_TheFire/tree_4.png diff --git a/Assets/Sprites/keep_FIRE_alive/tree_4.png.meta b/Assets/Sprites/Microgame_TheFire/tree_4.png.meta similarity index 66% rename from Assets/Sprites/keep_FIRE_alive/tree_4.png.meta rename to Assets/Sprites/Microgame_TheFire/tree_4.png.meta index 5e7956f..15f84e4 100644 --- a/Assets/Sprites/keep_FIRE_alive/tree_4.png.meta +++ b/Assets/Sprites/Microgame_TheFire/tree_4.png.meta @@ -31,7 +31,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 + filterMode: 0 aniso: -1 mipBias: -100 wrapU: 1 @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 + spritePixelsToUnits: 7 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 @@ -71,6 +71,42 @@ TextureImporter: 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: 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: [] diff --git a/Assets/Sprites/keep_FIRE_alive/tree_5_cut.png b/Assets/Sprites/Microgame_TheFire/tree_5_cut.png similarity index 100% rename from Assets/Sprites/keep_FIRE_alive/tree_5_cut.png rename to Assets/Sprites/Microgame_TheFire/tree_5_cut.png diff --git a/Assets/Sprites/keep_FIRE_alive/tree_5_cut.png.meta b/Assets/Sprites/Microgame_TheFire/tree_5_cut.png.meta similarity index 66% rename from Assets/Sprites/keep_FIRE_alive/tree_5_cut.png.meta rename to Assets/Sprites/Microgame_TheFire/tree_5_cut.png.meta index eb92e0a..af79300 100644 --- a/Assets/Sprites/keep_FIRE_alive/tree_5_cut.png.meta +++ b/Assets/Sprites/Microgame_TheFire/tree_5_cut.png.meta @@ -31,7 +31,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 + filterMode: 0 aniso: -1 mipBias: -100 wrapU: 1 @@ -45,7 +45,7 @@ TextureImporter: spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 + spritePixelsToUnits: 7 spriteBorder: {x: 0, y: 0, z: 0, w: 0} spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 @@ -71,6 +71,42 @@ TextureImporter: 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: 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: [] diff --git a/ProjectSettings/EditorBuildSettings.asset b/ProjectSettings/EditorBuildSettings.asset index 0147887..6678d5b 100644 --- a/ProjectSettings/EditorBuildSettings.asset +++ b/ProjectSettings/EditorBuildSettings.asset @@ -4,5 +4,11 @@ EditorBuildSettings: m_ObjectHideFlags: 0 serializedVersion: 2 - m_Scenes: [] + m_Scenes: + - enabled: 1 + path: Assets/Scenes/MainMenu.unity + guid: 115de2ad0664a6d46b16cf6d994de58b + - enabled: 1 + path: Assets/Scenes/Default.unity + guid: 997d508c33ffcca4594947f41377dd88 m_configObjects: {}