diff --git a/Assets/Animations/BallExplosion.controller b/Assets/Animations/BallExplosion.controller new file mode 100644 index 0000000..b66d443 --- /dev/null +++ b/Assets/Animations/BallExplosion.controller @@ -0,0 +1,73 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!91 &9100000 +AnimatorController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: BallExplosion + serializedVersion: 6 + m_AnimatorParameters: [] + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: 3431565367527328971} + 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} + m_EvaluateTransitionsOnStart: 1 +--- !u!1102 &2271483223869746817 +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: BallExplosionDecal + 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: b7141af9a7e7445ff8018ccd5103b589, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1107 &3431565367527328971 +AnimatorStateMachine: + serializedVersion: 7 + 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: 2271483223869746817} + m_Position: {x: 420, y: 120, 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: 2271483223869746817} diff --git a/Assets/Animations/BallExplosion.controller.meta b/Assets/Animations/BallExplosion.controller.meta new file mode 100644 index 0000000..9537a87 --- /dev/null +++ b/Assets/Animations/BallExplosion.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5bb39063bb2efeafa845263a9e3c4798 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 9100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/BallExplosionDecal.anim b/Assets/Animations/BallExplosionDecal.anim new file mode 100644 index 0000000..618c530 --- /dev/null +++ b/Assets/Animations/BallExplosionDecal.anim @@ -0,0 +1,99 @@ +%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: BallExplosionDecal + serializedVersion: 7 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - serializedVersion: 2 + curve: + - time: 0 + value: {fileID: 7210558746331385846, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + - time: 0.1 + value: {fileID: -5432075094247615553, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + - time: 0.21666667 + value: {fileID: -6233756757657699445, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + - time: 0.31666666 + value: {fileID: -9134259580595608040, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + - time: 0.43333334 + value: {fileID: -6261058792273593043, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + - time: 0.56666666 + value: {fileID: 7983266495651452045, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + - time: 0.68333334 + value: {fileID: 7271509617224618838, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + - time: 0.78333336 + value: {fileID: -9122391734515957254, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + - time: 0.9 + value: {fileID: -6539983120607256907, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + - time: 1 + value: {fileID: 1192567241846995084, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + flags: 2 + 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 + isIntCurve: 0 + isSerializeReferenceCurve: 0 + pptrCurveMapping: + - {fileID: 7210558746331385846, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + - {fileID: -5432075094247615553, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + - {fileID: -6233756757657699445, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + - {fileID: -9134259580595608040, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + - {fileID: -6261058792273593043, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + - {fileID: 7983266495651452045, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + - {fileID: 7271509617224618838, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + - {fileID: -9122391734515957254, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + - {fileID: -6539983120607256907, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + - {fileID: 1192567241846995084, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 1.0166667 + 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/BallExplosionDecal.anim.meta b/Assets/Animations/BallExplosionDecal.anim.meta new file mode 100644 index 0000000..f31d37e --- /dev/null +++ b/Assets/Animations/BallExplosionDecal.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b7141af9a7e7445ff8018ccd5103b589 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/NuclearBall.controller b/Assets/Animations/NuclearBall.controller new file mode 100644 index 0000000..c95922c --- /dev/null +++ b/Assets/Animations/NuclearBall.controller @@ -0,0 +1,154 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1102 &-8866037852887971400 +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: NuclearBallBounce 0 + 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: 5d5f64fb6a50b6a58bc426531ac62ec9, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1102 &-7413468643251240543 +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: NuclearBallBounce + 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: 5d5f64fb6a50b6a58bc426531ac62ec9, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1102 &-6166363127919858109 +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: NuclearBallSpawn + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 8246985773789267849} + 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: 4095b66ef6772566aa43e59582c11010, 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: NuclearBall + serializedVersion: 6 + m_AnimatorParameters: [] + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: 8410962424240963213} + 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} + m_EvaluateTransitionsOnStart: 1 +--- !u!1101 &8246985773789267849 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_Conditions: [] + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: -7413468643251240543} + 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!1107 &8410962424240963213 +AnimatorStateMachine: + serializedVersion: 7 + 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: -6166363127919858109} + m_Position: {x: 280, y: 120, z: 0} + - serializedVersion: 1 + m_State: {fileID: -7413468643251240543} + m_Position: {x: 580, y: 120, z: 0} + - serializedVersion: 1 + m_State: {fileID: -8866037852887971400} + m_Position: {x: -8497.861, y: -5177.2417, 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: -6166363127919858109} diff --git a/Assets/Animations/NuclearBall.controller.meta b/Assets/Animations/NuclearBall.controller.meta new file mode 100644 index 0000000..45c1119 --- /dev/null +++ b/Assets/Animations/NuclearBall.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 63c8db8cd2d6d67e5a32570d2ab95593 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 9100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/NuclearBallBounce.anim b/Assets/Animations/NuclearBallBounce.anim new file mode 100644 index 0000000..73e1035 --- /dev/null +++ b/Assets/Animations/NuclearBallBounce.anim @@ -0,0 +1,102 @@ +%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: NuclearBallBounce + serializedVersion: 7 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - serializedVersion: 2 + curve: + - time: 0 + value: {fileID: 4743041161850474212, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - time: 0.06666667 + value: {fileID: -7039298178861624713, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - time: 0.13333334 + value: {fileID: 8636365752506130594, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - time: 0.2 + value: {fileID: 2926528974138543835, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - time: 0.26666668 + value: {fileID: 8312519695533666021, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - time: 0.33333334 + value: {fileID: 7038383076582032106, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - time: 0.4 + value: {fileID: 8096370073807340432, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - time: 0.46666667 + value: {fileID: -3695315387145622601, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - time: 0.53333336 + value: {fileID: 6247683229187867866, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - time: 0.6 + value: {fileID: 5859558751096391768, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - time: 0.6666667 + value: {fileID: 3387975412891806658, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + flags: 2 + 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 + isIntCurve: 0 + isSerializeReferenceCurve: 0 + pptrCurveMapping: + - {fileID: 4743041161850474212, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - {fileID: -7039298178861624713, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - {fileID: 8636365752506130594, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - {fileID: 2926528974138543835, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - {fileID: 8312519695533666021, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - {fileID: 7038383076582032106, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - {fileID: 8096370073807340432, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - {fileID: -3695315387145622601, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - {fileID: 6247683229187867866, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - {fileID: 5859558751096391768, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + - {fileID: 3387975412891806658, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.68333334 + 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/NuclearBallBounce.anim.meta b/Assets/Animations/NuclearBallBounce.anim.meta new file mode 100644 index 0000000..978f5ac --- /dev/null +++ b/Assets/Animations/NuclearBallBounce.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5d5f64fb6a50b6a58bc426531ac62ec9 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/NuclearBallExplode.anim b/Assets/Animations/NuclearBallExplode.anim new file mode 100644 index 0000000..f6c1125 --- /dev/null +++ b/Assets/Animations/NuclearBallExplode.anim @@ -0,0 +1,53 @@ +%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: NuclearBallExplode + serializedVersion: 7 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: [] + 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: [] + pptrCurveMapping: [] + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 1 + 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/NuclearBallExplode.anim.meta b/Assets/Animations/NuclearBallExplode.anim.meta new file mode 100644 index 0000000..f18f48c --- /dev/null +++ b/Assets/Animations/NuclearBallExplode.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b36d8d4671f523a40975eca2dedc5528 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Animations/NuclearBallSpawn.anim b/Assets/Animations/NuclearBallSpawn.anim new file mode 100644 index 0000000..aee6015 --- /dev/null +++ b/Assets/Animations/NuclearBallSpawn.anim @@ -0,0 +1,87 @@ +%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: NuclearBallSpawn + serializedVersion: 7 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - serializedVersion: 2 + curve: + - time: 0 + value: {fileID: -5729938489366587548, guid: d407ad460ae8a4e48b87caf28df65d83, type: 3} + - time: 0.13333334 + value: {fileID: 3827718931152471872, guid: d407ad460ae8a4e48b87caf28df65d83, type: 3} + - time: 0.26666668 + value: {fileID: 4796273017410401994, guid: d407ad460ae8a4e48b87caf28df65d83, type: 3} + - time: 0.4 + value: {fileID: 2277026222858539210, guid: d407ad460ae8a4e48b87caf28df65d83, type: 3} + - time: 0.53333336 + value: {fileID: 6604842128173147212, guid: d407ad460ae8a4e48b87caf28df65d83, type: 3} + - time: 0.6666667 + value: {fileID: -2423459313595029027, guid: d407ad460ae8a4e48b87caf28df65d83, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + flags: 2 + 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 + isIntCurve: 0 + isSerializeReferenceCurve: 0 + pptrCurveMapping: + - {fileID: -5729938489366587548, guid: d407ad460ae8a4e48b87caf28df65d83, type: 3} + - {fileID: 3827718931152471872, guid: d407ad460ae8a4e48b87caf28df65d83, type: 3} + - {fileID: 4796273017410401994, guid: d407ad460ae8a4e48b87caf28df65d83, type: 3} + - {fileID: 2277026222858539210, guid: d407ad460ae8a4e48b87caf28df65d83, type: 3} + - {fileID: 6604842128173147212, guid: d407ad460ae8a4e48b87caf28df65d83, type: 3} + - {fileID: -2423459313595029027, guid: d407ad460ae8a4e48b87caf28df65d83, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.68333334 + 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/NuclearBallSpawn.anim.meta b/Assets/Animations/NuclearBallSpawn.anim.meta new file mode 100644 index 0000000..530d55f --- /dev/null +++ b/Assets/Animations/NuclearBallSpawn.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4095b66ef6772566aa43e59582c11010 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Ball Explosion.prefab b/Assets/Prefabs/Ball Explosion.prefab new file mode 100644 index 0000000..4d51e2b --- /dev/null +++ b/Assets/Prefabs/Ball Explosion.prefab @@ -0,0 +1,116 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &6718664185715355894 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1846621201000746085} + - component: {fileID: 7402419950365427160} + - component: {fileID: 4492134503030492876} + m_Layer: 0 + m_Name: Ball Explosion + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1846621201000746085 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6718664185715355894} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 1.69, y: -6, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &7402419950365427160 +SpriteRenderer: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6718664185715355894} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_SmallMeshCulling: 1 + m_ForceMeshLod: -1 + m_MeshLodSelectionBias: 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_GlobalIlluminationMeshLod: 0 + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_MaskInteraction: 0 + m_Sprite: {fileID: 7210558746331385846, guid: 7982a3f8e588f159dbb4a39dda4520a4, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 0.39, y: 0.39} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_SpriteSortPoint: 0 +--- !u!95 &4492134503030492876 +Animator: + serializedVersion: 7 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6718664185715355894} + m_Enabled: 1 + m_Avatar: {fileID: 0} + m_Controller: {fileID: 9100000, guid: 5bb39063bb2efeafa845263a9e3c4798, type: 2} + m_CullingMode: 0 + m_UpdateMode: 0 + m_ApplyRootMotion: 0 + m_LinearVelocityBlending: 0 + m_StabilizeFeet: 0 + m_AnimatePhysics: 0 + m_WarningMessage: + m_HasTransformHierarchy: 1 + m_AllowConstantClipSamplingOptimization: 1 + m_KeepAnimatorStateOnDisable: 0 + m_WriteDefaultValuesOnDisable: 0 diff --git a/Assets/Prefabs/Ball Explosion.prefab.meta b/Assets/Prefabs/Ball Explosion.prefab.meta new file mode 100644 index 0000000..e498660 --- /dev/null +++ b/Assets/Prefabs/Ball Explosion.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 0fa4013691ac1bf6eae3a2ac6c7c35ff +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Nuclear Ball.prefab b/Assets/Prefabs/Nuclear Ball.prefab new file mode 100644 index 0000000..5c20fd7 --- /dev/null +++ b/Assets/Prefabs/Nuclear Ball.prefab @@ -0,0 +1,307 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &8278701988301055462 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7223531878415744156} + - component: {fileID: 6412297431913082470} + - component: {fileID: 4821638412415428746} + - component: {fileID: 4026147366490243121} + - component: {fileID: 4924152759474718944} + - component: {fileID: 4226640848622850841} + - component: {fileID: 3685705851669141629} + m_Layer: 0 + m_Name: Nuclear Ball + m_TagString: NuclearBall + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &7223531878415744156 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8278701988301055462} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -5.28, y: 0.73, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &6412297431913082470 +SpriteRenderer: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8278701988301055462} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_SmallMeshCulling: 1 + m_ForceMeshLod: -1 + m_MeshLodSelectionBias: 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_GlobalIlluminationMeshLod: 0 + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_MaskInteraction: 0 + m_Sprite: {fileID: 4743041161850474212, guid: b1eb9d7fe38bb77f9a0320079e439ce5, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 0.28, y: 0.28} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_SpriteSortPoint: 0 +--- !u!95 &4821638412415428746 +Animator: + serializedVersion: 7 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8278701988301055462} + m_Enabled: 1 + m_Avatar: {fileID: 0} + m_Controller: {fileID: 9100000, guid: 63c8db8cd2d6d67e5a32570d2ab95593, type: 2} + m_CullingMode: 0 + m_UpdateMode: 0 + m_ApplyRootMotion: 0 + m_LinearVelocityBlending: 0 + m_StabilizeFeet: 0 + m_AnimatePhysics: 0 + m_WarningMessage: + m_HasTransformHierarchy: 1 + m_AllowConstantClipSamplingOptimization: 1 + m_KeepAnimatorStateOnDisable: 0 + m_WriteDefaultValuesOnDisable: 0 +--- !u!82 &4026147366490243121 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8278701988301055462} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 0} + m_Resource: {fileID: 0} + m_PlayOnAwake: 1 + m_Volume: 1 + 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!61 &4924152759474718944 +BoxCollider2D: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8278701988301055462} + m_Enabled: 1 + serializedVersion: 3 + m_Density: 1 + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_ForceSendLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ForceReceiveLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ContactCaptureLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_CallbackLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_IsTrigger: 0 + m_UsedByEffector: 0 + m_CompositeOperation: 0 + m_CompositeOrder: 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: 0.28, y: 0.28} + newSize: {x: 0.28, y: 0.28} + adaptiveTilingThreshold: 0.5 + drawMode: 0 + adaptiveTiling: 0 + m_AutoTiling: 0 + m_Size: {x: 0.28, y: 0.28} + m_EdgeRadius: 0 +--- !u!50 &4226640848622850841 +Rigidbody2D: + serializedVersion: 5 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8278701988301055462} + m_BodyType: 0 + m_Simulated: 1 + m_UseFullKinematicContacts: 0 + m_UseAutoMass: 0 + m_Mass: 1 + m_LinearDamping: 0 + m_AngularDamping: 0.05 + m_GravityScale: 0 + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_Interpolate: 0 + m_SleepingMode: 1 + m_CollisionDetection: 0 + m_Constraints: 0 +--- !u!114 &3685705851669141629 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8278701988301055462} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 94b425bc5ee3b5fe5b375cb72355531c, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::NukeBall + spawnSound: {fileID: 8300000, guid: 39ac5ebaed90d56bc94a1513178225e2, type: 3} + bounceSound: {fileID: 8300000, guid: feb1b2bb15ded1b37a84335da8b6c825, type: 3} + hitSound: {fileID: 8300000, guid: a36177a84709d5c51ae647a599008d1d, type: 3} + criticalSound: {fileID: 8300000, guid: 756fb91b052f83560a8f10a21d610eb1, type: 3} + explosionSound: {fileID: 8300000, guid: 4b277a57224afa7df868a42f9005709e, type: 3} diff --git a/Assets/Prefabs/Nuclear Ball.prefab.meta b/Assets/Prefabs/Nuclear Ball.prefab.meta new file mode 100644 index 0000000..7d29c09 --- /dev/null +++ b/Assets/Prefabs/Nuclear Ball.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 365b1b399a34e29bdbde4d0297ee7d12 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Game.unity b/Assets/Scenes/Game.unity index 3a88e47..3b08893 100644 --- a/Assets/Scenes/Game.unity +++ b/Assets/Scenes/Game.unity @@ -559,7 +559,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: Assembly-CSharp::BallSpawner basicBallPrefab: {fileID: 5170544452824093409, guid: 4b9ec3a3bc88610fa80938a4d6850568, type: 3} - nuclearBallPrefab: {fileID: 0} + nuclearBallPrefab: {fileID: 8278701988301055462, guid: 365b1b399a34e29bdbde4d0297ee7d12, type: 3} glassBallPrefab: {fileID: 0} eyeBallPrefab: {fileID: 0} oozeBallPrefab: {fileID: 2828226485849316135, guid: ff4467517111a6d0ab4e5608c8adeee0, type: 3} diff --git a/Assets/Scenes/SplashScreen.unity b/Assets/Scenes/SplashScreen.unity index 04d3865..b0aae9f 100644 --- a/Assets/Scenes/SplashScreen.unity +++ b/Assets/Scenes/SplashScreen.unity @@ -127,6 +127,10 @@ PrefabInstance: serializedVersion: 3 m_TransformParent: {fileID: 0} m_Modifications: + - target: {fileID: 2455465290438712436, guid: 37cccc8c2583c8987851bdc00b56a09e, type: 3} + propertyPath: orthographic + value: 1 + objectReference: {fileID: 0} - target: {fileID: 2455465290438712436, guid: 37cccc8c2583c8987851bdc00b56a09e, type: 3} propertyPath: m_BackGroundColor.b value: 0 @@ -311,7 +315,7 @@ Transform: m_GameObject: {fileID: 334522676} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0.07896, y: -0.0717, z: 0} + m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] diff --git a/Assets/Scripts/Game/BallSpawner.cs b/Assets/Scripts/Game/BallSpawner.cs index 3b4bccc..62edcc6 100644 --- a/Assets/Scripts/Game/BallSpawner.cs +++ b/Assets/Scripts/Game/BallSpawner.cs @@ -35,6 +35,7 @@ public class BallSpawner : MonoBehaviour ballQueue.Enqueue(() => SpawnBall(fruitBallPrefab)); ballQueue.Enqueue(() => SpawnBall(fruitBallPrefab)); ballQueue.Enqueue(() => SpawnBall(oozeBallPrefab)); + ballQueue.Enqueue(() => SpawnBall(nuclearBallPrefab)); StartCoroutine(SpawnBalls()); } diff --git a/Assets/Scripts/Game/Balls/FruitBall.cs b/Assets/Scripts/Game/Balls/FruitBall.cs index 34fe0bb..739dea2 100644 --- a/Assets/Scripts/Game/Balls/FruitBall.cs +++ b/Assets/Scripts/Game/Balls/FruitBall.cs @@ -23,14 +23,14 @@ public class FruitBall : MonoBehaviour { audioSource = GetComponent(); animator = GetComponent(); - speed = new Vector2(Mathf.Sign(Random.Range(-1f, 1f)) * 0.0001f, - Mathf.Sign(Random.Range(-1f, 1f)) * 0.0001f); + speed = new Vector2(Mathf.Sign(Random.Range(-1f, 1f)) * 0.005f, + Mathf.Sign(Random.Range(-1f, 1f)) * 0.005f); audioSource.PlayOneShot(spawnSound); } // Update is called once per frame - void Update() + void FixedUpdate() { AnimatorStateInfo stateInfo = animator.GetCurrentAnimatorStateInfo(0); @@ -61,7 +61,7 @@ public class FruitBall : MonoBehaviour collision.gameObject.CompareTag("FruitBall")) { speedIncreaseTimer = 2.0f; // Reset the timer to 2 seconds - speedMultiplier = 50.0f; // Set the speed multiplier to 7x + speedMultiplier = 20.0f; // Set the speed multiplier to 7x } } } diff --git a/Assets/Scripts/Game/Balls/NukeBall.cs b/Assets/Scripts/Game/Balls/NukeBall.cs new file mode 100644 index 0000000..acc3008 --- /dev/null +++ b/Assets/Scripts/Game/Balls/NukeBall.cs @@ -0,0 +1,180 @@ +using UnityEngine; + +public class NukeBall : MonoBehaviour +{ +private Animator animator; + + private static float gravity = 0.5f; + + public AudioClip spawnSound; + + public AudioClip bounceSound; + + public AudioClip hitSound; + + public AudioClip criticalSound; + + public AudioClip explosionSound; + + private AudioSource audioSource; + + private Vector2 speed; + + private int criticalState = 0; + + private float criticalTime = 1.0f; + + private float criticalTimer = 0.0f; + + private float height; + + private float verticalVelocity = 0.0f; + + private Collider2D selfCollider; + + private bool isBouncingToHeight = false; + + private float bounceStartY = 0.0f; + + private float fallTargetY = 0.0f; + + private float bounceTimer = 0.0f; + + private float bounceDuration = 1.00f; + + // Start is called once before the first execution of Update after the MonoBehaviour is created + void Start() + { + audioSource = GetComponent(); + animator = GetComponent(); + selfCollider = GetComponent(); + speed = new Vector2(Random.Range(-0.09f, 0.09f), 0.0f); + height = GetComponent().position.y; + fallTargetY = height; + + UpdateFallTargetFromCurrentPosition(); + + audioSource.PlayOneShot(spawnSound); + } + + // Update is called once per frame + void FixedUpdate() + { + AnimatorStateInfo stateInfo = animator.GetCurrentAnimatorStateInfo(0); + + if (stateInfo.IsName("NuclearBallBounce")) { + transform.Translate(speed); + + Vector3 currentPosition = transform.position; + + if (isBouncingToHeight) + { + bounceTimer += Time.fixedDeltaTime; + + float t = Mathf.Clamp01(bounceTimer / bounceDuration); + float easedT = 1.0f - Mathf.Pow(1.0f - t, 2.0f); + + currentPosition.y = Mathf.Lerp(bounceStartY, height, easedT); + + if (t >= 1.0f) + { + isBouncingToHeight = false; + bounceTimer = 0.0f; + verticalVelocity = 0.0f; + currentPosition.y = height; + UpdateFallTargetFromCurrentPosition(); + } + } + else + { + bounceTimer += Time.fixedDeltaTime; + + float t = Mathf.Clamp01(bounceTimer / bounceDuration); + float easedT = t * t; + + currentPosition.y = Mathf.Lerp(height, fallTargetY, easedT); + } + + transform.position = currentPosition; + } + + // When in critical state 2, play the critical sound every half a second. + if (criticalState == 2) + { + criticalTimer = 0.5f; + } + + // If in a critical state, increment the critical timer and play the + // critical sound if the timer exceeds the critical time. + if (criticalState >= 1) + { + criticalTimer += Time.deltaTime; + + if (criticalTimer >= criticalTime) + { + audioSource.PlayOneShot(criticalSound); + } + + criticalTimer = 0.0f; + } + } + + void OnCollisionEnter2D(Collision2D collision) + { + // NukeBall should bounce off walls only. It cannot collide with other balls, not even other NukeBalls. + if (collision.gameObject.CompareTag("Wall")) + { + ContactPoint2D contact = collision.GetContact(0); + speed = Vector2.Reflect(speed, contact.normal); + speed.y = 0.0f; + + audioSource.PlayOneShot(bounceSound); + + // A floor hit (normal pointing upward) starts an ease-out bounce back to initial height. + if (contact.normal.y > 0.5f) + { + isBouncingToHeight = true; + bounceTimer = 0.0f; + bounceStartY = contact.point.y; + fallTargetY = bounceStartY; + verticalVelocity = 0.0f; + + Vector3 currentPosition = transform.position; + currentPosition.y = bounceStartY; + transform.position = currentPosition; + } + } + } + + private void UpdateFallTargetFromCurrentPosition() + { + fallTargetY = transform.position.y; + + RaycastHit2D[] hits = Physics2D.RaycastAll(transform.position, Vector2.down, 100.0f); + float closestDistance = float.MaxValue; + + foreach (RaycastHit2D hit in hits) + { + if (hit.collider == null || hit.collider == selfCollider) + { + continue; + } + + if (!hit.collider.CompareTag("Wall")) + { + continue; + } + + if (hit.normal.y <= 0.5f) + { + continue; + } + + if (hit.distance < closestDistance) + { + closestDistance = hit.distance; + fallTargetY = hit.point.y; + } + } + } +} diff --git a/Assets/Scripts/Game/Balls/NukeBall.cs.meta b/Assets/Scripts/Game/Balls/NukeBall.cs.meta new file mode 100644 index 0000000..3f626f7 --- /dev/null +++ b/Assets/Scripts/Game/Balls/NukeBall.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 94b425bc5ee3b5fe5b375cb72355531c \ No newline at end of file diff --git a/Assets/Scripts/Game/Balls/OozeBall.cs b/Assets/Scripts/Game/Balls/OozeBall.cs index 9eeb89d..9c93ca5 100644 --- a/Assets/Scripts/Game/Balls/OozeBall.cs +++ b/Assets/Scripts/Game/Balls/OozeBall.cs @@ -35,13 +35,13 @@ public class OozeBall : MonoBehaviour audioSource = GetComponent(); animator = GetComponent(); spriteRenderer = GetComponent(); - speed = new Vector2(Random.Range(-0.002f, 0.002f), Random.Range(-0.002f, 0.002f)); + speed = new Vector2(Random.Range(-0.05f, 0.05f), Random.Range(-0.05f, 0.05f)); audioSource.PlayOneShot(spawnSound); } // Update is called once per frame - void Update() + void FixedUpdate() { AnimatorStateInfo stateInfo = animator.GetCurrentAnimatorStateInfo(0); diff --git a/Assets/Scripts/Intro/Intro.cs b/Assets/Scripts/Intro/Intro.cs index 0579f06..7c3e783 100644 --- a/Assets/Scripts/Intro/Intro.cs +++ b/Assets/Scripts/Intro/Intro.cs @@ -10,10 +10,7 @@ public class Intro : FadeCallback private IEnumerator playAudioCoroutine; // Start is called once before the first execution of Update after the MonoBehaviour is created - void Start() - { - - } + void Start() { } // Update is called once per frame void Update() { } diff --git a/Assets/Sprites/700.png b/Assets/Sprites/700.png new file mode 100644 index 0000000..bd14b4a Binary files /dev/null and b/Assets/Sprites/700.png differ diff --git a/Assets/Sprites/700.png.meta b/Assets/Sprites/700.png.meta new file mode 100644 index 0000000..1535d1b --- /dev/null +++ b/Assets/Sprites/700.png.meta @@ -0,0 +1,429 @@ +fileFormatVersion: 2 +guid: b1eb9d7fe38bb77f9a0320079e439ce5 +TextureImporter: + internalIDToNameTable: + - first: + 213: 4743041161850474212 + second: 700_0 + - first: + 213: -7039298178861624713 + second: 700_1 + - first: + 213: 8636365752506130594 + second: 700_2 + - first: + 213: 2926528974138543835 + second: 700_3 + - first: + 213: 8312519695533666021 + second: 700_4 + - first: + 213: 7038383076582032106 + second: 700_5 + - first: + 213: 8096370073807340432 + second: 700_6 + - first: + 213: -3695315387145622601 + second: 700_7 + - first: + 213: 6247683229187867866 + second: 700_8 + - first: + 213: 5859558751096391768 + second: 700_9 + - first: + 213: 3387975412891806658 + second: 700_10 + externalObjects: {} + serializedVersion: 13 + 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 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 2 + 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 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: + - serializedVersion: 2 + name: 700_0 + rect: + serializedVersion: 2 + x: 1 + y: 1 + width: 28 + height: 28 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 4ee47279ecaa2d140800000000000000 + internalID: 4743041161850474212 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 700_1 + rect: + serializedVersion: 2 + x: 29 + y: 1 + width: 27 + height: 28 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 77216e42a936f4e90800000000000000 + internalID: -7039298178861624713 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 700_2 + rect: + serializedVersion: 2 + x: 57 + y: 1 + width: 27 + height: 28 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 2a02a7cf4e88ad770800000000000000 + internalID: 8636365752506130594 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 700_3 + rect: + serializedVersion: 2 + x: 85 + y: 2 + width: 27 + height: 27 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: bde8a68b89e1d9820800000000000000 + internalID: 2926528974138543835 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 700_4 + rect: + serializedVersion: 2 + x: 113 + y: 1 + width: 27 + height: 28 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 5eee8b81f900c5370800000000000000 + internalID: 8312519695533666021 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 700_5 + rect: + serializedVersion: 2 + x: 142 + y: 1 + width: 26 + height: 28 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: ae20bc00e1c5da160800000000000000 + internalID: 7038383076582032106 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 700_6 + rect: + serializedVersion: 2 + x: 171 + y: 1 + width: 23 + height: 28 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 093c36b8fa51c5070800000000000000 + internalID: 8096370073807340432 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 700_7 + rect: + serializedVersion: 2 + x: 199 + y: 1 + width: 22 + height: 29 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 7bb6628eb3a97bcc0800000000000000 + internalID: -3695315387145622601 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 700_8 + rect: + serializedVersion: 2 + x: 227 + y: 1 + width: 23 + height: 28 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: ad488e89bca34b650800000000000000 + internalID: 6247683229187867866 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 700_9 + rect: + serializedVersion: 2 + x: 254 + y: 1 + width: 25 + height: 29 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 858c1ab83a5515150800000000000000 + internalID: 5859558751096391768 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 700_10 + rect: + serializedVersion: 2 + x: 281 + y: 1 + width: 27 + height: 29 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 2cb6c2110b1840f20800000000000000 + internalID: 3387975412891806658 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: + 700_0: 4743041161850474212 + 700_1: -7039298178861624713 + 700_10: 3387975412891806658 + 700_2: 8636365752506130594 + 700_3: 2926528974138543835 + 700_4: 8312519695533666021 + 700_5: 7038383076582032106 + 700_6: 8096370073807340432 + 700_7: -3695315387145622601 + 700_8: 6247683229187867866 + 700_9: 5859558751096391768 + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/701.png b/Assets/Sprites/701.png new file mode 100644 index 0000000..e34c2e0 Binary files /dev/null and b/Assets/Sprites/701.png differ diff --git a/Assets/Sprites/701.png.meta b/Assets/Sprites/701.png.meta new file mode 100644 index 0000000..0b74173 --- /dev/null +++ b/Assets/Sprites/701.png.meta @@ -0,0 +1,307 @@ +fileFormatVersion: 2 +guid: d407ad460ae8a4e48b87caf28df65d83 +TextureImporter: + internalIDToNameTable: + - first: + 213: -5729938489366587548 + second: 701_0 + - first: + 213: 3827718931152471872 + second: 701_1 + - first: + 213: 4796273017410401994 + second: 701_2 + - first: + 213: 2277026222858539210 + second: 701_3 + - first: + 213: 6604842128173147212 + second: 701_4 + - first: + 213: -2423459313595029027 + second: 701_5 + - first: + 213: 1467462417135377776 + second: 701_6 + - first: + 213: -6872077128051497896 + second: 701_7 + externalObjects: {} + serializedVersion: 13 + 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 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 2 + 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 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: + - serializedVersion: 2 + name: 701_0 + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 28 + height: 31 + alignment: 0 + pivot: {x: 0.5, y: 0.5} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 467577c6d4b2b70b0800000000000000 + internalID: -5729938489366587548 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 701_1 + rect: + serializedVersion: 2 + x: 28 + y: 0 + width: 28 + height: 31 + alignment: 0 + pivot: {x: 0.5, y: 0.5} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 0478167761ace1530800000000000000 + internalID: 3827718931152471872 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 701_2 + rect: + serializedVersion: 2 + x: 56 + y: 0 + width: 28 + height: 31 + alignment: 0 + pivot: {x: 0.5, y: 0.5} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: ac6b988c5e8cf8240800000000000000 + internalID: 4796273017410401994 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 701_3 + rect: + serializedVersion: 2 + x: 84 + y: 0 + width: 28 + height: 31 + alignment: 0 + pivot: {x: 0.5, y: 0.5} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: ac09bb5194f999f10800000000000000 + internalID: 2277026222858539210 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 701_4 + rect: + serializedVersion: 2 + x: 112 + y: 0 + width: 28 + height: 31 + alignment: 0 + pivot: {x: 0.5, y: 0.5} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: c44ab4febec19ab50800000000000000 + internalID: 6604842128173147212 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 701_5 + rect: + serializedVersion: 2 + x: 140 + y: 0 + width: 28 + height: 31 + alignment: 0 + pivot: {x: 0.5, y: 0.5} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: dd96e8528942e5ed0800000000000000 + internalID: -2423459313595029027 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: 7f8ff42f7281c05e284ed9a9c15273bf + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: + - key: SpriteEditor.SliceSettings + value: '{"sliceOnImport":false,"gridCellCount":{"x":6.0,"y":1.0},"gridSpriteSize":{"x":28.0,"y":31.0},"gridSpriteOffset":{"x":0.0,"y":0.0},"gridSpritePadding":{"x":0.0,"y":0.0},"pivot":{"x":0.5,"y":0.5},"pivotPixels":{"x":0.0,"y":0.0},"autoSlicingMethod":0,"spriteAlignment":0,"pivotUnitMode":0,"slicingType":2,"keepEmptyRects":false,"isAlternate":false}' + nameFileIdTable: + 701_0: -5729938489366587548 + 701_1: 3827718931152471872 + 701_2: 4796273017410401994 + 701_3: 2277026222858539210 + 701_4: 6604842128173147212 + 701_5: -2423459313595029027 + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/870.png b/Assets/Sprites/870.png new file mode 100644 index 0000000..b9a4b66 Binary files /dev/null and b/Assets/Sprites/870.png differ diff --git a/Assets/Sprites/870.png.meta b/Assets/Sprites/870.png.meta new file mode 100644 index 0000000..473215f --- /dev/null +++ b/Assets/Sprites/870.png.meta @@ -0,0 +1,420 @@ +fileFormatVersion: 2 +guid: 7982a3f8e588f159dbb4a39dda4520a4 +TextureImporter: + internalIDToNameTable: + - first: + 213: 7210558746331385846 + second: 870_0 + - first: + 213: -5432075094247615553 + second: 870_1 + - first: + 213: -6233756757657699445 + second: 870_2 + - first: + 213: -9134259580595608040 + second: 870_3 + - first: + 213: -6261058792273593043 + second: 870_4 + - first: + 213: 7983266495651452045 + second: 870_5 + - first: + 213: 7271509617224618838 + second: 870_6 + - first: + 213: -9122391734515957254 + second: 870_7 + - first: + 213: -6539983120607256907 + second: 870_8 + - first: + 213: 1192567241846995084 + second: 870_9 + - first: + 213: -8785763304513455662 + second: 870_10 + - first: + 213: -4797328429523117011 + second: 870_11 + - first: + 213: -5130227683812408460 + second: 870_12 + - first: + 213: -2001886168311269209 + second: 870_13 + - first: + 213: -854548984449309504 + second: 870_14 + externalObjects: {} + serializedVersion: 13 + 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 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 2 + 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 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: + - serializedVersion: 2 + name: 870_0 + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 39 + height: 39 + alignment: 0 + pivot: {x: 0.5, y: 0.5} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 6ff0b230afc011460800000000000000 + internalID: 7210558746331385846 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 870_1 + rect: + serializedVersion: 2 + x: 39 + y: 0 + width: 39 + height: 39 + alignment: 0 + pivot: {x: 0.5, y: 0.5} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: fb3df1e6b746d94b0800000000000000 + internalID: -5432075094247615553 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 870_2 + rect: + serializedVersion: 2 + x: 78 + y: 0 + width: 39 + height: 39 + alignment: 0 + pivot: {x: 0.5, y: 0.5} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: b8b3f9bb14f3d79a0800000000000000 + internalID: -6233756757657699445 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 870_3 + rect: + serializedVersion: 2 + x: 117 + y: 0 + width: 39 + height: 39 + alignment: 0 + pivot: {x: 0.5, y: 0.5} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 816e36c8e479c3180800000000000000 + internalID: -9134259580595608040 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 870_4 + rect: + serializedVersion: 2 + x: 156 + y: 0 + width: 39 + height: 39 + alignment: 0 + pivot: {x: 0.5, y: 0.5} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: d2d32b073304c19a0800000000000000 + internalID: -6261058792273593043 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 870_5 + rect: + serializedVersion: 2 + x: 195 + y: 0 + width: 39 + height: 39 + alignment: 0 + pivot: {x: 0.5, y: 0.5} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: d841594a4924ace60800000000000000 + internalID: 7983266495651452045 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 870_6 + rect: + serializedVersion: 2 + x: 234 + y: 0 + width: 39 + height: 39 + alignment: 0 + pivot: {x: 0.5, y: 0.5} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 6539283887799e460800000000000000 + internalID: 7271509617224618838 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 870_7 + rect: + serializedVersion: 2 + x: 273 + y: 0 + width: 39 + height: 39 + alignment: 0 + pivot: {x: 0.5, y: 0.5} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: af1873acc01c66180800000000000000 + internalID: -9122391734515957254 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 870_8 + rect: + serializedVersion: 2 + x: 312 + y: 0 + width: 39 + height: 39 + alignment: 0 + pivot: {x: 0.5, y: 0.5} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 5be572b80005d35a0800000000000000 + internalID: -6539983120607256907 + vertices: [] + indices: + edges: [] + weights: [] + - serializedVersion: 2 + name: 870_9 + rect: + serializedVersion: 2 + x: 351 + y: 0 + width: 39 + height: 39 + alignment: 0 + pivot: {x: 0.5, y: 0.5} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: c88be058699dc8010800000000000000 + internalID: 1192567241846995084 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: 2b2058eae41ab8fbebf5580b8ded674c + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: + - key: SpriteEditor.SliceSettings + value: '{"sliceOnImport":false,"gridCellCount":{"x":10.0,"y":1.0},"gridSpriteSize":{"x":39.0,"y":39.0},"gridSpriteOffset":{"x":0.0,"y":0.0},"gridSpritePadding":{"x":0.0,"y":0.0},"pivot":{"x":0.5,"y":0.5},"pivotPixels":{"x":0.0,"y":0.0},"autoSlicingMethod":0,"spriteAlignment":0,"pivotUnitMode":0,"slicingType":2,"keepEmptyRects":false,"isAlternate":false}' + nameFileIdTable: + 870_0: 7210558746331385846 + 870_1: -5432075094247615553 + 870_2: -6233756757657699445 + 870_3: -9134259580595608040 + 870_4: -6261058792273593043 + 870_5: 7983266495651452045 + 870_6: 7271509617224618838 + 870_7: -9122391734515957254 + 870_8: -6539983120607256907 + 870_9: 1192567241846995084 + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/ProjectSettings/TagManager.asset b/ProjectSettings/TagManager.asset index 8e929ff..dd7e028 100644 --- a/ProjectSettings/TagManager.asset +++ b/ProjectSettings/TagManager.asset @@ -10,6 +10,7 @@ TagManager: - FruitBall - OozeBall - GlassBall + - NuclearBall layers: - Default - TransparentFX