text scroll
This commit is contained in:
parent
5002e16ac8
commit
93f84e17cb
BIN
Assets/Resources/Fonts/WarioWare/WarioWareIncMerge.ttf
Normal file
BIN
Assets/Resources/Fonts/WarioWare/WarioWareIncMerge.ttf
Normal file
Binary file not shown.
21
Assets/Resources/Fonts/WarioWare/WarioWareIncMerge.ttf.meta
Normal file
21
Assets/Resources/Fonts/WarioWare/WarioWareIncMerge.ttf.meta
Normal file
|
@ -0,0 +1,21 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 1af8ae841c25a874a8945ac67e3e2f36
|
||||
TrueTypeFontImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 4
|
||||
fontSize: 16
|
||||
forceTextureCase: -2
|
||||
characterSpacing: 0
|
||||
characterPadding: 1
|
||||
includeFontData: 1
|
||||
fontNames:
|
||||
- WarioWareIncMerge
|
||||
fallbackFontReferences: []
|
||||
customCharacters:
|
||||
fontRenderingMode: 0
|
||||
ascentCalculationMode: 1
|
||||
useLegacyBoundsCalculation: 0
|
||||
shouldRoundAdvanceValue: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
116
Assets/Resources/Fonts/WarioWareIncMerge SDF 1.mat
Normal file
116
Assets/Resources/Fonts/WarioWareIncMerge SDF 1.mat
Normal file
|
@ -0,0 +1,116 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: WarioWareIncMerge SDF 1
|
||||
m_Shader: {fileID: 4800000, guid: bc1ede39bf3643ee8e493720e4259791, type: 3}
|
||||
m_ValidKeywords:
|
||||
- OUTLINE_ON
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Cube:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _FaceTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 354257792991978780, guid: 5493f7489392d4a47abde0ea2c7caecf, type: 2}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MaskTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OutlineTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Ambient: 0.5
|
||||
- _Bevel: 0.5
|
||||
- _BevelClamp: 0
|
||||
- _BevelOffset: 0
|
||||
- _BevelRoundness: 0
|
||||
- _BevelWidth: 0
|
||||
- _BumpFace: 0
|
||||
- _BumpOutline: 0
|
||||
- _ColorMask: 15
|
||||
- _CullMode: 0
|
||||
- _Diffuse: 0.5
|
||||
- _FaceDilate: 0
|
||||
- _FaceUVSpeedX: 0
|
||||
- _FaceUVSpeedY: 0
|
||||
- _GlowInner: 0.05
|
||||
- _GlowOffset: 0
|
||||
- _GlowOuter: 0.05
|
||||
- _GlowPower: 0.75
|
||||
- _GradientScale: 6
|
||||
- _LightAngle: 3.1416
|
||||
- _MaskEdgeSoftness: 0.01
|
||||
- _MaskInverse: 0
|
||||
- _MaskSoftnessX: 0
|
||||
- _MaskSoftnessY: 0
|
||||
- _MaskWipeControl: 0.5
|
||||
- _OutlineSoftness: 0
|
||||
- _OutlineUVSpeedX: 0
|
||||
- _OutlineUVSpeedY: 0
|
||||
- _OutlineWidth: 0.336
|
||||
- _PerspectiveFilter: 0.875
|
||||
- _Reflectivity: 10
|
||||
- _ScaleRatioA: 0.8333333
|
||||
- _ScaleRatioB: 0.6770833
|
||||
- _ScaleRatioC: 0.6770833
|
||||
- _ScaleX: 1
|
||||
- _ScaleY: 1
|
||||
- _ShaderFlags: 0
|
||||
- _Sharpness: 0
|
||||
- _SpecularPower: 2
|
||||
- _Stencil: 0
|
||||
- _StencilComp: 8
|
||||
- _StencilOp: 0
|
||||
- _StencilReadMask: 255
|
||||
- _StencilWriteMask: 255
|
||||
- _TextureHeight: 1024
|
||||
- _TextureWidth: 1024
|
||||
- _UnderlayDilate: 0
|
||||
- _UnderlayOffsetX: 0
|
||||
- _UnderlayOffsetY: 0
|
||||
- _UnderlaySoftness: 0
|
||||
- _VertexOffsetX: 0
|
||||
- _VertexOffsetY: 0
|
||||
- _WeightBold: 0.75
|
||||
- _WeightNormal: 0
|
||||
m_Colors:
|
||||
- _ClipRect: {r: -10, g: -10, b: -10, a: 10}
|
||||
- _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _FaceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _GlowColor: {r: 0, g: 1, b: 0, a: 0.5}
|
||||
- _MaskCoord: {r: 0, g: 0, b: 32767, a: 32767}
|
||||
- _MaskEdgeColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _OutlineColor: {r: 0, g: 0, b: 1, a: 1}
|
||||
- _ReflectFaceColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5}
|
||||
m_BuildTextureStacks: []
|
8
Assets/Resources/Fonts/WarioWareIncMerge SDF 1.mat.meta
Normal file
8
Assets/Resources/Fonts/WarioWareIncMerge SDF 1.mat.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 82df20bb2a72d0547850ba6b12512a0d
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
116
Assets/Resources/Fonts/WarioWareIncMerge SDF 2.mat
Normal file
116
Assets/Resources/Fonts/WarioWareIncMerge SDF 2.mat
Normal file
|
@ -0,0 +1,116 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: WarioWareIncMerge SDF 2
|
||||
m_Shader: {fileID: 4800000, guid: bc1ede39bf3643ee8e493720e4259791, type: 3}
|
||||
m_ValidKeywords:
|
||||
- OUTLINE_ON
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Cube:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _FaceTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 354257792991978780, guid: 5493f7489392d4a47abde0ea2c7caecf, type: 2}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MaskTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OutlineTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Ambient: 0.5
|
||||
- _Bevel: 0.5
|
||||
- _BevelClamp: 0
|
||||
- _BevelOffset: 0
|
||||
- _BevelRoundness: 0
|
||||
- _BevelWidth: 0
|
||||
- _BumpFace: 0
|
||||
- _BumpOutline: 0
|
||||
- _ColorMask: 15
|
||||
- _CullMode: 0
|
||||
- _Diffuse: 0.5
|
||||
- _FaceDilate: 0
|
||||
- _FaceUVSpeedX: 0
|
||||
- _FaceUVSpeedY: 0
|
||||
- _GlowInner: 0.05
|
||||
- _GlowOffset: 0
|
||||
- _GlowOuter: 0.05
|
||||
- _GlowPower: 0.75
|
||||
- _GradientScale: 6
|
||||
- _LightAngle: 3.1416
|
||||
- _MaskEdgeSoftness: 0.01
|
||||
- _MaskInverse: 0
|
||||
- _MaskSoftnessX: 0
|
||||
- _MaskSoftnessY: 0
|
||||
- _MaskWipeControl: 0.5
|
||||
- _OutlineSoftness: 0
|
||||
- _OutlineUVSpeedX: 0
|
||||
- _OutlineUVSpeedY: 0
|
||||
- _OutlineWidth: 0.336
|
||||
- _PerspectiveFilter: 0.875
|
||||
- _Reflectivity: 10
|
||||
- _ScaleRatioA: 0.8333333
|
||||
- _ScaleRatioB: 0.6770833
|
||||
- _ScaleRatioC: 0.6770833
|
||||
- _ScaleX: 1
|
||||
- _ScaleY: 1
|
||||
- _ShaderFlags: 0
|
||||
- _Sharpness: 0
|
||||
- _SpecularPower: 2
|
||||
- _Stencil: 0
|
||||
- _StencilComp: 8
|
||||
- _StencilOp: 0
|
||||
- _StencilReadMask: 255
|
||||
- _StencilWriteMask: 255
|
||||
- _TextureHeight: 1024
|
||||
- _TextureWidth: 1024
|
||||
- _UnderlayDilate: 0
|
||||
- _UnderlayOffsetX: 0
|
||||
- _UnderlayOffsetY: 0
|
||||
- _UnderlaySoftness: 0
|
||||
- _VertexOffsetX: 0
|
||||
- _VertexOffsetY: 0
|
||||
- _WeightBold: 0.75
|
||||
- _WeightNormal: 0
|
||||
m_Colors:
|
||||
- _ClipRect: {r: -10, g: -10, b: -10, a: 10}
|
||||
- _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _FaceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _GlowColor: {r: 0, g: 1, b: 0, a: 0.5}
|
||||
- _MaskCoord: {r: 0, g: 0, b: 32767, a: 32767}
|
||||
- _MaskEdgeColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _OutlineColor: {r: 0, g: 0, b: 1, a: 1}
|
||||
- _ReflectFaceColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5}
|
||||
m_BuildTextureStacks: []
|
8
Assets/Resources/Fonts/WarioWareIncMerge SDF 2.mat.meta
Normal file
8
Assets/Resources/Fonts/WarioWareIncMerge SDF 2.mat.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 40591d38cfb2b6445b594c69ac3d691b
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
116
Assets/Resources/Fonts/WarioWareIncMerge SDF 3.mat
Normal file
116
Assets/Resources/Fonts/WarioWareIncMerge SDF 3.mat
Normal file
|
@ -0,0 +1,116 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: WarioWareIncMerge SDF 3
|
||||
m_Shader: {fileID: 4800000, guid: bc1ede39bf3643ee8e493720e4259791, type: 3}
|
||||
m_ValidKeywords:
|
||||
- OUTLINE_ON
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Cube:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _FaceTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 354257792991978780, guid: 5493f7489392d4a47abde0ea2c7caecf, type: 2}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MaskTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OutlineTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Ambient: 0.5
|
||||
- _Bevel: 0.5
|
||||
- _BevelClamp: 0
|
||||
- _BevelOffset: 0
|
||||
- _BevelRoundness: 0
|
||||
- _BevelWidth: 0
|
||||
- _BumpFace: 0
|
||||
- _BumpOutline: 0
|
||||
- _ColorMask: 15
|
||||
- _CullMode: 0
|
||||
- _Diffuse: 0.5
|
||||
- _FaceDilate: 0
|
||||
- _FaceUVSpeedX: 0
|
||||
- _FaceUVSpeedY: 0
|
||||
- _GlowInner: 0.05
|
||||
- _GlowOffset: 0
|
||||
- _GlowOuter: 0.05
|
||||
- _GlowPower: 0.75
|
||||
- _GradientScale: 6
|
||||
- _LightAngle: 3.1416
|
||||
- _MaskEdgeSoftness: 0.01
|
||||
- _MaskInverse: 0
|
||||
- _MaskSoftnessX: 0
|
||||
- _MaskSoftnessY: 0
|
||||
- _MaskWipeControl: 0.5
|
||||
- _OutlineSoftness: 0
|
||||
- _OutlineUVSpeedX: 0
|
||||
- _OutlineUVSpeedY: 0
|
||||
- _OutlineWidth: 0.336
|
||||
- _PerspectiveFilter: 0.875
|
||||
- _Reflectivity: 10
|
||||
- _ScaleRatioA: 0.8333333
|
||||
- _ScaleRatioB: 0.6770833
|
||||
- _ScaleRatioC: 0.6770833
|
||||
- _ScaleX: 1
|
||||
- _ScaleY: 1
|
||||
- _ShaderFlags: 0
|
||||
- _Sharpness: 0
|
||||
- _SpecularPower: 2
|
||||
- _Stencil: 0
|
||||
- _StencilComp: 8
|
||||
- _StencilOp: 0
|
||||
- _StencilReadMask: 255
|
||||
- _StencilWriteMask: 255
|
||||
- _TextureHeight: 1024
|
||||
- _TextureWidth: 1024
|
||||
- _UnderlayDilate: 0
|
||||
- _UnderlayOffsetX: 0
|
||||
- _UnderlayOffsetY: 0
|
||||
- _UnderlaySoftness: 0
|
||||
- _VertexOffsetX: 0
|
||||
- _VertexOffsetY: 0
|
||||
- _WeightBold: 0.75
|
||||
- _WeightNormal: 0
|
||||
m_Colors:
|
||||
- _ClipRect: {r: -10, g: -10, b: -10, a: 10}
|
||||
- _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _FaceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _GlowColor: {r: 0, g: 1, b: 0, a: 0.5}
|
||||
- _MaskCoord: {r: 0, g: 0, b: 32767, a: 32767}
|
||||
- _MaskEdgeColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _OutlineColor: {r: 0, g: 0, b: 1, a: 1}
|
||||
- _ReflectFaceColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5}
|
||||
m_BuildTextureStacks: []
|
8
Assets/Resources/Fonts/WarioWareIncMerge SDF 3.mat.meta
Normal file
8
Assets/Resources/Fonts/WarioWareIncMerge SDF 3.mat.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 912a0f041a83f2f45916404517be0608
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
116
Assets/Resources/Fonts/WarioWareIncMerge SDF 4.mat
Normal file
116
Assets/Resources/Fonts/WarioWareIncMerge SDF 4.mat
Normal file
|
@ -0,0 +1,116 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: WarioWareIncMerge SDF 4
|
||||
m_Shader: {fileID: 4800000, guid: bc1ede39bf3643ee8e493720e4259791, type: 3}
|
||||
m_ValidKeywords:
|
||||
- OUTLINE_ON
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Cube:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _FaceTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 354257792991978780, guid: 5493f7489392d4a47abde0ea2c7caecf, type: 2}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MaskTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OutlineTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Ambient: 0.5
|
||||
- _Bevel: 0.5
|
||||
- _BevelClamp: 0
|
||||
- _BevelOffset: 0
|
||||
- _BevelRoundness: 0
|
||||
- _BevelWidth: 0
|
||||
- _BumpFace: 0
|
||||
- _BumpOutline: 0
|
||||
- _ColorMask: 15
|
||||
- _CullMode: 0
|
||||
- _Diffuse: 0.5
|
||||
- _FaceDilate: 0
|
||||
- _FaceUVSpeedX: 0
|
||||
- _FaceUVSpeedY: 0
|
||||
- _GlowInner: 0.05
|
||||
- _GlowOffset: 0
|
||||
- _GlowOuter: 0.05
|
||||
- _GlowPower: 0.75
|
||||
- _GradientScale: 6
|
||||
- _LightAngle: 3.1416
|
||||
- _MaskEdgeSoftness: 0.01
|
||||
- _MaskInverse: 0
|
||||
- _MaskSoftnessX: 0
|
||||
- _MaskSoftnessY: 0
|
||||
- _MaskWipeControl: 0.5
|
||||
- _OutlineSoftness: 0
|
||||
- _OutlineUVSpeedX: 0
|
||||
- _OutlineUVSpeedY: 0
|
||||
- _OutlineWidth: 0.336
|
||||
- _PerspectiveFilter: 0.875
|
||||
- _Reflectivity: 10
|
||||
- _ScaleRatioA: 0.8333333
|
||||
- _ScaleRatioB: 0.6770833
|
||||
- _ScaleRatioC: 0.6770833
|
||||
- _ScaleX: 1
|
||||
- _ScaleY: 1
|
||||
- _ShaderFlags: 0
|
||||
- _Sharpness: 0
|
||||
- _SpecularPower: 2
|
||||
- _Stencil: 0
|
||||
- _StencilComp: 8
|
||||
- _StencilOp: 0
|
||||
- _StencilReadMask: 255
|
||||
- _StencilWriteMask: 255
|
||||
- _TextureHeight: 1024
|
||||
- _TextureWidth: 1024
|
||||
- _UnderlayDilate: 0
|
||||
- _UnderlayOffsetX: 0
|
||||
- _UnderlayOffsetY: 0
|
||||
- _UnderlaySoftness: 0
|
||||
- _VertexOffsetX: 0
|
||||
- _VertexOffsetY: 0
|
||||
- _WeightBold: 0.75
|
||||
- _WeightNormal: 0
|
||||
m_Colors:
|
||||
- _ClipRect: {r: -10, g: -10, b: -10, a: 10}
|
||||
- _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _FaceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _GlowColor: {r: 0, g: 1, b: 0, a: 0.5}
|
||||
- _MaskCoord: {r: 0, g: 0, b: 32767, a: 32767}
|
||||
- _MaskEdgeColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _OutlineColor: {r: 0, g: 0, b: 1, a: 1}
|
||||
- _ReflectFaceColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5}
|
||||
m_BuildTextureStacks: []
|
8
Assets/Resources/Fonts/WarioWareIncMerge SDF 4.mat.meta
Normal file
8
Assets/Resources/Fonts/WarioWareIncMerge SDF 4.mat.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 70bcc4aa6e597144fbcaa78477577a71
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
116
Assets/Resources/Fonts/WarioWareIncMerge SDF 5.mat
Normal file
116
Assets/Resources/Fonts/WarioWareIncMerge SDF 5.mat
Normal file
|
@ -0,0 +1,116 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: WarioWareIncMerge SDF 5
|
||||
m_Shader: {fileID: 4800000, guid: bc1ede39bf3643ee8e493720e4259791, type: 3}
|
||||
m_ValidKeywords:
|
||||
- OUTLINE_ON
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Cube:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _FaceTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 354257792991978780, guid: 5493f7489392d4a47abde0ea2c7caecf, type: 2}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MaskTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OutlineTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _Ambient: 0.5
|
||||
- _Bevel: 0.5
|
||||
- _BevelClamp: 0
|
||||
- _BevelOffset: 0
|
||||
- _BevelRoundness: 0
|
||||
- _BevelWidth: 0
|
||||
- _BumpFace: 0
|
||||
- _BumpOutline: 0
|
||||
- _ColorMask: 15
|
||||
- _CullMode: 0
|
||||
- _Diffuse: 0.5
|
||||
- _FaceDilate: 0
|
||||
- _FaceUVSpeedX: 0
|
||||
- _FaceUVSpeedY: 0
|
||||
- _GlowInner: 0.05
|
||||
- _GlowOffset: 0
|
||||
- _GlowOuter: 0.05
|
||||
- _GlowPower: 0.75
|
||||
- _GradientScale: 6
|
||||
- _LightAngle: 3.1416
|
||||
- _MaskEdgeSoftness: 0.01
|
||||
- _MaskInverse: 0
|
||||
- _MaskSoftnessX: 0
|
||||
- _MaskSoftnessY: 0
|
||||
- _MaskWipeControl: 0.5
|
||||
- _OutlineSoftness: 0
|
||||
- _OutlineUVSpeedX: 0
|
||||
- _OutlineUVSpeedY: 0
|
||||
- _OutlineWidth: 0.336
|
||||
- _PerspectiveFilter: 0.875
|
||||
- _Reflectivity: 10
|
||||
- _ScaleRatioA: 0.8333333
|
||||
- _ScaleRatioB: 0.6770833
|
||||
- _ScaleRatioC: 0.6770833
|
||||
- _ScaleX: 1
|
||||
- _ScaleY: 1
|
||||
- _ShaderFlags: 0
|
||||
- _Sharpness: 0
|
||||
- _SpecularPower: 2
|
||||
- _Stencil: 0
|
||||
- _StencilComp: 8
|
||||
- _StencilOp: 0
|
||||
- _StencilReadMask: 255
|
||||
- _StencilWriteMask: 255
|
||||
- _TextureHeight: 1024
|
||||
- _TextureWidth: 1024
|
||||
- _UnderlayDilate: 0
|
||||
- _UnderlayOffsetX: 0
|
||||
- _UnderlayOffsetY: 0
|
||||
- _UnderlaySoftness: 0
|
||||
- _VertexOffsetX: 0
|
||||
- _VertexOffsetY: 0
|
||||
- _WeightBold: 0.75
|
||||
- _WeightNormal: 0
|
||||
m_Colors:
|
||||
- _ClipRect: {r: -10, g: -10, b: -10, a: 10}
|
||||
- _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _FaceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _GlowColor: {r: 0, g: 1, b: 0, a: 0.5}
|
||||
- _MaskCoord: {r: 0, g: 0, b: 32767, a: 32767}
|
||||
- _MaskEdgeColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _OutlineColor: {r: 0, g: 0, b: 1, a: 1}
|
||||
- _ReflectFaceColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5}
|
||||
m_BuildTextureStacks: []
|
8
Assets/Resources/Fonts/WarioWareIncMerge SDF 5.mat.meta
Normal file
8
Assets/Resources/Fonts/WarioWareIncMerge SDF 5.mat.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 5dbec2ea9ddfece4c8e83fb2d4fb2ec2
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
9635
Assets/Resources/Fonts/WarioWareIncMerge SDF.asset
Normal file
9635
Assets/Resources/Fonts/WarioWareIncMerge SDF.asset
Normal file
File diff suppressed because one or more lines are too long
8
Assets/Resources/Fonts/WarioWareIncMerge SDF.asset.meta
Normal file
8
Assets/Resources/Fonts/WarioWareIncMerge SDF.asset.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 5493f7489392d4a47abde0ea2c7caecf
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load diff
8
Assets/Resources/Prefabs/Games/BonOdori.meta
Normal file
8
Assets/Resources/Prefabs/Games/BonOdori.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: cdedeec6e131edb46a0448c63e2c995c
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
176
Assets/Resources/Prefabs/Games/BonOdori/Line.prefab
Normal file
176
Assets/Resources/Prefabs/Games/BonOdori/Line.prefab
Normal file
|
@ -0,0 +1,176 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &2706366231333981540
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1920265007186936794}
|
||||
- component: {fileID: 7322374868700629857}
|
||||
- component: {fileID: 5093494505832089830}
|
||||
m_Layer: 0
|
||||
m_Name: Line
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &1920265007186936794
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2706366231333981540}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 7, y: 7, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 63.190033, y: 3.2699814}
|
||||
m_SizeDelta: {x: 20, y: 0.1659}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!23 &7322374868700629857
|
||||
MeshRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2706366231333981540}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 2
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: -1553956461212507765, guid: 5493f7489392d4a47abde0ea2c7caecf, type: 2}
|
||||
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: 3
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 500
|
||||
m_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!114 &5093494505832089830
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2706366231333981540}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text:
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 5493f7489392d4a47abde0ea2c7caecf, type: 2}
|
||||
m_sharedMaterial: {fileID: -1553956461212507765, guid: 5493f7489392d4a47abde0ea2c7caecf, type: 2}
|
||||
m_fontSharedMaterials: []
|
||||
m_fontMaterial: {fileID: 0}
|
||||
m_fontMaterials: []
|
||||
m_fontColor32:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_enableVertexGradient: 0
|
||||
m_colorMode: 3
|
||||
m_fontColorGradient:
|
||||
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||
topRight: {r: 1, g: 1, b: 1, a: 1}
|
||||
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_fontColorGradientPreset: {fileID: 0}
|
||||
m_spriteAsset: {fileID: 0}
|
||||
m_tintAllSprites: 0
|
||||
m_StyleSheet: {fileID: 0}
|
||||
m_TextStyleHashCode: -1183493901
|
||||
m_overrideHtmlColors: 0
|
||||
m_faceColor:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontSize: 1.25
|
||||
m_fontSizeBase: 1.25
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 18
|
||||
m_fontSizeMax: 72
|
||||
m_fontStyle: 1
|
||||
m_HorizontalAlignment: 1
|
||||
m_VerticalAlignment: 512
|
||||
m_textAlignment: 65535
|
||||
m_characterSpacing: 0
|
||||
m_wordSpacing: 0
|
||||
m_lineSpacing: 0
|
||||
m_lineSpacingMax: 0
|
||||
m_paragraphSpacing: 0
|
||||
m_charWidthMaxAdj: 0
|
||||
m_TextWrappingMode: 1
|
||||
m_wordWrappingRatios: 0.4
|
||||
m_overflowMode: 0
|
||||
m_linkedTextComponent: {fileID: 0}
|
||||
parentLinkedComponent: {fileID: 0}
|
||||
m_enableKerning: 0
|
||||
m_ActiveFontFeatures: 6e72656b
|
||||
m_enableExtraPadding: 0
|
||||
checkPaddingRequired: 0
|
||||
m_isRichText: 1
|
||||
m_EmojiFallbackSupport: 1
|
||||
m_parseCtrlCharacters: 1
|
||||
m_isOrthographic: 0
|
||||
m_isCullingEnabled: 0
|
||||
m_horizontalMapping: 0
|
||||
m_verticalMapping: 0
|
||||
m_uvLineOffset: 0
|
||||
m_geometrySortingOrder: 0
|
||||
m_IsTextObjectScaleStatic: 0
|
||||
m_VertexBufferAutoSizeReduction: 0
|
||||
m_useMaxVisibleDescender: 1
|
||||
m_pageToDisplay: 1
|
||||
m_margin: {x: 0, y: 0, z: -0.59575295, w: 0}
|
||||
m_isUsingLegacyAnimationComponent: 0
|
||||
m_isVolumetricText: 0
|
||||
_SortingLayer: 0
|
||||
_SortingLayerID: 0
|
||||
_SortingOrder: 0
|
||||
m_hasFontAssetChanged: 0
|
||||
m_renderer: {fileID: 7322374868700629857}
|
||||
m_maskType: 0
|
7
Assets/Resources/Prefabs/Games/BonOdori/Line.prefab.meta
Normal file
7
Assets/Resources/Prefabs/Games/BonOdori/Line.prefab.meta
Normal file
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 78487bc7b5cf6854785e7515af8dfc95
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
176
Assets/Resources/Prefabs/Games/BonOdori/LineBlue.prefab
Normal file
176
Assets/Resources/Prefabs/Games/BonOdori/LineBlue.prefab
Normal file
|
@ -0,0 +1,176 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &7961906119209586664
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7327288365011852406}
|
||||
- component: {fileID: 8392419209326797689}
|
||||
- component: {fileID: 7071067088870843725}
|
||||
m_Layer: 0
|
||||
m_Name: LineBlue
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &7327288365011852406
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7961906119209586664}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 7, y: 7, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 62.94707, y: 3.268}
|
||||
m_SizeDelta: {x: 19.9307, y: 0.1659}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!23 &8392419209326797689
|
||||
MeshRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7961906119209586664}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 2
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: 82df20bb2a72d0547850ba6b12512a0d, type: 2}
|
||||
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: 3
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 501
|
||||
m_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!114 &7071067088870843725
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7961906119209586664}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text:
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 5493f7489392d4a47abde0ea2c7caecf, type: 2}
|
||||
m_sharedMaterial: {fileID: 2100000, guid: 82df20bb2a72d0547850ba6b12512a0d, type: 2}
|
||||
m_fontSharedMaterials: []
|
||||
m_fontMaterial: {fileID: 0}
|
||||
m_fontMaterials: []
|
||||
m_fontColor32:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_enableVertexGradient: 0
|
||||
m_colorMode: 3
|
||||
m_fontColorGradient:
|
||||
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||
topRight: {r: 1, g: 1, b: 1, a: 1}
|
||||
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_fontColorGradientPreset: {fileID: 0}
|
||||
m_spriteAsset: {fileID: 0}
|
||||
m_tintAllSprites: 0
|
||||
m_StyleSheet: {fileID: 0}
|
||||
m_TextStyleHashCode: -1183493901
|
||||
m_overrideHtmlColors: 0
|
||||
m_faceColor:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontSize: 1.25
|
||||
m_fontSizeBase: 1.25
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 18
|
||||
m_fontSizeMax: 72
|
||||
m_fontStyle: 1
|
||||
m_HorizontalAlignment: 1
|
||||
m_VerticalAlignment: 512
|
||||
m_textAlignment: 65535
|
||||
m_characterSpacing: 0
|
||||
m_wordSpacing: 0
|
||||
m_lineSpacing: 0
|
||||
m_lineSpacingMax: 0
|
||||
m_paragraphSpacing: 0
|
||||
m_charWidthMaxAdj: 0
|
||||
m_TextWrappingMode: 1
|
||||
m_wordWrappingRatios: 0.4
|
||||
m_overflowMode: 0
|
||||
m_linkedTextComponent: {fileID: 0}
|
||||
parentLinkedComponent: {fileID: 0}
|
||||
m_enableKerning: 0
|
||||
m_ActiveFontFeatures: 6e72656b
|
||||
m_enableExtraPadding: 0
|
||||
checkPaddingRequired: 0
|
||||
m_isRichText: 1
|
||||
m_EmojiFallbackSupport: 1
|
||||
m_parseCtrlCharacters: 1
|
||||
m_isOrthographic: 0
|
||||
m_isCullingEnabled: 0
|
||||
m_horizontalMapping: 0
|
||||
m_verticalMapping: 0
|
||||
m_uvLineOffset: 0
|
||||
m_geometrySortingOrder: 0
|
||||
m_IsTextObjectScaleStatic: 0
|
||||
m_VertexBufferAutoSizeReduction: 0
|
||||
m_useMaxVisibleDescender: 1
|
||||
m_pageToDisplay: 1
|
||||
m_margin: {x: 0, y: 0, z: -0.59575295, w: 0}
|
||||
m_isUsingLegacyAnimationComponent: 0
|
||||
m_isVolumetricText: 0
|
||||
_SortingLayer: 0
|
||||
_SortingLayerID: 0
|
||||
_SortingOrder: 0
|
||||
m_hasFontAssetChanged: 0
|
||||
m_renderer: {fileID: 8392419209326797689}
|
||||
m_maskType: 0
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 65acee4392db51c4197f3c42be8cc30f
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -16,25 +16,25 @@ namespace HeavenStudio.Games.Loaders
|
|||
|
||||
public static class AgbBonOdoriLoader
|
||||
{
|
||||
|
||||
public static Minigame AddGame(EventCaller eventCaller)
|
||||
{
|
||||
return new Minigame("bonOdori", "The☆Bon Odori \n<color=#adadad>(Za☆Bon Odori)</color>", "312B9F", false, false, new List<GameAction>()
|
||||
{ new GameAction("bop", "Bop")
|
||||
{ function = delegate {BonOdori.instance.Bop(eventCaller.currentEntity.beat, eventCaller.currentEntity.length, eventCaller.currentEntity["toggle"], eventCaller.currentEntity["auto"]);},
|
||||
{
|
||||
new GameAction("bop", "Bop")
|
||||
{
|
||||
function = delegate { var e = eventCaller.currentEntity; BonOdori.instance.ToggleBop(e.beat, e.length, e["toggle"], e["auto"]);},
|
||||
resizable = true,
|
||||
parameters = new List<Param>()
|
||||
{
|
||||
new Param("toggle", true, "Bop", "Toggle if the Donpans and Yagura-chan should bop for the duration of this event."),
|
||||
new Param("auto", false, "Bop (Auto)", "Toggle if the Donpans and Yagura-chan should automatically bop until another Bop event is reached."),
|
||||
},
|
||||
|
||||
},
|
||||
|
||||
new GameAction("pan", "Pan")
|
||||
{
|
||||
|
||||
preFunction = delegate {
|
||||
preFunction = delegate
|
||||
{
|
||||
var e = eventCaller.currentEntity;
|
||||
string variation = "variation" + (new string[] { "Pan", "Pa", "Pa_n" })[e["type"]];
|
||||
BonOdori.instance.PreClap(e.beat, e[variation], e["type"], e["mute"],e["clapType"], e["semitone"]);
|
||||
|
@ -53,12 +53,11 @@ namespace HeavenStudio.Games.Loaders
|
|||
new Param("variationPa_n", BonOdori.variationPa_n.Pa_nA , "Pa-n Type", "Set the variation of the voice line."),
|
||||
new Param("clapType", BonOdori.typeClap.SideClap, "Clap Type", "Set the type of clap."),
|
||||
new Param("semitone", new EntityTypes.Integer(-EntityTypes.Note.maxSemitones, EntityTypes.Note.maxSemitones, 0), "Semitone", "Set the number of semitones up or down this note should be pitched."),
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
new GameAction("don", "Don")
|
||||
{
|
||||
|
||||
function = delegate {
|
||||
var e = eventCaller.currentEntity;
|
||||
string variation = "variation" + (new string[] { "Don", "Do", "Do_n" })[e["type"]];
|
||||
|
@ -76,15 +75,17 @@ namespace HeavenStudio.Games.Loaders
|
|||
new Param("variationDo", BonOdori.variationDo.DoC, "Do Type", "Set the variation of the voice line."),
|
||||
new Param("variationDo_n", BonOdori.variationDo_n.Do_nA, "Do-n Type", "Set the variation of the voice line."),
|
||||
new Param("semitone", new EntityTypes.Integer(-EntityTypes.Note.maxSemitones, EntityTypes.Note.maxSemitones, 0), "Semitone", "Set the number of semitones up or down this note should be pitched."),
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
new GameAction("show text", "Show Text")
|
||||
{
|
||||
function = delegate {BonOdori.instance.ShowText(eventCaller.currentEntity["line 1"], eventCaller.currentEntity["line 2"], eventCaller.currentEntity["line 3"], eventCaller.currentEntity["line 4"], eventCaller.currentEntity["line 5"]);},
|
||||
function = delegate { var e = eventCaller.currentEntity; BonOdori.instance.ShowText(e["line 1"], e["line 2"], e["line 3"], e["line 4"], e["line 5"]);},
|
||||
defaultLength = 1f,
|
||||
parameters = new List<Param>()
|
||||
{ new Param("whichLine", new EntityTypes.Integer(1,5,1), "Line", "Which line to modify.", new(){
|
||||
{
|
||||
new Param("whichLine", new EntityTypes.Integer(1,5,1), "Line", "Which line to modify.", new()
|
||||
{
|
||||
new((x, _) => (int)x == 1, new string[] { "line 1"}),
|
||||
new((x, _) => (int)x == 2, new string[] { "line 2"}),
|
||||
new((x, _) => (int)x == 3, new string[] { "line 3"}),
|
||||
|
@ -93,19 +94,16 @@ namespace HeavenStudio.Games.Loaders
|
|||
}),
|
||||
new Param("line 1", "Type r| for red text, g| for green text and y| for yellow text. These can be used multiple times in a single line.", "Line 1", "Set the text for line 1."),
|
||||
new Param("line 2", "", "Line 2", "Set the text for line 2."),
|
||||
new Param("line 3", "", "Line 3", "Set the text for line 3.y"),
|
||||
new Param("line 3", "", "Line 3", "Set the text for line 3."),
|
||||
new Param("line 4", "", "Line 4", "Set the text for line 4."),
|
||||
new Param("line 5", "", "Line 5", "Set the text for line 5."),
|
||||
|
||||
|
||||
|
||||
|
||||
},
|
||||
priority = 1
|
||||
},
|
||||
|
||||
new GameAction("delete text", "Delete Text")
|
||||
{
|
||||
function = delegate {BonOdori.instance.DeleteText(eventCaller.currentEntity["line 1"],eventCaller.currentEntity["line 2"],eventCaller.currentEntity["line 3"],eventCaller.currentEntity["line 4"],eventCaller.currentEntity["line 5"]);},
|
||||
function = delegate { var e = eventCaller.currentEntity; BonOdori.instance.DeleteText(e["line 1"], e["line 2"], e["line 3"], e["line 4"], e["line 5"]);},
|
||||
defaultLength = 1f,
|
||||
parameters = new List<Param>()
|
||||
{
|
||||
|
@ -115,11 +113,11 @@ namespace HeavenStudio.Games.Loaders
|
|||
new Param("line 4", false, "Line 4", "Delete the contents of line 4."),
|
||||
new Param("line 5", false, "Line 5", "Delete the contents of line 5."),
|
||||
},
|
||||
|
||||
},
|
||||
|
||||
new GameAction("scroll text", "Scroll Text")
|
||||
{
|
||||
function = delegate {BonOdori.instance.ScrollText(eventCaller.currentEntity["line 1"],eventCaller.currentEntity["line 2"],eventCaller.currentEntity["line 3"],eventCaller.currentEntity["line 4"],eventCaller.currentEntity["line 5"], eventCaller.currentEntity.length, eventCaller.currentEntity.beat);},
|
||||
function = delegate { var e = eventCaller.currentEntity; BonOdori.instance.ScrollText(e.beat, e.length, e["line 1"], e["line 2"], e["line 3"], e["line 4"], e["line 5"]);},
|
||||
defaultLength = 1f,
|
||||
resizable = true,
|
||||
parameters = new List<Param>()
|
||||
|
@ -132,6 +130,7 @@ namespace HeavenStudio.Games.Loaders
|
|||
},
|
||||
|
||||
},
|
||||
|
||||
new GameAction("bow", "Bow")
|
||||
{
|
||||
function = delegate { BonOdori.instance.Bow(eventCaller.currentEntity.beat, eventCaller.currentEntity.length);},
|
||||
|
@ -139,12 +138,13 @@ namespace HeavenStudio.Games.Loaders
|
|||
resizable = true,
|
||||
|
||||
},
|
||||
|
||||
// new GameAction("spin", "Spin")
|
||||
// {
|
||||
// function = delegate { BonOdori.instance.Spin(eventCaller.currentEntity.beat, eventCaller.currentEntity.length);},
|
||||
// defaultLength = 1f,
|
||||
|
||||
// },
|
||||
|
||||
new GameAction("toggle bg", "Toggle Darker Background")
|
||||
{
|
||||
function = delegate { BonOdori.instance.DarkBG(eventCaller.currentEntity.beat, eventCaller.currentEntity["toggle"], eventCaller.currentEntity.length);},
|
||||
|
@ -153,26 +153,17 @@ namespace HeavenStudio.Games.Loaders
|
|||
{
|
||||
new Param("toggle", true, "Darken Background", "Darkens the background"),
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
||||
},
|
||||
new List<string>() { "agb", "normal" }, "agbBonOdori", "en", new List<string>() { }
|
||||
);
|
||||
}
|
||||
};
|
||||
};
|
||||
namespace HeavenStudio.Games
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
public class BonOdori : Minigame
|
||||
{
|
||||
|
||||
string prefix;
|
||||
double beatUniversal;
|
||||
string suffix;
|
||||
|
@ -182,54 +173,19 @@ namespace HeavenStudio.Games
|
|||
bool bopDonpans;
|
||||
int clapTypeGlobal = 0;
|
||||
string clapTypeString = "ClapSide";
|
||||
string originalText1;
|
||||
string originalText2;
|
||||
string originalText3;
|
||||
string originalText4;
|
||||
string originalText5;
|
||||
Coroutine Scroll1;
|
||||
Coroutine Scroll2;
|
||||
Coroutine Scroll3;
|
||||
Coroutine Scroll4;
|
||||
Coroutine Scroll5;
|
||||
string[] originalTexts = new string[5];
|
||||
Coroutine[] Scrolls = new Coroutine[5];
|
||||
Coroutine DarkerBG;
|
||||
bool darkBgIsOn = false;
|
||||
TextMeshProUGUI Text1_GUI;
|
||||
TextMeshProUGUI Text2_GUI;
|
||||
TextMeshProUGUI Text3_GUI;
|
||||
TextMeshProUGUI Text4_GUI;
|
||||
TextMeshProUGUI Text5_GUI;
|
||||
TextMeshProUGUI Text6_GUI;
|
||||
TextMeshProUGUI Text7_GUI;
|
||||
TextMeshProUGUI Text8_GUI;
|
||||
TextMeshProUGUI Text9_GUI;
|
||||
TextMeshProUGUI Text10_GUI;
|
||||
|
||||
|
||||
|
||||
[SerializeField] TMP_Text Text1;
|
||||
[SerializeField] TMP_Text Text2;
|
||||
[SerializeField] TMP_Text Text3;
|
||||
[SerializeField] TMP_Text Text4;
|
||||
[SerializeField] TMP_Text Text5;
|
||||
|
||||
[SerializeField] TMP_Text Text6;
|
||||
[SerializeField] TMP_Text Text7;
|
||||
[SerializeField] TMP_Text Text8;
|
||||
[SerializeField] TMP_Text Text9;
|
||||
[SerializeField] TMP_Text Text10;
|
||||
[SerializeField] Animator Player;
|
||||
[SerializeField] TMP_Text[] Texts;
|
||||
[SerializeField] TMP_Text[] TextsBlue;
|
||||
[SerializeField] Animator[] Donpans;
|
||||
[SerializeField] Animator[] DonpansFace;
|
||||
[SerializeField] Animator Judge;
|
||||
[SerializeField] Animator JudgeFace;
|
||||
[SerializeField] GameObject DarkPlane;
|
||||
|
||||
[SerializeField] Animator CPU1;
|
||||
[SerializeField] Animator CPU2;
|
||||
[SerializeField] Animator CPU3;
|
||||
[SerializeField] Animator Face;
|
||||
[SerializeField] Animator CPU1Face;
|
||||
[SerializeField] Animator CPU2Face;
|
||||
[SerializeField] Animator CPU3Face;
|
||||
[SerializeField] Animator PlayerFace;
|
||||
public enum typeClap
|
||||
{
|
||||
SideClap = 0,
|
||||
|
@ -245,9 +201,8 @@ namespace HeavenStudio.Games
|
|||
public bool muted;
|
||||
public int clapType;
|
||||
public int semitone;
|
||||
|
||||
|
||||
}
|
||||
|
||||
public enum typePan
|
||||
{
|
||||
Pan = 0,
|
||||
|
@ -294,73 +249,38 @@ namespace HeavenStudio.Games
|
|||
DoC = 0,
|
||||
DoG = 1
|
||||
}
|
||||
public static BonOdori instance { get; set; }
|
||||
public void Awake()
|
||||
|
||||
public static BonOdori instance { get; set; }
|
||||
|
||||
public void Awake()
|
||||
{
|
||||
darkPlane = DarkPlane.GetComponent<SpriteRenderer>();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
clapTypeGlobal = 0;
|
||||
instance = this;
|
||||
Text1_GUI = Text1.GetComponent<TextMeshProUGUI>();
|
||||
Text2_GUI = Text2.GetComponent<TextMeshProUGUI>();
|
||||
Text3_GUI = Text3.GetComponent<TextMeshProUGUI>();
|
||||
Text4_GUI = Text4.GetComponent<TextMeshProUGUI>();
|
||||
Text5_GUI = Text5.GetComponent<TextMeshProUGUI>();
|
||||
Text6_GUI = Text6.GetComponent<TextMeshProUGUI>();
|
||||
Text7_GUI = Text7.GetComponent<TextMeshProUGUI>();
|
||||
Text8_GUI = Text8.GetComponent<TextMeshProUGUI>();
|
||||
Text9_GUI = Text9.GetComponent<TextMeshProUGUI>();
|
||||
Text10_GUI = Text10.GetComponent<TextMeshProUGUI>();
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public void OnStop()
|
||||
{
|
||||
DarkPlane.GetComponent<SpriteRenderer>().color = new Color(1f, 1f, 1f, 0f);
|
||||
|
||||
}
|
||||
|
||||
public void Update()
|
||||
{
|
||||
Conductor con = new Conductor();
|
||||
if (!con.NotStopped())
|
||||
var cond = Conductor.instance;
|
||||
if (!cond.isPlaying || cond.isPaused) return;
|
||||
|
||||
if (!cond.NotStopped())
|
||||
{
|
||||
Text1.text = "";
|
||||
Text2.text = "";
|
||||
Text3.text = "";
|
||||
Text4.text = "";
|
||||
Text6.text = "";
|
||||
Text7.text = "";
|
||||
Text8.text = "";
|
||||
Text9.text = "";
|
||||
Text10.text = "";
|
||||
|
||||
|
||||
|
||||
StopCoroutine(Scroll1);
|
||||
StopCoroutine(Scroll2);
|
||||
StopCoroutine(Scroll3);
|
||||
StopCoroutine(Scroll4);
|
||||
StopCoroutine(Scroll5);
|
||||
StopCoroutine(DarkerBG);
|
||||
Text6.GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10f, -10f, -10f, 10));
|
||||
Text7.GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10f, -10f, -10f, 10));
|
||||
Text8.GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10f, -10f, -10f, 10));
|
||||
Text9.GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10f, -10f, -10f, 10));
|
||||
Text10.GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10f, -10f, -10f, 10));
|
||||
|
||||
|
||||
|
||||
for (int i = 0; i < Scrolls.Length; i++)
|
||||
{
|
||||
StopCoroutine(Scrolls[i]);
|
||||
Texts[i].text = "";
|
||||
TextsBlue[i].text = "";
|
||||
TextsBlue[i].GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10f, -10f, -10f, 10));
|
||||
}
|
||||
StopCoroutine(DarkerBG);
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (PlayerInput.GetIsAction(BonOdori.InputAction_BasicPress) && !IsExpectingInputNow(InputAction_BasicPress))
|
||||
{
|
||||
|
@ -375,39 +295,31 @@ namespace HeavenStudio.Games
|
|||
clapTypeString = "ClapFront";
|
||||
}
|
||||
|
||||
Player.DoScaledAnimationAsync(clapTypeString, 0.5f);
|
||||
Donpans[0].DoScaledAnimationAsync(clapTypeString, 0.5f);
|
||||
if (!goBopDonpans)
|
||||
{
|
||||
|
||||
|
||||
BeatAction.New(instance, new List<BeatAction.Action>()
|
||||
{
|
||||
new BeatAction.Action(beatUniversal + 1d, delegate { Player.DoScaledAnimationAsync("NeutralClapped", 0.5f); CPU1.DoScaledAnimationAsync("NeutralClapped", 0.5f); CPU2.DoScaledAnimationAsync("NeutralClapped", 0.5f); CPU3.DoScaledAnimationAsync("NeutralClapped", 0.5f);}),
|
||||
new BeatAction.Action(beatUniversal + 1d, delegate {
|
||||
foreach (var chara in Donpans) {
|
||||
chara.DoScaledAnimationAsync("NeutralClapped", 0.5f);
|
||||
}
|
||||
}),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public override void OnGameSwitch(double beat)
|
||||
{
|
||||
|
||||
if (queuedClaps.Count > 0)
|
||||
{
|
||||
foreach (var clap in queuedClaps) Clap(clap.beat, clap.variation, clap.typeSpeak, clap.muted, clap.clapType, clap.semitone);
|
||||
queuedClaps.Clear();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void PreClap(double beat, int variation, int typeSpeak, bool muted, int clapType, int semitone)
|
||||
{
|
||||
if (GameManager.instance.currentGame == "bonOdori")
|
||||
|
@ -427,8 +339,8 @@ namespace HeavenStudio.Games
|
|||
});
|
||||
}
|
||||
}
|
||||
public void Clap(double beat, int variation, int typeSpeak, bool muted, int clapType, int semitone)
|
||||
|
||||
public void Clap(double beat, int variation, int typeSpeak, bool muted, int clapType, int semitone)
|
||||
{
|
||||
if (clapType == 1)
|
||||
{
|
||||
|
@ -438,14 +350,8 @@ namespace HeavenStudio.Games
|
|||
{
|
||||
clapTypeGlobal = 0;
|
||||
}
|
||||
if (muted)
|
||||
if (!muted)
|
||||
{
|
||||
ScheduleInput(beat, 0f, InputAction_BasicPress, Success, Miss, Empty);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
|
||||
string clip = typeSpeak switch
|
||||
{
|
||||
0 => "pan",
|
||||
|
@ -455,13 +361,11 @@ namespace HeavenStudio.Games
|
|||
var pitch = SoundByte.GetPitchFromSemiTones(semitone, true);
|
||||
SoundByte.PlayOneShotGame($"bonOdori/" + clip + (variation + 1), beat, pitch);
|
||||
|
||||
|
||||
|
||||
|
||||
beatUniversal = beat;
|
||||
}
|
||||
ScheduleInput(beat, 0f, InputAction_BasicPress, Success, Miss, Empty);
|
||||
}
|
||||
}
|
||||
|
||||
public void Sound(double beat, int variation, int typeSpeak, int semitone)
|
||||
{
|
||||
string clip = typeSpeak switch
|
||||
|
@ -474,7 +378,6 @@ namespace HeavenStudio.Games
|
|||
var pitch = SoundByte.GetPitchFromSemiTones(semitone, true);
|
||||
|
||||
SoundByte.PlayOneShotGame($"bonOdori/" + clip + (variation + 1), beat, pitch);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -488,39 +391,25 @@ namespace HeavenStudio.Games
|
|||
{
|
||||
clapTypeString = "ClapFront";
|
||||
}
|
||||
foreach (var chara in Donpans) {
|
||||
chara.DoScaledAnimationAsync(clapTypeString, 0.5f);
|
||||
}
|
||||
|
||||
Player.DoScaledAnimationAsync(clapTypeString, 0.5f);
|
||||
CPU1.DoScaledAnimationAsync(clapTypeString, 0.5f);
|
||||
CPU2.DoScaledAnimationAsync(clapTypeString, 0.5f);
|
||||
CPU3.DoScaledAnimationAsync(clapTypeString, 0.5f);
|
||||
if (!goBopDonpans)
|
||||
{
|
||||
|
||||
|
||||
BeatAction.New(instance, new List<BeatAction.Action>()
|
||||
{
|
||||
new BeatAction.Action(beatUniversal + 1d, delegate { Player.Play("NeutralClapped"); CPU1.Play("NeutralClapped"); CPU2.Play("NeutralClapped"); CPU3.Play("NeutralClapped");}),
|
||||
new BeatAction.Action(beatUniversal + 1d, delegate {
|
||||
foreach (var chara in Donpans) {
|
||||
chara.DoScaledAnimationAsync("NeutralClapped", 0.5f);
|
||||
}
|
||||
}),
|
||||
});
|
||||
}
|
||||
SoundByte.PlayOneShotGame("bonOdori/clap");
|
||||
}
|
||||
|
||||
public void Miss(PlayerActionEvent caller)
|
||||
{
|
||||
CPU1.DoScaledAnimationAsync(clapTypeString, 0.5f);
|
||||
CPU2.DoScaledAnimationAsync(clapTypeString, 0.5f);
|
||||
CPU3.DoScaledAnimationAsync(clapTypeString, 0.5f);
|
||||
SoundByte.PlayOneShot("miss");
|
||||
BeatAction.New(instance, new List<BeatAction.Action>()
|
||||
{
|
||||
new BeatAction.Action(beatUniversal + 1d, delegate { Face.Play("Sad");}),
|
||||
new BeatAction.Action(beatUniversal + 3d, delegate {Face.Play("Neutral");})
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
public void Empty(PlayerActionEvent caller)
|
||||
{
|
||||
if (clapTypeGlobal == 0)
|
||||
{
|
||||
|
@ -530,36 +419,33 @@ namespace HeavenStudio.Games
|
|||
{
|
||||
clapTypeString = "ClapFront";
|
||||
}
|
||||
foreach (var chara in Donpans) {
|
||||
chara.DoScaledAnimationAsync(clapTypeString, 0.5f);
|
||||
}
|
||||
|
||||
Player.DoScaledAnimationAsync(clapTypeString, 0.5f);
|
||||
CPU1.DoScaledAnimationAsync(clapTypeString, 0.5f);
|
||||
CPU2.DoScaledAnimationAsync(clapTypeString, 0.5f);
|
||||
CPU3.DoScaledAnimationAsync(clapTypeString, 0.5f);
|
||||
if (!goBopDonpans)
|
||||
{
|
||||
|
||||
|
||||
SoundByte.PlayOneShot("miss");
|
||||
BeatAction.New(instance, new List<BeatAction.Action>()
|
||||
{
|
||||
new BeatAction.Action(beatUniversal + 1d, delegate { Player.Play("NeutralClapped"); CPU1.Play("NeutralClapped"); CPU2.Play("NeutralClapped"); CPU3.Play("NeutralClapped");}),
|
||||
new BeatAction.Action(beatUniversal + 1d, delegate { JudgeFace.Play("Sad");}),
|
||||
new BeatAction.Action(beatUniversal + 3d, delegate { JudgeFace.Play("Neutral");})
|
||||
});
|
||||
}
|
||||
|
||||
SoundByte.PlayOneShot("nearMiss");
|
||||
|
||||
|
||||
}
|
||||
string ChangeColor(string text, bool isScroll)
|
||||
|
||||
public void Empty(PlayerActionEvent caller) { }
|
||||
|
||||
string ConvertText(string text, bool isScroll = false)
|
||||
{
|
||||
if (text.Contains("r|") | text.Contains("y|") | text.Contains("g|"))
|
||||
if (text.Contains("r|") | text.Contains("y|") | text.Contains("g|") | text.Contains("s|") | text.Contains("d|"))
|
||||
{
|
||||
if (!isScroll)
|
||||
{
|
||||
|
||||
|
||||
return text.Replace("r|", "<color=#ff0000>")
|
||||
.Replace("g|", "<color=#00ff00>")
|
||||
.Replace("y|", "<color=#ffff00>")
|
||||
.Replace("s|", "<size=0.9375>")
|
||||
.Replace("|s", "</size>")
|
||||
.Replace("d|", "")
|
||||
+ "</color>";
|
||||
}
|
||||
else
|
||||
|
@ -567,209 +453,139 @@ namespace HeavenStudio.Games
|
|||
return text.Replace("r|", "<color=#ff00ff>")
|
||||
.Replace("g|", "<color=#00ffff>")
|
||||
.Replace("y|", "<color=#ffffff>")
|
||||
.Replace("s|", "<size=0.9375>")
|
||||
.Replace("|s", "</size>")
|
||||
.Replace("d|", "")
|
||||
+ "</color>";
|
||||
|
||||
}
|
||||
}
|
||||
return text;
|
||||
}
|
||||
|
||||
int[] GetTextPositions(string text)
|
||||
{
|
||||
string preSplitedText = text.Replace("r|", "")
|
||||
.Replace("g|", "")
|
||||
.Replace("y|", "")
|
||||
.Replace("s|", "")
|
||||
.Replace("|s", "");
|
||||
string[] parts = preSplitedText.Split(new string[] { "d|" }, StringSplitOptions.None);
|
||||
|
||||
List<int> positions = new List<int>();
|
||||
int currentPosition = 0;
|
||||
foreach (var part in parts)
|
||||
{
|
||||
positions.Add(currentPosition);
|
||||
currentPosition += part.Length;
|
||||
}
|
||||
|
||||
return positions.ToArray();
|
||||
}
|
||||
|
||||
public void ShowText(string text1, string text2, string text3, string text4, string text5)
|
||||
{
|
||||
var texts = new string[]{text1, text2, text3, text4, text5};
|
||||
|
||||
if (text1 is not "" && text1 is not "Type r| for red text, g| for green text and y| for yellow text. These can be used multiple times in a single line.")
|
||||
for (int i = 0; i < texts.Length; i++)
|
||||
{
|
||||
if (Scroll1 is not null)
|
||||
var text = texts[i];
|
||||
if (text is not "" and not "Type r| for red text, g| for green text and y| for yellow text. These can be used multiple times in a single line.")
|
||||
{
|
||||
StopCoroutine(Scroll1);
|
||||
Scroll1 = null;
|
||||
}
|
||||
Text6.GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10f, -10f, -10f, 10));
|
||||
originalText1 = text1;
|
||||
text1 = ChangeColor(text1, false);
|
||||
var scroll = Scrolls[i];
|
||||
var textTMP = Texts[i];
|
||||
var textBlueTMP = TextsBlue[i];
|
||||
|
||||
Text1.text = text1;
|
||||
|
||||
|
||||
Text6.text = ChangeColor(originalText1, true);
|
||||
|
||||
}
|
||||
if (text2 is not "")
|
||||
if (scroll is not null)
|
||||
{
|
||||
if (Scroll2 is not null)
|
||||
{
|
||||
StopCoroutine(Scroll2);
|
||||
Scroll2 = null;
|
||||
StopCoroutine(scroll);
|
||||
scroll = null;
|
||||
}
|
||||
Text7.GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10f, -10f, -10f, 10));
|
||||
originalText2 = text2;
|
||||
text2 = ChangeColor(text2, false);
|
||||
Text2.text = text2;
|
||||
Text7.text = ChangeColor(originalText2, true);
|
||||
textBlueTMP.GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10f, -10f, -10f, 10));
|
||||
|
||||
originalTexts[i] = text;
|
||||
text = ConvertText(originalTexts[i], false);
|
||||
|
||||
textTMP.text = text;
|
||||
textBlueTMP.text = ConvertText(originalTexts[i], true);
|
||||
}
|
||||
if (text3 is not "")
|
||||
{
|
||||
if (Scroll3 is not null)
|
||||
{
|
||||
StopCoroutine(Scroll3);
|
||||
Scroll3 = null;
|
||||
}
|
||||
originalText3 = text3;
|
||||
Text8.GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10f, -10f, -10f, 10));
|
||||
|
||||
text3 = ChangeColor(text3, false);
|
||||
|
||||
Text3.text = text3;
|
||||
Text8.text = ChangeColor(originalText3, true);
|
||||
|
||||
}
|
||||
if (text4 is not "")
|
||||
{
|
||||
if (Scroll4 is not null)
|
||||
{
|
||||
StopCoroutine(Scroll4);
|
||||
Scroll4 = null;
|
||||
}
|
||||
Text9.GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10f, -10f, -10f, 10));
|
||||
originalText4 = text4;
|
||||
text4 = ChangeColor(text4, false);
|
||||
Text4.text = text4;
|
||||
|
||||
Text9.text = text4;
|
||||
Text9.text = ChangeColor(originalText4, true);
|
||||
|
||||
}
|
||||
if (text5 is not "")
|
||||
{
|
||||
if (Scroll5 is not null)
|
||||
{
|
||||
StopCoroutine(Scroll5);
|
||||
Scroll5 = null;
|
||||
}
|
||||
Text10.GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10f, -10f, -10f, 10));
|
||||
originalText5 = text5;
|
||||
text5 = ChangeColor(text5, false);
|
||||
Text5.text = text5;
|
||||
Text10.text = ChangeColor(originalText5, true);
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
public void DeleteText(bool text1, bool text2, bool text3, bool text4, bool text5)
|
||||
{
|
||||
if (text1 == true)
|
||||
var texts = new bool[]{text1, text2, text3, text4, text5};
|
||||
|
||||
for (int i = 0; i < texts.Length; i++)
|
||||
{
|
||||
if (Scroll1 is not null)
|
||||
if (texts[i] == true)
|
||||
{
|
||||
StopCoroutine(Scroll1);
|
||||
Scroll1 = null;
|
||||
var scroll = Scrolls[i];
|
||||
var textTMP = Texts[i];
|
||||
var textBlueTMP = TextsBlue[i];
|
||||
|
||||
if (scroll is not null)
|
||||
{
|
||||
StopCoroutine(scroll);
|
||||
scroll = null;
|
||||
}
|
||||
Text6.GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10, -10, -10, 10));
|
||||
Text1.text = "";
|
||||
Text6.text = "";
|
||||
textBlueTMP.GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10, -10, -10, 10));
|
||||
textTMP.text = "";
|
||||
textBlueTMP.text = "";
|
||||
}
|
||||
if (text2 == true)
|
||||
{
|
||||
if (Scroll2 is not null)
|
||||
{
|
||||
StopCoroutine(Scroll2);
|
||||
Scroll2 = null;
|
||||
}
|
||||
Text7.GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10, -10, -10, 10));
|
||||
Text2.text = "";
|
||||
Text7.text = "";
|
||||
}
|
||||
if (text3 == true)
|
||||
{
|
||||
if (Scroll3 is not null)
|
||||
{
|
||||
StopCoroutine(Scroll3);
|
||||
Scroll3 = null;
|
||||
}
|
||||
Text8.GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10, -10, -10, 10));
|
||||
Text3.text = "";
|
||||
Text8.text = "";
|
||||
}
|
||||
if (text4 == true)
|
||||
{
|
||||
if (Scroll4 is not null)
|
||||
{
|
||||
StopCoroutine(Scroll4);
|
||||
Scroll4 = null;
|
||||
}
|
||||
Text9.GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10, -10, -10, 10));
|
||||
Text4.text = "";
|
||||
Text9.text = "";
|
||||
}
|
||||
if (text5 == true)
|
||||
{
|
||||
if (Scroll5 is not null)
|
||||
{
|
||||
StopCoroutine(Scroll5);
|
||||
Scroll5 = null;
|
||||
}
|
||||
Text10.GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10, -10, -10, 10));
|
||||
Text5.text = "";
|
||||
Text10.text = "";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
IEnumerator SmoothText(TMP_Text text, float length, double beat)
|
||||
IEnumerator SmoothText(double beat, float length, TextMeshPro textTMP, float[] maskEdges)
|
||||
{
|
||||
Conductor conductor = new Conductor();
|
||||
var cond = Conductor.instance;
|
||||
float startTime = Time.time;
|
||||
float endTime = startTime + length;
|
||||
float duration = ((length / conductor.GetBpmAtBeat(beat)) * 60);
|
||||
float duration = ((length / cond.GetBpmAtBeat(beat)) * 60);
|
||||
|
||||
int len = maskEdges.Length;
|
||||
|
||||
while (Time.time < endTime)
|
||||
{
|
||||
float t = ((Time.time - startTime) / duration);
|
||||
|
||||
float maskValue = Mathf.Lerp(-10f, -7f, t);
|
||||
|
||||
text.GetComponent<TextMeshPro>().SetMask(0, new Vector4(-10, -10, maskValue, 10));
|
||||
int index = Math.Max(0, Math.Min((int)Math.Floor(t * (len-1)), len-2));
|
||||
t = t * (len-1) - index;
|
||||
float maskValue = Mathf.Lerp(maskEdges[index], maskEdges[index+1], t);
|
||||
textTMP.SetMask(0, new Vector4(-10, -10, maskValue, 10));
|
||||
|
||||
yield return null;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public void ScrollText(double beat, float length, bool text1, bool text2, bool text3, bool text4, bool text5)
|
||||
{
|
||||
var texts = new bool[]{text1, text2, text3, text4, text5};
|
||||
|
||||
for (int i = 0; i < texts.Length; i++)
|
||||
{
|
||||
if (texts[i])
|
||||
{
|
||||
var textTMP = TextsBlue[i].GetComponent<TextMeshPro>();
|
||||
|
||||
int[] positions = GetTextPositions(originalTexts[i]);
|
||||
var maskEdges = new List<float>();
|
||||
foreach (var pos in positions)
|
||||
{
|
||||
maskEdges.Add(textTMP.textInfo.characterInfo[pos].topLeft.x);
|
||||
}
|
||||
public void ScrollText(bool text1, bool text2, bool text3, bool text4, bool text5, float length, double beat)
|
||||
{
|
||||
if (text1)
|
||||
{
|
||||
Scroll1 = StartCoroutine(SmoothText(Text6, length, beat));
|
||||
maskEdges[0] = -textTMP.rectTransform.sizeDelta.x/2;
|
||||
maskEdges.Add(maskEdges[0] + textTMP.preferredWidth);
|
||||
|
||||
Scrolls[i] = StartCoroutine(SmoothText(beat, length, textTMP, maskEdges.ToArray()));
|
||||
}
|
||||
if (text2)
|
||||
{
|
||||
Scroll2 = StartCoroutine(SmoothText(Text7, length, beat));
|
||||
}
|
||||
if (text3)
|
||||
{
|
||||
Scroll3 = StartCoroutine(SmoothText(Text8, length, beat));
|
||||
}
|
||||
if (text4)
|
||||
{
|
||||
Scroll4 = StartCoroutine(SmoothText(Text9, length, beat));
|
||||
}
|
||||
if (text5)
|
||||
{
|
||||
Scroll5 = StartCoroutine(SmoothText(Text10, length, beat));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void Bop(double beat, float length, bool shouldBop, bool autoBop)
|
||||
public void ToggleBop(double beat, float length, bool bopOrNah, bool autoBop)
|
||||
{
|
||||
goBopDonpans = autoBop; goBopJudge = autoBop;
|
||||
if (autoBop && shouldBop) { return; }
|
||||
if (shouldBop)
|
||||
if (autoBop) return;
|
||||
if (bopOrNah)
|
||||
{
|
||||
for (int i = 0; i < length; i++)
|
||||
{
|
||||
|
@ -777,33 +593,23 @@ namespace HeavenStudio.Games
|
|||
{
|
||||
new BeatAction.Action(beat + i, delegate
|
||||
{
|
||||
Player.DoScaledAnimationAsync("Bop", 0.5f);
|
||||
CPU1.DoScaledAnimationAsync("Bop", 0.5f);
|
||||
CPU2.DoScaledAnimationAsync("Bop", 0.5f);
|
||||
CPU3.DoScaledAnimationAsync("Bop", 0.5f);
|
||||
foreach (var chara in Donpans) {
|
||||
chara.DoScaledAnimationAsync("Bop", 0.5f);
|
||||
}
|
||||
Judge.DoScaledAnimationAsync("Bop", 0.5f);
|
||||
|
||||
}),
|
||||
new BeatAction.Action(beat + length, delegate
|
||||
{
|
||||
Player.Play("NeutralBopped");
|
||||
CPU1.Play("NeutralBopped");
|
||||
CPU2.Play("NeutralBopped");
|
||||
CPU3.Play("NeutralBopped");
|
||||
|
||||
|
||||
foreach (var chara in Donpans) {
|
||||
chara.Play("NeutralBopped");
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
public void Bow(double beat, float length)
|
||||
{
|
||||
if (goBopDonpans == true)
|
||||
|
@ -816,15 +622,19 @@ namespace HeavenStudio.Games
|
|||
|
||||
}
|
||||
goBopDonpans = false;
|
||||
Player.Play("Bow");
|
||||
CPU1.Play("Bow");
|
||||
CPU2.Play("Bow");
|
||||
CPU3.Play("Bow");
|
||||
foreach (var chara in Donpans) {
|
||||
chara.Play("Bow");
|
||||
}
|
||||
BeatAction.New(instance, new List<BeatAction.Action>()
|
||||
{
|
||||
new BeatAction.Action(beat + length, delegate { Player.Play("NeutralBopped"); CPU1.Play("NeutralBopped");CPU2.Play("NeutralBopped"); CPU3.Play("NeutralBopped"); if (bopDonpans) {goBopDonpans = true;}})
|
||||
new BeatAction.Action(beat + length, delegate {
|
||||
foreach (var chara in Donpans) {
|
||||
chara.Play("NeutralBopped");
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
// public void Spin(double beat, float length)
|
||||
// {
|
||||
|
||||
|
@ -834,22 +644,21 @@ namespace HeavenStudio.Games
|
|||
{
|
||||
if (goBopDonpans)
|
||||
{
|
||||
Player.DoScaledAnimationAsync("Bop", 0.5f);
|
||||
CPU1.DoScaledAnimationAsync("Bop", 0.5f);
|
||||
CPU2.DoScaledAnimationAsync("Bop", 0.5f);
|
||||
CPU3.DoScaledAnimationAsync("Bop", 0.5f);
|
||||
|
||||
foreach (var chara in Donpans) {
|
||||
chara.DoScaledAnimationAsync("Bop", 0.5f);
|
||||
}
|
||||
}
|
||||
if (goBopJudge)
|
||||
{
|
||||
Judge.DoScaledAnimationAsync("Bop", 0.5f);
|
||||
}
|
||||
}
|
||||
|
||||
public void DarkBG(double beat, bool toggle, float length)
|
||||
{
|
||||
DarkerBG = StartCoroutine(DarkBGCoroutine(beat, toggle, length));
|
||||
|
||||
}
|
||||
|
||||
IEnumerator DarkBGCoroutine(double beat, bool toggle, float length)
|
||||
{
|
||||
if (toggle)
|
||||
|
@ -860,23 +669,14 @@ namespace HeavenStudio.Games
|
|||
}
|
||||
else
|
||||
{
|
||||
|
||||
|
||||
float startTime = Time.time;
|
||||
Conductor con = new Conductor();
|
||||
float realLength = length / con.GetBpmAtBeat(beat) * 60;
|
||||
var cond = Conductor.instance;
|
||||
float realLength = length / cond.GetBpmAtBeat(beat) * 60;
|
||||
while (Time.time < realLength + startTime)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
darkPlane.color = new Color(1f, 1f, 1f, Mathf.Lerp(0f, 0.4666f, (Time.time - startTime) / realLength));
|
||||
darkBgIsOn = true;
|
||||
yield return null;
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -888,29 +688,16 @@ namespace HeavenStudio.Games
|
|||
}
|
||||
else
|
||||
{
|
||||
|
||||
|
||||
float startTime = Time.time;
|
||||
Conductor con = new Conductor();
|
||||
float realLength = length / con.GetBpmAtBeat(beat) * 60;
|
||||
var cond = Conductor.instance;
|
||||
float realLength = length / cond.GetBpmAtBeat(beat) * 60;
|
||||
while (Time.time < realLength + startTime)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
darkPlane.color = new Color(1f, 1f, 1f, Mathf.Lerp(0.4666f, 0f, (Time.time - startTime) / realLength));
|
||||
|
||||
darkBgIsOn = true;
|
||||
yield return null;
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue