diff --git a/Assets/Resources/Games/coinToss.prefab b/Assets/Resources/Games/coinToss.prefab index 240a57be..986773e7 100644 --- a/Assets/Resources/Games/coinToss.prefab +++ b/Assets/Resources/Games/coinToss.prefab @@ -25,7 +25,7 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1491714170662666650} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -2.15, y: 4.96, z: 0} + m_LocalPosition: {x: -4.3, y: 9.92, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 2083908003750235240} @@ -108,7 +108,7 @@ Transform: m_GameObject: {fileID: 4255918877615705356} m_LocalRotation: {x: -0, y: -0, z: -0.7071068, w: 0.7071068} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} + m_LocalScale: {x: 0.5, y: 0.5, z: 1} m_Children: [] m_Father: {fileID: 3170172331476655201} m_RootOrder: 0 @@ -189,7 +189,7 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 4297773475502933893} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -2.12, y: 0.9, z: 0} + m_LocalPosition: {x: -4.24, y: 1.8, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 2083908003750235240} @@ -272,7 +272,7 @@ Transform: m_GameObject: {fileID: 4499006981041317361} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: -4.520001, y: 0.78000045, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} + m_LocalScale: {x: 0.5, y: 0.5, z: 1} m_Children: - {fileID: 1615845594994777750} - {fileID: 7476450758015735169} @@ -439,7 +439,7 @@ Transform: m_GameObject: {fileID: 5008687997479124527} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 14.9296875, y: 8.525, z: 1} + m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 8906338938816874952} m_RootOrder: 1 @@ -484,7 +484,7 @@ SpriteRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: -9 - m_Sprite: {fileID: -2413806693520163455, guid: ebe73ca9363db456bacf42c025bb4847, type: 3} + m_Sprite: {fileID: 21300000, guid: 9c7b469fa013d7f4582d8c430ee498dd, type: 3} m_Color: {r: 1, g: 1, b: 0.514151, a: 1} m_FlipX: 0 m_FlipY: 0 @@ -520,7 +520,7 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 7629969691203504755} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -2.72, y: 1.83, z: 0} + m_LocalPosition: {x: -5.44, y: 3.66, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 2083908003750235240} diff --git a/Assets/Resources/Games/marchingOrders.prefab b/Assets/Resources/Games/marchingOrders.prefab index 8a22baa0..672415ca 100644 --- a/Assets/Resources/Games/marchingOrders.prefab +++ b/Assets/Resources/Games/marchingOrders.prefab @@ -235,7 +235,7 @@ SpriteRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: -999 - m_Sprite: {fileID: 21300000, guid: 65caaace2b6e39445ba0a38f6afbef38, type: 3} + m_Sprite: {fileID: 21300000, guid: 66a6cd5f73aca9e45b38ac0906e541d7, type: 3} m_Color: {r: 1, g: 1, b: 1, a: 0.5254902} m_FlipX: 0 m_FlipY: 0 @@ -528,7 +528,7 @@ Transform: - {fileID: 4516561034748738355} - {fileID: 4676267018483621227} m_Father: {fileID: 4161079182365989534} - m_RootOrder: 3 + m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!212 &4986707985294744365 SpriteRenderer: @@ -663,6 +663,88 @@ SpriteRenderer: m_WasSpriteAssigned: 1 m_MaskInteraction: 0 m_SpriteSortPoint: 0 +--- !u!1 &5059738567494280553 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6332392593325199207} + - component: {fileID: 2833412293318203545} + m_Layer: 0 + m_Name: reference2 (2) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &6332392593325199207 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5059738567494280553} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -6.655, y: 2.708, z: 0} + m_LocalScale: {x: 3.503, y: 3.503, z: 6.0980606} + m_Children: [] + m_Father: {fileID: 4161079182365989534} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &2833412293318203545 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5059738567494280553} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 20 + m_Sprite: {fileID: 21300000, guid: 4eff52c3bade25f46b3da49ef22e4817, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 0.5254902} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 5.12, y: 5.12} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 --- !u!1 &5863847991924868836 GameObject: m_ObjectHideFlags: 0 @@ -778,7 +860,7 @@ Transform: - {fileID: 7162401519775036327} - {fileID: 1064554344987815213} m_Father: {fileID: 4161079182365989534} - m_RootOrder: 4 + m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!212 &4811943280779304315 SpriteRenderer: @@ -1014,6 +1096,108 @@ SpriteRenderer: m_WasSpriteAssigned: 1 m_MaskInteraction: 0 m_SpriteSortPoint: 0 +--- !u!1 &7139543916502464203 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 91673019856855542} + - component: {fileID: 9031143884071479436} + - component: {fileID: 6480067077458975222} + m_Layer: 0 + m_Name: Steam + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &91673019856855542 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7139543916502464203} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -6.649, y: 2.213, z: 0} + m_LocalScale: {x: 1.04, y: 1.04, z: 1} + m_Children: [] + m_Father: {fileID: 4161079182365989534} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &9031143884071479436 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7139543916502464203} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 10 + m_Sprite: {fileID: 3985574290512269123, guid: 07a712fc3a8592248b24d4108837306c, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 1, y: 1} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!95 &6480067077458975222 +Animator: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7139543916502464203} + m_Enabled: 1 + m_Avatar: {fileID: 0} + m_Controller: {fileID: 9100000, guid: 7aee00e9bf0eca4419dae9a2b1c6a76a, type: 2} + m_CullingMode: 0 + m_UpdateMode: 0 + m_ApplyRootMotion: 0 + m_LinearVelocityBlending: 0 + m_WarningMessage: + m_HasTransformHierarchy: 1 + m_AllowConstantClipSamplingOptimization: 1 + m_KeepAnimatorControllerStateOnDisable: 0 --- !u!1 &7465949559389362926 GameObject: m_ObjectHideFlags: 0 @@ -1209,8 +1393,10 @@ Transform: - {fileID: 1645939037775820338} - {fileID: 753652905386637204} - {fileID: 4777331550290145985} + - {fileID: 6332392593325199207} - {fileID: 1558448215581441312} - {fileID: 708937727427539446} + - {fileID: 91673019856855542} - {fileID: 621557526845520064} - {fileID: 1822172518577804911} - {fileID: 1638447572751535848} @@ -1234,6 +1420,7 @@ MonoBehaviour: scheduledInputs: [] firstEnable: 0 Sarge: {fileID: 2588778952987738506} + Steam: {fileID: 6480067077458975222} Cadet1: {fileID: 2005447675422110731} Cadet2: {fileID: 737841632799169188} Cadet3: {fileID: 416600750635270691} @@ -1362,7 +1549,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 308962927016676861, guid: 263eb1d1933d9544a8db7c1844e53bb6, type: 3} propertyPath: m_RootOrder - value: 5 + value: 7 objectReference: {fileID: 0} - target: {fileID: 308962927016676861, guid: 263eb1d1933d9544a8db7c1844e53bb6, type: 3} propertyPath: m_LocalPosition.x @@ -1646,7 +1833,7 @@ PrefabInstance: m_Modifications: - target: {fileID: 308962927016676861, guid: 263eb1d1933d9544a8db7c1844e53bb6, type: 3} propertyPath: m_RootOrder - value: 7 + value: 9 objectReference: {fileID: 0} - target: {fileID: 308962927016676861, guid: 263eb1d1933d9544a8db7c1844e53bb6, type: 3} propertyPath: m_LocalPosition.x @@ -1722,7 +1909,7 @@ PrefabInstance: m_Modifications: - target: {fileID: 308962927016676861, guid: 263eb1d1933d9544a8db7c1844e53bb6, type: 3} propertyPath: m_RootOrder - value: 6 + value: 8 objectReference: {fileID: 0} - target: {fileID: 308962927016676861, guid: 263eb1d1933d9544a8db7c1844e53bb6, type: 3} propertyPath: m_LocalPosition.x @@ -1798,7 +1985,7 @@ PrefabInstance: m_Modifications: - target: {fileID: 308962927016676861, guid: 263eb1d1933d9544a8db7c1844e53bb6, type: 3} propertyPath: m_RootOrder - value: 8 + value: 10 objectReference: {fileID: 0} - target: {fileID: 308962927016676861, guid: 263eb1d1933d9544a8db7c1844e53bb6, type: 3} propertyPath: m_LocalPosition.x diff --git a/Assets/Resources/Sfx/games/coinToss/cowbell1.wav.meta b/Assets/Resources/Sfx/games/coinToss/cowbell1.wav.meta new file mode 100644 index 00000000..52203cb3 --- /dev/null +++ b/Assets/Resources/Sfx/games/coinToss/cowbell1.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 2117b13e395760e45884a5ea5e8b731b +AudioImporter: + externalObjects: {} + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Sfx/games/coinToss/cowbell2.wav.meta b/Assets/Resources/Sfx/games/coinToss/cowbell2.wav.meta new file mode 100644 index 00000000..a8e245c4 --- /dev/null +++ b/Assets/Resources/Sfx/games/coinToss/cowbell2.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 852b8ee6cf40b884d8f384f8891367c1 +AudioImporter: + externalObjects: {} + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Sprites/Games/CoinToss/Animations/Catch_empty.anim b/Assets/Resources/Sprites/Games/CoinToss/Animations/Catch_empty.anim index c3bbd42c..3e86aee5 100644 --- a/Assets/Resources/Sprites/Games/CoinToss/Animations/Catch_empty.anim +++ b/Assets/Resources/Sprites/Games/CoinToss/Animations/Catch_empty.anim @@ -21,7 +21,7 @@ AnimationClip: - serializedVersion: 3 time: 0 value: {x: -4.52, y: 0.67, z: 0} - inSlope: {x: 0, y: Infinity, z: 0} + inSlope: {x: Infinity, y: Infinity, z: Infinity} outSlope: {x: 0, y: Infinity, z: 0} tangentMode: 0 weightedMode: 0 @@ -30,7 +30,7 @@ AnimationClip: - serializedVersion: 3 time: 0.1 value: {x: -4.52, y: 0.82, z: 0} - inSlope: {x: 0, y: 0.40000042, z: 0} + inSlope: {x: Infinity, y: Infinity, z: Infinity} outSlope: {x: 0, y: 0.40000042, z: 0} tangentMode: 0 weightedMode: 0 @@ -46,7 +46,7 @@ AnimationClip: - serializedVersion: 3 time: 0 value: {x: 0, y: -0.14, z: 0} - inSlope: {x: 0, y: Infinity, z: 0} + inSlope: {x: Infinity, y: Infinity, z: Infinity} outSlope: {x: 0, y: Infinity, z: 0} tangentMode: 0 weightedMode: 0 @@ -55,7 +55,7 @@ AnimationClip: - serializedVersion: 3 time: 0.1 value: {x: 0, y: 0, z: 0} - inSlope: {x: 0, y: 0, z: 0} + inSlope: {x: Infinity, y: Infinity, z: Infinity} outSlope: {x: 0, y: 0, z: 0} tangentMode: 0 weightedMode: 0 @@ -158,18 +158,18 @@ AnimationClip: - serializedVersion: 3 time: 0 value: -4.52 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 - serializedVersion: 3 time: 0.1 value: -4.52 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 @@ -188,16 +188,16 @@ AnimationClip: value: 0.67 inSlope: Infinity outSlope: Infinity - tangentMode: 0 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0 - serializedVersion: 3 time: 0.1 value: 0.82 - inSlope: 0.40000042 + inSlope: Infinity outSlope: 0.40000042 - tangentMode: 0 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 @@ -214,18 +214,18 @@ AnimationClip: - serializedVersion: 3 time: 0 value: 0 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 - serializedVersion: 3 time: 0.1 value: 0 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 @@ -242,18 +242,18 @@ AnimationClip: - serializedVersion: 3 time: 0 value: 0 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 - serializedVersion: 3 time: 0.1 value: 0 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 @@ -272,16 +272,16 @@ AnimationClip: value: -0.14 inSlope: Infinity outSlope: Infinity - tangentMode: 0 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0 - serializedVersion: 3 time: 0.1 value: 0 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 @@ -298,18 +298,18 @@ AnimationClip: - serializedVersion: 3 time: 0 value: 0 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 - serializedVersion: 3 time: 0.1 value: 0 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 diff --git a/Assets/Resources/Sprites/Games/CoinToss/Animations/Catch_success.anim b/Assets/Resources/Sprites/Games/CoinToss/Animations/Catch_success.anim index b0125f4a..5f1f7cd7 100644 --- a/Assets/Resources/Sprites/Games/CoinToss/Animations/Catch_success.anim +++ b/Assets/Resources/Sprites/Games/CoinToss/Animations/Catch_success.anim @@ -47,7 +47,7 @@ AnimationClip: outWeight: {x: 0.33333334, y: 0, z: 0.33333334} - serializedVersion: 3 time: 0.35 - value: {x: -4.52, y: 0.914, z: 0} + value: {x: -4.52, y: 0.894, z: 0} inSlope: {x: 0, y: Infinity, z: 0} outSlope: {x: 0, y: Infinity, z: 0} tangentMode: 0 @@ -363,7 +363,7 @@ AnimationClip: outWeight: 0 - serializedVersion: 3 time: 0.35 - value: 0.914 + value: 0.894 inSlope: Infinity outSlope: Infinity tangentMode: 0 diff --git a/Assets/Resources/Sprites/Games/CoinToss/Animations/Pickup.anim b/Assets/Resources/Sprites/Games/CoinToss/Animations/Pickup.anim index d87642ef..2d885fb0 100644 --- a/Assets/Resources/Sprites/Games/CoinToss/Animations/Pickup.anim +++ b/Assets/Resources/Sprites/Games/CoinToss/Animations/Pickup.anim @@ -63,7 +63,7 @@ AnimationClip: m_Curve: - serializedVersion: 3 time: 0 - value: {x: -2.2, y: 0.93, z: 0} + value: {x: -4.24, y: 1.8, z: 0} inSlope: {x: 0, y: 0, z: 0} outSlope: {x: 0, y: 0, z: 0} tangentMode: 0 @@ -72,7 +72,7 @@ AnimationClip: outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - serializedVersion: 3 time: 0.41666666 - value: {x: -6.02, y: 3.07, z: 0} + value: {x: -12.04, y: 6.14, z: 0} inSlope: {x: 0, y: 0, z: 0} outSlope: {x: 0, y: 0, z: 0} tangentMode: 0 @@ -81,7 +81,7 @@ AnimationClip: outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - serializedVersion: 3 time: 0.46666667 - value: {x: -2.04, y: 0.94, z: 0} + value: {x: -4.24, y: 1.8, z: 0} inSlope: {x: 0, y: 0, z: 0} outSlope: {x: 0, y: 0, z: 0} tangentMode: 0 @@ -658,7 +658,7 @@ AnimationClip: m_Curve: - serializedVersion: 3 time: 0 - value: -2.2 + value: -4.24 inSlope: 0 outSlope: 0 tangentMode: 136 @@ -667,7 +667,7 @@ AnimationClip: outWeight: 0.33333334 - serializedVersion: 3 time: 0.41666666 - value: -6.02 + value: -12.04 inSlope: 0 outSlope: 0 tangentMode: 136 @@ -676,7 +676,7 @@ AnimationClip: outWeight: 0.33333334 - serializedVersion: 3 time: 0.46666667 - value: -2.04 + value: -4.24 inSlope: 0 outSlope: 0 tangentMode: 136 @@ -695,7 +695,7 @@ AnimationClip: m_Curve: - serializedVersion: 3 time: 0 - value: 0.93 + value: 1.8 inSlope: 0 outSlope: 0 tangentMode: 136 @@ -704,7 +704,7 @@ AnimationClip: outWeight: 0.33333334 - serializedVersion: 3 time: 0.41666666 - value: 3.07 + value: 6.14 inSlope: 0 outSlope: 0 tangentMode: 136 @@ -713,7 +713,7 @@ AnimationClip: outWeight: 0.33333334 - serializedVersion: 3 time: 0.46666667 - value: 0.94 + value: 1.8 inSlope: 0 outSlope: 0 tangentMode: 136 diff --git a/Assets/Resources/Sprites/Games/CoinToss/Animations/Throw.anim b/Assets/Resources/Sprites/Games/CoinToss/Animations/Throw.anim index c4c31372..d00f9048 100644 --- a/Assets/Resources/Sprites/Games/CoinToss/Animations/Throw.anim +++ b/Assets/Resources/Sprites/Games/CoinToss/Animations/Throw.anim @@ -21,7 +21,7 @@ AnimationClip: - serializedVersion: 3 time: 0 value: {x: -4.52, y: 1.57, z: 0} - inSlope: {x: 0, y: 0, z: 0} + inSlope: {x: Infinity, y: Infinity, z: Infinity} outSlope: {x: 0, y: 0, z: 0} tangentMode: 0 weightedMode: 0 @@ -30,7 +30,7 @@ AnimationClip: - serializedVersion: 3 time: 0.083333336 value: {x: -4.52, y: 1.55, z: 0} - inSlope: {x: 0, y: 0, z: 0} + inSlope: {x: Infinity, y: Infinity, z: Infinity} outSlope: {x: 0, y: 0, z: 0} tangentMode: 0 weightedMode: 0 @@ -46,7 +46,7 @@ AnimationClip: - serializedVersion: 3 time: 0 value: {x: 0, y: 0.47, z: 0} - inSlope: {x: 0, y: 0, z: 0} + inSlope: {x: Infinity, y: Infinity, z: Infinity} outSlope: {x: 0, y: 0, z: 0} tangentMode: 0 weightedMode: 0 @@ -55,7 +55,7 @@ AnimationClip: - serializedVersion: 3 time: 0.083333336 value: {x: 0, y: 0.3, z: 0} - inSlope: {x: 0, y: 0, z: 0} + inSlope: {x: Infinity, y: Infinity, z: Infinity} outSlope: {x: 0, y: 0, z: 0} tangentMode: 0 weightedMode: 0 @@ -196,18 +196,18 @@ AnimationClip: - serializedVersion: 3 time: 0 value: -4.52 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 - serializedVersion: 3 time: 0.083333336 value: -4.52 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 @@ -224,18 +224,18 @@ AnimationClip: - serializedVersion: 3 time: 0 value: 1.57 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 - serializedVersion: 3 time: 0.083333336 value: 1.55 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 @@ -252,18 +252,18 @@ AnimationClip: - serializedVersion: 3 time: 0 value: 0 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 - serializedVersion: 3 time: 0.083333336 value: 0 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 @@ -280,18 +280,18 @@ AnimationClip: - serializedVersion: 3 time: 0 value: 0 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 - serializedVersion: 3 time: 0.083333336 value: 0 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 @@ -308,18 +308,18 @@ AnimationClip: - serializedVersion: 3 time: 0 value: 0.47 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 - serializedVersion: 3 time: 0.083333336 value: 0.3 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 @@ -336,18 +336,18 @@ AnimationClip: - serializedVersion: 3 time: 0 value: 0 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 - serializedVersion: 3 time: 0.083333336 value: 0 - inSlope: 0 + inSlope: Infinity outSlope: 0 - tangentMode: 136 + tangentMode: 7 weightedMode: 0 inWeight: 0.33333334 outWeight: 0.33333334 diff --git a/Assets/Resources/Sprites/Games/CoinToss/foreground.png.meta b/Assets/Resources/Sprites/Games/CoinToss/foreground.png.meta new file mode 100644 index 00000000..3f21b050 --- /dev/null +++ b/Assets/Resources/Sprites/Games/CoinToss/foreground.png.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: 9c7b469fa013d7f4582d8c430ee498dd +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + 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: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + 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 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Sprites/Games/CoinToss/sprsh_cointoss.png.meta b/Assets/Resources/Sprites/Games/CoinToss/sprsh_cointoss.png.meta index 919343fa..823ee35e 100644 --- a/Assets/Resources/Sprites/Games/CoinToss/sprsh_cointoss.png.meta +++ b/Assets/Resources/Sprites/Games/CoinToss/sprsh_cointoss.png.meta @@ -104,10 +104,10 @@ TextureImporter: platformSettings: - serializedVersion: 3 buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 + maxTextureSize: 4096 resizeAlgorithm: 0 textureFormat: -1 - textureCompression: 1 + textureCompression: 2 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 @@ -116,10 +116,22 @@ TextureImporter: forceMaximumCompressionQuality_BC6H_BC7: 0 - serializedVersion: 3 buildTarget: Standalone - maxTextureSize: 2048 + maxTextureSize: 4096 resizeAlgorithm: 0 textureFormat: -1 - textureCompression: 1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 4096 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 @@ -134,9 +146,9 @@ TextureImporter: rect: serializedVersion: 2 x: 0 - y: 1700 - width: 668 - height: 344 + y: 3400 + width: 1336 + height: 688 alignment: 0 pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} @@ -155,9 +167,9 @@ TextureImporter: rect: serializedVersion: 2 x: 0 - y: 1284 - width: 664 - height: 406 + y: 2568 + width: 1328 + height: 812 alignment: 0 pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} @@ -176,9 +188,9 @@ TextureImporter: rect: serializedVersion: 2 x: 0 - y: 836 - width: 666 - height: 438 + y: 1672 + width: 1332 + height: 876 alignment: 0 pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} @@ -197,9 +209,9 @@ TextureImporter: rect: serializedVersion: 2 x: 0 - y: 390 - width: 668 - height: 438 + y: 780 + width: 1336 + height: 876 alignment: 0 pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} @@ -218,9 +230,9 @@ TextureImporter: rect: serializedVersion: 2 x: 0 - y: 70 - width: 860 - height: 310 + y: 140 + width: 1720 + height: 620 alignment: 0 pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} @@ -238,10 +250,10 @@ TextureImporter: name: sprsh_cointoss_closed_90 rect: serializedVersion: 2 - x: 676 - y: 1668 - width: 726 - height: 380 + x: 1352 + y: 3336 + width: 1452 + height: 752 alignment: 0 pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} @@ -259,10 +271,10 @@ TextureImporter: name: sprsh_cointoss_closed_45 rect: serializedVersion: 2 - x: 676 - y: 1286 - width: 728 - height: 374 + x: 1352 + y: 2572 + width: 1456 + height: 748 alignment: 0 pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} @@ -280,10 +292,10 @@ TextureImporter: name: sprsh_cointoss_closed_01 rect: serializedVersion: 2 - x: 676 - y: 900 - width: 728 - height: 376 + x: 1352 + y: 1800 + width: 1456 + height: 752 alignment: 0 pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} @@ -301,10 +313,10 @@ TextureImporter: name: sprsh_cointoss_closed_02 rect: serializedVersion: 2 - x: 676 - y: 486 - width: 728 - height: 404 + x: 1352 + y: 972 + width: 1456 + height: 808 alignment: 0 pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} @@ -322,10 +334,10 @@ TextureImporter: name: sprsh_cointoss_whoosh rect: serializedVersion: 2 - x: 1412 - y: 1092 - width: 184 - height: 920 + x: 2824 + y: 2184 + width: 368 + height: 1840 alignment: 0 pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} @@ -343,10 +355,10 @@ TextureImporter: name: sprsh_cointoss_sleeve rect: serializedVersion: 2 - x: 1606 - y: 1350 - width: 344 - height: 566 + x: 3212 + y: 2700 + width: 688 + height: 1132 alignment: 0 pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} @@ -364,10 +376,10 @@ TextureImporter: name: sprsh_cointoss_45 rect: serializedVersion: 2 - x: 1829 - y: 1094 - width: 215 - height: 212 + x: 3658 + y: 2188 + width: 430 + height: 424 alignment: 0 pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} @@ -385,10 +397,10 @@ TextureImporter: name: sprsh_cointoss_shockwave rect: serializedVersion: 2 - x: 1604 - y: 1092 - width: 216 - height: 216 + x: 3208 + y: 2184 + width: 432 + height: 432 alignment: 0 pivot: {x: 0.5, y: 0.5} border: {x: 0, y: 0, z: 0, w: 0} diff --git a/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam.meta b/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam.meta new file mode 100644 index 00000000..1b30c1ae --- /dev/null +++ b/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: fcda99ce222d03c4eba785e45e26d7dc +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam/Idle.anim b/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam/Idle.anim new file mode 100644 index 00000000..cbf2c158 --- /dev/null +++ b/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam/Idle.anim @@ -0,0 +1,229 @@ +%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: Idle + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: {x: -6.649, y: 2.213, z: 0} + 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} + - serializedVersion: 3 + time: 0.016666668 + value: {x: -6.649, y: 2.213, z: 0} + 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: + m_ScaleCurves: [] + m_FloatCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: Infinity + outSlope: Infinity + tangentMode: 103 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_Enabled + path: + classID: 212 + script: {fileID: 0} + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 3985574290512269123, guid: 07a712fc3a8592248b24d4108837306c, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 3305885265 + script: {fileID: 0} + typeID: 212 + customType: 0 + isPPtrCurve: 0 + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + - serializedVersion: 2 + path: 0 + attribute: 1 + script: {fileID: 0} + typeID: 4 + customType: 0 + isPPtrCurve: 0 + pptrCurveMapping: + - {fileID: 3985574290512269123, guid: 07a712fc3a8592248b24d4108837306c, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.016666668 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 0 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: Infinity + outSlope: Infinity + tangentMode: 103 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_Enabled + path: + classID: 212 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: -6.649 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.016666668 + value: -6.649 + 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.x + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 2.213 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.016666668 + value: 2.213 + 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.y + path: + 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.016666668 + 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: + classID: 4 + script: {fileID: 0} + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 1 + m_HasMotionFloatCurves: 0 + m_Events: [] diff --git a/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam/Idle.anim.meta b/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam/Idle.anim.meta new file mode 100644 index 00000000..d56a6a24 --- /dev/null +++ b/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam/Idle.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 692b6d19577c2714498bd21dcdfe2776 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam/Steam.anim b/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam/Steam.anim new file mode 100644 index 00000000..a5b11ebf --- /dev/null +++ b/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam/Steam.anim @@ -0,0 +1,406 @@ +%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: Steam + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: {x: -6.649, y: 2.213, z: 0} + inSlope: {x: Infinity, y: Infinity, z: Infinity} + 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} + - serializedVersion: 3 + time: 0.06666667 + value: {x: -6.656, y: 2.863, z: 0} + inSlope: {x: Infinity, y: Infinity, z: Infinity} + outSlope: {x: -0.18666585, y: 5.466671, z: 0} + tangentMode: 0 + weightedMode: 0 + inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + - serializedVersion: 3 + time: 0.15 + value: {x: -6.757, y: 3.068, z: 0} + inSlope: {x: Infinity, y: Infinity, z: Infinity} + outSlope: {x: 0, y: 3.3400009, z: 0} + tangentMode: 0 + weightedMode: 0 + inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + - serializedVersion: 3 + time: 0.21666667 + value: {x: -6.731, y: 3.364, z: 0} + inSlope: {x: Infinity, y: Infinity, z: Infinity} + outSlope: {x: 0, y: 0.119998395, z: 0} + tangentMode: 0 + weightedMode: 0 + inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + - serializedVersion: 3 + time: 0.28333333 + value: {x: -6.759, y: 3.368, z: 0} + inSlope: {x: Infinity, y: Infinity, z: Infinity} + 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} + - serializedVersion: 3 + time: 0.35 + value: {x: -6.759, y: 3.368, z: 0} + inSlope: {x: Infinity, y: Infinity, z: Infinity} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + weightedMode: 0 + inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + path: + m_ScaleCurves: [] + m_FloatCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: Infinity + outSlope: Infinity + tangentMode: 103 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 0.41666666 + value: 0 + inSlope: Infinity + outSlope: Infinity + tangentMode: 103 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_Enabled + path: + classID: 212 + script: {fileID: 0} + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 3985574290512269123, guid: 07a712fc3a8592248b24d4108837306c, type: 3} + - time: 0.06666667 + value: {fileID: -7450664065186068322, guid: 07a712fc3a8592248b24d4108837306c, type: 3} + - time: 0.15 + value: {fileID: -6100978567398645689, guid: 07a712fc3a8592248b24d4108837306c, type: 3} + - time: 0.21666667 + value: {fileID: -1273389638560768366, guid: 07a712fc3a8592248b24d4108837306c, type: 3} + - time: 0.28333333 + value: {fileID: -6046280397901565423, guid: 07a712fc3a8592248b24d4108837306c, type: 3} + - time: 0.35 + value: {fileID: -5150969206053543869, guid: 07a712fc3a8592248b24d4108837306c, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 1 + script: {fileID: 0} + typeID: 4 + customType: 0 + isPPtrCurve: 0 + - serializedVersion: 2 + path: 0 + attribute: 3305885265 + script: {fileID: 0} + typeID: 212 + customType: 0 + isPPtrCurve: 0 + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: 3985574290512269123, guid: 07a712fc3a8592248b24d4108837306c, type: 3} + - {fileID: -7450664065186068322, guid: 07a712fc3a8592248b24d4108837306c, type: 3} + - {fileID: -6100978567398645689, guid: 07a712fc3a8592248b24d4108837306c, type: 3} + - {fileID: -1273389638560768366, guid: 07a712fc3a8592248b24d4108837306c, type: 3} + - {fileID: -6046280397901565423, guid: 07a712fc3a8592248b24d4108837306c, type: 3} + - {fileID: -5150969206053543869, guid: 07a712fc3a8592248b24d4108837306c, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.41666666 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 0 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: -6.649 + inSlope: Infinity + outSlope: 0 + tangentMode: 7 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.06666667 + value: -6.656 + inSlope: Infinity + outSlope: -0.18666585 + tangentMode: 7 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.15 + value: -6.757 + inSlope: Infinity + outSlope: 0 + tangentMode: 7 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.21666667 + value: -6.731 + inSlope: Infinity + outSlope: 0 + tangentMode: 7 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.28333333 + value: -6.759 + inSlope: Infinity + outSlope: 0 + tangentMode: 7 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.35 + value: -6.759 + inSlope: Infinity + outSlope: 0 + tangentMode: 7 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalPosition.x + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 2.213 + inSlope: Infinity + outSlope: 0 + tangentMode: 7 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.06666667 + value: 2.863 + inSlope: Infinity + outSlope: 5.466671 + tangentMode: 7 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.15 + value: 3.068 + inSlope: Infinity + outSlope: 3.3400009 + tangentMode: 7 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.21666667 + value: 3.364 + inSlope: Infinity + outSlope: 0.119998395 + tangentMode: 7 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.28333333 + value: 3.368 + inSlope: Infinity + outSlope: 0 + tangentMode: 7 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.35 + value: 3.368 + inSlope: Infinity + outSlope: 0 + tangentMode: 7 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalPosition.y + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: Infinity + outSlope: 0 + tangentMode: 7 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.06666667 + value: 0 + inSlope: Infinity + outSlope: 0 + tangentMode: 7 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.15 + value: 0 + inSlope: Infinity + outSlope: 0 + tangentMode: 7 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.21666667 + value: 0 + inSlope: Infinity + outSlope: 0 + tangentMode: 7 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.28333333 + value: 0 + inSlope: Infinity + outSlope: 0 + tangentMode: 7 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.35 + value: 0 + inSlope: Infinity + outSlope: 0 + tangentMode: 7 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalPosition.z + path: + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: Infinity + outSlope: Infinity + tangentMode: 103 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 0.41666666 + value: 0 + inSlope: Infinity + outSlope: Infinity + tangentMode: 103 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_Enabled + path: + classID: 212 + script: {fileID: 0} + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 1 + m_HasMotionFloatCurves: 0 + m_Events: [] diff --git a/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam/Steam.anim.meta b/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam/Steam.anim.meta new file mode 100644 index 00000000..72f03980 --- /dev/null +++ b/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam/Steam.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0015e90a3e314f145b11c673d755bf51 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam/Steam.controller b/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam/Steam.controller new file mode 100644 index 00000000..c831db6f --- /dev/null +++ b/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam/Steam.controller @@ -0,0 +1,101 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1107 &-8041731916121943597 +AnimatorStateMachine: + serializedVersion: 6 + 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: -3024053408390803} + m_Position: {x: 200, y: 0, z: 0} + - serializedVersion: 1 + m_State: {fileID: 3434218998417727579} + m_Position: {x: 235, y: 65, 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: -3024053408390803} +--- !u!1102 &-3024053408390803 +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Idle + 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: 692b6d19577c2714498bd21dcdfe2776, 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: Steam + serializedVersion: 5 + m_AnimatorParameters: [] + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: -8041731916121943597} + m_Mask: {fileID: 0} + m_Motions: [] + m_Behaviours: [] + m_BlendingMode: 0 + m_SyncedLayerIndex: -1 + m_DefaultWeight: 0 + m_IKPass: 0 + m_SyncedLayerAffectsTiming: 0 + m_Controller: {fileID: 9100000} +--- !u!1102 &3434218998417727579 +AnimatorState: + serializedVersion: 6 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Steam + 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: 0015e90a3e314f145b11c673d755bf51, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: diff --git a/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam/Steam.controller.meta b/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam/Steam.controller.meta new file mode 100644 index 00000000..9009d35d --- /dev/null +++ b/Assets/Resources/Sprites/Games/MarchingOrders/Animations/Steam/Steam.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7aee00e9bf0eca4419dae9a2b1c6a76a +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 9100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Sprites/Games/MarchingOrders/References/allreferences.pdn b/Assets/Resources/Sprites/Games/MarchingOrders/References/allreferences.pdn new file mode 100644 index 00000000..9825ac6f Binary files /dev/null and b/Assets/Resources/Sprites/Games/MarchingOrders/References/allreferences.pdn differ diff --git a/Assets/Resources/Sprites/Games/MarchingOrders/References/allreferences.pdn.meta b/Assets/Resources/Sprites/Games/MarchingOrders/References/allreferences.pdn.meta new file mode 100644 index 00000000..52bec390 --- /dev/null +++ b/Assets/Resources/Sprites/Games/MarchingOrders/References/allreferences.pdn.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 7d385b172ddc26442beb37f7c617c850 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Sprites/Games/MarchingOrders/References/reference3.png.meta b/Assets/Resources/Sprites/Games/MarchingOrders/References/reference3.png.meta new file mode 100644 index 00000000..bfbc718a --- /dev/null +++ b/Assets/Resources/Sprites/Games/MarchingOrders/References/reference3.png.meta @@ -0,0 +1,96 @@ +fileFormatVersion: 2 +guid: 66a6cd5f73aca9e45b38ac0906e541d7 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + 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: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + 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 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Games/CoinToss/CoinToss.cs b/Assets/Scripts/Games/CoinToss/CoinToss.cs index b788d59b..d3b45b90 100644 --- a/Assets/Scripts/Games/CoinToss/CoinToss.cs +++ b/Assets/Scripts/Games/CoinToss/CoinToss.cs @@ -16,10 +16,11 @@ namespace HeavenStudio.Games.Loaders { new GameAction("toss", "Toss Coin") { - function = delegate { CoinToss.instance.TossCoin(eventCaller.currentEntity.beat, eventCaller.currentEntity["toggle"]); }, + function = delegate { CoinToss.instance.TossCoin(eventCaller.currentEntity.beat, eventCaller.currentEntity["type"], eventCaller.currentEntity["toggle"]); }, defaultLength = 7, parameters = new List() { + new Param("type", CoinToss.CoinVariation.Default, "Variation", "Special Coin Variations"), new Param("toggle", false, "Audience Reaction", "Enable Audience Reaction"), } }, @@ -130,6 +131,12 @@ namespace HeavenStudio.Games public PlayerActionEvent coin; + public enum CoinVariation + { + Default, + Cowbell, + } + private void Awake() { instance = this; @@ -148,7 +155,7 @@ namespace HeavenStudio.Games //nothing } - public void TossCoin(float beat, bool audienceReacting) + public void TossCoin(float beat, int type, bool audienceReacting) { if (coin != null) return; @@ -158,6 +165,24 @@ namespace HeavenStudio.Games //Game state says the hand is throwing the coin isThrowing = true; + switch (type) + { + case (int) CoinToss.CoinVariation.Cowbell: + //this was intentional. it was to avoid the throw and cowbells to go offbeat. + Jukebox.PlayOneShotGame("coinToss/cowbell1"); + MultiSound.Play(new MultiSound.Sound[] { + new MultiSound.Sound("coinToss/cowbell2", beat + 1f, offset: 0.01f), + new MultiSound.Sound("coinToss/cowbell1", beat + 2f, offset: 0.01f), + new MultiSound.Sound("coinToss/cowbell2", beat + 3f, offset: 0.01f), + new MultiSound.Sound("coinToss/cowbell1", beat + 4f, offset: 0.01f), + new MultiSound.Sound("coinToss/cowbell2", beat + 5f, offset: 0.01f), + new MultiSound.Sound("coinToss/cowbell1", beat + 6f, offset: 0.01f), + }); + break; + default: + break; + } + this.audienceReacting = audienceReacting; coin = ScheduleInput(beat, 6f, InputType.STANDARD_DOWN, CatchSuccess, CatchMiss, CatchEmpty); diff --git a/Assets/Scripts/Games/MarchingOrders/Cadet.cs b/Assets/Scripts/Games/MarchingOrders/Cadet.cs new file mode 100644 index 00000000..ee6b38b3 --- /dev/null +++ b/Assets/Scripts/Games/MarchingOrders/Cadet.cs @@ -0,0 +1,25 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +using HeavenStudio.Util; + +namespace HeavenStudio.Games.Scripts_MarchingOrders +{ + public class Cadet : PlayerActionObject + { + public bool isSparkler; + + // Start is called before the first frame update + void Awake() + { + + } + + // Update is called once per frame + void Update() + { + + } + } +} diff --git a/Assets/Scripts/Games/MarchingOrders/Cadet.cs.meta b/Assets/Scripts/Games/MarchingOrders/Cadet.cs.meta new file mode 100644 index 00000000..78500544 --- /dev/null +++ b/Assets/Scripts/Games/MarchingOrders/Cadet.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4579598a91810594cbcd80bff4a2a033 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Games/MarchingOrders/MarchingOrders.cs b/Assets/Scripts/Games/MarchingOrders/MarchingOrders.cs index 38551822..bd4d177e 100644 --- a/Assets/Scripts/Games/MarchingOrders/MarchingOrders.cs +++ b/Assets/Scripts/Games/MarchingOrders/MarchingOrders.cs @@ -25,45 +25,45 @@ namespace HeavenStudio.Games.Loaders return new Minigame("marchingOrders", "Marching Orders \n[WIP]", "00A43B", false, false, new List() { new GameAction("bop", "Bop") - { - function = delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.Bop(e.beat, e.length); }, + { + function = delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.Bop(e.beat, e.length); }, defaultLength = 1f, - resizable = true - }, - - new GameAction("marching", "Cadets March") - { - function = delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.CadetsMarch(e.beat, e.length); }, + resizable = true + }, + + new GameAction("marching", "Cadets March") + { + function = delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.CadetsMarch(e.beat, e.length); }, defaultLength = 4f, - resizable = true - }, + resizable = true + }, new GameAction("attention", "Attention...") - { - function = delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.SargeAttention(e.beat); }, - defaultLength = 2.25f, - inactiveFunction = delegate { var e = eventCaller.currentEntity; MarchingOrders.AttentionSound(e.beat);} + { + function = delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.SargeAttention(e.beat); }, + defaultLength = 2.25f, + inactiveFunction = delegate { var e = eventCaller.currentEntity; MarchingOrders.AttentionSound(e.beat);} }, - - new GameAction("march", "March!") - { - function = delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.SargeMarch(e.beat); }, - defaultLength = 2f, + + new GameAction("march", "March!") + { + function = delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.SargeMarch(e.beat); }, + defaultLength = 2f, inactiveFunction = delegate { var e = eventCaller.currentEntity; MarchingOrders.MarchSound(e.beat);} - }, - - new GameAction("halt", "Halt!") - { - function = delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.SargeHalt(e.beat); }, - defaultLength = 2f, + }, + + new GameAction("halt", "Halt!") + { + function = delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.SargeHalt(e.beat); }, + defaultLength = 2f, inactiveFunction = delegate { var e = eventCaller.currentEntity; MarchingOrders.HaltSound(e.beat);} }, - - new GameAction("face turn", "Direction to Turn") + + new GameAction("face turn", "Direction to Turn") { - function = delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.SargeFaceTurn(e.beat, e["type"], e["type2"]); }, - defaultLength = 4f, - parameters = new List() + function = delegate { var e = eventCaller.currentEntity; MarchingOrders.instance.SargeFaceTurn(e.beat, e["type"], e["type2"]); }, + defaultLength = 4f, + parameters = new List() { new Param("type", MarchingOrders.DirectionFaceTurn.Right, "Direction", "The direction sarge wants the cadets to face"), new Param("type2", MarchingOrders.FaceTurnLength.Normal, "Length", "How fast or slow the event lasts"), @@ -79,36 +79,38 @@ namespace HeavenStudio.Games //using Scripts_MarchingOrders; public class MarchingOrders : Minigame { - //code is just copied from other minigame code, i will polish them later - [Header("References")] + //code is just copied from other minigame code, i will polish them later + [Header("References")] public Animator Sarge; + public Animator Steam; public Animator Cadet1; public Animator Cadet2; public Animator Cadet3; - public Animator CadetPlayer; - public Animator CadetHead1; - public Animator CadetHead2; - public Animator CadetHead3; - public Animator CadetHeadPlayer; - + public Animator CadetPlayer; + public Animator CadetHead1; + public Animator CadetHead2; + public Animator CadetHead3; + public Animator CadetHeadPlayer; + public GameObject Player; - - public GameEvent bop = new GameEvent(); - public GameEvent noBop = new GameEvent(); - public GameEvent marching = new GameEvent(); - - private int marchCount; - private int turnLength; - + + public GameEvent bop = new GameEvent(); + public GameEvent noBop = new GameEvent(); + public GameEvent marching = new GameEvent(); + + private int marchOtherCount; + private int marchPlayerCount; + private int turnLength; + public static MarchingOrders instance; public enum DirectionFaceTurn - { + { Right, Left, } public enum FaceTurnLength - { + { Normal, Fast, } @@ -122,50 +124,57 @@ namespace HeavenStudio.Games // Update is called once per frame void Update() { - var cond = Conductor.instance; + var cond = Conductor.instance; if (cond.ReportBeat(ref bop.lastReportedBeat, bop.startBeat % 1)) { if (cond.songPositionInBeats >= bop.startBeat && cond.songPositionInBeats < bop.startBeat + bop.length) { if (!(cond.songPositionInBeats >= noBop.startBeat && cond.songPositionInBeats < noBop.startBeat + noBop.length)) Cadet1.DoScaledAnimationAsync("Bop", 0.5f); - Cadet2.DoScaledAnimationAsync("Bop", 0.5f); - Cadet3.DoScaledAnimationAsync("Bop", 0.5f); - CadetPlayer.DoScaledAnimationAsync("Bop", 0.5f); + Cadet2.DoScaledAnimationAsync("Bop", 0.5f); + Cadet3.DoScaledAnimationAsync("Bop", 0.5f); + CadetPlayer.DoScaledAnimationAsync("Bop", 0.5f); } } - - if (cond.ReportBeat(ref marching.lastReportedBeat, bop.startBeat % 1)) + + if (cond.ReportBeat(ref marching.lastReportedBeat, bop.startBeat % 1)) { if (cond.songPositionInBeats >= marching.startBeat && cond.songPositionInBeats < marching.startBeat + marching.length) { - marchCount += 1; - var marchAnim = (marchCount % 2 != 0 ? "MarchR" : "MarchL"); + marchOtherCount += 1; + var marchOtherAnim = (marchOtherCount % 2 != 0 ? "MarchR" : "MarchL"); Jukebox.PlayOneShotGame("marchingOrders/step1"); - Cadet1.DoScaledAnimationAsync(marchAnim, 0.5f); - Cadet2.DoScaledAnimationAsync(marchAnim, 0.5f); - Cadet3.DoScaledAnimationAsync(marchAnim, 0.5f); + Cadet1.DoScaledAnimationAsync(marchOtherAnim, 0.5f); + Cadet2.DoScaledAnimationAsync(marchOtherAnim, 0.5f); + Cadet3.DoScaledAnimationAsync(marchOtherAnim, 0.5f); } } - - if (PlayerInput.Pressed() && !IsExpectingInputNow()) + + if (PlayerInput.Pressed() && !IsExpectingInputNow()) { Jukebox.PlayOneShot("miss"); Sarge.DoScaledAnimationAsync("Anger", 0.5f); + Steam.DoScaledAnimationAsync("Steam", 0.5f); + + marchPlayerCount += 1; + var marchPlayerAnim = (marchPlayerCount % 2 != 0 ? "MarchR" : "MarchL"); + + Jukebox.PlayOneShotGame("marchingOrders/step1"); + CadetPlayer.DoScaledAnimationAsync(marchPlayerAnim, 0.5f); } } - public void Bop(float beat, float length) + public void Bop(float beat, float length) { bop.length = length; bop.startBeat = beat; } - + public void CadetsMarch(float beat, float length) { marching.length = length; - marching.startBeat = beat; + marching.startBeat = beat; } public void SargeAttention(float beat) @@ -175,105 +184,107 @@ namespace HeavenStudio.Games new MultiSound.Sound("marchingOrders/attention2", beat + 0.25f), new MultiSound.Sound("marchingOrders/attention3", beat + 0.75f), }, forcePlay:true); - - BeatAction.New(Player, new List() + + BeatAction.New(Player, new List() { new BeatAction.Action(beat + 0.25f, delegate { Sarge.DoScaledAnimationAsync("Talk", 0.5f);}), }); } - - public void SargeMarch(float beat) + + public void SargeMarch(float beat) { - marchCount = 0; - - MultiSound.Play(new MultiSound.Sound[] { + marchOtherCount = 0; + marchPlayerCount = 0; + + MultiSound.Play(new MultiSound.Sound[] { new MultiSound.Sound("marchingOrders/march1", beat), new MultiSound.Sound("marchingOrders/march2", beat + 1f), }, forcePlay:true); - - BeatAction.New(Player, new List() + + BeatAction.New(Player, new List() { new BeatAction.Action(beat, delegate { Sarge.DoScaledAnimationAsync("Talk", 0.5f);}), - new BeatAction.Action(beat + 1f, delegate { Cadet1.DoScaledAnimationAsync("MarchL", 0.5f);}), + new BeatAction.Action(beat + 1f, delegate { Cadet1.DoScaledAnimationAsync("MarchL", 0.5f);}), new BeatAction.Action(beat + 1f, delegate { Cadet2.DoScaledAnimationAsync("MarchL", 0.5f);}), - new BeatAction.Action(beat + 1f, delegate { Cadet3.DoScaledAnimationAsync("MarchL", 0.5f);}), - new BeatAction.Action(beat + 1f, delegate { CadetPlayer.DoScaledAnimationAsync("MarchL", 0.5f);}), - }); + new BeatAction.Action(beat + 1f, delegate { Cadet3.DoScaledAnimationAsync("MarchL", 0.5f);}), + new BeatAction.Action(beat + 1f, delegate { CadetPlayer.DoScaledAnimationAsync("MarchL", 0.5f);}), + }); } - public void SargeHalt(float beat) + public void SargeHalt(float beat) { - MultiSound.Play(new MultiSound.Sound[] { + MultiSound.Play(new MultiSound.Sound[] { new MultiSound.Sound("marchingOrders/halt1", beat), new MultiSound.Sound("marchingOrders/halt2", beat + 1f), - new MultiSound.Sound("marchingOrders/step1", beat + 1f), + new MultiSound.Sound("marchingOrders/step1", beat + 1f), }, forcePlay:true); - - BeatAction.New(Player, new List() + + BeatAction.New(Player, new List() { new BeatAction.Action(beat, delegate { Sarge.DoScaledAnimationAsync("Talk", 0.5f);}), - new BeatAction.Action(beat + 1f, delegate { Cadet1.DoScaledAnimationAsync("Halt", 0.5f);}), + new BeatAction.Action(beat + 1f, delegate { Cadet1.DoScaledAnimationAsync("Halt", 0.5f);}), new BeatAction.Action(beat + 1f, delegate { Cadet2.DoScaledAnimationAsync("Halt", 0.5f);}), - new BeatAction.Action(beat + 1f, delegate { Cadet3.DoScaledAnimationAsync("Halt", 0.5f);}), - }); + new BeatAction.Action(beat + 1f, delegate { Cadet3.DoScaledAnimationAsync("Halt", 0.5f);}), + }); } - - public void SargeFaceTurn(float beat, int type, int type2) + + public void SargeFaceTurn(float beat, int type, int type2) { - switch (type2) - { - case (int) MarchingOrders.FaceTurnLength.Fast: - turnLength = 0; - break; - default: - turnLength = 1; - break; + switch (type2) + { + case (int) MarchingOrders.FaceTurnLength.Fast: + turnLength = 0; + break; + default: + turnLength = 1; + break; } - - - switch (type) + + + switch (type) { case (int) MarchingOrders.DirectionFaceTurn.Left: - MultiSound.Play(new MultiSound.Sound[] { - new MultiSound.Sound("marchingOrders/leftFaceTurn1", beat), - new MultiSound.Sound("marchingOrders/leftFaceTurn2", beat + 0.5f), - new MultiSound.Sound("marchingOrders/leftFaceTurn3", beat + turnLength + 1f), - new MultiSound.Sound("marchingOrders/leftFaceTurn4", beat + turnLength + 2f), - }, forcePlay:true); - - BeatAction.New(Player, new List() - { - new BeatAction.Action(beat + turnLength + 2f, delegate { CadetHead1.DoScaledAnimationAsync("FaceL", 0.5f);}), - new BeatAction.Action(beat + turnLength + 2f, delegate { CadetHead2.DoScaledAnimationAsync("FaceL", 0.5f);}), - new BeatAction.Action(beat + turnLength + 2f, delegate { CadetHead3.DoScaledAnimationAsync("FaceL", 0.5f);}), - }); - break; - default: + //ScheduleInput(beat, turnLength + 2f, InputType.DIRECTION_RIGHT_DOWN, LeftSuccess, LeftMiss, LeftEmpty); MultiSound.Play(new MultiSound.Sound[] { - new MultiSound.Sound("marchingOrders/rightFaceTurn1", beat), - new MultiSound.Sound("marchingOrders/rightFaceTurn2", beat + 0.5f), - new MultiSound.Sound("marchingOrders/rightFaceTurn3", beat + turnLength + 1f), - new MultiSound.Sound("marchingOrders/rightFaceTurn4", beat + turnLength + 2f), - }, forcePlay:true); - - BeatAction.New(Player, new List() - { - new BeatAction.Action(beat + turnLength + 2f, delegate { CadetHead1.DoScaledAnimationAsync("FaceR", 0.5f);}), - new BeatAction.Action(beat + turnLength + 2f, delegate { CadetHead2.DoScaledAnimationAsync("FaceR", 0.5f);}), - new BeatAction.Action(beat + turnLength + 2f, delegate { CadetHead3.DoScaledAnimationAsync("FaceR", 0.5f);}), - }); + new MultiSound.Sound("marchingOrders/leftFaceTurn1", beat), + new MultiSound.Sound("marchingOrders/leftFaceTurn2", beat + 0.5f), + new MultiSound.Sound("marchingOrders/leftFaceTurn3", beat + turnLength + 1f), + new MultiSound.Sound("marchingOrders/leftFaceTurn4", beat + turnLength + 2f), + }, forcePlay:true); + + BeatAction.New(Player, new List() + { + new BeatAction.Action(beat + turnLength + 2f, delegate { CadetHead1.DoScaledAnimationAsync("FaceL", 0.5f);}), + new BeatAction.Action(beat + turnLength + 2f, delegate { CadetHead2.DoScaledAnimationAsync("FaceL", 0.5f);}), + new BeatAction.Action(beat + turnLength + 2f, delegate { CadetHead3.DoScaledAnimationAsync("FaceL", 0.5f);}), + }); break; - } - - BeatAction.New(Player, new List() - { - new BeatAction.Action(beat, delegate { Sarge.DoScaledAnimationAsync("Talk", 0.5f);}), - new BeatAction.Action(beat + turnLength + 1f, delegate { Sarge.DoScaledAnimationAsync("Talk", 0.5f);}), - }); - } - - - public static void AttentionSound(float beat) + default: + MultiSound.Play(new MultiSound.Sound[] { + new MultiSound.Sound("marchingOrders/rightFaceTurn1", beat), + new MultiSound.Sound("marchingOrders/rightFaceTurn2", beat + 0.5f), + new MultiSound.Sound("marchingOrders/rightFaceTurn3", beat + turnLength + 1f), + new MultiSound.Sound("marchingOrders/rightFaceTurn4", beat + turnLength + 2f), + }, forcePlay:true); + + BeatAction.New(Player, new List() + { + new BeatAction.Action(beat + turnLength + 2f, delegate { CadetHead1.DoScaledAnimationAsync("FaceR", 0.5f);}), + new BeatAction.Action(beat + turnLength + 2f, delegate { CadetHead2.DoScaledAnimationAsync("FaceR", 0.5f);}), + new BeatAction.Action(beat + turnLength + 2f, delegate { CadetHead3.DoScaledAnimationAsync("FaceR", 0.5f);}), + }); + break; + } + + BeatAction.New(Player, new List() + { + new BeatAction.Action(beat, delegate { Sarge.DoScaledAnimationAsync("Talk", 0.5f);}), + new BeatAction.Action(beat + turnLength + 1f, delegate { Sarge.DoScaledAnimationAsync("Talk", 0.5f);}), + }); + } + + + public static void AttentionSound(float beat) { MultiSound.Play(new MultiSound.Sound[] { new MultiSound.Sound("marchingOrders/attention1", beat), @@ -281,16 +292,16 @@ namespace HeavenStudio.Games new MultiSound.Sound("marchingOrders/attention3", beat + 0.75f), }, forcePlay:true); } - - public static void MarchSound(float beat) + + public static void MarchSound(float beat) { MultiSound.Play(new MultiSound.Sound[] { new MultiSound.Sound("marchingOrders/march1", beat), new MultiSound.Sound("marchingOrders/march2", beat + 1f), }, forcePlay:true); } - - public static void HaltSound(float beat) + + public static void HaltSound(float beat) { MultiSound.Play(new MultiSound.Sound[] { new MultiSound.Sound("marchingOrders/halt1", beat), diff --git a/Assets/StreamingAssets/ntrcoin/common b/Assets/StreamingAssets/ntrcoin/common index 29da14c7..3baecb5d 100644 Binary files a/Assets/StreamingAssets/ntrcoin/common and b/Assets/StreamingAssets/ntrcoin/common differ diff --git a/Assets/StreamingAssets/ntrcoin/common.manifest b/Assets/StreamingAssets/ntrcoin/common.manifest index 1f7759b0..c642f519 100644 --- a/Assets/StreamingAssets/ntrcoin/common.manifest +++ b/Assets/StreamingAssets/ntrcoin/common.manifest @@ -1,9 +1,9 @@ ManifestFileVersion: 0 -CRC: 2049244877 +CRC: 3145129048 Hashes: AssetFileHash: serializedVersion: 2 - Hash: 1e93b5f219a06063ba1cdb3ac24c80fe + Hash: accf70966bae19a4dbcad02679a20b19 TypeTreeHash: serializedVersion: 2 Hash: 1341d321cd8444a4f78a51a8a0c6daff @@ -40,13 +40,10 @@ Assets: - Assets/Resources/Sprites/Games/CoinToss/Animations/Catch_success.anim - Assets/Resources/Sfx/games/coinToss/women_you.wav - Assets/Resources/Sprites/Games/CoinToss/Animations/Throw.anim -- Assets/Resources/Sfx/games/coinToss/miss.wav - Assets/Resources/Sprites/Games/CoinToss/Animations/Idle.anim - Assets/Resources/Games/coinToss.prefab -- Assets/Resources/Sfx/games/coinToss/applause.ogg - Assets/Resources/Sfx/games/coinToss/throw.wav - Assets/Resources/Sprites/Games/CoinToss/Animations/Pickup.anim -- Assets/Resources/Sfx/games/coinToss/disappointed.ogg - Assets/Resources/Sfx/games/coinToss/catch.wav - Assets/Resources/Sprites/Games/CoinToss/Animations/Catch_empty.anim - Assets/Resources/Sprites/Games/CoinToss/sprsh_cointoss.png