barely animation

This commit is contained in:
kkuhn317 2023-01-16 18:01:14 -05:00
parent c7007e14fc
commit ec7dad9fb6
14 changed files with 584 additions and 1251 deletions

File diff suppressed because one or more lines are too long

View file

@ -843,6 +843,7 @@ MonoBehaviour:
startBeat: 0
anim: {fileID: 5454801828579266373}
side: 0
barelyStart: 0
smile: 0
--- !u!95 &5454801828579266373
Animator:
@ -2164,6 +2165,7 @@ MonoBehaviour:
startBeat: 0
anim: {fileID: 3687550532664276802}
side: 0
barelyStart: 0
smile: 0
--- !u!95 &3687550532664276802
Animator:

View file

@ -0,0 +1,440 @@
%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: fruit barely
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: {x: 0, y: 0, z: 340}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
path: sprite
m_PositionCurves:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: {x: -3.73, y: 0.42, z: 0}
inSlope: {x: 0, y: -123.91813, z: 0}
outSlope: {x: -11.999998, y: 45.159035, z: 0}
tangentMode: 0
weightedMode: 3
inWeight: {x: 0.33333334, y: 0.08273729, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.35629305, z: 0.33333334}
- serializedVersion: 3
time: 0.05
value: {x: -4.33, y: 1.38, z: 0}
inSlope: {x: -11.999998, y: -1.2111319, z: 0}
outSlope: {x: -18.257143, y: -1.2111319, z: 0}
tangentMode: 0
weightedMode: 3
inWeight: {x: 0.33333334, y: 0.19571029, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.42044392, z: 0.33333334}
- serializedVersion: 3
time: 0.16666667
value: {x: -6.46, y: -8.08, z: 0}
inSlope: {x: -18.257143, y: -143.99219, z: 0}
outSlope: {x: -23.45941, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.08613007, y: 0.09605692, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
path: sprite
m_ScaleCurves:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: {x: 0.7, y: 0.7, z: 1}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0, y: 0.33333334, z: 0.33333334}
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
path: sprite
m_FloatCurves:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 50
inSlope: Infinity
outSlope: Infinity
tangentMode: 103
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_SortingOrder
path: sprite
classID: 212
script: {fileID: 0}
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:
- serializedVersion: 2
path: 891129758
attribute: 1
script: {fileID: 0}
typeID: 4
customType: 0
isPPtrCurve: 0
- serializedVersion: 2
path: 891129758
attribute: 3762991556
script: {fileID: 0}
typeID: 212
customType: 26
isPPtrCurve: 0
- serializedVersion: 2
path: 891129758
attribute: 4
script: {fileID: 0}
typeID: 4
customType: 4
isPPtrCurve: 0
- serializedVersion: 2
path: 891129758
attribute: 3
script: {fileID: 0}
typeID: 4
customType: 0
isPPtrCurve: 0
pptrCurveMapping: []
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 0.16666667
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:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: -3.73
inSlope: 0
outSlope: -11.999998
tangentMode: 69
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.05
value: -4.33
inSlope: -11.999998
outSlope: -18.257143
tangentMode: 69
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.16666667
value: -6.46
inSlope: -18.257143
outSlope: -23.45941
tangentMode: 69
weightedMode: 0
inWeight: 0.08613007
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalPosition.x
path: sprite
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0.42
inSlope: -123.91813
outSlope: 45.159035
tangentMode: 1
weightedMode: 3
inWeight: 0.08273729
outWeight: 0.35629305
- serializedVersion: 3
time: 0.05
value: 1.38
inSlope: -1.2111319
outSlope: -1.2111319
tangentMode: 0
weightedMode: 3
inWeight: 0.19571029
outWeight: 0.42044392
- serializedVersion: 3
time: 0.16666667
value: -8.08
inSlope: -143.99219
outSlope: 0
tangentMode: 1
weightedMode: 0
inWeight: 0.09605692
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalPosition.y
path: sprite
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.05
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.16666667
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalPosition.z
path: sprite
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: localEulerAnglesRaw.x
path: sprite
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: localEulerAnglesRaw.y
path: sprite
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 340
inSlope: 485.7143
outSlope: 0
tangentMode: 69
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: localEulerAnglesRaw.z
path: sprite
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0.7
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalScale.x
path: sprite
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0.7
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalScale.y
path: sprite
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalScale.z
path: sprite
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 50
inSlope: Infinity
outSlope: Infinity
tangentMode: 103
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_SortingOrder
path: sprite
classID: 212
script: {fileID: 0}
m_EulerEditorCurves:
- curve:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalEulerAngles.x
path: sprite
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalEulerAngles.y
path: sprite
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalEulerAngles.z
path: sprite
classID: 4
script: {fileID: 0}
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_Events: []

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: dcd082601a589c343a09d31ab29cb584
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -64,10 +64,13 @@ AnimatorStateMachine:
m_ChildStates:
- serializedVersion: 1
m_State: {fileID: -5185346131729339914}
m_Position: {x: 480, y: 80, z: 0}
m_Position: {x: 480, y: 100, z: 0}
- serializedVersion: 1
m_State: {fileID: -7178081623028691855}
m_Position: {x: 480, y: 180, z: 0}
- serializedVersion: 1
m_State: {fileID: 4868830951529285805}
m_Position: {x: 480, y: 20, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
@ -106,6 +109,32 @@ AnimatorController:
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
--- !u!1102 &4868830951529285805
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: barely
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: dcd082601a589c343a09d31ab29cb584, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1101 &6898592529834081319
AnimatorStateTransition:
m_ObjectHideFlags: 1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 487 KiB

View file

@ -1,613 +0,0 @@
fileFormatVersion: 2
guid: 37c1b6cade18f924ca58149f19cd1f6c
TextureImporter:
internalIDToNameTable:
- first:
213: 6128299156075563123
second: sprites_0
- first:
213: 3386662938922423588
second: sprites_1
- first:
213: -6110656803992641779
second: sprites_2
- first:
213: 8553092956536608252
second: sprites_3
- first:
213: 6708733205153277002
second: sprites_4
- first:
213: 6813553822765877458
second: sprites_5
- first:
213: -5082647686934749709
second: sprites_6
- first:
213: -2423230811885516303
second: sprites_7
- first:
213: 1211998406744890917
second: sprites_8
- first:
213: 6155212226941906339
second: sprites_9
- first:
213: -2950032572879587788
second: sprites_10
- first:
213: -7263262467203474343
second: sprites_11
- first:
213: 7010617245534139418
second: sprites_12
- first:
213: -7039003182478323700
second: sprites_13
- first:
213: -5559150632450785296
second: sprites_14
- first:
213: -8987557684774062561
second: sprites_15
- first:
213: -6751597515445260605
second: sprites_16
- first:
213: 5182299067807867188
second: sprites_17
- first:
213: -2408033011751398356
second: sprites_18
- first:
213: -5717795354444781658
second: sprites_19
- first:
213: -1722539767903399326
second: sprites_20
externalObjects: {}
serializedVersion: 12
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
vTOnly: 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
cookieLightType: 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
spriteSheet:
serializedVersion: 2
sprites:
- serializedVersion: 2
name: sprites_0
rect:
serializedVersion: 2
x: 1449
y: 3439
width: 178
height: 283
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 378c5330d971c0550800000000000000
internalID: 6128299156075563123
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_1
rect:
serializedVersion: 2
x: 1885
y: 3405
width: 292
height: 496
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 4259378eff7dffe20800000000000000
internalID: 3386662938922423588
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_2
rect:
serializedVersion: 2
x: 2577
y: 3451
width: 500
height: 500
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: d0fd1bd2306923ba0800000000000000
internalID: -6110656803992641779
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_3
rect:
serializedVersion: 2
x: 3607
y: 3403
width: 344
height: 542
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: cf5924d4ab0b2b670800000000000000
internalID: 8553092956536608252
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_4
rect:
serializedVersion: 2
x: 395
y: 2873
width: 164
height: 180
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: a4467024e453a1d50800000000000000
internalID: 6708733205153277002
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_5
rect:
serializedVersion: 2
x: 837
y: 2947
width: 158
height: 254
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 2d807ff1a1b9e8e50800000000000000
internalID: 6813553822765877458
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_6
rect:
serializedVersion: 2
x: 1451
y: 2933
width: 176
height: 284
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 3fd1bc59bdec679b0800000000000000
internalID: -5082647686934749709
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_7
rect:
serializedVersion: 2
x: 2577
y: 2493
width: 500
height: 502
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 1f948c85a64fe5ed0800000000000000
internalID: -2423230811885516303
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_8
rect:
serializedVersion: 2
x: 3607
y: 2501
width: 344
height: 542
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 52e5e562122e1d010800000000000000
internalID: 1211998406744890917
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_9
rect:
serializedVersion: 2
x: 385
y: 2425
width: 186
height: 186
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 3ad6300a8e4bb6550800000000000000
internalID: 6155212226941906339
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_10
rect:
serializedVersion: 2
x: 829
y: 2435
width: 168
height: 252
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 4363ea141016f07d0800000000000000
internalID: -2950032572879587788
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_11
rect:
serializedVersion: 2
x: 1293
y: 2525
width: 270
height: 104
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 95cd8ebb445b33b90800000000000000
internalID: -7263262467203474343
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_12
rect:
serializedVersion: 2
x: 1885
y: 2453
width: 292
height: 494
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: a143a40bd37ba4160800000000000000
internalID: 7010617245534139418
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_13
rect:
serializedVersion: 2
x: 801
y: 1947
width: 258
height: 242
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: c00198756ef605e90800000000000000
internalID: -7039003182478323700
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_14
rect:
serializedVersion: 2
x: 1313
y: 1953
width: 184
height: 184
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 0fff1e314fde9d2b0800000000000000
internalID: -5559150632450785296
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_15
rect:
serializedVersion: 2
x: 2507
y: 1603
width: 532
height: 502
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: f16b5b067e7c54380800000000000000
internalID: -8987557684774062561
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_16
rect:
serializedVersion: 2
x: 3457
y: 1617
width: 446
height: 464
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 3cea979c4d18d42a0800000000000000
internalID: -6751597515445260605
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_17
rect:
serializedVersion: 2
x: 565
y: 957
width: 976
height: 652
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 431a6809b893be740800000000000000
internalID: 5182299067807867188
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_18
rect:
serializedVersion: 2
x: 1823
y: 1039
width: 284
height: 558
alignment: 9
pivot: {x: 0.5217285, y: 0.28422585}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: c24d42febb2f49ed0800000000000000
internalID: -2408033011751398356
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_19
rect:
serializedVersion: 2
x: 2561
y: 733
width: 530
height: 512
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 6a7a0f75b6f46a0b0800000000000000
internalID: -5717795354444781658
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_20
rect:
serializedVersion: 2
x: 3565
y: 853
width: 230
height: 230
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 26252ae153f4818e0800000000000000
internalID: -1722539767903399326
vertices: []
indices:
edges: []
weights: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 415 KiB

View file

@ -1,612 +0,0 @@
fileFormatVersion: 2
guid: 52a9d6226087749459e27b237cbb56aa
TextureImporter:
internalIDToNameTable:
- first:
213: 6128299156075563123
second: sprites_0
- first:
213: 3386662938922423588
second: sprites_1
- first:
213: -6110656803992641779
second: sprites_2
- first:
213: 8553092956536608252
second: sprites_3
- first:
213: 6708733205153277002
second: sprites_4
- first:
213: 6813553822765877458
second: sprites_5
- first:
213: -5082647686934749709
second: sprites_6
- first:
213: -2423230811885516303
second: sprites_7
- first:
213: 1211998406744890917
second: sprites_8
- first:
213: 6155212226941906339
second: sprites_9
- first:
213: -2950032572879587788
second: sprites_10
- first:
213: -7263262467203474343
second: sprites_11
- first:
213: 7010617245534139418
second: sprites_12
- first:
213: -7039003182478323700
second: sprites_13
- first:
213: -5559150632450785296
second: sprites_14
- first:
213: -8987557684774062561
second: sprites_15
- first:
213: -6751597515445260605
second: sprites_16
- first:
213: 5182299067807867188
second: sprites_17
- first:
213: -2408033011751398356
second: sprites_18
- first:
213: -5717795354444781658
second: sprites_19
- first:
213: -1722539767903399326
second: sprites_20
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
vTOnly: 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
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
spriteSheet:
serializedVersion: 2
sprites:
- serializedVersion: 2
name: sprites_0
rect:
serializedVersion: 2
x: 1449
y: 3439
width: 178
height: 283
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 378c5330d971c0550800000000000000
internalID: 6128299156075563123
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_1
rect:
serializedVersion: 2
x: 1885
y: 3405
width: 292
height: 496
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 4259378eff7dffe20800000000000000
internalID: 3386662938922423588
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_2
rect:
serializedVersion: 2
x: 2577
y: 3451
width: 500
height: 500
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: d0fd1bd2306923ba0800000000000000
internalID: -6110656803992641779
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_3
rect:
serializedVersion: 2
x: 3607
y: 3403
width: 344
height: 542
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: cf5924d4ab0b2b670800000000000000
internalID: 8553092956536608252
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_4
rect:
serializedVersion: 2
x: 395
y: 2873
width: 164
height: 180
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: a4467024e453a1d50800000000000000
internalID: 6708733205153277002
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_5
rect:
serializedVersion: 2
x: 837
y: 2947
width: 158
height: 254
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 2d807ff1a1b9e8e50800000000000000
internalID: 6813553822765877458
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_6
rect:
serializedVersion: 2
x: 1451
y: 2933
width: 176
height: 284
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 3fd1bc59bdec679b0800000000000000
internalID: -5082647686934749709
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_7
rect:
serializedVersion: 2
x: 2577
y: 2493
width: 500
height: 502
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 1f948c85a64fe5ed0800000000000000
internalID: -2423230811885516303
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_8
rect:
serializedVersion: 2
x: 3607
y: 2501
width: 344
height: 542
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 52e5e562122e1d010800000000000000
internalID: 1211998406744890917
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_9
rect:
serializedVersion: 2
x: 385
y: 2425
width: 186
height: 186
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 3ad6300a8e4bb6550800000000000000
internalID: 6155212226941906339
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_10
rect:
serializedVersion: 2
x: 829
y: 2435
width: 168
height: 252
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 4363ea141016f07d0800000000000000
internalID: -2950032572879587788
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_11
rect:
serializedVersion: 2
x: 1293
y: 2525
width: 270
height: 104
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 95cd8ebb445b33b90800000000000000
internalID: -7263262467203474343
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_12
rect:
serializedVersion: 2
x: 1885
y: 2453
width: 292
height: 494
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: a143a40bd37ba4160800000000000000
internalID: 7010617245534139418
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_13
rect:
serializedVersion: 2
x: 801
y: 1947
width: 258
height: 242
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: c00198756ef605e90800000000000000
internalID: -7039003182478323700
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_14
rect:
serializedVersion: 2
x: 1313
y: 1953
width: 184
height: 184
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 0fff1e314fde9d2b0800000000000000
internalID: -5559150632450785296
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_15
rect:
serializedVersion: 2
x: 2507
y: 1603
width: 532
height: 502
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: f16b5b067e7c54380800000000000000
internalID: -8987557684774062561
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_16
rect:
serializedVersion: 2
x: 3457
y: 1617
width: 446
height: 464
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 3cea979c4d18d42a0800000000000000
internalID: -6751597515445260605
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_17
rect:
serializedVersion: 2
x: 565
y: 957
width: 976
height: 652
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 431a6809b893be740800000000000000
internalID: 5182299067807867188
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_18
rect:
serializedVersion: 2
x: 1823
y: 1039
width: 284
height: 558
alignment: 9
pivot: {x: 0.5217285, y: 0.28422585}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: c24d42febb2f49ed0800000000000000
internalID: -2408033011751398356
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_19
rect:
serializedVersion: 2
x: 2561
y: 733
width: 530
height: 512
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 6a7a0f75b6f46a0b0800000000000000
internalID: -5717795354444781658
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: sprites_20
rect:
serializedVersion: 2
x: 3565
y: 853
width: 230
height: 230
alignment: 0
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 26252ae153f4818e0800000000000000
internalID: -1722539767903399326
vertices: []
indices:
edges: []
weights: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View file

@ -1,5 +1,4 @@
using DG.Tweening;
using NaughtyBezierCurves;
using HeavenStudio.Util;
using System;
using System.Collections.Generic;

View file

@ -17,6 +17,8 @@ namespace HeavenStudio.Games.Scripts_CatchyTune
public bool side;
public float barelyStart = 0f;
public bool smile;
private string soundText;
@ -73,8 +75,14 @@ namespace HeavenStudio.Games.Scripts_CatchyTune
// minenice: note - needs PlayerActionEvent implementation
private void Update()
{
anim.DoScaledAnimation("fruit bounce", startBeat, beatLength + (isPineapple ? 4f : 2f));
float normalizedBeat = Conductor.instance.GetPositionFromBeat(startBeat, beatLength);
if (barelyStart > 0f)
{
anim.DoScaledAnimation("barely", barelyStart, isPineapple ? 2f : 1f);
}
else
{
anim.DoScaledAnimation("fruit bounce", startBeat, beatLength + (isPineapple ? 4f : 2f));
}
}
public static void PlaySound(float startBeat, bool side, bool isPineapple)
@ -127,11 +135,31 @@ namespace HeavenStudio.Games.Scripts_CatchyTune
private void CatchFruit(PlayerActionEvent caller, float state)
{
//minenice: TODO - near misses (-1 > state > 1)
Jukebox.PlayOneShotGame(soundText + "Catch");
game.catchSuccess(side, isPineapple, smile, startBeat + beatLength);
Destroy(this.gameObject);
if (state < 0f || state > 1f)
{
//near miss (barely)
barelyStart = Conductor.instance.songPositionInBeats;
// near miss sound
Jukebox.PlayOneShotGame("catchyTune/barely");
// play near miss animation
anim.DoScaledAnimation("barely", barelyStart, isPineapple ? 2f : 1f);
BeatAction.New(gameObject, new List<BeatAction.Action>()
{
new BeatAction.Action(barelyStart + (isPineapple ? 2f : 1f), delegate { Destroy(this.gameObject); }),
});
}
else
{
Jukebox.PlayOneShotGame(soundText + "Catch");
game.catchSuccess(side, isPineapple, smile, startBeat + beatLength);
Destroy(this.gameObject);
}
}
private void Miss(PlayerActionEvent caller)

File diff suppressed because one or more lines are too long