feat: blood spawn test
This commit is contained in:
parent
76c60f1519
commit
349552674d
7 changed files with 5074 additions and 2 deletions
|
@ -22,6 +22,7 @@ PluginImporter:
|
|||
enabled: 1
|
||||
settings:
|
||||
CPU: x86_64
|
||||
DefaultValueInitialized: true
|
||||
OS: Windows
|
||||
- first:
|
||||
Standalone: Win64
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -21,6 +21,8 @@ namespace View.UI {
|
|||
[SerializeField] private Animation growAnimation;
|
||||
[SerializeField] private Animation endAnimation;
|
||||
|
||||
[SerializeField] private ParticleSystem growParticle;
|
||||
|
||||
private void Start() {
|
||||
_click = FindObjectOfType<Dependencies>().ExpressionClick;
|
||||
_customInput = FindObjectOfType<Dependencies>().CustomInput;
|
||||
|
@ -47,9 +49,11 @@ namespace View.UI {
|
|||
}
|
||||
|
||||
public void UpdateView(int score, float growPercentage) {
|
||||
if (animator.CurrentAnimation == "Rosa_Grow") {
|
||||
if (animator.CurrentAnimation == "Rosa_Grow")
|
||||
animator.PlayUntil(IsLastGrowState(score, growPercentage) ? 1f : growPercentage);
|
||||
}
|
||||
|
||||
growParticle.Play();
|
||||
|
||||
text.text = score.ToString();
|
||||
_firstUpdate = false;
|
||||
}
|
||||
|
|
8
Assets/Sprites/Particles.meta
Normal file
8
Assets/Sprites/Particles.meta
Normal file
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 236a21e95fadf384a9df39ee5ce0a64b
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/Particles/BloodTest.png
(Stored with Git LFS)
Normal file
BIN
Assets/Sprites/Particles/BloodTest.png
(Stored with Git LFS)
Normal file
Binary file not shown.
127
Assets/Sprites/Particles/BloodTest.png.meta
Normal file
127
Assets/Sprites/Particles/BloodTest.png.meta
Normal file
|
@ -0,0 +1,127 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 9538da8adb2e4754691d26904ae28700
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 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
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,32 @@
|
|||
[LOG] System::create : Header version = 2.02.06. Current version = 2.02.06.
|
||||
[LOG] Manager::init : maxchannels = 256 studioflags = 00000006 flags 00000000 extradriverdata 0000000000000000.
|
||||
[LOG] SystemI::init : Initialize version=20206 (124257), maxchannels=256, flags=0x00020000
|
||||
[LOG] SystemI::setOutputInternal : Setting output to 'FMOD WASAPI Output'
|
||||
[LOG] OutputWASAPI::init : Mix Format (WAVEFORMATEX): wFormatTag=0xFFFE, nChannels=2, nSamplesPerSec=48000, nAvgBytesPerSec=384000, nBlockAlign=8, wBitsPerSample=32, cbSize=22.
|
||||
[LOG] OutputWASAPI::init : Mix Format (WAVEFORMATEXTENSIBLE): wValidBitsPerSample=32, dwChannelMask=0x00000003, SubFormat=00000003-0000-0010-8000-00AA00389B71.
|
||||
[LOG] OutputWASAPI::init : Output buffer size: 4096 samples, latency: 0.00ms, period: 10.00ms, DSP buffer: 1024 * 4
|
||||
[LOG] Thread::initThread : Init FMOD stream thread. Affinity: 0x4000000000000003, Priority: 0xFFFF7FFB, Stack Size: 98304, Semaphore: No, Sleep Time: 10, Looping: Yes.
|
||||
[LOG] Thread::initThread : Init FMOD mixer thread. Affinity: 0x4000000000000001, Priority: 0xFFFF7FFA, Stack Size: 81920, Semaphore: No, Sleep Time: 0, Looping: Yes.
|
||||
[LOG] AsyncManager::init : manager 00000231EBBF1858 isAsync 0 updatePeriod 0.02
|
||||
[LOG] AsyncManager::init : done
|
||||
[LOG] PlaybackSystem::init :
|
||||
[LOG] Thread::initThread : Init FMOD Studio sample load thread. Affinity: 0x4000000000000003, Priority: 0xFFFF7FFD, Stack Size: 98304, Semaphore: No, Sleep Time: 1, Looping: No.
|
||||
[LOG] PlaybackSystem::init : done
|
||||
[LOG] Thread::initThread : Init FMOD Studio bank load thread. Affinity: 0x4000000000000003, Priority: 0xFFFF7FFD, Stack Size: 98304, Semaphore: No, Sleep Time: 1, Looping: No.
|
||||
[LOG] Manager::init : done.
|
||||
[LOG] SoundI::release : Rosa_Melo_02 (00000231D9515448)
|
||||
[LOG] SoundI::release : Rosa_Melo_02 (00000230FD6ACAC8)
|
||||
[LOG] SoundI::release : Rosa_Melo_02 (00000231EAB8E2D8)
|
||||
[LOG] SoundI::release : Rosa_Base_01 (00000231D9514D88)
|
||||
[LOG] SoundI::release : Rosa_Base_01 (00000230FD6AD2E8)
|
||||
[LOG] SoundI::release : Rosa_Base_01 (00000231EAB8DC18)
|
||||
[LOG] Thread::callback : FMOD Studio update thread finished.
|
||||
[LOG] Thread::callback : FMOD Studio bank load thread finished.
|
||||
[LOG] Profile::disconnectAll : Profiler disconnecting all clients
|
||||
[LOG] Thread::callback : FMOD Studio sample load thread finished.
|
||||
[LOG] LiveUpdate::release :
|
||||
[LOG] LiveUpdate::reset : Reset connection (reason Disconnected)
|
||||
[LOG] Thread::callback : FMOD stream thread finished.
|
||||
[LOG] Thread::callback : FMOD mixer thread finished.
|
||||
[LOG] Profile::disconnectAll : Profiler disconnecting all clients
|
||||
[LOG] SystemI::close : Closed.
|
Loading…
Add table
Add a link
Reference in a new issue