From 412cf2606eaf04f161dea47f0638ef7ad539df5e Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 20 Apr 2020 19:34:49 +0200 Subject: [PATCH] Add sounds and new microgame --- Assets/Animations/Microgame_Nothing.meta | 8 + Assets/Animations/Microgame_Nothing/Fly.anim | 74 +++++ .../Microgame_Nothing/Fly.anim.meta | 8 + .../Microgame_Nothing/Fly.controller | 72 +++++ .../Microgame_Nothing/Fly.controller.meta | 8 + Assets/Prefabs/Core/Game Controller.prefab | 18 +- .../Microgame_Earth/EarthMicrogame.prefab | 111 ++++++++ Assets/Prefabs/Microgame_Nothing.meta | 8 + Assets/Prefabs/Microgame_Nothing/Book.prefab | 130 +++++++++ .../Microgame_Nothing/Book.prefab.meta | 7 + Assets/Prefabs/Microgame_Nothing/Fly.prefab | 265 ++++++++++++++++++ .../Prefabs/Microgame_Nothing/Fly.prefab.meta | 7 + Assets/Prefabs/Microgame_Nothing/Glass.prefab | 235 ++++++++++++++++ .../Microgame_Nothing/Glass.prefab.meta | 7 + .../Microgame_Nothing/NothingMicrogame.prefab | 231 +++++++++++++++ .../NothingMicrogame.prefab.meta | 7 + .../YourShipMicrogame.prefab | 87 +++++- Assets/Scenes/Default.unity | 31 -- Assets/Scenes/MicrogameTestLab.unity | 30 +- .../Generic/SoundOnCollisionWithEnemy.cs | 29 ++ .../Generic/SoundOnCollisionWithEnemy.cs.meta | 11 + Assets/Scripts/Microgame_Nothing.meta | 8 + .../Scripts/Microgame_Nothing/Destructible.cs | 38 +++ .../Microgame_Nothing/Destructible.cs.meta | 11 + Assets/Scripts/Microgame_Nothing/FlyAI.cs | 53 ++++ .../Scripts/Microgame_Nothing/FlyAI.cs.meta | 11 + .../Microgame_Nothing/NothingController.cs | 43 +++ .../NothingController.cs.meta | 11 + Assets/Sound/Microgame_Earth/explosion.wav | 3 + .../Sound/Microgame_Earth/explosion.wav.meta | 22 ++ Assets/Sound/Microgame_Nothing.meta | 8 + Assets/Sound/Microgame_Nothing/crash.mp3 | 3 + Assets/Sound/Microgame_Nothing/crash.mp3.meta | 22 ++ Assets/Sound/Microgame_Nothing/knock.wav | 3 + Assets/Sound/Microgame_Nothing/knock.wav.meta | 22 ++ Assets/Sound/Microgame_Nothing/swat.mp3 | 3 + Assets/Sound/Microgame_Nothing/swat.mp3.meta | 22 ++ .../background_table.png.meta | 92 ++++++ .../Sprites/Microgame_Nothing/book.png.meta | 128 +++++++++ .../Sprites/Microgame_Nothing/fly1.png.meta | 128 +++++++++ .../Sprites/Microgame_Nothing/fly2.png.meta | 128 +++++++++ .../Sprites/Microgame_Nothing/glass.png.meta | 128 +++++++++ .../Microgame_Nothing/glass_broken.png.meta | 128 +++++++++ Assets/Sprites/Microgame_YourShip/fly.png | 3 + .../Sprites/Microgame_YourShip/fly.png.meta | 92 ++++++ 45 files changed, 2445 insertions(+), 49 deletions(-) create mode 100644 Assets/Animations/Microgame_Nothing.meta create mode 100644 Assets/Animations/Microgame_Nothing/Fly.anim create mode 100644 Assets/Animations/Microgame_Nothing/Fly.anim.meta create mode 100644 Assets/Animations/Microgame_Nothing/Fly.controller create mode 100644 Assets/Animations/Microgame_Nothing/Fly.controller.meta create mode 100644 Assets/Prefabs/Microgame_Nothing.meta create mode 100644 Assets/Prefabs/Microgame_Nothing/Book.prefab create mode 100644 Assets/Prefabs/Microgame_Nothing/Book.prefab.meta create mode 100644 Assets/Prefabs/Microgame_Nothing/Fly.prefab create mode 100644 Assets/Prefabs/Microgame_Nothing/Fly.prefab.meta create mode 100644 Assets/Prefabs/Microgame_Nothing/Glass.prefab create mode 100644 Assets/Prefabs/Microgame_Nothing/Glass.prefab.meta create mode 100644 Assets/Prefabs/Microgame_Nothing/NothingMicrogame.prefab create mode 100644 Assets/Prefabs/Microgame_Nothing/NothingMicrogame.prefab.meta create mode 100644 Assets/Scripts/Generic/SoundOnCollisionWithEnemy.cs create mode 100644 Assets/Scripts/Generic/SoundOnCollisionWithEnemy.cs.meta create mode 100644 Assets/Scripts/Microgame_Nothing.meta create mode 100644 Assets/Scripts/Microgame_Nothing/Destructible.cs create mode 100644 Assets/Scripts/Microgame_Nothing/Destructible.cs.meta create mode 100644 Assets/Scripts/Microgame_Nothing/FlyAI.cs create mode 100644 Assets/Scripts/Microgame_Nothing/FlyAI.cs.meta create mode 100644 Assets/Scripts/Microgame_Nothing/NothingController.cs create mode 100644 Assets/Scripts/Microgame_Nothing/NothingController.cs.meta create mode 100644 Assets/Sound/Microgame_Earth/explosion.wav create mode 100644 Assets/Sound/Microgame_Earth/explosion.wav.meta create mode 100644 Assets/Sound/Microgame_Nothing.meta create mode 100644 Assets/Sound/Microgame_Nothing/crash.mp3 create mode 100644 Assets/Sound/Microgame_Nothing/crash.mp3.meta create mode 100644 Assets/Sound/Microgame_Nothing/knock.wav create mode 100644 Assets/Sound/Microgame_Nothing/knock.wav.meta create mode 100644 Assets/Sound/Microgame_Nothing/swat.mp3 create mode 100644 Assets/Sound/Microgame_Nothing/swat.mp3.meta create mode 100644 Assets/Sprites/Microgame_Nothing/background_table.png.meta create mode 100644 Assets/Sprites/Microgame_Nothing/book.png.meta create mode 100644 Assets/Sprites/Microgame_Nothing/fly1.png.meta create mode 100644 Assets/Sprites/Microgame_Nothing/fly2.png.meta create mode 100644 Assets/Sprites/Microgame_Nothing/glass.png.meta create mode 100644 Assets/Sprites/Microgame_Nothing/glass_broken.png.meta create mode 100644 Assets/Sprites/Microgame_YourShip/fly.png create mode 100644 Assets/Sprites/Microgame_YourShip/fly.png.meta diff --git a/Assets/Animations/Microgame_Nothing.meta b/Assets/Animations/Microgame_Nothing.meta new file mode 100644 index 0000000..0938f1a --- /dev/null +++ b/Assets/Animations/Microgame_Nothing.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8d074abca5a4f654d83a7d6a2a54103c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Microgame_Nothing/Fly.anim b/Assets/Animations/Microgame_Nothing/Fly.anim new file mode 100644 index 0000000..3ee43a5 --- /dev/null +++ b/Assets/Animations/Microgame_Nothing/Fly.anim @@ -0,0 +1,74 @@ +%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: Fly + 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: 0bb5d54edd8199240a5a45e86ec26bf0, type: 3} + - time: 0.25 + value: {fileID: 21300000, guid: 53bed184b89a67842b0cd861775c4003, type: 3} + - time: 0.5 + value: {fileID: 21300000, guid: 0bb5d54edd8199240a5a45e86ec26bf0, type: 3} + 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: 21300000, guid: 0bb5d54edd8199240a5a45e86ec26bf0, type: 3} + - {fileID: 21300000, guid: 53bed184b89a67842b0cd861775c4003, type: 3} + - {fileID: 21300000, guid: 0bb5d54edd8199240a5a45e86ec26bf0, type: 3} + 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_Nothing/Fly.anim.meta b/Assets/Animations/Microgame_Nothing/Fly.anim.meta new file mode 100644 index 0000000..358ba95 --- /dev/null +++ b/Assets/Animations/Microgame_Nothing/Fly.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: df2560c47dd791c4993be69ac11c396a +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/Microgame_Nothing/Fly.controller b/Assets/Animations/Microgame_Nothing/Fly.controller new file mode 100644 index 0000000..a4c89d5 --- /dev/null +++ b/Assets/Animations/Microgame_Nothing/Fly.controller @@ -0,0 +1,72 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1107 &-8692051086538931543 +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: 3827967428052368148} + m_Position: {x: 240, y: 140, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] + m_AnyStatePosition: {x: 50, y: 20, z: 0} + m_EntryPosition: {x: 50, y: 120, z: 0} + m_ExitPosition: {x: 800, y: 120, z: 0} + m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: 3827967428052368148} +--- !u!91 &9100000 +AnimatorController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Fly + serializedVersion: 5 + m_AnimatorParameters: [] + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: -8692051086538931543} + 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!1102 &3827967428052368148 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Fly + 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: df2560c47dd791c4993be69ac11c396a, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: diff --git a/Assets/Animations/Microgame_Nothing/Fly.controller.meta b/Assets/Animations/Microgame_Nothing/Fly.controller.meta new file mode 100644 index 0000000..8f52139 --- /dev/null +++ b/Assets/Animations/Microgame_Nothing/Fly.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 883203ff0040ad741a52dac1f3ac5968 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Core/Game Controller.prefab b/Assets/Prefabs/Core/Game Controller.prefab index 5910200..bedd087 100644 --- a/Assets/Prefabs/Core/Game Controller.prefab +++ b/Assets/Prefabs/Core/Game Controller.prefab @@ -233,6 +233,7 @@ GameObject: m_Component: - component: {fileID: 742014442006323160} - component: {fileID: 742014442006323161} + - component: {fileID: 1742300381} m_Layer: 0 m_Name: Game Controller m_TagString: GameController @@ -279,13 +280,28 @@ MonoBehaviour: - {fileID: 5248486291000105484, guid: 302761e08a5645541a8cd97ea48c40e8, type: 3} - {fileID: 3409115008165862035, guid: 90d329297da61224c92fd77199701cd1, type: 3} - {fileID: 7358435626629551717, guid: 09e42d58b5d17a54cb4b5baf346d3bca, type: 3} - timescaleIncreaseFactor: 0.05 + - {fileID: 5104398782453143819, guid: f7171f4420932ca4db8a470933a4e668, type: 3} + timescaleIncreaseFactor: 0.04 increaseSpeedEvery: 1 wheelSelectionDelay: 0.05 wheelSelectionTime: 2 wheelDisplayTime: 2 wheelClickAudioSource: {fileID: 5259517143936955431} wheelBoopAudioSource: {fileID: 934303053} +--- !u!114 &1742300381 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 742014442006323162} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 25ff51531c33485439dceddfeeac0054, type: 3} + m_Name: + m_EditorClassIdentifier: + toggleKey: 283 + target: {fileID: 0} --- !u!1 &839116773049434249 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Prefabs/Microgame_Earth/EarthMicrogame.prefab b/Assets/Prefabs/Microgame_Earth/EarthMicrogame.prefab index 26716a0..4062253 100644 --- a/Assets/Prefabs/Microgame_Earth/EarthMicrogame.prefab +++ b/Assets/Prefabs/Microgame_Earth/EarthMicrogame.prefab @@ -308,6 +308,8 @@ GameObject: - component: {fileID: 446180029092811513} - component: {fileID: 446180029092811511} - component: {fileID: 446180029092811510} + - component: {fileID: 4077090930707443048} + - component: {fileID: 3967951277239526608} m_Layer: 0 m_Name: Earth m_TagString: Player @@ -458,3 +460,112 @@ MonoBehaviour: m_EditorClassIdentifier: color: {r: 1, g: 0, b: 0, a: 1} activationDelay: 0.4 +--- !u!82 &4077090930707443048 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 446180029092811516} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 8300000, guid: 5ff28fe25be74da4e9346e11302a8e22, type: 3} + m_PlayOnAwake: 0 + m_Volume: 0.477 + 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!114 &3967951277239526608 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 446180029092811516} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2bdce2c7382e03b449a06ca4941c71e3, type: 3} + m_Name: + m_EditorClassIdentifier: + activationDelay: 0.4 diff --git a/Assets/Prefabs/Microgame_Nothing.meta b/Assets/Prefabs/Microgame_Nothing.meta new file mode 100644 index 0000000..b75463d --- /dev/null +++ b/Assets/Prefabs/Microgame_Nothing.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 68c0abc0703597b428c64907e3793b61 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Microgame_Nothing/Book.prefab b/Assets/Prefabs/Microgame_Nothing/Book.prefab new file mode 100644 index 0000000..0b577a6 --- /dev/null +++ b/Assets/Prefabs/Microgame_Nothing/Book.prefab @@ -0,0 +1,130 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &2893628316312369057 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2893628316312369062} + - component: {fileID: 2893628316312369060} + - component: {fileID: 2893628316312369066} + - component: {fileID: 730762803888206819} + m_Layer: 0 + m_Name: Book + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2893628316312369062 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2893628316312369057} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -4.23, y: 2.61, z: 0} + m_LocalScale: {x: 1.5, y: 1.5, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &2893628316312369060 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2893628316312369057} + 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: 905facb85a2540248a0e7f80d67a1ba8, 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.68, y: 1.68} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!114 &2893628316312369066 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2893628316312369057} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 6b2d7d2080c20d1428cb7c9a01ed69e1, type: 3} + m_Name: + m_EditorClassIdentifier: + normalSprite: {fileID: 21300000, guid: 905facb85a2540248a0e7f80d67a1ba8, type: 3} + destroyedSprite: {fileID: 21300000, guid: ef7ed34112a1c2e479e57254695e6e49, type: 3} +--- !u!60 &730762803888206819 +PolygonCollider2D: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2893628316312369057} + 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: 1.896, y: 1.972} + newSize: {x: 1.68, y: 1.68} + adaptiveTilingThreshold: 0.5 + drawMode: 0 + adaptiveTiling: 0 + m_AutoTiling: 0 + m_Points: + m_Paths: + - - {x: 0.8426856, y: -0.40301308} + - {x: 0.9316721, y: -0.16607094} + - {x: 0.29080153, y: 0.9656596} + - {x: -0.85510576, y: 0.86074436} + - {x: -0.90895593, y: 0.55923593} + - {x: -0.36045393, y: -0.95810163} diff --git a/Assets/Prefabs/Microgame_Nothing/Book.prefab.meta b/Assets/Prefabs/Microgame_Nothing/Book.prefab.meta new file mode 100644 index 0000000..ae5c28f --- /dev/null +++ b/Assets/Prefabs/Microgame_Nothing/Book.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: aac02231c415ba845b12d0587c24739c +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Microgame_Nothing/Fly.prefab b/Assets/Prefabs/Microgame_Nothing/Fly.prefab new file mode 100644 index 0000000..ec9a698 --- /dev/null +++ b/Assets/Prefabs/Microgame_Nothing/Fly.prefab @@ -0,0 +1,265 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &2893628316312369057 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2893628316312369062} + - component: {fileID: 2893628316312369060} + - component: {fileID: 2893628316312369063} + - component: {fileID: 2893628316312369061} + - component: {fileID: 2893628316312369067} + - component: {fileID: 2893628316312369066} + - component: {fileID: 3316852547527638331} + - component: {fileID: 1965530020921620582} + m_Layer: 0 + m_Name: Fly + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2893628316312369062 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2893628316312369057} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -4.23, y: 2.61, z: 0} + m_LocalScale: {x: 1.5, y: 1.5, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &2893628316312369060 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2893628316312369057} + 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: 2 + m_Sprite: {fileID: 21300000, guid: 0bb5d54edd8199240a5a45e86ec26bf0, 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.68, y: 1.68} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!95 &2893628316312369063 +Animator: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2893628316312369057} + m_Enabled: 1 + m_Avatar: {fileID: 0} + m_Controller: {fileID: 9100000, guid: 883203ff0040ad741a52dac1f3ac5968, 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!114 &2893628316312369061 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2893628316312369057} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f6864492c5b0ba74094ec677328c9681, type: 3} + m_Name: + m_EditorClassIdentifier: + speed: 4 + bounds: + serializedVersion: 2 + x: -8 + y: -4 + width: 16 + height: 8 +--- !u!58 &2893628316312369067 +CircleCollider2D: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2893628316312369057} + 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} + serializedVersion: 2 + m_Radius: 0.5 +--- !u!114 &2893628316312369066 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2893628316312369057} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 6b2d7d2080c20d1428cb7c9a01ed69e1, type: 3} + m_Name: + m_EditorClassIdentifier: + normalSprite: {fileID: 21300000, guid: 0bb5d54edd8199240a5a45e86ec26bf0, type: 3} + destroyedSprite: {fileID: 0} +--- !u!82 &3316852547527638331 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2893628316312369057} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 8300000, guid: 2e7fc60522c495949bbda0824378a90e, type: 3} + m_PlayOnAwake: 0 + m_Volume: 0.308 + 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!114 &1965530020921620582 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2893628316312369057} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1219c341d913e3e4e912d424f804a6b7, type: 3} + m_Name: + m_EditorClassIdentifier: diff --git a/Assets/Prefabs/Microgame_Nothing/Fly.prefab.meta b/Assets/Prefabs/Microgame_Nothing/Fly.prefab.meta new file mode 100644 index 0000000..45e7f8d --- /dev/null +++ b/Assets/Prefabs/Microgame_Nothing/Fly.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: afdfc247d92f33242a0fa5c4c596a3d6 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Microgame_Nothing/Glass.prefab b/Assets/Prefabs/Microgame_Nothing/Glass.prefab new file mode 100644 index 0000000..65a429a --- /dev/null +++ b/Assets/Prefabs/Microgame_Nothing/Glass.prefab @@ -0,0 +1,235 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &2893628316312369057 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2893628316312369062} + - component: {fileID: 2893628316312369060} + - component: {fileID: 2893628316312369066} + - component: {fileID: 1860857318860785282} + - component: {fileID: 6130373492879799363} + - component: {fileID: 3707077092817374940} + m_Layer: 0 + m_Name: Glass + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2893628316312369062 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2893628316312369057} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -4.23, y: 2.61, z: 0} + m_LocalScale: {x: 1.5, y: 1.5, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &2893628316312369060 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2893628316312369057} + 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: 1 + m_Sprite: {fileID: 21300000, guid: 19462e4477eaa3a4b94a7f9824aa19fe, 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.68, y: 1.68} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!114 &2893628316312369066 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2893628316312369057} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 6b2d7d2080c20d1428cb7c9a01ed69e1, type: 3} + m_Name: + m_EditorClassIdentifier: + normalSprite: {fileID: 21300000, guid: 19462e4477eaa3a4b94a7f9824aa19fe, type: 3} + destroyedSprite: {fileID: 21300000, guid: d8a9c68996138734eaf87d9dccb63c02, type: 3} +--- !u!61 &1860857318860785282 +BoxCollider2D: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2893628316312369057} + m_Enabled: 1 + m_Density: 1 + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_UsedByEffector: 0 + m_UsedByComposite: 0 + m_Offset: {x: -0.044882834, y: 0.1399293} + m_SpriteTilingProperty: + border: {x: 0, y: 0, z: 0, w: 0} + pivot: {x: 0.5, y: 0.5} + oldSize: {x: 1.7976191, y: 2.4166667} + newSize: {x: 1.68, y: 1.68} + adaptiveTilingThreshold: 0.5 + drawMode: 0 + adaptiveTiling: 0 + m_AutoTiling: 0 + serializedVersion: 2 + m_Size: {x: 1.0002844, y: 1.9255931} + m_EdgeRadius: 0 +--- !u!82 &6130373492879799363 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2893628316312369057} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 8300000, guid: 274d22fcb1c1f4344acdc638650c7154, type: 3} + m_PlayOnAwake: 0 + m_Volume: 0.308 + 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!114 &3707077092817374940 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2893628316312369057} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1219c341d913e3e4e912d424f804a6b7, type: 3} + m_Name: + m_EditorClassIdentifier: diff --git a/Assets/Prefabs/Microgame_Nothing/Glass.prefab.meta b/Assets/Prefabs/Microgame_Nothing/Glass.prefab.meta new file mode 100644 index 0000000..7f3eaeb --- /dev/null +++ b/Assets/Prefabs/Microgame_Nothing/Glass.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 670e3883873b8ad4a9b23d6cc5129575 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Microgame_Nothing/NothingMicrogame.prefab b/Assets/Prefabs/Microgame_Nothing/NothingMicrogame.prefab new file mode 100644 index 0000000..d4efbfe --- /dev/null +++ b/Assets/Prefabs/Microgame_Nothing/NothingMicrogame.prefab @@ -0,0 +1,231 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &99173761 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 99173762} + - component: {fileID: 99173763} + m_Layer: 0 + m_Name: Background + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &99173762 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 99173761} + 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: 8382925752018218760} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &99173763 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 99173761} + 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: -1376657603 + m_SortingLayer: -1 + m_SortingOrder: 0 + m_Sprite: {fileID: 21300000, guid: 9cbc846b06c11fa4e95ce68d1b15e844, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 19.2, y: 10.8} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!114 &1776173936 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2567300151566380131} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 138a8f32353ffdc448fd9b1d859bbd3d, type: 3} + m_Name: + m_EditorClassIdentifier: + requiredDestructions: 3 +--- !u!114 &930882956735802273 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2567300151566380131} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a368340a86dccd4490da935980af708, type: 3} + m_Name: + m_EditorClassIdentifier: + instantiate: {fileID: 2893628316312369057, guid: 670e3883873b8ad4a9b23d6cc5129575, + type: 3} + min: {x: -8, y: -3} + max: {x: 8, y: -1.45} + quantity: 1 +--- !u!114 &5405373310040783685 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2567300151566380131} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a368340a86dccd4490da935980af708, type: 3} + m_Name: + m_EditorClassIdentifier: + instantiate: {fileID: 2893628316312369057, guid: afdfc247d92f33242a0fa5c4c596a3d6, + type: 3} + min: {x: -7, y: -3} + max: {x: 7, y: 3} + quantity: 3 +--- !u!1001 &4929531476676168932 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 197948820815713775, guid: 3317daf5141ff2e4a887cef6489b0452, + type: 3} + propertyPath: microgameName + value: NOTHING + objectReference: {fileID: 0} + - target: {fileID: 197948820815713775, guid: 3317daf5141ff2e4a887cef6489b0452, + type: 3} + propertyPath: microgameNameColor.r + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 197948820815713775, guid: 3317daf5141ff2e4a887cef6489b0452, + type: 3} + propertyPath: microgameNameColor.g + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 197948820815713775, guid: 3317daf5141ff2e4a887cef6489b0452, + type: 3} + propertyPath: microgameNameColor.b + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3476519754739934188, guid: 3317daf5141ff2e4a887cef6489b0452, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3476519754739934188, guid: 3317daf5141ff2e4a887cef6489b0452, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3476519754739934188, guid: 3317daf5141ff2e4a887cef6489b0452, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3476519754739934188, guid: 3317daf5141ff2e4a887cef6489b0452, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3476519754739934188, guid: 3317daf5141ff2e4a887cef6489b0452, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3476519754739934188, guid: 3317daf5141ff2e4a887cef6489b0452, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3476519754739934188, guid: 3317daf5141ff2e4a887cef6489b0452, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3476519754739934188, guid: 3317daf5141ff2e4a887cef6489b0452, + type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3476519754739934188, guid: 3317daf5141ff2e4a887cef6489b0452, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3476519754739934188, guid: 3317daf5141ff2e4a887cef6489b0452, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3476519754739934188, guid: 3317daf5141ff2e4a887cef6489b0452, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7478745189159821447, guid: 3317daf5141ff2e4a887cef6489b0452, + type: 3} + propertyPath: m_Name + value: NothingMicrogame + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 3317daf5141ff2e4a887cef6489b0452, type: 3} +--- !u!1 &2567300151566380131 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 7478745189159821447, guid: 3317daf5141ff2e4a887cef6489b0452, + type: 3} + m_PrefabInstance: {fileID: 4929531476676168932} + m_PrefabAsset: {fileID: 0} +--- !u!4 &8382925752018218760 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 3476519754739934188, guid: 3317daf5141ff2e4a887cef6489b0452, + type: 3} + m_PrefabInstance: {fileID: 4929531476676168932} + m_PrefabAsset: {fileID: 0} diff --git a/Assets/Prefabs/Microgame_Nothing/NothingMicrogame.prefab.meta b/Assets/Prefabs/Microgame_Nothing/NothingMicrogame.prefab.meta new file mode 100644 index 0000000..31bcfe6 --- /dev/null +++ b/Assets/Prefabs/Microgame_Nothing/NothingMicrogame.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: f7171f4420932ca4db8a470933a4e668 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Microgame_YourShip/YourShipMicrogame.prefab b/Assets/Prefabs/Microgame_YourShip/YourShipMicrogame.prefab index 94b1e5e..698dbd3 100644 --- a/Assets/Prefabs/Microgame_YourShip/YourShipMicrogame.prefab +++ b/Assets/Prefabs/Microgame_YourShip/YourShipMicrogame.prefab @@ -1,5 +1,86 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: +--- !u!1 &4408714320180192401 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8600143876796579259} + - component: {fileID: 1433143845192467066} + m_Layer: 0 + m_Name: fly + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &8600143876796579259 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4408714320180192401} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.08, y: 2.07, z: 10.838833} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 5248486291000105485} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &1433143845192467066 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4408714320180192401} + 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: -1 + m_Sprite: {fileID: 21300000, guid: f0703f70afc4d504f8424f7e23459382, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 0.64705884} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 2.28, y: 0.66} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 --- !u!1 &5246702060913613576 GameObject: m_ObjectHideFlags: 0 @@ -625,8 +706,8 @@ SpriteRenderer: m_AutoUVMaxDistance: 0.5 m_AutoUVMaxAngle: 89 m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingLayer: 0 + m_SortingLayerID: -1376657603 + m_SortingLayer: -1 m_SortingOrder: 0 m_Sprite: {fileID: 21300000, guid: 8d9728b3f1e7dbb44957bf4aecd4a8df, type: 3} m_Color: {r: 1, g: 1, b: 1, a: 1} @@ -893,6 +974,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: activationDelay: 0.5 + mode: 1 --- !u!114 &5247441600368992343 MonoBehaviour: m_ObjectHideFlags: 0 @@ -1411,6 +1493,7 @@ Transform: - {fileID: 5244068384200758814} - {fileID: 5249343775018332958} - {fileID: 5244229609762274298} + - {fileID: 8600143876796579259} m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/Scenes/Default.unity b/Assets/Scenes/Default.unity index 66f734a..b9aa258 100644 --- a/Assets/Scenes/Default.unity +++ b/Assets/Scenes/Default.unity @@ -248,12 +248,6 @@ RectTransform: m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0, y: 0} ---- !u!1 &712377342 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 5804266078435074427, guid: bb65950cd5f10a448b1ecd42a3814aeb, - type: 3} - m_PrefabInstance: {fileID: 5804266076916140296} - m_PrefabAsset: {fileID: 0} --- !u!1 &779065956 GameObject: m_ObjectHideFlags: 0 @@ -326,26 +320,6 @@ RectTransform: type: 3} m_PrefabInstance: {fileID: 1475586331571591191} m_PrefabAsset: {fileID: 0} ---- !u!1 &1742300380 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 742014442006323162, guid: e2bb5f24fc04fd94fa7d6f04c3713df6, - type: 3} - m_PrefabInstance: {fileID: 742014443134654871} - m_PrefabAsset: {fileID: 0} ---- !u!114 &1742300381 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1742300380} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 25ff51531c33485439dceddfeeac0054, type: 3} - m_Name: - m_EditorClassIdentifier: - toggleKey: 283 - target: {fileID: 712377342} --- !u!224 &1842189697 stripped RectTransform: m_CorrespondingSourceObject: {fileID: 6450387887428008748, guid: f55c76379fd1c594b9b5138efc539234, @@ -414,11 +388,6 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 742014442006323161, guid: e2bb5f24fc04fd94fa7d6f04c3713df6, - type: 3} - propertyPath: timescaleIncreaseFactor - value: 0.04 - objectReference: {fileID: 0} - target: {fileID: 742014442006323162, guid: e2bb5f24fc04fd94fa7d6f04c3713df6, type: 3} propertyPath: m_Name diff --git a/Assets/Scenes/MicrogameTestLab.unity b/Assets/Scenes/MicrogameTestLab.unity index 66f4b12..e79ac0b 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 &7251124498519770539 +--- !u!1001 &4929531476365439947 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 0} m_Modifications: - - target: {fileID: 245723739708236557, guid: 09e42d58b5d17a54cb4b5baf346d3bca, + - target: {fileID: 2567300151566380131, guid: f7171f4420932ca4db8a470933a4e668, type: 3} propertyPath: m_Name - value: NationMicrogame + value: NothingMicrogame objectReference: {fileID: 0} - - target: {fileID: 6097380336279101542, guid: 09e42d58b5d17a54cb4b5baf346d3bca, + - target: {fileID: 8382925752018218760, guid: f7171f4420932ca4db8a470933a4e668, type: 3} propertyPath: m_LocalPosition.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 6097380336279101542, guid: 09e42d58b5d17a54cb4b5baf346d3bca, + - target: {fileID: 8382925752018218760, guid: f7171f4420932ca4db8a470933a4e668, type: 3} propertyPath: m_LocalPosition.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 6097380336279101542, guid: 09e42d58b5d17a54cb4b5baf346d3bca, + - target: {fileID: 8382925752018218760, guid: f7171f4420932ca4db8a470933a4e668, type: 3} propertyPath: m_LocalPosition.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 6097380336279101542, guid: 09e42d58b5d17a54cb4b5baf346d3bca, + - target: {fileID: 8382925752018218760, guid: f7171f4420932ca4db8a470933a4e668, type: 3} propertyPath: m_LocalRotation.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 6097380336279101542, guid: 09e42d58b5d17a54cb4b5baf346d3bca, + - target: {fileID: 8382925752018218760, guid: f7171f4420932ca4db8a470933a4e668, type: 3} propertyPath: m_LocalRotation.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 6097380336279101542, guid: 09e42d58b5d17a54cb4b5baf346d3bca, + - target: {fileID: 8382925752018218760, guid: f7171f4420932ca4db8a470933a4e668, type: 3} propertyPath: m_LocalRotation.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 6097380336279101542, guid: 09e42d58b5d17a54cb4b5baf346d3bca, + - target: {fileID: 8382925752018218760, guid: f7171f4420932ca4db8a470933a4e668, type: 3} propertyPath: m_LocalRotation.w value: 1 objectReference: {fileID: 0} - - target: {fileID: 6097380336279101542, guid: 09e42d58b5d17a54cb4b5baf346d3bca, + - target: {fileID: 8382925752018218760, guid: f7171f4420932ca4db8a470933a4e668, type: 3} propertyPath: m_RootOrder value: 1 objectReference: {fileID: 0} - - target: {fileID: 6097380336279101542, guid: 09e42d58b5d17a54cb4b5baf346d3bca, + - target: {fileID: 8382925752018218760, guid: f7171f4420932ca4db8a470933a4e668, type: 3} propertyPath: m_LocalEulerAnglesHint.x value: 0 objectReference: {fileID: 0} - - target: {fileID: 6097380336279101542, guid: 09e42d58b5d17a54cb4b5baf346d3bca, + - target: {fileID: 8382925752018218760, guid: f7171f4420932ca4db8a470933a4e668, type: 3} propertyPath: m_LocalEulerAnglesHint.y value: 0 objectReference: {fileID: 0} - - target: {fileID: 6097380336279101542, guid: 09e42d58b5d17a54cb4b5baf346d3bca, + - target: {fileID: 8382925752018218760, guid: f7171f4420932ca4db8a470933a4e668, type: 3} propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 09e42d58b5d17a54cb4b5baf346d3bca, type: 3} + m_SourcePrefab: {fileID: 100100000, guid: f7171f4420932ca4db8a470933a4e668, type: 3} diff --git a/Assets/Scripts/Generic/SoundOnCollisionWithEnemy.cs b/Assets/Scripts/Generic/SoundOnCollisionWithEnemy.cs new file mode 100644 index 0000000..bac42d8 --- /dev/null +++ b/Assets/Scripts/Generic/SoundOnCollisionWithEnemy.cs @@ -0,0 +1,29 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +[RequireComponent(typeof(AudioSource))] +public class SoundOnCollisionWithEnemy : MonoBehaviour +{ + public float activationDelay = 0.5f; + + private AudioSource audioSource; + private bool active; + + void Awake() + { + audioSource = GetComponent(); + Invoke("Activate", activationDelay); + } + + void Activate() { + active = true; + } + + void OnTriggerStay2D(Collider2D other) { + if(other.tag == "Enemy" && active) { + audioSource.Play(); + active = false; + } + } +} diff --git a/Assets/Scripts/Generic/SoundOnCollisionWithEnemy.cs.meta b/Assets/Scripts/Generic/SoundOnCollisionWithEnemy.cs.meta new file mode 100644 index 0000000..c343d5f --- /dev/null +++ b/Assets/Scripts/Generic/SoundOnCollisionWithEnemy.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2bdce2c7382e03b449a06ca4941c71e3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Microgame_Nothing.meta b/Assets/Scripts/Microgame_Nothing.meta new file mode 100644 index 0000000..fb9f59e --- /dev/null +++ b/Assets/Scripts/Microgame_Nothing.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 203a2713a3e88b74aa0567676a5a8daa +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Microgame_Nothing/Destructible.cs b/Assets/Scripts/Microgame_Nothing/Destructible.cs new file mode 100644 index 0000000..0a3281d --- /dev/null +++ b/Assets/Scripts/Microgame_Nothing/Destructible.cs @@ -0,0 +1,38 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +[RequireComponent(typeof(SpriteRenderer))] +[RequireComponent(typeof(AudioSource))] +public class Destructible : MonoBehaviour { + + public Sprite normalSprite; + public Sprite destroyedSprite; + + private Animator animator; + private SpriteRenderer spriteRenderer; + private AudioSource audioSource; + + private bool destroyed; + public bool Destroyed { + get { + return destroyed; + } + set { + destroyed = value; + spriteRenderer.sprite = (value ? destroyedSprite : normalSprite); + if(animator != null) { + animator.enabled = !value; + } + if(value) { + audioSource.Play(); + } + } + } + + private void Awake() { + animator = GetComponent(); + spriteRenderer = GetComponent(); + audioSource = GetComponent(); + } +} \ No newline at end of file diff --git a/Assets/Scripts/Microgame_Nothing/Destructible.cs.meta b/Assets/Scripts/Microgame_Nothing/Destructible.cs.meta new file mode 100644 index 0000000..f12ca02 --- /dev/null +++ b/Assets/Scripts/Microgame_Nothing/Destructible.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6b2d7d2080c20d1428cb7c9a01ed69e1 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Microgame_Nothing/FlyAI.cs b/Assets/Scripts/Microgame_Nothing/FlyAI.cs new file mode 100644 index 0000000..50aca3f --- /dev/null +++ b/Assets/Scripts/Microgame_Nothing/FlyAI.cs @@ -0,0 +1,53 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +[RequireComponent(typeof(SpriteRenderer))] +public class FlyAI : MonoBehaviour +{ + public float speed; + public Rect bounds; + + private Vector2 direction; + private SpriteRenderer spriteRenderer; + + private bool flippedX; + private bool flippedY; + + public static Vector2[] directions = new Vector2[4] { + (Vector2.left + Vector2.up).normalized, + (Vector2.left + Vector2.down).normalized, + (Vector2.right + Vector2.up).normalized, + (Vector2.right + Vector2.down).normalized + }; + + void Awake() { + spriteRenderer = GetComponent(); + } + + void Start() { + direction = directions.PickRandom(); + flippedX = false; + flippedY = false; + } + + void Update() + { + if(!flippedX && (transform.position.x < bounds.xMin || transform.position.x > bounds.xMax)) { + direction = new Vector2(-direction.x, direction.y); + flippedX = true; + } + else { + flippedX = false; + } + if(!flippedY && (transform.position.y < bounds.yMin || transform.position.y > bounds.yMax)) { + direction = new Vector2(direction.x, -direction.y); + flippedY = true; + } + else { + flippedY = false; + } + transform.Translate(speed * Time.deltaTime * direction); + spriteRenderer.flipX = (direction.x > 0); + } +} diff --git a/Assets/Scripts/Microgame_Nothing/FlyAI.cs.meta b/Assets/Scripts/Microgame_Nothing/FlyAI.cs.meta new file mode 100644 index 0000000..a20d93d --- /dev/null +++ b/Assets/Scripts/Microgame_Nothing/FlyAI.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f6864492c5b0ba74094ec677328c9681 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Microgame_Nothing/NothingController.cs b/Assets/Scripts/Microgame_Nothing/NothingController.cs new file mode 100644 index 0000000..78b86a4 --- /dev/null +++ b/Assets/Scripts/Microgame_Nothing/NothingController.cs @@ -0,0 +1,43 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class NothingController : MonoBehaviour +{ + [Header("Microgame Config")] + public int requiredDestructions = 3; + + [Header("References")] + private MicrogameController microgameController; + + [Header("Microgame State")] + private int currentDestructions; + + private void Awake() { + microgameController = GameObject.FindGameObjectWithTag("MicrogameController").GetComponent(); + } + + private void Start() { + microgameController.victory = false; + } + + private void Update() { + DetectClicks(); + } + + private void DetectClicks() { + if(Input.GetMouseButtonDown(0)) { + Collider2D clicked = Physics2D.OverlapPoint(Camera.main.ScreenToWorldPoint(Input.mousePosition)); + if(clicked != null) { + Destructible d = clicked.GetComponent(); + if(!d.Destroyed) { + d.Destroyed = true; + currentDestructions += 1; + if(currentDestructions >= requiredDestructions) { + microgameController.victory = true; + } + } + } + } + } +} diff --git a/Assets/Scripts/Microgame_Nothing/NothingController.cs.meta b/Assets/Scripts/Microgame_Nothing/NothingController.cs.meta new file mode 100644 index 0000000..fff299f --- /dev/null +++ b/Assets/Scripts/Microgame_Nothing/NothingController.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 138a8f32353ffdc448fd9b1d859bbd3d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sound/Microgame_Earth/explosion.wav b/Assets/Sound/Microgame_Earth/explosion.wav new file mode 100644 index 0000000..dee690a --- /dev/null +++ b/Assets/Sound/Microgame_Earth/explosion.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db27f0485ffeb1ca643ff8c15d3871c0ba6018763542525e4acab4e7b94ce282 +size 169784 diff --git a/Assets/Sound/Microgame_Earth/explosion.wav.meta b/Assets/Sound/Microgame_Earth/explosion.wav.meta new file mode 100644 index 0000000..d8217d7 --- /dev/null +++ b/Assets/Sound/Microgame_Earth/explosion.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 5ff28fe25be74da4e9346e11302a8e22 +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_Nothing.meta b/Assets/Sound/Microgame_Nothing.meta new file mode 100644 index 0000000..8f206ea --- /dev/null +++ b/Assets/Sound/Microgame_Nothing.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7d94ac7a273617b42be8655b50fffbc5 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sound/Microgame_Nothing/crash.mp3 b/Assets/Sound/Microgame_Nothing/crash.mp3 new file mode 100644 index 0000000..23e5719 --- /dev/null +++ b/Assets/Sound/Microgame_Nothing/crash.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0e93a798cdd8cc511a3ff4aabea55bfc1866c64a864dce6f639460ad0044db1 +size 17837 diff --git a/Assets/Sound/Microgame_Nothing/crash.mp3.meta b/Assets/Sound/Microgame_Nothing/crash.mp3.meta new file mode 100644 index 0000000..cc97c7b --- /dev/null +++ b/Assets/Sound/Microgame_Nothing/crash.mp3.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 274d22fcb1c1f4344acdc638650c7154 +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_Nothing/knock.wav b/Assets/Sound/Microgame_Nothing/knock.wav new file mode 100644 index 0000000..fd58959 --- /dev/null +++ b/Assets/Sound/Microgame_Nothing/knock.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6ee8ceebc535687eda4a49699002c770d993b8471ad00669d275dbbacf211cc +size 164192 diff --git a/Assets/Sound/Microgame_Nothing/knock.wav.meta b/Assets/Sound/Microgame_Nothing/knock.wav.meta new file mode 100644 index 0000000..c6b8fb2 --- /dev/null +++ b/Assets/Sound/Microgame_Nothing/knock.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: af9cd09bdbc32434b8d48fa63d2778bb +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_Nothing/swat.mp3 b/Assets/Sound/Microgame_Nothing/swat.mp3 new file mode 100644 index 0000000..35226fe --- /dev/null +++ b/Assets/Sound/Microgame_Nothing/swat.mp3 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f96881b4080a0e83f0265062e6f9e88ce9d0e37e678ad656d464c6afcfc0a2e0 +size 6264 diff --git a/Assets/Sound/Microgame_Nothing/swat.mp3.meta b/Assets/Sound/Microgame_Nothing/swat.mp3.meta new file mode 100644 index 0000000..81f65cc --- /dev/null +++ b/Assets/Sound/Microgame_Nothing/swat.mp3.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 2e7fc60522c495949bbda0824378a90e +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/Microgame_Nothing/background_table.png.meta b/Assets/Sprites/Microgame_Nothing/background_table.png.meta new file mode 100644 index 0000000..57b78e3 --- /dev/null +++ b/Assets/Sprites/Microgame_Nothing/background_table.png.meta @@ -0,0 +1,92 @@ +fileFormatVersion: 2 +guid: 9cbc846b06c11fa4e95ce68d1b15e844 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/Microgame_Nothing/book.png.meta b/Assets/Sprites/Microgame_Nothing/book.png.meta new file mode 100644 index 0000000..f225daf --- /dev/null +++ b/Assets/Sprites/Microgame_Nothing/book.png.meta @@ -0,0 +1,128 @@ +fileFormatVersion: 2 +guid: 905facb85a2540248a0e7f80d67a1ba8 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 250 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/Microgame_Nothing/fly1.png.meta b/Assets/Sprites/Microgame_Nothing/fly1.png.meta new file mode 100644 index 0000000..ffa6d12 --- /dev/null +++ b/Assets/Sprites/Microgame_Nothing/fly1.png.meta @@ -0,0 +1,128 @@ +fileFormatVersion: 2 +guid: 0bb5d54edd8199240a5a45e86ec26bf0 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 168 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/Microgame_Nothing/fly2.png.meta b/Assets/Sprites/Microgame_Nothing/fly2.png.meta new file mode 100644 index 0000000..45e75c5 --- /dev/null +++ b/Assets/Sprites/Microgame_Nothing/fly2.png.meta @@ -0,0 +1,128 @@ +fileFormatVersion: 2 +guid: 53bed184b89a67842b0cd861775c4003 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 168 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/Microgame_Nothing/glass.png.meta b/Assets/Sprites/Microgame_Nothing/glass.png.meta new file mode 100644 index 0000000..46300c5 --- /dev/null +++ b/Assets/Sprites/Microgame_Nothing/glass.png.meta @@ -0,0 +1,128 @@ +fileFormatVersion: 2 +guid: 19462e4477eaa3a4b94a7f9824aa19fe +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 168 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/Microgame_Nothing/glass_broken.png.meta b/Assets/Sprites/Microgame_Nothing/glass_broken.png.meta new file mode 100644 index 0000000..f187af6 --- /dev/null +++ b/Assets/Sprites/Microgame_Nothing/glass_broken.png.meta @@ -0,0 +1,128 @@ +fileFormatVersion: 2 +guid: d8a9c68996138734eaf87d9dccb63c02 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 168 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/Microgame_YourShip/fly.png b/Assets/Sprites/Microgame_YourShip/fly.png new file mode 100644 index 0000000..a4ca97e --- /dev/null +++ b/Assets/Sprites/Microgame_YourShip/fly.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3db9ecc8ff202afd2e0cd5976cae6d1a9e061da1afcc844b78faf240fdf4fa23 +size 3572 diff --git a/Assets/Sprites/Microgame_YourShip/fly.png.meta b/Assets/Sprites/Microgame_YourShip/fly.png.meta new file mode 100644 index 0000000..1df702f --- /dev/null +++ b/Assets/Sprites/Microgame_YourShip/fly.png.meta @@ -0,0 +1,92 @@ +fileFormatVersion: 2 +guid: f0703f70afc4d504f8424f7e23459382 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -100 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: