chicken is almost gosh dang done
woot
This commit is contained in:
parent
a3b7ffb817
commit
0a47248baa
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load diff
|
@ -1,22 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 443f88919c835b14ab3da8486bff39d4
|
|
||||||
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:
|
|
|
@ -1,22 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 80995b8b5f1f4a641915e41a57b8b42b
|
|
||||||
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:
|
|
|
@ -1,22 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: c98a31f816b91ca4fa14aeadc41a49b2
|
|
||||||
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:
|
|
|
@ -1,22 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 43f9665b7d259e84bb35389d4d1269aa
|
|
||||||
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:
|
|
|
@ -1,22 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: c0af0c72b5dea4248a19c4d4e99d842e
|
|
||||||
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:
|
|
|
@ -1,22 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: b88dc14e6a6bee64181dc6b4fefc0f5e
|
|
||||||
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:
|
|
|
@ -1,22 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 7c376fe7ac94b3d4eb7c3f5e997f6af5
|
|
||||||
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:
|
|
|
@ -1,22 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: ad4ee60064f46454f87505944e9a9564
|
|
||||||
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:
|
|
|
@ -1,5 +1,5 @@
|
||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: a02e05e6e60712e4599ec25ea071684b
|
guid: b2e9d75a442e71a4aa1e1d16f5fd3843
|
||||||
AudioImporter:
|
AudioImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
|
@ -1,5 +1,5 @@
|
||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 9aea893ebee772b41962501b245b370b
|
guid: 349373dc153d7194f9c114f310c9fd34
|
||||||
AudioImporter:
|
AudioImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
|
@ -1,5 +1,5 @@
|
||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 874dd224924f43445b11fa0530fda06e
|
guid: a7b13d6acc5881c49a8e09d4cad63ee0
|
||||||
AudioImporter:
|
AudioImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
|
@ -1,5 +1,5 @@
|
||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 5681776aea834be4d8e90d91aa9da510
|
guid: 2c166e2c714f26749bcd463e3fab289c
|
||||||
AudioImporter:
|
AudioImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
22
Assets/Resources/Sfx/games/chargingChicken/MISC2.wav.meta
Normal file
22
Assets/Resources/Sfx/games/chargingChicken/MISC2.wav.meta
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3c55fd84024a38342b72873d373db6bb
|
||||||
|
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:
|
22
Assets/Resources/Sfx/games/chargingChicken/MISC3.wav.meta
Normal file
22
Assets/Resources/Sfx/games/chargingChicken/MISC3.wav.meta
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: bc25fdb1b0e5c1743a865e47fc2a3a64
|
||||||
|
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:
|
22
Assets/Resources/Sfx/games/chargingChicken/MISC4.wav.meta
Normal file
22
Assets/Resources/Sfx/games/chargingChicken/MISC4.wav.meta
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5063e7d0bba8d1142b98017b442aa946
|
||||||
|
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:
|
22
Assets/Resources/Sfx/games/chargingChicken/MISC5.wav.meta
Normal file
22
Assets/Resources/Sfx/games/chargingChicken/MISC5.wav.meta
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1842bdddc55631141a9e4fc6a0a72ae3
|
||||||
|
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:
|
22
Assets/Resources/Sfx/games/chargingChicken/MISC6.wav.meta
Normal file
22
Assets/Resources/Sfx/games/chargingChicken/MISC6.wav.meta
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9e87da9046cde1441963a57680323565
|
||||||
|
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:
|
22
Assets/Resources/Sfx/games/chargingChicken/MISC7.wav.meta
Normal file
22
Assets/Resources/Sfx/games/chargingChicken/MISC7.wav.meta
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d2bc5e51971ed3d4bbf23a4055c5e93d
|
||||||
|
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:
|
22
Assets/Resources/Sfx/games/chargingChicken/MISC8.wav.meta
Normal file
22
Assets/Resources/Sfx/games/chargingChicken/MISC8.wav.meta
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 49f3869706b1d544f9a2b90798a32417
|
||||||
|
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:
|
22
Assets/Resources/Sfx/games/chargingChicken/MISC9.wav.meta
Normal file
22
Assets/Resources/Sfx/games/chargingChicken/MISC9.wav.meta
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: bec18341bb05be3479b51c33c33f41b9
|
||||||
|
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:
|
|
@ -208,6 +208,33 @@ AnimatorState:
|
||||||
m_MirrorParameter:
|
m_MirrorParameter:
|
||||||
m_CycleOffsetParameter:
|
m_CycleOffsetParameter:
|
||||||
m_TimeParameter:
|
m_TimeParameter:
|
||||||
|
--- !u!1102 &-2048305709189509848
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: ChickenLookTo
|
||||||
|
m_Speed: 1
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_Transitions:
|
||||||
|
- {fileID: 8117701978347893876}
|
||||||
|
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: 8e4f3e2e461c44d4cb13f2682c95f4df, type: 2}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
--- !u!1102 &-1229887515245599030
|
--- !u!1102 &-1229887515245599030
|
||||||
AnimatorState:
|
AnimatorState:
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
|
@ -256,6 +283,32 @@ AnimatorController:
|
||||||
m_IKPass: 0
|
m_IKPass: 0
|
||||||
m_SyncedLayerAffectsTiming: 0
|
m_SyncedLayerAffectsTiming: 0
|
||||||
m_Controller: {fileID: 9100000}
|
m_Controller: {fileID: 9100000}
|
||||||
|
--- !u!1102 &256971501336771037
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: ChickenLooking
|
||||||
|
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: cb4e0e5ddaf95154aa70f2737c036539, type: 2}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
--- !u!1107 &592504463933430062
|
--- !u!1107 &592504463933430062
|
||||||
AnimatorStateMachine:
|
AnimatorStateMachine:
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
|
@ -298,6 +351,15 @@ AnimatorStateMachine:
|
||||||
- serializedVersion: 1
|
- serializedVersion: 1
|
||||||
m_State: {fileID: -6108258253209974655}
|
m_State: {fileID: -6108258253209974655}
|
||||||
m_Position: {x: 600, y: 400, z: 0}
|
m_Position: {x: 600, y: 400, z: 0}
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: -2048305709189509848}
|
||||||
|
m_Position: {x: 900, y: 0, z: 0}
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: 2377338242887009194}
|
||||||
|
m_Position: {x: 900, y: 200, z: 0}
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: 256971501336771037}
|
||||||
|
m_Position: {x: 900, y: 100, z: 0}
|
||||||
m_ChildStateMachines: []
|
m_ChildStateMachines: []
|
||||||
m_AnyStateTransitions: []
|
m_AnyStateTransitions: []
|
||||||
m_EntryTransitions: []
|
m_EntryTransitions: []
|
||||||
|
@ -305,9 +367,35 @@ AnimatorStateMachine:
|
||||||
m_StateMachineBehaviours: []
|
m_StateMachineBehaviours: []
|
||||||
m_AnyStatePosition: {x: 50, y: 20, z: 0}
|
m_AnyStatePosition: {x: 50, y: 20, z: 0}
|
||||||
m_EntryPosition: {x: 50, y: 120, z: 0}
|
m_EntryPosition: {x: 50, y: 120, z: 0}
|
||||||
m_ExitPosition: {x: 900, y: 100, z: 0}
|
m_ExitPosition: {x: 900, y: 300, z: 0}
|
||||||
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
||||||
m_DefaultState: {fileID: -4369373491152170125}
|
m_DefaultState: {fileID: -4369373491152170125}
|
||||||
|
--- !u!1102 &2377338242887009194
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: ChickenLookFrom
|
||||||
|
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: 13a91f5f15736b54eb1a20f7d62e765d, type: 2}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
--- !u!1102 &6395301139301764442
|
--- !u!1102 &6395301139301764442
|
||||||
AnimatorState:
|
AnimatorState:
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
|
@ -360,3 +448,25 @@ AnimatorState:
|
||||||
m_MirrorParameter:
|
m_MirrorParameter:
|
||||||
m_CycleOffsetParameter:
|
m_CycleOffsetParameter:
|
||||||
m_TimeParameter:
|
m_TimeParameter:
|
||||||
|
--- !u!1101 &8117701978347893876
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions: []
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: 256971501336771037}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 6.551956e-10
|
||||||
|
m_TransitionOffset: 0
|
||||||
|
m_ExitTime: 0
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 0
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
|
|
|
@ -0,0 +1,187 @@
|
||||||
|
%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: ChickenLookFrom
|
||||||
|
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: -2.6822, y: 0.672, z: 0}
|
||||||
|
inSlope: {x: Infinity, y: Infinity, z: Infinity}
|
||||||
|
outSlope: {x: Infinity, y: Infinity, z: Infinity}
|
||||||
|
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: -2.662, y: 0.672, z: 0}
|
||||||
|
inSlope: {x: Infinity, y: Infinity, z: Infinity}
|
||||||
|
outSlope: {x: Infinity, y: Infinity, z: Infinity}
|
||||||
|
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: CarWindow
|
||||||
|
m_ScaleCurves: []
|
||||||
|
m_FloatCurves: []
|
||||||
|
m_PPtrCurves:
|
||||||
|
- curve:
|
||||||
|
- time: 0
|
||||||
|
value: {fileID: 1697356444, guid: 3ac0eae7763e7cc4ab4d8c48e0be1115, type: 3}
|
||||||
|
- time: 0.06666667
|
||||||
|
value: {fileID: -2039604112, guid: 3ac0eae7763e7cc4ab4d8c48e0be1115, type: 3}
|
||||||
|
attribute: m_Sprite
|
||||||
|
path: CarWindow
|
||||||
|
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: 1529485059
|
||||||
|
attribute: 1
|
||||||
|
script: {fileID: 0}
|
||||||
|
typeID: 4
|
||||||
|
customType: 0
|
||||||
|
isPPtrCurve: 0
|
||||||
|
- serializedVersion: 2
|
||||||
|
path: 1529485059
|
||||||
|
attribute: 0
|
||||||
|
script: {fileID: 0}
|
||||||
|
typeID: 212
|
||||||
|
customType: 23
|
||||||
|
isPPtrCurve: 1
|
||||||
|
pptrCurveMapping:
|
||||||
|
- {fileID: 1697356444, guid: 3ac0eae7763e7cc4ab4d8c48e0be1115, type: 3}
|
||||||
|
- {fileID: -2039604112, guid: 3ac0eae7763e7cc4ab4d8c48e0be1115, type: 3}
|
||||||
|
m_AnimationClipSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_AdditiveReferencePoseClip: {fileID: 0}
|
||||||
|
m_AdditiveReferencePoseTime: 0
|
||||||
|
m_StartTime: 0
|
||||||
|
m_StopTime: 0.083333336
|
||||||
|
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: -2.6822
|
||||||
|
inSlope: Infinity
|
||||||
|
outSlope: Infinity
|
||||||
|
tangentMode: 103
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0.06666667
|
||||||
|
value: -2.662
|
||||||
|
inSlope: Infinity
|
||||||
|
outSlope: Infinity
|
||||||
|
tangentMode: 103
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
attribute: m_LocalPosition.x
|
||||||
|
path: CarWindow
|
||||||
|
classID: 4
|
||||||
|
script: {fileID: 0}
|
||||||
|
- curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0.672
|
||||||
|
inSlope: Infinity
|
||||||
|
outSlope: Infinity
|
||||||
|
tangentMode: 103
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0.06666667
|
||||||
|
value: 0.672
|
||||||
|
inSlope: Infinity
|
||||||
|
outSlope: Infinity
|
||||||
|
tangentMode: 103
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
attribute: m_LocalPosition.y
|
||||||
|
path: CarWindow
|
||||||
|
classID: 4
|
||||||
|
script: {fileID: 0}
|
||||||
|
- curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: Infinity
|
||||||
|
outSlope: Infinity
|
||||||
|
tangentMode: 103
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0.06666667
|
||||||
|
value: 0
|
||||||
|
inSlope: Infinity
|
||||||
|
outSlope: Infinity
|
||||||
|
tangentMode: 103
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
attribute: m_LocalPosition.z
|
||||||
|
path: CarWindow
|
||||||
|
classID: 4
|
||||||
|
script: {fileID: 0}
|
||||||
|
m_EulerEditorCurves: []
|
||||||
|
m_HasGenericRootTransform: 0
|
||||||
|
m_HasMotionFloatCurves: 0
|
||||||
|
m_Events: []
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 13a91f5f15736b54eb1a20f7d62e765d
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 7400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,226 @@
|
||||||
|
%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: ChickenLookTo
|
||||||
|
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: -2.662, y: 0.672, z: 0}
|
||||||
|
inSlope: {x: Infinity, y: Infinity, z: Infinity}
|
||||||
|
outSlope: {x: Infinity, y: Infinity, z: Infinity}
|
||||||
|
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: -2.6822, y: 0.672, z: 0}
|
||||||
|
inSlope: {x: Infinity, y: Infinity, z: Infinity}
|
||||||
|
outSlope: {x: Infinity, y: Infinity, z: Infinity}
|
||||||
|
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.13333334
|
||||||
|
value: {x: -2.732, y: 0.672, z: 0}
|
||||||
|
inSlope: {x: Infinity, y: Infinity, z: Infinity}
|
||||||
|
outSlope: {x: Infinity, y: Infinity, z: Infinity}
|
||||||
|
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: CarWindow
|
||||||
|
m_ScaleCurves: []
|
||||||
|
m_FloatCurves: []
|
||||||
|
m_PPtrCurves:
|
||||||
|
- curve:
|
||||||
|
- time: 0
|
||||||
|
value: {fileID: -2039604112, guid: 3ac0eae7763e7cc4ab4d8c48e0be1115, type: 3}
|
||||||
|
- time: 0.06666667
|
||||||
|
value: {fileID: 1697356444, guid: 3ac0eae7763e7cc4ab4d8c48e0be1115, type: 3}
|
||||||
|
- time: 0.13333334
|
||||||
|
value: {fileID: 1997536116, guid: 3ac0eae7763e7cc4ab4d8c48e0be1115, type: 3}
|
||||||
|
attribute: m_Sprite
|
||||||
|
path: CarWindow
|
||||||
|
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: 1529485059
|
||||||
|
attribute: 1
|
||||||
|
script: {fileID: 0}
|
||||||
|
typeID: 4
|
||||||
|
customType: 0
|
||||||
|
isPPtrCurve: 0
|
||||||
|
- serializedVersion: 2
|
||||||
|
path: 1529485059
|
||||||
|
attribute: 0
|
||||||
|
script: {fileID: 0}
|
||||||
|
typeID: 212
|
||||||
|
customType: 23
|
||||||
|
isPPtrCurve: 1
|
||||||
|
pptrCurveMapping:
|
||||||
|
- {fileID: -2039604112, guid: 3ac0eae7763e7cc4ab4d8c48e0be1115, type: 3}
|
||||||
|
- {fileID: 1697356444, guid: 3ac0eae7763e7cc4ab4d8c48e0be1115, type: 3}
|
||||||
|
- {fileID: 1997536116, guid: 3ac0eae7763e7cc4ab4d8c48e0be1115, type: 3}
|
||||||
|
m_AnimationClipSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_AdditiveReferencePoseClip: {fileID: 0}
|
||||||
|
m_AdditiveReferencePoseTime: 0
|
||||||
|
m_StartTime: 0
|
||||||
|
m_StopTime: 0.15
|
||||||
|
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: -2.662
|
||||||
|
inSlope: Infinity
|
||||||
|
outSlope: Infinity
|
||||||
|
tangentMode: 103
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0.06666667
|
||||||
|
value: -2.6822
|
||||||
|
inSlope: Infinity
|
||||||
|
outSlope: Infinity
|
||||||
|
tangentMode: 103
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0.13333334
|
||||||
|
value: -2.732
|
||||||
|
inSlope: Infinity
|
||||||
|
outSlope: Infinity
|
||||||
|
tangentMode: 103
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
attribute: m_LocalPosition.x
|
||||||
|
path: CarWindow
|
||||||
|
classID: 4
|
||||||
|
script: {fileID: 0}
|
||||||
|
- curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0.672
|
||||||
|
inSlope: Infinity
|
||||||
|
outSlope: Infinity
|
||||||
|
tangentMode: 103
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0.06666667
|
||||||
|
value: 0.672
|
||||||
|
inSlope: Infinity
|
||||||
|
outSlope: Infinity
|
||||||
|
tangentMode: 103
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0.13333334
|
||||||
|
value: 0.672
|
||||||
|
inSlope: Infinity
|
||||||
|
outSlope: Infinity
|
||||||
|
tangentMode: 103
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
attribute: m_LocalPosition.y
|
||||||
|
path: CarWindow
|
||||||
|
classID: 4
|
||||||
|
script: {fileID: 0}
|
||||||
|
- curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: Infinity
|
||||||
|
outSlope: Infinity
|
||||||
|
tangentMode: 103
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0.06666667
|
||||||
|
value: 0
|
||||||
|
inSlope: Infinity
|
||||||
|
outSlope: Infinity
|
||||||
|
tangentMode: 103
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0.13333334
|
||||||
|
value: 0
|
||||||
|
inSlope: Infinity
|
||||||
|
outSlope: Infinity
|
||||||
|
tangentMode: 103
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
attribute: m_LocalPosition.z
|
||||||
|
path: CarWindow
|
||||||
|
classID: 4
|
||||||
|
script: {fileID: 0}
|
||||||
|
m_EulerEditorCurves: []
|
||||||
|
m_HasGenericRootTransform: 0
|
||||||
|
m_HasMotionFloatCurves: 0
|
||||||
|
m_Events: []
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8e4f3e2e461c44d4cb13f2682c95f4df
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 7400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,148 @@
|
||||||
|
%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: ChickenLooking
|
||||||
|
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: -2.732, y: 0.672, z: 0}
|
||||||
|
inSlope: {x: Infinity, y: 0, z: 0}
|
||||||
|
outSlope: {x: Infinity, 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: CarWindow
|
||||||
|
m_ScaleCurves: []
|
||||||
|
m_FloatCurves: []
|
||||||
|
m_PPtrCurves:
|
||||||
|
- curve:
|
||||||
|
- time: 0
|
||||||
|
value: {fileID: 1997536116, guid: 3ac0eae7763e7cc4ab4d8c48e0be1115, type: 3}
|
||||||
|
attribute: m_Sprite
|
||||||
|
path: CarWindow
|
||||||
|
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: 1529485059
|
||||||
|
attribute: 1
|
||||||
|
script: {fileID: 0}
|
||||||
|
typeID: 4
|
||||||
|
customType: 0
|
||||||
|
isPPtrCurve: 0
|
||||||
|
- serializedVersion: 2
|
||||||
|
path: 1529485059
|
||||||
|
attribute: 0
|
||||||
|
script: {fileID: 0}
|
||||||
|
typeID: 212
|
||||||
|
customType: 23
|
||||||
|
isPPtrCurve: 1
|
||||||
|
pptrCurveMapping:
|
||||||
|
- {fileID: 1997536116, guid: 3ac0eae7763e7cc4ab4d8c48e0be1115, 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: 1
|
||||||
|
m_LoopBlend: 0
|
||||||
|
m_LoopBlendOrientation: 0
|
||||||
|
m_LoopBlendPositionY: 0
|
||||||
|
m_LoopBlendPositionXZ: 0
|
||||||
|
m_KeepOriginalOrientation: 0
|
||||||
|
m_KeepOriginalPositionY: 1
|
||||||
|
m_KeepOriginalPositionXZ: 0
|
||||||
|
m_HeightFromFeet: 0
|
||||||
|
m_Mirror: 0
|
||||||
|
m_EditorCurves:
|
||||||
|
- curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: -2.732
|
||||||
|
inSlope: Infinity
|
||||||
|
outSlope: Infinity
|
||||||
|
tangentMode: 103
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
attribute: m_LocalPosition.x
|
||||||
|
path: CarWindow
|
||||||
|
classID: 4
|
||||||
|
script: {fileID: 0}
|
||||||
|
- curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0.672
|
||||||
|
inSlope: Infinity
|
||||||
|
outSlope: Infinity
|
||||||
|
tangentMode: 103
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
attribute: m_LocalPosition.y
|
||||||
|
path: CarWindow
|
||||||
|
classID: 4
|
||||||
|
script: {fileID: 0}
|
||||||
|
- curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: Infinity
|
||||||
|
outSlope: Infinity
|
||||||
|
tangentMode: 103
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
attribute: m_LocalPosition.z
|
||||||
|
path: CarWindow
|
||||||
|
classID: 4
|
||||||
|
script: {fileID: 0}
|
||||||
|
m_EulerEditorCurves: []
|
||||||
|
m_HasGenericRootTransform: 0
|
||||||
|
m_HasMotionFloatCurves: 0
|
||||||
|
m_Events: []
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: cb4e0e5ddaf95154aa70f2737c036539
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 7400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,68 @@
|
||||||
|
%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: Plat1
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Legacy: 0
|
||||||
|
m_Compressed: 0
|
||||||
|
m_UseHighQualityCurve: 1
|
||||||
|
m_RotationCurves: []
|
||||||
|
m_CompressedRotationCurves: []
|
||||||
|
m_EulerCurves: []
|
||||||
|
m_PositionCurves: []
|
||||||
|
m_ScaleCurves: []
|
||||||
|
m_FloatCurves: []
|
||||||
|
m_PPtrCurves:
|
||||||
|
- curve:
|
||||||
|
- time: 0
|
||||||
|
value: {fileID: 1848434777, guid: 3ac0eae7763e7cc4ab4d8c48e0be1115, type: 3}
|
||||||
|
attribute: m_Sprite
|
||||||
|
path: PlatformHolder/PlatformTexture
|
||||||
|
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: 1010362763
|
||||||
|
attribute: 0
|
||||||
|
script: {fileID: 0}
|
||||||
|
typeID: 212
|
||||||
|
customType: 23
|
||||||
|
isPPtrCurve: 1
|
||||||
|
pptrCurveMapping:
|
||||||
|
- {fileID: 1848434777, guid: 3ac0eae7763e7cc4ab4d8c48e0be1115, 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: []
|
||||||
|
m_EulerEditorCurves: []
|
||||||
|
m_HasGenericRootTransform: 0
|
||||||
|
m_HasMotionFloatCurves: 0
|
||||||
|
m_Events: []
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: bde86d16ef020f449a95f68cc7ed3441
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 7400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,68 @@
|
||||||
|
%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: Plat2
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Legacy: 0
|
||||||
|
m_Compressed: 0
|
||||||
|
m_UseHighQualityCurve: 1
|
||||||
|
m_RotationCurves: []
|
||||||
|
m_CompressedRotationCurves: []
|
||||||
|
m_EulerCurves: []
|
||||||
|
m_PositionCurves: []
|
||||||
|
m_ScaleCurves: []
|
||||||
|
m_FloatCurves: []
|
||||||
|
m_PPtrCurves:
|
||||||
|
- curve:
|
||||||
|
- time: 0
|
||||||
|
value: {fileID: -4757701, guid: 3ac0eae7763e7cc4ab4d8c48e0be1115, type: 3}
|
||||||
|
attribute: m_Sprite
|
||||||
|
path: PlatformHolder/PlatformTexture
|
||||||
|
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: 1010362763
|
||||||
|
attribute: 0
|
||||||
|
script: {fileID: 0}
|
||||||
|
typeID: 212
|
||||||
|
customType: 23
|
||||||
|
isPPtrCurve: 1
|
||||||
|
pptrCurveMapping:
|
||||||
|
- {fileID: -4757701, guid: 3ac0eae7763e7cc4ab4d8c48e0be1115, 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: []
|
||||||
|
m_EulerEditorCurves: []
|
||||||
|
m_HasGenericRootTransform: 0
|
||||||
|
m_HasMotionFloatCurves: 0
|
||||||
|
m_Events: []
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 133c1100287eabd4db16b7a2b1f04bdf
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 7400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -1,5 +1,33 @@
|
||||||
%YAML 1.1
|
%YAML 1.1
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1107 &-6151315245029351145
|
||||||
|
AnimatorStateMachine:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: Texture
|
||||||
|
m_ChildStates:
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: 6605663921340491969}
|
||||||
|
m_Position: {x: 40, y: 210, z: 0}
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: 4726345387527417302}
|
||||||
|
m_Position: {x: 300, y: 100, z: 0}
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: -252864049666860144}
|
||||||
|
m_Position: {x: 300, y: 200, 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: 6605663921340491969}
|
||||||
--- !u!1102 &-4369373491152170125
|
--- !u!1102 &-4369373491152170125
|
||||||
AnimatorState:
|
AnimatorState:
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
|
@ -52,6 +80,32 @@ AnimatorState:
|
||||||
m_MirrorParameter:
|
m_MirrorParameter:
|
||||||
m_CycleOffsetParameter:
|
m_CycleOffsetParameter:
|
||||||
m_TimeParameter:
|
m_TimeParameter:
|
||||||
|
--- !u!1102 &-252864049666860144
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: Plat2
|
||||||
|
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: 133c1100287eabd4db16b7a2b1f04bdf, type: 2}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
--- !u!91 &9100000
|
--- !u!91 &9100000
|
||||||
AnimatorController:
|
AnimatorController:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -63,7 +117,7 @@ AnimatorController:
|
||||||
m_AnimatorParameters: []
|
m_AnimatorParameters: []
|
||||||
m_AnimatorLayers:
|
m_AnimatorLayers:
|
||||||
- serializedVersion: 5
|
- serializedVersion: 5
|
||||||
m_Name: Base Layer
|
m_Name: Movement
|
||||||
m_StateMachine: {fileID: 592504463933430062}
|
m_StateMachine: {fileID: 592504463933430062}
|
||||||
m_Mask: {fileID: 0}
|
m_Mask: {fileID: 0}
|
||||||
m_Motions: []
|
m_Motions: []
|
||||||
|
@ -74,6 +128,18 @@ AnimatorController:
|
||||||
m_IKPass: 0
|
m_IKPass: 0
|
||||||
m_SyncedLayerAffectsTiming: 0
|
m_SyncedLayerAffectsTiming: 0
|
||||||
m_Controller: {fileID: 9100000}
|
m_Controller: {fileID: 9100000}
|
||||||
|
- serializedVersion: 5
|
||||||
|
m_Name: Texture
|
||||||
|
m_StateMachine: {fileID: -6151315245029351145}
|
||||||
|
m_Mask: {fileID: 0}
|
||||||
|
m_Motions: []
|
||||||
|
m_Behaviours: []
|
||||||
|
m_BlendingMode: 0
|
||||||
|
m_SyncedLayerIndex: -1
|
||||||
|
m_DefaultWeight: 1
|
||||||
|
m_IKPass: 0
|
||||||
|
m_SyncedLayerAffectsTiming: 0
|
||||||
|
m_Controller: {fileID: 9100000}
|
||||||
--- !u!1107 &592504463933430062
|
--- !u!1107 &592504463933430062
|
||||||
AnimatorStateMachine:
|
AnimatorStateMachine:
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
|
@ -81,7 +147,7 @@ AnimatorStateMachine:
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_Name: Base Layer
|
m_Name: Movement
|
||||||
m_ChildStates:
|
m_ChildStates:
|
||||||
- serializedVersion: 1
|
- serializedVersion: 1
|
||||||
m_State: {fileID: -4369373491152170125}
|
m_State: {fileID: -4369373491152170125}
|
||||||
|
@ -102,6 +168,32 @@ AnimatorStateMachine:
|
||||||
m_ExitPosition: {x: 800, y: 120, z: 0}
|
m_ExitPosition: {x: 800, y: 120, z: 0}
|
||||||
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
||||||
m_DefaultState: {fileID: -4369373491152170125}
|
m_DefaultState: {fileID: -4369373491152170125}
|
||||||
|
--- !u!1102 &4726345387527417302
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: Plat1
|
||||||
|
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: bde86d16ef020f449a95f68cc7ed3441, type: 2}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
--- !u!1102 &6395301139301764442
|
--- !u!1102 &6395301139301764442
|
||||||
AnimatorState:
|
AnimatorState:
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
|
@ -128,3 +220,29 @@ AnimatorState:
|
||||||
m_MirrorParameter:
|
m_MirrorParameter:
|
||||||
m_CycleOffsetParameter:
|
m_CycleOffsetParameter:
|
||||||
m_TimeParameter:
|
m_TimeParameter:
|
||||||
|
--- !u!1102 &6605663921340491969
|
||||||
|
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: 0}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
|
|
|
@ -42,7 +42,7 @@ TextureImporter:
|
||||||
nPOTScale: 0
|
nPOTScale: 0
|
||||||
lightmap: 0
|
lightmap: 0
|
||||||
compressionQuality: 50
|
compressionQuality: 50
|
||||||
spriteMode: 1
|
spriteMode: 2
|
||||||
spriteExtrude: 1
|
spriteExtrude: 1
|
||||||
spriteMeshType: 1
|
spriteMeshType: 1
|
||||||
alignment: 0
|
alignment: 0
|
||||||
|
@ -103,7 +103,70 @@ TextureImporter:
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
spriteSheet:
|
spriteSheet:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
sprites: []
|
sprites:
|
||||||
|
- serializedVersion: 2
|
||||||
|
name: grass_0
|
||||||
|
rect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 29
|
||||||
|
y: 177
|
||||||
|
width: 139
|
||||||
|
height: 62
|
||||||
|
alignment: 0
|
||||||
|
pivot: {x: 0, y: 0}
|
||||||
|
border: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
tessellationDetail: -1
|
||||||
|
bones: []
|
||||||
|
spriteID: d56f3e0bffffffff0800000000000000
|
||||||
|
internalID: -1327237539
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
- serializedVersion: 2
|
||||||
|
name: grass_1
|
||||||
|
rect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 285
|
||||||
|
y: 179
|
||||||
|
width: 140
|
||||||
|
height: 62
|
||||||
|
alignment: 0
|
||||||
|
pivot: {x: 0, y: 0}
|
||||||
|
border: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
tessellationDetail: -1
|
||||||
|
bones: []
|
||||||
|
spriteID: 03e0d4fbffffffff0800000000000000
|
||||||
|
internalID: -1085469136
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
- serializedVersion: 2
|
||||||
|
name: grass_2
|
||||||
|
rect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 288
|
||||||
|
y: 18
|
||||||
|
width: 138
|
||||||
|
height: 65
|
||||||
|
alignment: 0
|
||||||
|
pivot: {x: 0, y: 0}
|
||||||
|
border: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
tessellationDetail: -1
|
||||||
|
bones: []
|
||||||
|
spriteID: 727c32b6000000000800000000000000
|
||||||
|
internalID: 1797506855
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
outline: []
|
outline: []
|
||||||
physicsShape: []
|
physicsShape: []
|
||||||
bones: []
|
bones: []
|
||||||
|
@ -114,7 +177,10 @@ TextureImporter:
|
||||||
edges: []
|
edges: []
|
||||||
weights: []
|
weights: []
|
||||||
secondaryTextures: []
|
secondaryTextures: []
|
||||||
nameFileIdTable: {}
|
nameFileIdTable:
|
||||||
|
grass_0: -1327237539
|
||||||
|
grass_1: -1085469136
|
||||||
|
grass_2: 1797506855
|
||||||
spritePackingTag:
|
spritePackingTag:
|
||||||
pSDRemoveMatte: 0
|
pSDRemoveMatte: 0
|
||||||
pSDShowRemoveMatteOption: 0
|
pSDShowRemoveMatteOption: 0
|
||||||
|
|
|
@ -8194,7 +8194,7 @@ MonoBehaviour:
|
||||||
m_faceColor:
|
m_faceColor:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
rgba: 4294967295
|
rgba: 4294967295
|
||||||
m_fontSize: 12.8
|
m_fontSize: 13
|
||||||
m_fontSizeBase: 14.3
|
m_fontSizeBase: 14.3
|
||||||
m_fontWeight: 400
|
m_fontWeight: 400
|
||||||
m_enableAutoSizing: 1
|
m_enableAutoSizing: 1
|
||||||
|
@ -24623,8 +24623,8 @@ MonoBehaviour:
|
||||||
m_TargetGraphic: {fileID: 1589389272}
|
m_TargetGraphic: {fileID: 1589389272}
|
||||||
m_HandleRect: {fileID: 1589389271}
|
m_HandleRect: {fileID: 1589389271}
|
||||||
m_Direction: 2
|
m_Direction: 2
|
||||||
m_Value: 0
|
m_Value: 1
|
||||||
m_Size: 0.99946696
|
m_Size: 0.99878246
|
||||||
m_NumberOfSteps: 0
|
m_NumberOfSteps: 0
|
||||||
m_OnValueChanged:
|
m_OnValueChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
|
@ -30367,7 +30367,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 0.5}
|
m_AnchorMin: {x: 0, y: 0.5}
|
||||||
m_AnchorMax: {x: 1, y: 0.5}
|
m_AnchorMax: {x: 1, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: 91.91836}
|
m_AnchoredPosition: {x: 0, y: 91.91834}
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0.5, y: 1}
|
m_Pivot: {x: 0.5, y: 1}
|
||||||
--- !u!222 &1154875945
|
--- !u!222 &1154875945
|
||||||
|
|
|
@ -15,7 +15,7 @@ namespace HeavenStudio.Games.Loaders
|
||||||
{
|
{
|
||||||
public static Minigame AddGame(EventCaller eventCaller)
|
public static Minigame AddGame(EventCaller eventCaller)
|
||||||
{
|
{
|
||||||
return new Minigame("chargingChicken", "Charging Chicken", "FFFFFF", false, false, new List<GameAction>()
|
return new Minigame("chargingChicken", "Charging Chicken", "6ED6FF", false, false, new List<GameAction>()
|
||||||
{
|
{
|
||||||
new GameAction("input", "Charge")
|
new GameAction("input", "Charge")
|
||||||
{
|
{
|
||||||
|
@ -236,6 +236,17 @@ namespace HeavenStudio.Games.Loaders
|
||||||
new Param("birdProgress", new EntityTypes.Integer(-1, 100, -1), "Bird Progress (NYI)", "Instantly sets what percent through the loop the birds are. (-1 = no change)"),
|
new Param("birdProgress", new EntityTypes.Integer(-1, 100, -1), "Bird Progress (NYI)", "Instantly sets what percent through the loop the birds are. (-1 = no change)"),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
new GameAction("lookhaha", "Look At Camera")
|
||||||
|
{
|
||||||
|
preFunction = delegate {
|
||||||
|
var e = eventCaller.currentEntity;
|
||||||
|
if (eventCaller.gameManager.minigameObj.TryGetComponent(out ChargingChicken instance)) {
|
||||||
|
instance.LookButFunee(e.beat, e.length);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
resizable = true,
|
||||||
|
defaultLength = 2f,
|
||||||
|
},
|
||||||
new GameAction("explodehaha", "Force Explosion")
|
new GameAction("explodehaha", "Force Explosion")
|
||||||
{
|
{
|
||||||
function = delegate {
|
function = delegate {
|
||||||
|
@ -397,12 +408,15 @@ namespace HeavenStudio.Games
|
||||||
bool drumFadeIn = true;
|
bool drumFadeIn = true;
|
||||||
bool drumReset = true;
|
bool drumReset = true;
|
||||||
bool drumLoud = false;
|
bool drumLoud = false;
|
||||||
|
double drumSwitch = double.MinValue;
|
||||||
|
|
||||||
Sound whirring;
|
Sound whirring;
|
||||||
bool isWhirringPlaying = false;
|
bool isWhirringPlaying = false;
|
||||||
|
|
||||||
[SerializeField] Island IslandBase;
|
[SerializeField] Island IslandBase;
|
||||||
Island nextIsland;
|
Island nextIsland;
|
||||||
Island currentIsland;
|
Island currentIsland;
|
||||||
|
Island staleIsland;
|
||||||
double journeyIntendedLength;
|
double journeyIntendedLength;
|
||||||
|
|
||||||
public static double platformDistanceConstant = 5.35 / 2;
|
public static double platformDistanceConstant = 5.35 / 2;
|
||||||
|
@ -658,18 +672,18 @@ namespace HeavenStudio.Games
|
||||||
},
|
},
|
||||||
|
|
||||||
new DrumLoop[] { //amen
|
new DrumLoop[] { //amen
|
||||||
new(4.00, 11),
|
new(4.00, 21),
|
||||||
new(0.50, 12),
|
new(0.50, 22),
|
||||||
new(1.00, 13),
|
new(1.00, 23),
|
||||||
new(1.50, 14),
|
new(1.50, 24),
|
||||||
new(1.75, 15),
|
new(1.75, 25),
|
||||||
new(2.00, 16),
|
new(2.00, 26),
|
||||||
new(2.25, 17),
|
new(2.25, 27),
|
||||||
new(2.50, 18),
|
new(2.50, 28),
|
||||||
new(2.75, 19),
|
new(2.75, 29),
|
||||||
new(3.00, 20),
|
new(3.00, 30),
|
||||||
new(3.50, 21),
|
new(3.50, 31),
|
||||||
new(3.75, 22),
|
new(3.75, 32),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -818,6 +832,8 @@ namespace HeavenStudio.Games
|
||||||
|
|
||||||
public override void OnGameSwitch(double beat)
|
public override void OnGameSwitch(double beat)
|
||||||
{
|
{
|
||||||
|
drumSwitch = beat;
|
||||||
|
|
||||||
PersistThings(beat);
|
PersistThings(beat);
|
||||||
|
|
||||||
foreach(var entity in GameManager.instance.Beatmap.Entities)
|
foreach(var entity in GameManager.instance.Beatmap.Entities)
|
||||||
|
@ -898,7 +914,7 @@ namespace HeavenStudio.Games
|
||||||
{
|
{
|
||||||
//convert length to an integer, which is at least 4
|
//convert length to an integer, which is at least 4
|
||||||
double length = Math.Ceiling(actualLength);
|
double length = Math.Ceiling(actualLength);
|
||||||
if (length < 4) length = 48395839743;
|
if (length < 4) length = 4;
|
||||||
|
|
||||||
//don't queue more than one input at a time
|
//don't queue more than one input at a time
|
||||||
if (beat < nextInputReady) return;
|
if (beat < nextInputReady) return;
|
||||||
|
@ -980,7 +996,14 @@ namespace HeavenStudio.Games
|
||||||
string yardsTextStringTemp = yardsTextString.Replace("%", $"{yardsTextLength}");
|
string yardsTextStringTemp = yardsTextString.Replace("%", $"{yardsTextLength}");
|
||||||
yardsText.text = yardsTextStringTemp;
|
yardsText.text = yardsTextStringTemp;
|
||||||
yardsTextIsEditable = true;
|
yardsTextIsEditable = true;
|
||||||
nextIsland.SpawnStones(journeyBeat, yardsTextLength - 1, lateness < 2);
|
if (lateness >= 1)
|
||||||
|
{
|
||||||
|
nextIsland.SpawnStones(journeyBeat, yardsTextLength - 1, lateness < 2);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
currentIsland.SpawnStones(journeyBeat, yardsTextLength - 1, lateness < 2);
|
||||||
|
}
|
||||||
}));
|
}));
|
||||||
|
|
||||||
//chicken ducks into the car window, and the bubble text is set up, and the platform noise plays, music volume is reset if needed, and next island spawns
|
//chicken ducks into the car window, and the bubble text is set up, and the platform noise plays, music volume is reset if needed, and next island spawns
|
||||||
|
@ -1001,7 +1024,7 @@ namespace HeavenStudio.Games
|
||||||
Helmet.SetActive(helmet);
|
Helmet.SetActive(helmet);
|
||||||
FallingHelmet.SetActive(helmet);
|
FallingHelmet.SetActive(helmet);
|
||||||
currentIsland.Helmet.SetActive(helmet);
|
currentIsland.Helmet.SetActive(helmet);
|
||||||
nextIsland.Helmet.SetActive(helmet);
|
if (lateness >= 1) nextIsland.Helmet.SetActive(helmet);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
length += 1;
|
length += 1;
|
||||||
|
@ -1109,6 +1132,8 @@ namespace HeavenStudio.Games
|
||||||
{
|
{
|
||||||
BlastOff(state, false);
|
BlastOff(state, false);
|
||||||
|
|
||||||
|
nextIsland.grassState = state;
|
||||||
|
|
||||||
if (state >= 1f || state <= -1f)
|
if (state >= 1f || state <= -1f)
|
||||||
{
|
{
|
||||||
SoundByte.PlayOneShot("miss");
|
SoundByte.PlayOneShot("miss");
|
||||||
|
@ -1137,7 +1162,7 @@ namespace HeavenStudio.Games
|
||||||
0 => "chargingChicken/kick",
|
0 => "chargingChicken/kick",
|
||||||
1 => "chargingChicken/snare",
|
1 => "chargingChicken/snare",
|
||||||
2 => "chargingChicken/hihat",
|
2 => "chargingChicken/hihat",
|
||||||
_ => $"chargingChicken/AMEN{drumLoop.drumType - 10}"
|
_ => $"chargingChicken/MISC{drumLoop.drumType - 20}" //1 - 12 = AMEN,
|
||||||
};
|
};
|
||||||
if (length > drumLoop.timing)
|
if (length > drumLoop.timing)
|
||||||
{
|
{
|
||||||
|
@ -1154,7 +1179,7 @@ namespace HeavenStudio.Games
|
||||||
public void PlayDrum(string whichDrum, float drumVolumeThis, double lateness)
|
public void PlayDrum(string whichDrum, float drumVolumeThis, double lateness)
|
||||||
{
|
{
|
||||||
float drumActualVolume = (drumVolume > drumTempVolume) ? drumVolumeThis * drumVolume : drumVolumeThis * drumTempVolume;
|
float drumActualVolume = (drumVolume > drumTempVolume) ? drumVolumeThis * drumVolume : drumVolumeThis * drumTempVolume;
|
||||||
if (isInputting /* && (lateness * 4 == Math.Floor(Conductor.instance.songPositionInBeatsAsDouble * 4)) */) SoundByte.PlayOneShotGame(whichDrum, volume: drumLoud ? drumVolumeThis : drumActualVolume);
|
if (isInputting && lateness >= drumSwitch) SoundByte.PlayOneShotGame(whichDrum, volume: drumLoud ? drumVolumeThis : drumActualVolume);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void PumpBeat()
|
public void PumpBeat()
|
||||||
|
@ -1165,7 +1190,8 @@ namespace HeavenStudio.Games
|
||||||
public void SpawnJourney(double beat, double length)
|
public void SpawnJourney(double beat, double length)
|
||||||
{
|
{
|
||||||
//pass along the next island data
|
//pass along the next island data
|
||||||
if (currentIsland != null) Destroy(currentIsland.gameObject);
|
if (staleIsland != null) Destroy(staleIsland.gameObject);
|
||||||
|
staleIsland = currentIsland;
|
||||||
currentIsland = nextIsland;
|
currentIsland = nextIsland;
|
||||||
nextIsland = Instantiate(IslandBase, transform).GetComponent<Island>();
|
nextIsland = Instantiate(IslandBase, transform).GetComponent<Island>();
|
||||||
|
|
||||||
|
@ -1236,6 +1262,7 @@ namespace HeavenStudio.Games
|
||||||
|
|
||||||
if(missed)
|
if(missed)
|
||||||
{
|
{
|
||||||
|
playerSucceeded = false;
|
||||||
ScoreMiss();
|
ScoreMiss();
|
||||||
|
|
||||||
fellTooFar = false;
|
fellTooFar = false;
|
||||||
|
@ -1247,12 +1274,11 @@ namespace HeavenStudio.Games
|
||||||
currentIsland.journeyEnd += ((currentIsland.journeyLength - (currentIsland.journeyBlastOffTime - journeyIntendedLength) + 1) * (currentIsland.journeyLength / (currentIsland.journeyLength + 1))) * platformDistanceConstant * platformsPerBeat + (platformDistanceConstant / 2);
|
currentIsland.journeyEnd += ((currentIsland.journeyLength - (currentIsland.journeyBlastOffTime - journeyIntendedLength) + 1) * (currentIsland.journeyLength / (currentIsland.journeyLength + 1))) * platformDistanceConstant * platformsPerBeat + (platformDistanceConstant / 2);
|
||||||
currentIsland.journeyLength = Math.Clamp(((currentIsland.journeyBlastOffTime - journeyIntendedLength) / 1.5) + (currentIsland.journeyLength / 3) - 1, 0, currentIsland.journeyLength - 2);
|
currentIsland.journeyLength = Math.Clamp(((currentIsland.journeyBlastOffTime - journeyIntendedLength) / 1.5) + (currentIsland.journeyLength / 3) - 1, 0, currentIsland.journeyLength - 2);
|
||||||
|
|
||||||
int stoneAdder = 0;
|
|
||||||
//make sure the chicken can't land on the island
|
//make sure the chicken can't land on the island
|
||||||
if (nextIsland.journeyEnd <= 4 && nextIsland.journeyEnd > 2) { nextIsland.journeyEnd += 2; currentIsland.journeyEnd += 2; stoneAdder = 2; }
|
if (nextIsland.journeyEnd <= 4 && nextIsland.journeyEnd > 2) { nextIsland.journeyEnd += 2; currentIsland.journeyEnd += 2; }
|
||||||
if (nextIsland.journeyEnd <= 2 && nextIsland.journeyEnd > 0) { nextIsland.journeyEnd += 4; currentIsland.journeyEnd += 4; stoneAdder = 4; }
|
if (nextIsland.journeyEnd <= 2 && nextIsland.journeyEnd > 0) { nextIsland.journeyEnd += 4; currentIsland.journeyEnd += 4; }
|
||||||
if (nextIsland.journeyEnd <= 0 && nextIsland.journeyEnd > -2) { nextIsland.journeyEnd -= 4; currentIsland.journeyEnd -= 4; stoneAdder = -4; }
|
if (nextIsland.journeyEnd <= 0 && nextIsland.journeyEnd > -2) { nextIsland.journeyEnd -= 4; currentIsland.journeyEnd -= 4; }
|
||||||
if (nextIsland.journeyEnd <= -2 && nextIsland.journeyEnd > 4) { nextIsland.journeyEnd -= 2; currentIsland.journeyEnd -= 2; stoneAdder = -2; }
|
if (nextIsland.journeyEnd <= -2 && nextIsland.journeyEnd > 4) { nextIsland.journeyEnd -= 2; currentIsland.journeyEnd -= 2; }
|
||||||
|
|
||||||
BeatAction.New(GameManager.instance, new List<BeatAction.Action>()
|
BeatAction.New(GameManager.instance, new List<BeatAction.Action>()
|
||||||
{
|
{
|
||||||
|
@ -1285,7 +1311,7 @@ namespace HeavenStudio.Games
|
||||||
{
|
{
|
||||||
if (Conductor.instance.songPositionInBeatsAsDouble < successAnimationKillOnBeat)
|
if (Conductor.instance.songPositionInBeatsAsDouble < successAnimationKillOnBeat)
|
||||||
{
|
{
|
||||||
ChickenAnim.DoScaledAnimationAsync("Success", 0.5f);
|
LookButFunee(Conductor.instance.songPositionInBeatsAsDouble, 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1327,7 +1353,7 @@ namespace HeavenStudio.Games
|
||||||
currentIsland.transform.localPosition = new Vector3(0, 0, 0);
|
currentIsland.transform.localPosition = new Vector3(0, 0, 0);
|
||||||
|
|
||||||
isInputting = false;
|
isInputting = false;
|
||||||
nextIsland.journeyEnd = nextIsland.journeyLength * platformDistanceConstant * platformsPerBeat + (platformDistanceConstant / 2);
|
nextIsland.journeyEnd = nextIsland.journeyLength * platformDistanceConstant * platformsPerBeat + (platformDistanceConstant * 1.5);
|
||||||
currentIsland.journeyEnd = 0;
|
currentIsland.journeyEnd = 0;
|
||||||
|
|
||||||
//erase text
|
//erase text
|
||||||
|
@ -1349,7 +1375,7 @@ namespace HeavenStudio.Games
|
||||||
canPressWhiff = false;
|
canPressWhiff = false;
|
||||||
|
|
||||||
isInputting = false;
|
isInputting = false;
|
||||||
nextIsland.journeyEnd = nextIsland.journeyLength * platformDistanceConstant * platformsPerBeat;
|
nextIsland.journeyEnd = nextIsland.journeyLength * platformDistanceConstant * platformsPerBeat + (platformDistanceConstant * 1.5);
|
||||||
currentIsland.journeyEnd = 0;
|
currentIsland.journeyEnd = 0;
|
||||||
|
|
||||||
//boom
|
//boom
|
||||||
|
@ -1370,6 +1396,8 @@ namespace HeavenStudio.Games
|
||||||
|
|
||||||
public void ExplodeButFunee()
|
public void ExplodeButFunee()
|
||||||
{
|
{
|
||||||
|
successAnimationKillOnBeat = Conductor.instance.songPositionInBeatsAsDouble;
|
||||||
|
|
||||||
if (currentIsland == null) currentIsland = nextIsland;
|
if (currentIsland == null) currentIsland = nextIsland;
|
||||||
|
|
||||||
canPressWhiff = false;
|
canPressWhiff = false;
|
||||||
|
@ -1393,12 +1421,33 @@ namespace HeavenStudio.Games
|
||||||
nextIsland.FakeChickenAnim.DoScaledAnimationAsync("Burn", 0.5f);
|
nextIsland.FakeChickenAnim.DoScaledAnimationAsync("Burn", 0.5f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void LookButFunee(double beat, double length)
|
||||||
|
{
|
||||||
|
successAnimationKillOnBeat = beat;
|
||||||
|
|
||||||
|
BeatAction.New(GameManager.instance, new List<BeatAction.Action>()
|
||||||
|
{
|
||||||
|
new BeatAction.Action(beat, delegate {
|
||||||
|
ChickenAnim.DoScaledAnimationAsync("ChickenLookTo", 0.499f);
|
||||||
|
}),
|
||||||
|
new BeatAction.Action(beat + length, delegate {
|
||||||
|
LookBack();
|
||||||
|
}),
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
public void LookBack()
|
||||||
|
{
|
||||||
|
if (ChickenAnim.IsPlayingAnimationNames("ChickenLooking", "ChickenLookTo")) ChickenAnim.DoScaledAnimationAsync("ChickenLookFrom", 0.5f);
|
||||||
|
}
|
||||||
|
|
||||||
public void ChickenFall(bool fellTooFar)
|
public void ChickenFall(bool fellTooFar)
|
||||||
{
|
{
|
||||||
if (!fellTooFar)
|
if (!fellTooFar)
|
||||||
{
|
{
|
||||||
ChickenAnim.DoScaledAnimationAsync("Fall", 0.3f);
|
ChickenAnim.DoScaledAnimationAsync("Fall", 0.3f);
|
||||||
SoundByte.PlayOneShotGame("chargingChicken/SE_CHIKEN_CAR_FALL", volume: 0.5f);
|
SoundByte.PlayOneShotGame("chargingChicken/SE_CHIKEN_CAR_FALL", volume: 0.5f);
|
||||||
|
currentIsland.StoneSplashCheck(4);
|
||||||
BeatAction.New(GameManager.instance, new List<BeatAction.Action>()
|
BeatAction.New(GameManager.instance, new List<BeatAction.Action>()
|
||||||
{
|
{
|
||||||
new BeatAction.Action(Conductor.instance.songPositionInBeatsAsDouble + 0.60, delegate {
|
new BeatAction.Action(Conductor.instance.songPositionInBeatsAsDouble + 0.60, delegate {
|
||||||
|
@ -1413,6 +1462,7 @@ namespace HeavenStudio.Games
|
||||||
|
|
||||||
public void ChickenRespawn(double length = 0.6)
|
public void ChickenRespawn(double length = 0.6)
|
||||||
{
|
{
|
||||||
|
playerSucceeded = false;
|
||||||
isInputting = false;
|
isInputting = false;
|
||||||
|
|
||||||
currentIsland.respawnStart = Conductor.instance.songPositionInBeatsAsDouble + length;
|
currentIsland.respawnStart = Conductor.instance.songPositionInBeatsAsDouble + length;
|
||||||
|
@ -1712,68 +1762,66 @@ namespace HeavenStudio.Games
|
||||||
private void PersistThings(double beat)
|
private void PersistThings(double beat)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
var allEventsBeforeBeat = EventCaller.GetAllInGameManagerList("chargingChicken", new string[] { "changeBgColor" }).FindAll(x => x.beat < beat);
|
|
||||||
if (allEventsBeforeBeat.Count > 0)
|
var allEvents = gameManager.Beatmap.Entities.FindAll(e => e.datamodel.Split('/')[0] is "chargingChicken");
|
||||||
|
var eventsBefore = allEvents.FindAll(e => e.beat < beat);
|
||||||
|
|
||||||
|
var lastColorEvent = eventsBefore.FindLast(e => e.datamodel == "chargingChicken/changeBgColor");
|
||||||
|
if (lastColorEvent != null)
|
||||||
{
|
{
|
||||||
allEventsBeforeBeat.Sort((x, y) => x.beat.CompareTo(y.beat)); //just in case
|
var e = lastColorEvent;
|
||||||
var lastEvent = allEventsBeforeBeat[^1];
|
ChangeColor(e.beat, e.length, e["colorFrom"], e["colorTo"], e["colorFrom2"], e["colorTo2"], e["ease"]);
|
||||||
ChangeColor(lastEvent.beat, lastEvent.length, lastEvent["colorFrom"], lastEvent["colorTo"], lastEvent["colorFrom2"], lastEvent["colorTo2"], lastEvent["ease"]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
allEventsBeforeBeat = EventCaller.GetAllInGameManagerList("chargingChicken", new string[] { "changeFgLight" }).FindAll(x => x.beat < beat);
|
lastColorEvent = eventsBefore.FindLast(e => e.datamodel == "chargingChicken/changeFgLight");
|
||||||
if (allEventsBeforeBeat.Count > 0)
|
if (lastColorEvent != null)
|
||||||
{
|
{
|
||||||
allEventsBeforeBeat.Sort((x, y) => x.beat.CompareTo(y.beat)); //just in case
|
var e = lastColorEvent;
|
||||||
var lastEvent = allEventsBeforeBeat[^1];
|
ChangeLight(e.beat, e.length, e["lightFrom"], e["lightTo"], e["headLightFrom"], e["headLightTo"], e["ease"]);
|
||||||
ChangeLight(lastEvent.beat, lastEvent.length, lastEvent["lightFrom"], lastEvent["lightTo"], lastEvent["headLightFrom"], lastEvent["headLightTo"], lastEvent["ease"]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
allEventsBeforeBeat = EventCaller.GetAllInGameManagerList("chargingChicken", new string[] { "changeCarColor" }).FindAll(x => x.beat < beat);
|
lastColorEvent = eventsBefore.FindLast(e => e.datamodel == "chargingChicken/changeCarColor");
|
||||||
if (allEventsBeforeBeat.Count > 0)
|
if (lastColorEvent != null)
|
||||||
{
|
{
|
||||||
allEventsBeforeBeat.Sort((x, y) => x.beat.CompareTo(y.beat)); //just in case
|
var e = lastColorEvent;
|
||||||
var lastEvent = allEventsBeforeBeat[^1];
|
ChangeCarColor(e.beat, e.length, e["colorFrom"], e["colorTo"], e["colorFrom2"], e["colorTo2"], e["ease"]);
|
||||||
ChangeCarColor(lastEvent.beat, lastEvent.length, lastEvent["colorFrom"], lastEvent["colorTo"], lastEvent["colorFrom2"], lastEvent["colorTo2"], lastEvent["ease"]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
allEventsBeforeBeat = EventCaller.GetAllInGameManagerList("chargingChicken", new string[] { "changeCloudColor" }).FindAll(x => x.beat < beat);
|
lastColorEvent = eventsBefore.FindLast(e => e.datamodel == "chargingChicken/changeCloudColor");
|
||||||
if (allEventsBeforeBeat.Count > 0)
|
if (lastColorEvent != null)
|
||||||
{
|
{
|
||||||
allEventsBeforeBeat.Sort((x, y) => x.beat.CompareTo(y.beat)); //just in case
|
var e = lastColorEvent;
|
||||||
var lastEvent = allEventsBeforeBeat[^1];
|
ChangeCloudColor(e.beat, e.length, e["colorFrom"], e["colorTo"], e["colorFrom2"], e["colorTo2"], e["ease"]);
|
||||||
ChangeCloudColor(lastEvent.beat, lastEvent.length, lastEvent["colorFrom"], lastEvent["colorTo"], lastEvent["colorFrom2"], lastEvent["colorTo2"], lastEvent["ease"]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
allEventsBeforeBeat = EventCaller.GetAllInGameManagerList("chargingChicken", new string[] { "changeCloudColor" }).FindAll(x => x.beat < beat);
|
return;
|
||||||
if (allEventsBeforeBeat.Count > 0)
|
|
||||||
|
lastColorEvent = eventsBefore.FindLast(e => e.datamodel == "chargingChicken/unParallaxObjects");
|
||||||
|
if (lastColorEvent != null)
|
||||||
{
|
{
|
||||||
allEventsBeforeBeat.Sort((x, y) => x.beat.CompareTo(y.beat)); //just in case
|
var e = lastColorEvent;
|
||||||
var lastEvent = allEventsBeforeBeat[^1];
|
UnParallaxObjects(e.beat, e.length, e["appearance"], true);
|
||||||
UnParallaxObjects(lastEvent.beat, lastEvent.length, lastEvent["appearance"], true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
allEventsBeforeBeat = EventCaller.GetAllInGameManagerList("chargingChicken", new string[] { "changeCloudColor" }).FindAll(x => x.beat < beat);
|
lastColorEvent = eventsBefore.FindLast(e => e.datamodel == "chargingChicken/parallaxObjects");
|
||||||
if (allEventsBeforeBeat.Count > 0)
|
if (lastColorEvent != null)
|
||||||
{
|
{
|
||||||
allEventsBeforeBeat.Sort((x, y) => x.beat.CompareTo(y.beat)); //just in case
|
var e = lastColorEvent;
|
||||||
var lastEvent = allEventsBeforeBeat[^1];
|
ParallaxObjects(e.beat, e.length, true, e["stars"], e["clouds"], e["earth"], e["mars"], e["doodles"], e["birds"]);
|
||||||
ParallaxObjects(lastEvent.beat, lastEvent.length, true, lastEvent["stars"], lastEvent["clouds"], lastEvent["earth"], lastEvent["mars"], lastEvent["doodles"], lastEvent["birds"]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
allEventsBeforeBeat = EventCaller.GetAllInGameManagerList("chargingChicken", new string[] { "changeCloudColor" }).FindAll(x => x.beat < beat);
|
lastColorEvent = eventsBefore.FindLast(e => e.datamodel == "chargingChicken/parallaxProgress");
|
||||||
if (allEventsBeforeBeat.Count > 0)
|
if (lastColorEvent != null)
|
||||||
{
|
{
|
||||||
allEventsBeforeBeat.Sort((x, y) => x.beat.CompareTo(y.beat)); //just in case
|
var e = lastColorEvent;
|
||||||
var lastEvent = allEventsBeforeBeat[^1];
|
ParallaxProgress(e["starProgress"], e["cloudProgress"], e["planetProgress"], e["doodleProgress"], e["birdProgress"]);
|
||||||
ParallaxProgress(lastEvent["starProgress"], lastEvent["cloudProgress"], lastEvent["planetProgress"], lastEvent["doodleProgress"], lastEvent["birdProgress"]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
allEventsBeforeBeat = EventCaller.GetAllInGameManagerList("chargingChicken", new string[] { "textEdit" }).FindAll(x => x.beat < beat);
|
lastColorEvent = eventsBefore.FindLast(e => e.datamodel == "chargingChicken/textEdit");
|
||||||
if (allEventsBeforeBeat.Count > 0)
|
if (lastColorEvent != null)
|
||||||
{
|
{
|
||||||
allEventsBeforeBeat.Sort((x, y) => x.beat.CompareTo(y.beat)); //just in case
|
var e = lastColorEvent;
|
||||||
var lastEvent = allEventsBeforeBeat[^1];
|
TextEdit(e.beat, e["text"], e["color"]);
|
||||||
TextEdit(lastEvent.beat, lastEvent["text"], lastEvent["color"]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,10 +21,12 @@ namespace HeavenStudio.Games.Scripts_ChargingChicken
|
||||||
[SerializeField] public GameObject SmallLandmass;
|
[SerializeField] public GameObject SmallLandmass;
|
||||||
[SerializeField] public GameObject FullLandmass;
|
[SerializeField] public GameObject FullLandmass;
|
||||||
[SerializeField] public GameObject Helmet;
|
[SerializeField] public GameObject Helmet;
|
||||||
|
[SerializeField] public GameObject StoneSplashEffect;
|
||||||
[SerializeField] public ParticleSystem IslandCollapse;
|
[SerializeField] public ParticleSystem IslandCollapse;
|
||||||
[SerializeField] public ParticleSystem IslandCollapseNg;
|
[SerializeField] public ParticleSystem IslandCollapseNg;
|
||||||
[SerializeField] public ParticleSystem StoneSplashEffect;
|
|
||||||
[SerializeField] public ParticleSystem ChickenSplashEffect;
|
[SerializeField] public ParticleSystem ChickenSplashEffect;
|
||||||
|
[SerializeField] public ParticleSystem GrassL;
|
||||||
|
[SerializeField] public ParticleSystem GrassR;
|
||||||
|
|
||||||
[NonSerialized]public double journeySave = 0;
|
[NonSerialized]public double journeySave = 0;
|
||||||
[NonSerialized]public double journeyStart = 0;
|
[NonSerialized]public double journeyStart = 0;
|
||||||
|
@ -37,15 +39,18 @@ namespace HeavenStudio.Games.Scripts_ChargingChicken
|
||||||
[NonSerialized]public double respawnEnd = 0;
|
[NonSerialized]public double respawnEnd = 0;
|
||||||
[NonSerialized]public bool isRespawning = false;
|
[NonSerialized]public bool isRespawning = false;
|
||||||
|
|
||||||
[NonSerialized]public bool canFall = false;
|
[NonSerialized]public bool stonesExist = false;
|
||||||
[NonSerialized]public bool isFalling = false;
|
[NonSerialized]public float platformOffsetUnderChicken = -6f;
|
||||||
|
[NonSerialized]public Vector3 particleOffset;
|
||||||
[NonSerialized]public bool isBeingSet = false;
|
[NonSerialized]public float stonePlatformFallOffset = 0;
|
||||||
|
|
||||||
[NonSerialized]public float value1 = 0f;
|
[NonSerialized]public float value1 = 0f;
|
||||||
[NonSerialized]public float speed1 = 0f;
|
[NonSerialized]public float speed1 = 0f;
|
||||||
[NonSerialized]public float speed2 = 0f;
|
[NonSerialized]public float speed2 = 0f;
|
||||||
|
|
||||||
|
[NonSerialized]public float grassState = 0;
|
||||||
|
[NonSerialized]public bool grassFell = false;
|
||||||
|
|
||||||
[SerializeField] GameObject PlatformBase;
|
[SerializeField] GameObject PlatformBase;
|
||||||
|
|
||||||
StonePlatform[] stonePlatformJourney;
|
StonePlatform[] stonePlatformJourney;
|
||||||
|
@ -54,6 +59,7 @@ namespace HeavenStudio.Games.Scripts_ChargingChicken
|
||||||
{
|
{
|
||||||
public int stoneNumber;
|
public int stoneNumber;
|
||||||
public GameObject thisPlatform;
|
public GameObject thisPlatform;
|
||||||
|
public bool hasFallen;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
@ -81,21 +87,30 @@ namespace HeavenStudio.Games.Scripts_ChargingChicken
|
||||||
float newX2 = Util.EasingFunction.Linear((float)journeyStart - (float)journeySave, (float)journeyEnd, 1 - value2);
|
float newX2 = Util.EasingFunction.Linear((float)journeyStart - (float)journeySave, (float)journeyEnd, 1 - value2);
|
||||||
IslandPos.localPosition = new Vector3(newX2, 0, 0);
|
IslandPos.localPosition = new Vector3(newX2, 0, 0);
|
||||||
}
|
}
|
||||||
//if (canFall && IslandPos.localPosition.x < -0.5)
|
|
||||||
//{
|
|
||||||
// PlatformAnim.Play("Fall", -1, 0);
|
|
||||||
// PlatformAnim.speed = (1f / Conductor.instance.pitchedSecPerBeat) * 0.3f;
|
|
||||||
// SoundByte.PlayOneShotGame("chargingChicken/SE_CHIKEN_BLOCK_FALL_PITCH150", pitch: SoundByte.GetPitchFromCents(UnityEngine.Random.Range(-150, 151), false), volume: 0.5f);
|
|
||||||
// BeatAction.New(GameManager.instance, new List<BeatAction.Action>()
|
|
||||||
// {
|
|
||||||
// new BeatAction.Action(Conductor.instance.songPositionInBeatsAsDouble + 0.50, delegate { StoneSplash(); }),
|
|
||||||
// new BeatAction.Action(Conductor.instance.songPositionInBeatsAsDouble + 3.00, delegate { Destroy(gameObject); }),
|
|
||||||
// });
|
|
||||||
// canFall = false;
|
|
||||||
//}
|
|
||||||
|
|
||||||
float currentPosition = IslandPos.localPosition.x;
|
float currentPosition = IslandPos.localPosition.x;
|
||||||
speed1 = (previousPosition - currentPosition) / Time.deltaTime;
|
speed1 = (previousPosition - currentPosition) / Time.deltaTime;
|
||||||
|
|
||||||
|
if (grassState > 0.6 && IslandPos.localPosition.x < -1 && !grassFell)
|
||||||
|
{
|
||||||
|
GrassR.Play();
|
||||||
|
SoundByte.PlayOneShotGame("chargingChicken/SE_CHIKEN_DOSHA", volume: 0.5f);
|
||||||
|
grassFell = true;
|
||||||
|
}
|
||||||
|
if (grassState < -0.6 && IslandPos.localPosition.x < 2 && !grassFell)
|
||||||
|
{
|
||||||
|
GrassL.Play();
|
||||||
|
SoundByte.PlayOneShotGame("chargingChicken/SE_CHIKEN_DOSHA", volume: 0.5f);
|
||||||
|
grassFell = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void LateUpdate()
|
||||||
|
{
|
||||||
|
if (stonesExist)
|
||||||
|
{
|
||||||
|
StoneSplashCheck();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
@ -127,6 +142,7 @@ namespace HeavenStudio.Games.Scripts_ChargingChicken
|
||||||
public void PositionIsland(float state)
|
public void PositionIsland(float state)
|
||||||
{
|
{
|
||||||
CollapsedLandmass.localPosition = new Vector3(state, 0, 0);
|
CollapsedLandmass.localPosition = new Vector3(state, 0, 0);
|
||||||
|
stonePlatformFallOffset = state;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetUpCollapse(double collapseTime)
|
public void SetUpCollapse(double collapseTime)
|
||||||
|
@ -139,6 +155,15 @@ namespace HeavenStudio.Games.Scripts_ChargingChicken
|
||||||
BigLandmass.SetActive(false);
|
BigLandmass.SetActive(false);
|
||||||
SmallLandmass.SetActive(true);
|
SmallLandmass.SetActive(true);
|
||||||
IslandCollapse.Play();
|
IslandCollapse.Play();
|
||||||
|
grassFell = true;
|
||||||
|
IslandPos.localPosition = new Vector3(0, 0, 0);
|
||||||
|
CollapsedLandmass.localPosition = new Vector3(0, 0, 0);
|
||||||
|
foreach (var a in stonePlatformJourney)
|
||||||
|
{
|
||||||
|
var stone = a.thisPlatform;
|
||||||
|
|
||||||
|
stone.transform.localPosition -= new Vector3(stonePlatformFallOffset, 0, 0);
|
||||||
|
}
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -155,24 +180,42 @@ namespace HeavenStudio.Games.Scripts_ChargingChicken
|
||||||
//stone platform methods
|
//stone platform methods
|
||||||
#region Stone Platform Methods
|
#region Stone Platform Methods
|
||||||
|
|
||||||
public void StoneSplash()
|
public void StoneSplashCheck(double offset = 0)
|
||||||
{
|
{
|
||||||
if (IslandPos.localPosition.x > -8)
|
foreach (var a in stonePlatformJourney)
|
||||||
{
|
{
|
||||||
SoundByte.PlayOneShotGame("chargingChicken/SE_CHIKEN_BLOCK_FALL_WATER_PITCH400", pitch: SoundByte.GetPitchFromCents(UnityEngine.Random.Range(-400, 401), false), volume: 0.5f);
|
if (a.thisPlatform.transform.position.x < platformOffsetUnderChicken + offset && !a.hasFallen)
|
||||||
StoneSplashEffect.Play();
|
{
|
||||||
|
var stone = a.thisPlatform;
|
||||||
|
var anim = stone.GetComponent<Animator>();
|
||||||
|
stonePlatformJourney[a.stoneNumber].hasFallen = true;
|
||||||
|
anim.Play("Fall", 0, 0);
|
||||||
|
anim.speed = (1f / Conductor.instance.pitchedSecPerBeat) * 0.3f;
|
||||||
|
SoundByte.PlayOneShotGame("chargingChicken/SE_CHIKEN_BLOCK_FALL_PITCH150", pitch: SoundByte.GetPitchFromCents(UnityEngine.Random.Range(-150, 151), false), volume: 0.5f);
|
||||||
|
BeatAction.New(GameManager.instance, new List<BeatAction.Action>()
|
||||||
|
{
|
||||||
|
new BeatAction.Action(Conductor.instance.songPositionInBeatsAsDouble + 0.50, delegate { StoneSplash(stone); }),
|
||||||
|
});
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ThisIsNotMoving()
|
public void StoneSplash(GameObject a)
|
||||||
{
|
{
|
||||||
isMoving = false;
|
if (a.transform.position.x > (-7.5 + platformOffsetUnderChicken))
|
||||||
|
{
|
||||||
|
SoundByte.PlayOneShotGame("chargingChicken/SE_CHIKEN_BLOCK_FALL_WATER_PITCH400", pitch: SoundByte.GetPitchFromCents(UnityEngine.Random.Range(-400, 401), false), volume: 0.5f);
|
||||||
|
}
|
||||||
|
GameObject splash = Instantiate(StoneSplashEffect, a.transform);
|
||||||
|
splash.transform.localPosition -= new Vector3(particleOffset.x, particleOffset.y, particleOffset.z);
|
||||||
|
splash.GetComponent<ParticleSystem>().Play();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ChickenFall()
|
public void ChickenFall()
|
||||||
{
|
{
|
||||||
var c = ChickenSplashEffect.transform.localPosition;
|
var c = ChickenSplashEffect.transform.localPosition;
|
||||||
ChickenSplashEffect.transform.localPosition = new Vector3(-IslandPos.localPosition.x + 1.5f, c.y, c.z);
|
ChickenSplashEffect.transform.localPosition = new Vector3(-IslandPos.localPosition.x + 2.5f, c.y, c.z);
|
||||||
ChickenSplashEffect.Play();
|
ChickenSplashEffect.Play();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -184,23 +227,36 @@ namespace HeavenStudio.Games.Scripts_ChargingChicken
|
||||||
|
|
||||||
for ( int i = 0; i < length * 4; i++ )
|
for ( int i = 0; i < length * 4; i++ )
|
||||||
{
|
{
|
||||||
|
stonePlatformJourney[i].thisPlatform = Instantiate(PlatformBase, transform);
|
||||||
|
stonePlatformJourney[i].stoneNumber = i;
|
||||||
|
stonePlatformJourney[i].hasFallen = false;
|
||||||
|
|
||||||
var a = stonePlatformJourney[i];
|
var a = stonePlatformJourney[i];
|
||||||
|
|
||||||
a.thisPlatform = Instantiate(PlatformBase, transform);
|
|
||||||
a.stoneNumber = i;
|
|
||||||
|
|
||||||
var stone = a.thisPlatform;
|
var stone = a.thisPlatform;
|
||||||
var anim = stone.GetComponent<Animator>();
|
var anim = a.thisPlatform.GetComponent<Animator>();
|
||||||
|
|
||||||
stone.SetActive(true);
|
stone.SetActive(true);
|
||||||
stone.transform.localPosition = new Vector3((float)(((a.stoneNumber) * ChargingChicken.platformDistanceConstant) - (ChargingChicken.platformDistanceConstant / 2)) + stone.transform.localPosition.x, stone.transform.localPosition.y, 0);
|
particleOffset = new Vector3(stone.transform.localPosition.x, stone.transform.localPosition.y, stone.transform.localPosition.z);
|
||||||
|
stone.transform.localPosition = new Vector3((float)(((a.stoneNumber) * ChargingChicken.platformDistanceConstant) - (ChargingChicken.platformDistanceConstant / 2) + stonePlatformFallOffset) + stone.transform.localPosition.x, stone.transform.localPosition.y, 0);
|
||||||
|
|
||||||
|
switch (i % 3)
|
||||||
|
{
|
||||||
|
case 1: anim.DoScaledAnimation("Plat1", 0.5f, animLayer: 1); break;
|
||||||
|
case 2: anim.DoScaledAnimation("Plat2", 0.5f, animLayer: 1); break;
|
||||||
|
}
|
||||||
|
|
||||||
if (!tooLate)
|
if (!tooLate)
|
||||||
{
|
{
|
||||||
anim.DoScaledAnimation("Set", Conductor.instance.songPositionInBeatsAsDouble + ((double)a.stoneNumber / 64), 0.5f);
|
anim.DoScaledAnimation("Set", Conductor.instance.songPositionInBeatsAsDouble + ((double)a.stoneNumber / 64), 0.5f, animLayer: 0);
|
||||||
anim.speed = (1f / Conductor.instance.pitchedSecPerBeat) * 0.5f;
|
anim.speed = (1f / Conductor.instance.pitchedSecPerBeat) * 0.5f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BeatAction.New(GameManager.instance, new List<BeatAction.Action>()
|
||||||
|
{
|
||||||
|
new BeatAction.Action(beat - length - 1, delegate { stonesExist = true; }),
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
|
@ -38,5 +38,6 @@ MonoBehaviour:
|
||||||
- Assets/Scripts/Minigames.cs
|
- Assets/Scripts/Minigames.cs
|
||||||
- Assets/Scripts/Games/DogNinja/ThrowObject.cs
|
- Assets/Scripts/Games/DogNinja/ThrowObject.cs
|
||||||
- Assets/Scripts/AppInfo.cs
|
- Assets/Scripts/AppInfo.cs
|
||||||
|
- Assets/Scripts/Util/AnimationHelpers.cs
|
||||||
PathsToSkipImportEvent: []
|
PathsToSkipImportEvent: []
|
||||||
PathsToIgnoreOverwriteSettingOnAttribute: []
|
PathsToIgnoreOverwriteSettingOnAttribute: []
|
||||||
|
|
Loading…
Reference in a new issue