feat: sound update all theme

main
tiendat3699 2024-04-24 15:52:31 +07:00
parent f5b376c67e
commit 78d208a7f9
152 changed files with 13534 additions and 6337 deletions

View File

@ -0,0 +1,739 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "City_ScoreObjectSpawn",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 60,
"speed": 1,
"wrapMode": 0,
"enableTrsBlending": false,
"_duration": 0.7666666666666667,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
},
{
"__id__": 12
},
{
"__id__": 23
},
{
"__id__": 35
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": []
},
{
"__type__": "cc.animation.VectorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 2
},
"proxy": null
},
"_channels": [
{
"__id__": 4
},
{
"__id__": 6
},
{
"__id__": 8
},
{
"__id__": 10
}
],
"_nComponents": 3
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 3
},
"eulerAngles"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 5
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0.18333333333333332,
0.4,
0.5,
0.6166666666666667,
0.7
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 7
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0.18333333333333332,
0.4,
0.5,
0.6166666666666667,
0.7
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 9
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0.18333333333333332,
0.31666666666666665,
0.6166666666666667,
0.7666666666666667
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": -19.69586181640625,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 8,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 11
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.VectorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 13
},
"proxy": null
},
"_channels": [
{
"__id__": 15
},
{
"__id__": 17
},
{
"__id__": 19
},
{
"__id__": 21
}
],
"_nComponents": 3
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 14
},
"scale"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 16
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.18333333333333332,
0.31666666666666665,
0.5
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 1.2000000476837158,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 18
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.18333333333333332,
0.31666666666666665,
0.5
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1.2000000476837158,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 20
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.18333333333333332,
0.31666666666666665,
0.5
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1.2000000476837158,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 22
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.ColorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 24
},
"proxy": null
},
"_channels": [
{
"__id__": 27
},
{
"__id__": 29
},
{
"__id__": 31
},
{
"__id__": 33
}
]
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 25
},
{
"__id__": 26
},
"color"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "Sprite"
},
{
"__type__": "cc.animation.ComponentPath",
"component": "cc.Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 28
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 30
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 32
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 34
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.4
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.ObjectTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 36
},
"proxy": null
},
"_channel": {
"__id__": 39
}
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 37
},
{
"__id__": 38
},
"spriteFrame"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "Sprite"
},
{
"__type__": "cc.animation.ComponentPath",
"component": "cc.Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 40
}
},
{
"__type__": "cc.ObjectCurve",
"_times": [
0
],
"_values": [
{
"__uuid__": "ed6b0d5f-7d9c-4794-ae60-1073639417ad@f9941",
"__expectedType__": "cc.SpriteFrame"
}
]
}
]

View File

@ -0,0 +1,13 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "7c2237c8-dc0a-4e52-b04c-ed2f259daef6",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "City_ScoreObjectSpawn"
}
}

View File

@ -0,0 +1,278 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "City_fish_hit",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 60,
"speed": 1,
"wrapMode": 1,
"enableTrsBlending": false,
"_duration": 0.26666666666666666,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
},
{
"__id__": 7
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": []
},
{
"__type__": "cc.animation.ObjectTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 2
},
"proxy": null
},
"_channel": {
"__id__": 5
}
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 3
},
{
"__id__": 4
},
"spriteFrame"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "Sprite"
},
{
"__type__": "cc.animation.ComponentPath",
"component": "cc.Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 6
}
},
{
"__type__": "cc.ObjectCurve",
"_times": [
0,
0.05,
0.1,
0.15,
0.2,
0.25
],
"_values": [
{
"__uuid__": "32c84f11-b63d-4e60-9280-ab95ecf6f02b@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "fa708076-edf3-49b3-9868-81d90de1c101@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "393c215c-bca6-4cf2-8b9b-ae93b7fcba54@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "886670fc-bf55-42a5-a656-73716fc50127@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "36a17485-7b17-4954-a9c2-8c1ff424c119@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "08124bd7-1225-4469-b445-11f05fd00569@f9941",
"__expectedType__": "cc.SpriteFrame"
}
]
},
{
"__type__": "cc.animation.VectorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 8
},
"proxy": null
},
"_channels": [
{
"__id__": 10
},
{
"__id__": 12
},
{
"__id__": 14
},
{
"__id__": 16
}
],
"_nComponents": 3
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 9
},
"scale"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 11
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.25
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 3,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 13
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.25
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 3,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 15
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.25
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 3,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 17
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
}
]

View File

@ -0,0 +1,13 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "a53a174f-a6e0-4d8f-859a-375db68f3827",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "City_fish_hit"
}
}

View File

@ -0,0 +1,278 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "Farm_Egg_hit",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 60,
"speed": 1,
"wrapMode": 1,
"enableTrsBlending": false,
"_duration": 0.26666666666666666,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
},
{
"__id__": 7
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": []
},
{
"__type__": "cc.animation.ObjectTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 2
},
"proxy": null
},
"_channel": {
"__id__": 5
}
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 3
},
{
"__id__": 4
},
"spriteFrame"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "Sprite"
},
{
"__type__": "cc.animation.ComponentPath",
"component": "cc.Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 6
}
},
{
"__type__": "cc.ObjectCurve",
"_times": [
0,
0.05,
0.1,
0.15,
0.2,
0.25
],
"_values": [
{
"__uuid__": "121bbf8e-a2ef-4b1a-a39b-f8a5bf4303a7@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "e0a571ac-77ce-47d5-b60c-5ebfe90ea97b@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "2511f773-0ab2-4b09-9f4e-3b9ecb9aef10@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "77268302-43f4-413c-baaf-73e549aba68e@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "6d108778-fdf6-4ca1-b401-a91a966ccbc2@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "cbc38917-4ac7-4540-8536-fab20c72a981@f9941",
"__expectedType__": "cc.SpriteFrame"
}
]
},
{
"__type__": "cc.animation.VectorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 8
},
"proxy": null
},
"_channels": [
{
"__id__": 10
},
{
"__id__": 12
},
{
"__id__": 14
},
{
"__id__": 16
}
],
"_nComponents": 3
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 9
},
"scale"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 11
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.25
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 3,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 13
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.25
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 3,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 15
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.25
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 3,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 17
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
}
]

View File

@ -0,0 +1,13 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "05ec8a4c-f614-402a-b4fd-41894b86bdf5",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "Farm_Egg_hit"
}
}

View File

@ -9,9 +9,9 @@
"_native": "", "_native": "",
"sample": 60, "sample": 60,
"speed": 1, "speed": 1,
"wrapMode": 1, "wrapMode": 0,
"enableTrsBlending": false, "enableTrsBlending": false,
"_duration": 0.3333333333333333, "_duration": 0.7666666666666667,
"_hash": 500763545, "_hash": 500763545,
"_tracks": [ "_tracks": [
{ {
@ -19,6 +19,12 @@
}, },
{ {
"__id__": 12 "__id__": 12
},
{
"__id__": 23
},
{
"__id__": 35
} }
], ],
"_exoticAnimation": null, "_exoticAnimation": null,
@ -56,7 +62,7 @@
{ {
"__id__": 3 "__id__": 3
}, },
"position" "eulerAngles"
] ]
}, },
{ {
@ -72,9 +78,25 @@
{ {
"__type__": "cc.RealCurve", "__type__": "cc.RealCurve",
"_times": [ "_times": [
0.16666666666666666 0.18333333333333332,
0.4,
0.5,
0.6166666666666667,
0.7
], ],
"_values": [ "_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{ {
"__type__": "cc.RealKeyframeValue", "__type__": "cc.RealKeyframeValue",
"interpolationMode": 0, "interpolationMode": 0,
@ -85,9 +107,43 @@
"leftTangent": 0, "leftTangent": 0,
"leftTangentWeight": 1, "leftTangentWeight": 1,
"easingMethod": 0, "easingMethod": 0,
"__editorExtras__": { "__editorExtras__": null
"tangentMode": 0 },
} {
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
} }
], ],
"preExtrapolation": 1, "preExtrapolation": 1,
@ -102,15 +158,18 @@
{ {
"__type__": "cc.RealCurve", "__type__": "cc.RealCurve",
"_times": [ "_times": [
0, 0.18333333333333332,
0.16666666666666666 0.4,
0.5,
0.6166666666666667,
0.7
], ],
"_values": [ "_values": [
{ {
"__type__": "cc.RealKeyframeValue", "__type__": "cc.RealKeyframeValue",
"interpolationMode": 2, "interpolationMode": 0,
"tangentWeightMode": 0, "tangentWeightMode": 0,
"value": 50, "value": 0,
"rightTangent": 0, "rightTangent": 0,
"rightTangentWeight": 1, "rightTangentWeight": 1,
"leftTangent": 0, "leftTangent": 0,
@ -120,9 +179,45 @@
}, },
{ {
"__type__": "cc.RealKeyframeValue", "__type__": "cc.RealKeyframeValue",
"interpolationMode": 2, "interpolationMode": 0,
"tangentWeightMode": 0, "tangentWeightMode": 0,
"value": -35, "value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0, "rightTangent": 0,
"rightTangentWeight": 1, "rightTangentWeight": 1,
"leftTangent": 0, "leftTangent": 0,
@ -143,12 +238,15 @@
{ {
"__type__": "cc.RealCurve", "__type__": "cc.RealCurve",
"_times": [ "_times": [
0.16666666666666666 0.18333333333333332,
0.31666666666666665,
0.6166666666666667,
0.7666666666666667
], ],
"_values": [ "_values": [
{ {
"__type__": "cc.RealKeyframeValue", "__type__": "cc.RealKeyframeValue",
"interpolationMode": 0, "interpolationMode": 2,
"tangentWeightMode": 0, "tangentWeightMode": 0,
"value": 0, "value": 0,
"rightTangent": 0, "rightTangent": 0,
@ -156,9 +254,43 @@
"leftTangent": 0, "leftTangent": 0,
"leftTangentWeight": 1, "leftTangentWeight": 1,
"easingMethod": 0, "easingMethod": 0,
"__editorExtras__": { "__editorExtras__": null
"tangentMode": 0 },
} {
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": -19.69586181640625,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 8,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
} }
], ],
"preExtrapolation": 1, "preExtrapolation": 1,
@ -223,8 +355,62 @@
}, },
{ {
"__type__": "cc.RealCurve", "__type__": "cc.RealCurve",
"_times": [], "_times": [
"_values": [], 0,
0.18333333333333332,
0.31666666666666665,
0.5
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 1.2000000476837158,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1, "preExtrapolation": 1,
"postExtrapolation": 1 "postExtrapolation": 1
}, },
@ -238,17 +424,16 @@
"__type__": "cc.RealCurve", "__type__": "cc.RealCurve",
"_times": [ "_times": [
0, 0,
0.08333333333333333,
0.18333333333333332, 0.18333333333333332,
0.2833333333333333, 0.31666666666666665,
0.3333333333333333 0.5
], ],
"_values": [ "_values": [
{ {
"__type__": "cc.RealKeyframeValue", "__type__": "cc.RealKeyframeValue",
"interpolationMode": 0, "interpolationMode": 0,
"tangentWeightMode": 0, "tangentWeightMode": 0,
"value": 1, "value": 0,
"rightTangent": 0, "rightTangent": 0,
"rightTangentWeight": 1, "rightTangentWeight": 1,
"leftTangent": 0, "leftTangent": 0,
@ -272,19 +457,7 @@
"__type__": "cc.RealKeyframeValue", "__type__": "cc.RealKeyframeValue",
"interpolationMode": 0, "interpolationMode": 0,
"tangentWeightMode": 0, "tangentWeightMode": 0,
"value": 0.5, "value": 1.2000000476837158,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1.100000023841858,
"rightTangent": 0, "rightTangent": 0,
"rightTangentWeight": 1, "rightTangentWeight": 1,
"leftTangent": 0, "leftTangent": 0,
@ -316,8 +489,62 @@
}, },
{ {
"__type__": "cc.RealCurve", "__type__": "cc.RealCurve",
"_times": [], "_times": [
"_values": [], 0,
0.18333333333333332,
0.31666666666666665,
0.5
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1.2000000476837158,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1, "preExtrapolation": 1,
"postExtrapolation": 1 "postExtrapolation": 1
}, },
@ -333,5 +560,180 @@
"_values": [], "_values": [],
"preExtrapolation": 1, "preExtrapolation": 1,
"postExtrapolation": 1 "postExtrapolation": 1
},
{
"__type__": "cc.animation.ColorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 24
},
"proxy": null
},
"_channels": [
{
"__id__": 27
},
{
"__id__": 29
},
{
"__id__": 31
},
{
"__id__": 33
}
]
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 25
},
{
"__id__": 26
},
"color"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "Sprite"
},
{
"__type__": "cc.animation.ComponentPath",
"component": "cc.Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 28
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 30
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 32
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 34
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.4
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 2,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.ObjectTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 36
},
"proxy": null
},
"_channel": {
"__id__": 39
}
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 37
},
{
"__id__": 38
},
"spriteFrame"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "Sprite"
},
{
"__type__": "cc.animation.ComponentPath",
"component": "cc.Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 40
}
},
{
"__type__": "cc.ObjectCurve",
"_times": [
0
],
"_values": [
{
"__uuid__": "ac0fded8-68ff-476f-a693-d9b524d19d56@f9941",
"__expectedType__": "cc.SpriteFrame"
}
]
} }
] ]

View File

@ -2,7 +2,7 @@
"ver": "2.0.3", "ver": "2.0.3",
"importer": "animation-clip", "importer": "animation-clip",
"imported": true, "imported": true,
"uuid": "6917d1fa-bd6b-4e6f-ad9d-7864e747b4f6", "uuid": "fd8b6b93-0c47-46ba-a0c9-e7308ea813b4",
"files": [ "files": [
".cconb" ".cconb"
], ],

View File

@ -76,9 +76,9 @@
"__type__": "cc.RealCurve", "__type__": "cc.RealCurve",
"_times": [ "_times": [
0, 0,
0.18333333333333332, 0.18333333730697632,
0.2833333333333333, 0.28333333134651184,
0.3333333333333333, 0.3333333432674408,
0.5 0.5
], ],
"_values": [ "_values": [
@ -110,7 +110,7 @@
"__type__": "cc.RealKeyframeValue", "__type__": "cc.RealKeyframeValue",
"interpolationMode": 0, "interpolationMode": 0,
"tangentWeightMode": 0, "tangentWeightMode": 0,
"value": 1.2, "value": 1.2000000476837158,
"rightTangent": 0, "rightTangent": 0,
"rightTangentWeight": 1, "rightTangentWeight": 1,
"leftTangent": 0, "leftTangent": 0,
@ -160,9 +160,9 @@
"__type__": "cc.RealCurve", "__type__": "cc.RealCurve",
"_times": [ "_times": [
0, 0,
0.18333333333333332, 0.18333333730697632,
0.2833333333333333, 0.28333333134651184,
0.3333333333333333, 0.3333333432674408,
0.5 0.5
], ],
"_values": [ "_values": [
@ -194,7 +194,7 @@
"__type__": "cc.RealKeyframeValue", "__type__": "cc.RealKeyframeValue",
"interpolationMode": 0, "interpolationMode": 0,
"tangentWeightMode": 0, "tangentWeightMode": 0,
"value": 1.2, "value": 1.2000000476837158,
"rightTangent": 0, "rightTangent": 0,
"rightTangentWeight": 1, "rightTangentWeight": 1,
"leftTangent": 0, "leftTangent": 0,
@ -240,9 +240,9 @@
"__type__": "cc.RealCurve", "__type__": "cc.RealCurve",
"_times": [ "_times": [
0, 0,
0.18333333333333332, 0.18333333730697632,
0.2833333333333333, 0.28333333134651184,
0.3333333333333333, 0.3333333432674408,
0.5 0.5
], ],
"_values": [ "_values": [
@ -274,7 +274,7 @@
"__type__": "cc.RealKeyframeValue", "__type__": "cc.RealKeyframeValue",
"interpolationMode": 0, "interpolationMode": 0,
"tangentWeightMode": 0, "tangentWeightMode": 0,
"value": 1.2, "value": 1.2000000476837158,
"rightTangent": 0, "rightTangent": 0,
"rightTangentWeight": 1, "rightTangentWeight": 1,
"leftTangent": 0, "leftTangent": 0,
@ -374,11 +374,11 @@
{ {
"__type__": "cc.RealCurve", "__type__": "cc.RealCurve",
"_times": [ "_times": [
0.18333333333333332, 0.18333333730697632,
0.4, 0.4000000059604645,
0.5, 0.5,
0.6166666666666667, 0.6166666746139526,
0.7 0.699999988079071
], ],
"_values": [ "_values": [
{ {
@ -454,11 +454,11 @@
{ {
"__type__": "cc.RealCurve", "__type__": "cc.RealCurve",
"_times": [ "_times": [
0.18333333333333332, 0.18333333730697632,
0.4, 0.4000000059604645,
0.5, 0.5,
0.6166666666666667, 0.6166666746139526,
0.7 0.699999988079071
], ],
"_values": [ "_values": [
{ {
@ -534,10 +534,10 @@
{ {
"__type__": "cc.RealCurve", "__type__": "cc.RealCurve",
"_times": [ "_times": [
0.16666666666666666, 0.1666666716337204,
0.31666666666666665, 0.3166666626930237,
0.6166666666666667, 0.6166666746139526,
0.7666666666666667 0.7666666507720947
], ],
"_values": [ "_values": [
{ {
@ -698,7 +698,7 @@
"__type__": "cc.RealCurve", "__type__": "cc.RealCurve",
"_times": [ "_times": [
0, 0,
0.4 0.4000000059604645
], ],
"_values": [ "_values": [
{ {

View File

@ -37,10 +37,16 @@
}, },
{ {
"__id__": 63 "__id__": 63
},
{
"__id__": 65
},
{
"__id__": 67
} }
], ],
"_prefab": { "_prefab": {
"__id__": 67 "__id__": 71
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -1127,17 +1133,23 @@
"_spriteShadow": { "_spriteShadow": {
"__id__": 6 "__id__": 6
}, },
"_hitSound": { "_impactSound": {
"__uuid__": "b122d38e-ecf1-42e2-8b26-c09d306d90d9", "__uuid__": "b122d38e-ecf1-42e2-8b26-c09d306d90d9",
"__expectedType__": "cc.AudioClip" "__expectedType__": "cc.AudioClip"
}, },
"_hitFlipperSound": { "_impactFlipperSound": {
"__uuid__": "a76cc94a-6331-47e7-b8aa-0caeea6a79eb", "__uuid__": "a76cc94a-6331-47e7-b8aa-0caeea6a79eb",
"__expectedType__": "cc.AudioClip" "__expectedType__": "cc.AudioClip"
}, },
"_jumpCurve": { "_collectSound": {
"__id__": 65 "__id__": 65
}, },
"_cheeseModeCollectSound": {
"__id__": 67
},
"_jumpCurve": {
"__id__": 69
},
"_id": "" "_id": ""
}, },
{ {
@ -1172,10 +1184,154 @@
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "63Sw9CMYhBg69D+KZSZFGU" "fileId": "63Sw9CMYhBg69D+KZSZFGU"
}, },
{
"__type__": "02a884WNWtExrO21yAjQDWZ",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 66
},
"_duration": 1,
"_audioClips": [
{
"__uuid__": "ed43cf30-e917-4ea6-87be-88152ef1761b",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "676d2e8e-0236-4d57-9f68-1ce1659cc2f6",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "794e31e6-7028-491e-b49a-55645f0ad06e",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "fee9acdd-3ec9-4f91-a239-8b7ce92368cb",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "06a11f48-4a5c-4566-8b8e-70e7f594ff79",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "a50c3b4f-4c33-483d-9bc3-945e62bceebf",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "216e1e3a-1a13-4270-a8fb-fff80e6341de",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "ad481e8c-99ca-4292-bcdc-3b72335510dd",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "6511a68a-9c93-4fea-af92-a8a03fb884af",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "ceeb7985-0734-4309-9251-a4b063d9bae0",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "87cb5407-8fb6-44b2-94d1-5e51a4cab1c5",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "5a186d0c-a7d3-484a-8a7f-8196a3d2599c",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "22e9a445-eed8-4f32-9804-bb579c1cfcc2",
"__expectedType__": "cc.AudioClip"
}
],
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "aas3XGspVEZ7Hv2buQTgkn"
},
{
"__type__": "02a884WNWtExrO21yAjQDWZ",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 68
},
"_duration": 1,
"_audioClips": [
{
"__uuid__": "ee163cd5-0bb4-431f-9dff-dba510abc8cf",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "850c31fe-6597-43ee-a49f-dcaacc48111f",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "9f01f816-ff23-4d3a-a017-2a3fecdae608",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "9410f670-ea33-4a9e-8684-757b92af9f73",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "1f676e3d-6f75-4a6c-b189-9b0c39461ba3",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "8e99e7e1-e869-491d-8ee7-5ed780f54c38",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "80da34cb-2956-4826-91db-20a4d2cf5bcd",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "ed789ffb-c7df-4ac3-843f-bacf15a1a266",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "58db86c1-27bc-4f56-9d4f-33452289ef02",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "b27dc3d4-5eb4-4450-a8a5-18ce075b3fb1",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "8f761e48-83c1-438a-8e11-ceb7ef6f8896",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "7e89abf7-1a84-420f-b53b-ce6122dbde88",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "d9f768b4-f67e-4464-a03d-9c3a103cb218",
"__expectedType__": "cc.AudioClip"
}
],
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "37adpceRFMorVnfQKNwXyC"
},
{ {
"__type__": "cc.AnimationCurve", "__type__": "cc.AnimationCurve",
"_curve": { "_curve": {
"__id__": 66 "__id__": 70
} }
}, },
{ {
@ -1250,20 +1406,20 @@
"fileId": "ecwvc2xHdIf6kSfbLqrETl", "fileId": "ecwvc2xHdIf6kSfbLqrETl",
"instance": null, "instance": null,
"targetOverrides": [ "targetOverrides": [
{
"__id__": 68
},
{
"__id__": 70
},
{ {
"__id__": 72 "__id__": 72
}, },
{ {
"__id__": 75 "__id__": 74
}, },
{ {
"__id__": 78 "__id__": 76
},
{
"__id__": 79
},
{
"__id__": 82
} }
], ],
"nestedPrefabInstanceRoots": [ "nestedPrefabInstanceRoots": [
@ -1291,7 +1447,7 @@
"__id__": 31 "__id__": 31
}, },
"targetInfo": { "targetInfo": {
"__id__": 69 "__id__": 73
} }
}, },
{ {
@ -1313,7 +1469,7 @@
"__id__": 9 "__id__": 9
}, },
"targetInfo": { "targetInfo": {
"__id__": 71 "__id__": 75
} }
}, },
{ {
@ -1328,7 +1484,7 @@
"__id__": 39 "__id__": 39
}, },
"sourceInfo": { "sourceInfo": {
"__id__": 73 "__id__": 77
}, },
"propertyPath": [ "propertyPath": [
"_trailModule", "_trailModule",
@ -1338,7 +1494,7 @@
"__id__": 39 "__id__": 39
}, },
"targetInfo": { "targetInfo": {
"__id__": 74 "__id__": 78
} }
}, },
{ {
@ -1359,7 +1515,7 @@
"__id__": 9 "__id__": 9
}, },
"sourceInfo": { "sourceInfo": {
"__id__": 76 "__id__": 80
}, },
"propertyPath": [ "propertyPath": [
"_trailModule", "_trailModule",
@ -1369,7 +1525,7 @@
"__id__": 9 "__id__": 9
}, },
"targetInfo": { "targetInfo": {
"__id__": 77 "__id__": 81
} }
}, },
{ {
@ -1397,7 +1553,7 @@
"__id__": 39 "__id__": 39
}, },
"targetInfo": { "targetInfo": {
"__id__": 79 "__id__": 83
} }
}, },
{ {

View File

@ -1116,6 +1116,10 @@
"_collider": { "_collider": {
"__id__": 80 "__id__": 80
}, },
"_collectSound": {
"__uuid__": "1ac12acc-dde3-4d31-9106-dfc30c030d40",
"__expectedType__": "cc.AudioClip"
},
"_animation": { "_animation": {
"__id__": 82 "__id__": 82
}, },

View File

@ -318,7 +318,7 @@
"__id__": 16 "__id__": 16
}, },
"_hitSound": { "_hitSound": {
"__uuid__": "65a023cb-b98f-4470-ba2d-4eba9fe184fe", "__uuid__": "1fe7a4a1-5174-476b-a19c-a3366391bfcc",
"__expectedType__": "cc.AudioClip" "__expectedType__": "cc.AudioClip"
}, },
"_score": 0, "_score": 0,

View File

@ -23,24 +23,30 @@
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 45
},
{
"__id__": 47
},
{
"__id__": 49
},
{ {
"__id__": 51 "__id__": 51
}, },
{ {
"__id__": 53 "__id__": 53
},
{
"__id__": 55
},
{
"__id__": 57
},
{
"__id__": 59
},
{
"__id__": 61
},
{
"__id__": 63
} }
], ],
"_prefab": { "_prefab": {
"__id__": 57 "__id__": 67
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -92,17 +98,20 @@
"__id__": 23 "__id__": 23
}, },
{ {
"__id__": 31 "__id__": 29
},
{
"__id__": 37
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 42 "__id__": 48
} }
], ],
"_prefab": { "_prefab": {
"__id__": 44 "__id__": 50
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -440,13 +449,13 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 68.75899999999999, "width": 65,
"height": 80.33229702970294 "height": 70
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.5,
"y": 0.5 "y": 0.55
}, },
"_id": "" "_id": ""
}, },
@ -511,6 +520,139 @@
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{
"__type__": "cc.Node",
"_name": "CheeseModeSprite",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 24
},
{
"__id__": 26
}
],
"_prefab": {
"__id__": 28
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"__prefab": {
"__id__": 25
},
"_contentSize": {
"__type__": "cc.Size",
"width": 73,
"height": 70
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.55
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "cbEdnCg+JOwokEdZXgjklh"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"__prefab": {
"__id__": 27
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "8107a747-074a-4e18-817e-b6c8e51c5b7f@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "5dLWzvcZpJnYsdEADYkLXF"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "65ssZBg7pKnbNqFkKit6qp",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_objFlags": 0, "_objFlags": 0,
@ -518,14 +660,14 @@
"__id__": 2 "__id__": 2
}, },
"_prefab": { "_prefab": {
"__id__": 24 "__id__": 30
}, },
"__editorExtras__": {} "__editorExtras__": {}
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 23 "__id__": 29
}, },
"asset": { "asset": {
"__uuid__": "e14fcc1f-f971-42d3-9b4c-b18518610c85", "__uuid__": "e14fcc1f-f971-42d3-9b4c-b18518610c85",
@ -533,7 +675,7 @@
}, },
"fileId": "67xZ2cRkJFAr/RCUJZ4Wsx", "fileId": "67xZ2cRkJFAr/RCUJZ4Wsx",
"instance": { "instance": {
"__id__": 25 "__id__": 31
}, },
"targetOverrides": null "targetOverrides": null
}, },
@ -547,16 +689,16 @@
"mountedComponents": [], "mountedComponents": [],
"propertyOverrides": [ "propertyOverrides": [
{ {
"__id__": 26 "__id__": 32
}, },
{ {
"__id__": 28 "__id__": 34
}, },
{ {
"__id__": 29 "__id__": 35
}, },
{ {
"__id__": 30 "__id__": 36
} }
], ],
"removedComponents": [] "removedComponents": []
@ -564,7 +706,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 27 "__id__": 33
}, },
"propertyPath": [ "propertyPath": [
"_name" "_name"
@ -580,7 +722,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 27 "__id__": 33
}, },
"propertyPath": [ "propertyPath": [
"_lpos" "_lpos"
@ -595,7 +737,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 27 "__id__": 33
}, },
"propertyPath": [ "propertyPath": [
"_lrot" "_lrot"
@ -611,7 +753,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 27 "__id__": 33
}, },
"propertyPath": [ "propertyPath": [
"_euler" "_euler"
@ -630,14 +772,14 @@
"__id__": 2 "__id__": 2
}, },
"_prefab": { "_prefab": {
"__id__": 32 "__id__": 38
}, },
"__editorExtras__": {} "__editorExtras__": {}
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 31 "__id__": 37
}, },
"asset": { "asset": {
"__uuid__": "65ac0d84-803c-4033-a26d-d045b44256b2", "__uuid__": "65ac0d84-803c-4033-a26d-d045b44256b2",
@ -645,7 +787,7 @@
}, },
"fileId": "a9ie+TsG9IqLmCtkDUOeNi", "fileId": "a9ie+TsG9IqLmCtkDUOeNi",
"instance": { "instance": {
"__id__": 33 "__id__": 39
}, },
"targetOverrides": null "targetOverrides": null
}, },
@ -659,22 +801,22 @@
"mountedComponents": [], "mountedComponents": [],
"propertyOverrides": [ "propertyOverrides": [
{ {
"__id__": 34 "__id__": 40
}, },
{ {
"__id__": 36 "__id__": 42
}, },
{ {
"__id__": 37 "__id__": 43
}, },
{ {
"__id__": 38 "__id__": 44
}, },
{ {
"__id__": 39 "__id__": 45
}, },
{ {
"__id__": 41 "__id__": 47
} }
], ],
"removedComponents": [] "removedComponents": []
@ -682,7 +824,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 35 "__id__": 41
}, },
"propertyPath": [ "propertyPath": [
"_name" "_name"
@ -698,7 +840,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 35 "__id__": 41
}, },
"propertyPath": [ "propertyPath": [
"_lpos" "_lpos"
@ -713,7 +855,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 35 "__id__": 41
}, },
"propertyPath": [ "propertyPath": [
"_lrot" "_lrot"
@ -729,7 +871,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 35 "__id__": 41
}, },
"propertyPath": [ "propertyPath": [
"_euler" "_euler"
@ -744,7 +886,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 40 "__id__": 46
}, },
"propertyPath": [ "propertyPath": [
"startColor", "startColor",
@ -767,12 +909,12 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 40 "__id__": 46
}, },
"propertyPath": [ "propertyPath": [
"playOnAwake" "playOnAwake"
], ],
"value": false "value": true
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
@ -783,7 +925,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 43 "__id__": 49
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -824,7 +966,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 46 "__id__": 52
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -852,7 +994,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 48 "__id__": 54
}, },
"tag": 0, "tag": 0,
"_group": 4, "_group": 4,
@ -882,7 +1024,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 50 "__id__": 56
}, },
"enabledContactListener": true, "enabledContactListener": true,
"bullet": true, "bullet": true,
@ -915,7 +1057,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 52 "__id__": 58
}, },
"_impactPrefab": { "_impactPrefab": {
"__uuid__": "018b85ed-f07a-4f26-b29c-7c3eb28cc634", "__uuid__": "018b85ed-f07a-4f26-b29c-7c3eb28cc634",
@ -923,33 +1065,42 @@
}, },
"_maxSpeed": 60, "_maxSpeed": 60,
"_rigidBody": { "_rigidBody": {
"__id__": 49 "__id__": 55
}, },
"_sprite": { "_animation": {
"__id__": 59
},
"_trail": null,
"_buffParticle": null,
"_fireParticle": null,
"_collider": {
"__id__": 53
},
"_normalSprite": {
"__id__": 20 "__id__": 20
}, },
"_cheeseModeSprite": {
"__id__": 26
},
"_spriteShadow": { "_spriteShadow": {
"__id__": 6 "__id__": 6
}, },
"_animation": { "_impactSound": {
"__id__": 53
},
"_trail": null,
"_buffParticle": null,
"_boosterParticle": null,
"_collider": {
"__id__": 47
},
"_hitSound": {
"__uuid__": "b122d38e-ecf1-42e2-8b26-c09d306d90d9", "__uuid__": "b122d38e-ecf1-42e2-8b26-c09d306d90d9",
"__expectedType__": "cc.AudioClip" "__expectedType__": "cc.AudioClip"
}, },
"_hitFlipperSound": { "_impactFlipperSound": {
"__uuid__": "a76cc94a-6331-47e7-b8aa-0caeea6a79eb", "__uuid__": "a76cc94a-6331-47e7-b8aa-0caeea6a79eb",
"__expectedType__": "cc.AudioClip" "__expectedType__": "cc.AudioClip"
}, },
"_collectSound": {
"__id__": 61
},
"_cheeseModeCollectSound": {
"__id__": 63
},
"_jumpCurve": { "_jumpCurve": {
"__id__": 55 "__id__": 65
}, },
"_id": "" "_id": ""
}, },
@ -966,7 +1117,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 54 "__id__": 60
}, },
"playOnLoad": false, "playOnLoad": false,
"_clips": [ "_clips": [
@ -985,10 +1136,154 @@
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "63Sw9CMYhBg69D+KZSZFGU" "fileId": "63Sw9CMYhBg69D+KZSZFGU"
}, },
{
"__type__": "02a884WNWtExrO21yAjQDWZ",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 62
},
"_duration": 1,
"_audioClips": [
{
"__uuid__": "ed43cf30-e917-4ea6-87be-88152ef1761b",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "676d2e8e-0236-4d57-9f68-1ce1659cc2f6",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "794e31e6-7028-491e-b49a-55645f0ad06e",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "fee9acdd-3ec9-4f91-a239-8b7ce92368cb",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "06a11f48-4a5c-4566-8b8e-70e7f594ff79",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "a50c3b4f-4c33-483d-9bc3-945e62bceebf",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "216e1e3a-1a13-4270-a8fb-fff80e6341de",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "ad481e8c-99ca-4292-bcdc-3b72335510dd",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "6511a68a-9c93-4fea-af92-a8a03fb884af",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "ceeb7985-0734-4309-9251-a4b063d9bae0",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "87cb5407-8fb6-44b2-94d1-5e51a4cab1c5",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "5a186d0c-a7d3-484a-8a7f-8196a3d2599c",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "22e9a445-eed8-4f32-9804-bb579c1cfcc2",
"__expectedType__": "cc.AudioClip"
}
],
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "1aqEb3QYJKG6QhLeKHxT2g"
},
{
"__type__": "02a884WNWtExrO21yAjQDWZ",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 64
},
"_duration": 1,
"_audioClips": [
{
"__uuid__": "ee163cd5-0bb4-431f-9dff-dba510abc8cf",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "850c31fe-6597-43ee-a49f-dcaacc48111f",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "9f01f816-ff23-4d3a-a017-2a3fecdae608",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "9410f670-ea33-4a9e-8684-757b92af9f73",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "1f676e3d-6f75-4a6c-b189-9b0c39461ba3",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "8e99e7e1-e869-491d-8ee7-5ed780f54c38",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "80da34cb-2956-4826-91db-20a4d2cf5bcd",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "ed789ffb-c7df-4ac3-843f-bacf15a1a266",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "58db86c1-27bc-4f56-9d4f-33452289ef02",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "b27dc3d4-5eb4-4450-a8a5-18ce075b3fb1",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "8f761e48-83c1-438a-8e11-ceb7ef6f8896",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "7e89abf7-1a84-420f-b53b-ce6122dbde88",
"__expectedType__": "cc.AudioClip"
},
{
"__uuid__": "d9f768b4-f67e-4464-a03d-9c3a103cb218",
"__expectedType__": "cc.AudioClip"
}
],
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "73HxbEHzpJeYYNFy1pk7xX"
},
{ {
"__type__": "cc.AnimationCurve", "__type__": "cc.AnimationCurve",
"_curve": { "_curve": {
"__id__": 56 "__id__": 66
} }
}, },
{ {
@ -1064,24 +1359,24 @@
"instance": null, "instance": null,
"targetOverrides": [ "targetOverrides": [
{ {
"__id__": 58 "__id__": 68
}, },
{ {
"__id__": 60 "__id__": 70
}, },
{ {
"__id__": 62 "__id__": 72
}, },
{ {
"__id__": 65 "__id__": 75
} }
], ],
"nestedPrefabInstanceRoots": [ "nestedPrefabInstanceRoots": [
{ {
"__id__": 31 "__id__": 37
}, },
{ {
"__id__": 23 "__id__": 29
}, },
{ {
"__id__": 9 "__id__": 9
@ -1091,17 +1386,17 @@
{ {
"__type__": "cc.TargetOverrideInfo", "__type__": "cc.TargetOverrideInfo",
"source": { "source": {
"__id__": 51 "__id__": 57
}, },
"sourceInfo": null, "sourceInfo": null,
"propertyPath": [ "propertyPath": [
"_buffParticle" "_buffParticle"
], ],
"target": { "target": {
"__id__": 23 "__id__": 29
}, },
"targetInfo": { "targetInfo": {
"__id__": 59 "__id__": 69
} }
}, },
{ {
@ -1113,7 +1408,7 @@
{ {
"__type__": "cc.TargetOverrideInfo", "__type__": "cc.TargetOverrideInfo",
"source": { "source": {
"__id__": 51 "__id__": 57
}, },
"sourceInfo": null, "sourceInfo": null,
"propertyPath": [ "propertyPath": [
@ -1123,7 +1418,7 @@
"__id__": 9 "__id__": 9
}, },
"targetInfo": { "targetInfo": {
"__id__": 61 "__id__": 71
} }
}, },
{ {
@ -1135,20 +1430,20 @@
{ {
"__type__": "cc.TargetOverrideInfo", "__type__": "cc.TargetOverrideInfo",
"source": { "source": {
"__id__": 31 "__id__": 37
}, },
"sourceInfo": { "sourceInfo": {
"__id__": 63 "__id__": 73
}, },
"propertyPath": [ "propertyPath": [
"_trailModule", "_trailModule",
"_particleSystem" "_particleSystem"
], ],
"target": { "target": {
"__id__": 31 "__id__": 37
}, },
"targetInfo": { "targetInfo": {
"__id__": 64 "__id__": 74
} }
}, },
{ {
@ -1166,17 +1461,17 @@
{ {
"__type__": "cc.TargetOverrideInfo", "__type__": "cc.TargetOverrideInfo",
"source": { "source": {
"__id__": 51 "__id__": 57
}, },
"sourceInfo": null, "sourceInfo": null,
"propertyPath": [ "propertyPath": [
"_boosterParticle" "_fireParticle"
], ],
"target": { "target": {
"__id__": 31 "__id__": 37
}, },
"targetInfo": { "targetInfo": {
"__id__": 66 "__id__": 76
} }
}, },
{ {

View File

@ -94,7 +94,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 50, "y": 0,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -133,13 +133,13 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 70, "width": 60,
"height": 70 "height": 70
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.5,
"y": 0 "y": 0.5
}, },
"_id": "" "_id": ""
}, },
@ -217,7 +217,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 70, "width": 60,
"height": 70 "height": 70
}, },
"_anchorPoint": { "_anchorPoint": {
@ -255,8 +255,8 @@
}, },
"_size": { "_size": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 70, "width": 60,
"height": 70 "height": 60
}, },
"_id": "" "_id": ""
}, },
@ -318,7 +318,7 @@
"__id__": 16 "__id__": 16
}, },
"_hitSound": { "_hitSound": {
"__uuid__": "65a023cb-b98f-4470-ba2d-4eba9fe184fe", "__uuid__": "1fe7a4a1-5174-476b-a19c-a3366391bfcc",
"__expectedType__": "cc.AudioClip" "__expectedType__": "cc.AudioClip"
}, },
"_score": 0, "_score": 0,
@ -345,12 +345,13 @@
{ {
"__uuid__": "a5dad1d5-e43f-440c-aede-0959b5c632f1", "__uuid__": "a5dad1d5-e43f-440c-aede-0959b5c632f1",
"__expectedType__": "cc.AnimationClip" "__expectedType__": "cc.AnimationClip"
},
{
"__uuid__": "42bd6941-1c9f-4b41-af13-ed9b3b5aa628",
"__expectedType__": "cc.AnimationClip"
} }
], ],
"_defaultClip": { "_defaultClip": null,
"__uuid__": "a5dad1d5-e43f-440c-aede-0959b5c632f1",
"__expectedType__": "cc.AnimationClip"
},
"_id": "" "_id": ""
}, },
{ {

View File

@ -94,7 +94,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -50, "y": 0,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -133,13 +133,13 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 90, "width": 70,
"height": 100 "height": 100
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.5,
"y": 0 "y": 0.5
}, },
"_id": "" "_id": ""
}, },
@ -217,7 +217,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 90, "width": 60,
"height": 100 "height": 100
}, },
"_anchorPoint": { "_anchorPoint": {
@ -242,7 +242,7 @@
"__prefab": { "__prefab": {
"__id__": 11 "__id__": 11
}, },
"tag": 0, "tag": 1,
"_group": 2, "_group": 2,
"_density": 1, "_density": 1,
"_sensor": true, "_sensor": true,
@ -255,7 +255,7 @@
}, },
"_size": { "_size": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 90, "width": 60,
"height": 100 "height": 100
}, },
"_id": "" "_id": ""
@ -317,10 +317,7 @@
"_animation": { "_animation": {
"__id__": 16 "__id__": 16
}, },
"_hitSound": { "_hitSound": null,
"__uuid__": "65a023cb-b98f-4470-ba2d-4eba9fe184fe",
"__expectedType__": "cc.AudioClip"
},
"_score": 5, "_score": 5,
"_bonusTime": 0, "_bonusTime": 0,
"_id": "" "_id": ""
@ -343,12 +340,16 @@
"playOnLoad": false, "playOnLoad": false,
"_clips": [ "_clips": [
{ {
"__uuid__": "cfd9afd6-9345-446c-bf56-b7ac3dbf2c1e", "__uuid__": "7c2237c8-dc0a-4e52-b04c-ed2f259daef6",
"__expectedType__": "cc.AnimationClip"
},
{
"__uuid__": "a53a174f-a6e0-4d8f-859a-375db68f3827",
"__expectedType__": "cc.AnimationClip" "__expectedType__": "cc.AnimationClip"
} }
], ],
"_defaultClip": { "_defaultClip": {
"__uuid__": "cfd9afd6-9345-446c-bf56-b7ac3dbf2c1e", "__uuid__": "7c2237c8-dc0a-4e52-b04c-ed2f259daef6",
"__expectedType__": "cc.AnimationClip" "__expectedType__": "cc.AnimationClip"
}, },
"_id": "" "_id": ""

View File

@ -94,7 +94,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -3, "y": 0,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -139,7 +139,7 @@
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.5,
"y": 0 "y": 0.5
}, },
"_id": "" "_id": ""
}, },
@ -314,11 +314,11 @@
"_sprite": { "_sprite": {
"__id__": 5 "__id__": 5
}, },
"_spawnAnimation": { "_animation": {
"__id__": 16 "__id__": 16
}, },
"_hitSound": { "_hitSound": {
"__uuid__": "65a023cb-b98f-4470-ba2d-4eba9fe184fe", "__uuid__": "1fe7a4a1-5174-476b-a19c-a3366391bfcc",
"__expectedType__": "cc.AudioClip" "__expectedType__": "cc.AudioClip"
}, },
"_score": 0, "_score": 0,
@ -345,6 +345,10 @@
{ {
"__uuid__": "a5dad1d5-e43f-440c-aede-0959b5c632f1", "__uuid__": "a5dad1d5-e43f-440c-aede-0959b5c632f1",
"__expectedType__": "cc.AnimationClip" "__expectedType__": "cc.AnimationClip"
},
{
"__uuid__": "42bd6941-1c9f-4b41-af13-ed9b3b5aa628",
"__expectedType__": "cc.AnimationClip"
} }
], ],
"_defaultClip": { "_defaultClip": {

View File

@ -94,7 +94,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -35, "y": 0,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -139,7 +139,7 @@
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.5,
"y": 0 "y": 0.5
}, },
"_id": "" "_id": ""
}, },
@ -242,7 +242,7 @@
"__prefab": { "__prefab": {
"__id__": 11 "__id__": 11
}, },
"tag": 0, "tag": 1,
"_group": 2, "_group": 2,
"_density": 1, "_density": 1,
"_sensor": true, "_sensor": true,
@ -314,13 +314,10 @@
"_sprite": { "_sprite": {
"__id__": 5 "__id__": 5
}, },
"_spawnAnimation": { "_animation": {
"__id__": 16 "__id__": 16
}, },
"_hitSound": { "_hitSound": null,
"__uuid__": "65a023cb-b98f-4470-ba2d-4eba9fe184fe",
"__expectedType__": "cc.AudioClip"
},
"_score": 5, "_score": 5,
"_bonusTime": 0, "_bonusTime": 0,
"_id": "" "_id": ""
@ -343,14 +340,15 @@
"playOnLoad": false, "playOnLoad": false,
"_clips": [ "_clips": [
{ {
"__uuid__": "6917d1fa-bd6b-4e6f-ad9d-7864e747b4f6", "__uuid__": "fd8b6b93-0c47-46ba-a0c9-e7308ea813b4",
"__expectedType__": "cc.AnimationClip"
},
{
"__uuid__": "05ec8a4c-f614-402a-b4fd-41894b86bdf5",
"__expectedType__": "cc.AnimationClip" "__expectedType__": "cc.AnimationClip"
} }
], ],
"_defaultClip": { "_defaultClip": null,
"__uuid__": "6917d1fa-bd6b-4e6f-ad9d-7864e747b4f6",
"__expectedType__": "cc.AnimationClip"
},
"_id": "" "_id": ""
}, },
{ {

View File

@ -242,7 +242,7 @@
"__prefab": { "__prefab": {
"__id__": 11 "__id__": 11
}, },
"tag": 0, "tag": 1,
"_group": 2, "_group": 2,
"_density": 1, "_density": 1,
"_sensor": true, "_sensor": true,
@ -317,10 +317,7 @@
"_animation": { "_animation": {
"__id__": 16 "__id__": 16
}, },
"_hitSound": { "_hitSound": null,
"__uuid__": "65a023cb-b98f-4470-ba2d-4eba9fe184fe",
"__expectedType__": "cc.AudioClip"
},
"_score": 5, "_score": 5,
"_bonusTime": 0, "_bonusTime": 0,
"_id": "" "_id": ""

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -11,6 +11,8 @@ const { ccclass, property } = _decorator;
export class BoosterBase extends Component implements IPoolable { export class BoosterBase extends Component implements IPoolable {
@property({ type: Collider2D, visible: true }) @property({ type: Collider2D, visible: true })
protected _collider: Collider2D; protected _collider: Collider2D;
@property({ type: AudioClip, visible: true })
protected _collectSound: AudioClip;
@property({ type: Animation, visible: true }) @property({ type: Animation, visible: true })
private _animation: Animation; private _animation: Animation;
@ -25,6 +27,7 @@ export class BoosterBase extends Component implements IPoolable {
private onContactBegin(self: Collider2D, other: Collider2D) { private onContactBegin(self: Collider2D, other: Collider2D) {
this.boosterActive(); this.boosterActive();
this._collider.enabled = false; this._collider.enabled = false;
SoundManager.instance.playSfx(this._collectSound);
EventManger.instance.emit(GameEvent.ObjectRelease, this.node); EventManger.instance.emit(GameEvent.ObjectRelease, this.node);
ObjectPool.release(this.node); ObjectPool.release(this.node);
} }

View File

@ -25,6 +25,7 @@ import { GameManager } from '../Manager/GameManager';
import BoosterType from '../Enum/BoosterType'; import BoosterType from '../Enum/BoosterType';
import ObjectPool from '../Pool/ObjectPool'; import ObjectPool from '../Pool/ObjectPool';
import { SoundManager } from '../Manager/SoundManager'; import { SoundManager } from '../Manager/SoundManager';
import { SequenceSound } from './SequenceSound';
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
@ccclass('Reward') @ccclass('Reward')
@ -33,6 +34,8 @@ class Reward {
public scoreMin: number = 0; public scoreMin: number = 0;
@property(CCInteger) @property(CCInteger)
public scoreMax: number = 0; public scoreMax: number = 0;
@property(AudioClip)
public sound: AudioClip;
@property(Prefab) @property(Prefab)
public rewardEffect: Prefab; public rewardEffect: Prefab;
@ -66,8 +69,12 @@ export class CumulativeBar extends Component {
@property({ type: CCFloat, visible: true }) @property({ type: CCFloat, visible: true })
private _maxAngle: number = 0; private _maxAngle: number = 0;
@property({ type: SequenceSound, visible: true })
private _soundFx: SequenceSound;
@property({ type: AudioClip, visible: true }) @property({ type: AudioClip, visible: true })
private _soundFx; private _goalSound: AudioClip;
@property({ type: AudioClip, visible: true })
private _cheeseModeGoalSound: AudioClip;
@property({ type: AudioClip, visible: true }) @property({ type: AudioClip, visible: true })
private _collectStartSoundFx; private _collectStartSoundFx;
@ -156,7 +163,11 @@ export class CumulativeBar extends Component {
break; break;
case ScoreType.Goal: case ScoreType.Goal:
if (this._currentValue == 0) return; if (this._currentValue == 0) {
SoundManager.instance.playSfx(this._goalSound);
return;
}
SoundManager.instance.playSfx(this._cheeseModeGoalSound);
this._multiplier = 0; this._multiplier = 0;
this._goal = true; this._goal = true;
let items = Math.ceil(this._currentValue / 10); let items = Math.ceil(this._currentValue / 10);
@ -177,6 +188,7 @@ export class CumulativeBar extends Component {
Vec3.random(offset, 30); Vec3.random(offset, 30);
offset.y = 0; offset.y = 0;
obj.setWorldPosition(this.node.getWorldPosition().add(offset)); obj.setWorldPosition(this.node.getWorldPosition().add(offset));
this._soundFx.playSound(0.2);
tween(obj) tween(obj)
.to(randomRange(0.3, 0.4), { worldPosition: this._scoreUI.worldPosition }, { easing: 'sineIn' }) .to(randomRange(0.3, 0.4), { worldPosition: this._scoreUI.worldPosition }, { easing: 'sineIn' })
.call(() => this._starPool.release(obj)) .call(() => this._starPool.release(obj))
@ -192,7 +204,7 @@ export class CumulativeBar extends Component {
await Utilities.delay(time); await Utilities.delay(time);
} }
await Utilities.waitUntil(() => this._starPool.countActive == 0); await Utilities.waitUntil(() => this._starPool.countActive == 0);
SoundManager.instance.playSfx(this._soundFx, 0.5); this._soundFx.playSound();
GameManager.instance.addScore(Math.round(score), ScoreType.Combo, this.node.getWorldPosition(), { GameManager.instance.addScore(Math.round(score), ScoreType.Combo, this.node.getWorldPosition(), {
scaleMin: 2, scaleMin: 2,
scaleMax: 4, scaleMax: 4,
@ -214,6 +226,7 @@ export class CumulativeBar extends Component {
if (selectReward) { if (selectReward) {
const fx = selectReward.pool.get(ParticleSystem, GameManager.instance.topContainer); const fx = selectReward.pool.get(ParticleSystem, GameManager.instance.topContainer);
fx.node.setWorldPosition(this.node.worldPosition); fx.node.setWorldPosition(this.node.worldPosition);
SoundManager.instance.playSfx(selectReward.sound);
await Utilities.waitUntil(() => fx.isStopped); await Utilities.waitUntil(() => fx.isStopped);
selectReward.pool.release(fx); selectReward.pool.release(fx);
} }

View File

@ -1,7 +1,6 @@
import { import {
_decorator, _decorator,
Animation, Animation,
AudioClip,
CCInteger, CCInteger,
Collider2D, Collider2D,
Color, Color,
@ -9,6 +8,7 @@ import {
Contact2DType, Contact2DType,
Sprite, Sprite,
Vec3, Vec3,
AudioClip,
} from 'cc'; } from 'cc';
import { GameManager } from '../Manager/GameManager'; import { GameManager } from '../Manager/GameManager';
import IPoolable from '../Pool/IPoolable'; import IPoolable from '../Pool/IPoolable';
@ -67,7 +67,7 @@ export class ScoreObject extends Component implements IPoolable {
private async onContactBegin(selfCollider: Collider2D, otherCollider: Collider2D) { private async onContactBegin(selfCollider: Collider2D, otherCollider: Collider2D) {
if (this._isHit) return; if (this._isHit) return;
SoundManager.instance.playSfx(this._hitSound); if (this._hitSound) SoundManager.instance.playSfx(this._hitSound);
this._collider.enabled = false; this._collider.enabled = false;
// let center = this.node.getWorldPosition(); // let center = this.node.getWorldPosition();
// let other = otherCollider.node.getWorldPosition(); // let other = otherCollider.node.getWorldPosition();

View File

@ -0,0 +1,32 @@
import { _decorator, AudioClip, CCFloat, Component, Node } from 'cc';
import { SoundManager } from '../Manager/SoundManager';
const { ccclass, property } = _decorator;
@ccclass('SequenceSound')
export class SequenceSound extends Component {
@property({ type: CCFloat, visible: true })
private _duration: number = 0.5;
@property({ type: AudioClip, visible: true })
private _audioClips: AudioClip[] = [];
private _currentIndex = 0;
private _timer = 0;
protected update(dt: number): void {
if (this._timer > 0) {
this._timer -= dt;
}
}
public playSound(volume: number = 1) {
if (this._timer > 0) {
SoundManager.instance.playSfx(this._audioClips[this._currentIndex], volume);
this._currentIndex++;
if (this._currentIndex >= this._audioClips.length) this._currentIndex = 0;
} else {
this._currentIndex = 0;
SoundManager.instance.playSfx(this._audioClips[this._currentIndex], volume);
}
this._timer = this._duration;
}
}

View File

@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "02a88e16-356b-44c6-b3b6-d72023403599",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -16,6 +16,8 @@ import { Ball } from './Ball';
import { SoundManager } from '../Manager/SoundManager'; import { SoundManager } from '../Manager/SoundManager';
import { CameraController } from '../Environments/CameraController'; import { CameraController } from '../Environments/CameraController';
import TimeConfig from '../Enum/TimeConfig'; import TimeConfig from '../Enum/TimeConfig';
import { EventManger } from '../Manager/EventManger';
import GameEvent from '../Events/GameEvent';
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
@ccclass('Goal') @ccclass('Goal')
@ -28,8 +30,6 @@ export class Goal extends Component {
private _score: number; private _score: number;
@property({ type: Prefab, visible: true }) @property({ type: Prefab, visible: true })
private _goalFx: Prefab; private _goalFx: Prefab;
@property({ type: AudioClip, visible: true })
private _goalSound: AudioClip;
private _goalFxPool: ObjectPool; private _goalFxPool: ObjectPool;
@ -48,7 +48,6 @@ export class Goal extends Component {
pos.z = 10; pos.z = 10;
fx.node.setWorldPosition(pos); fx.node.setWorldPosition(pos);
fx.play(); fx.play();
SoundManager.instance.playSfx(this._goalSound);
ObjectPool.release(ball.node); ObjectPool.release(ball.node);
CameraController.instance.shake(0.5); CameraController.instance.shake(0.5);
this.playAnimationGoal(); this.playAnimationGoal();

View File

@ -29,6 +29,7 @@ import ObjectPool from '../Pool/ObjectPool';
import Utilities from '../Utilities'; import Utilities from '../Utilities';
import { EventManger } from '../Manager/EventManger'; import { EventManger } from '../Manager/EventManger';
import GameEvent from '../Events/GameEvent'; import GameEvent from '../Events/GameEvent';
import { SequenceSound } from '../Environments/SequenceSound';
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
@ccclass('Ball') @ccclass('Ball')
@ -59,9 +60,13 @@ export class Ball extends Component implements IPoolable {
private _spriteShadow: Sprite; private _spriteShadow: Sprite;
@property({ type: AudioClip, visible: true }) @property({ type: AudioClip, visible: true })
private _hitSound: AudioClip; private _impactSound: AudioClip;
@property({ type: AudioClip, visible: true }) @property({ type: AudioClip, visible: true })
private _hitFlipperSound: AudioClip; private _impactFlipperSound: AudioClip;
@property({ type: SequenceSound, visible: true })
private _collectSound: SequenceSound;
@property({ type: SequenceSound, visible: true })
private _cheeseModeCollectSound: SequenceSound;
@property({ type: geometry.AnimationCurve, visible: true }) @property({ type: geometry.AnimationCurve, visible: true })
private _jumpCurve: geometry.AnimationCurve = new geometry.AnimationCurve(); private _jumpCurve: geometry.AnimationCurve = new geometry.AnimationCurve();
@ -72,17 +77,13 @@ export class Ball extends Component implements IPoolable {
private _jumpTime: number; private _jumpTime: number;
private _jumpDuration: number; private _jumpDuration: number;
private _parent: Node; private _parent: Node;
private _cheeseModeOn = false;
public eventHitObstacle = new EventTarget();
public eventGoal = new EventTarget();
public init(boosterActive: boolean) { public init(boosterActive: boolean) {
if (boosterActive) { if (boosterActive) {
this._cheeseModeSprite.node.active = true; this.onBoosterActive();
this._normalSprite.node.active = false;
} else { } else {
this._cheeseModeSprite.node.active = false; this.onBoosterDisable();
this._normalSprite.node.active = true;
} }
} }
@ -150,26 +151,34 @@ export class Ball extends Component implements IPoolable {
if (this._isHit) return; if (this._isHit) return;
this._isHit = true; this._isHit = true;
const velocity = this._rigidBody.linearVelocity.length(); const velocity = this._rigidBody.linearVelocity.length();
if (!otherCollider.sensor && velocity >= 5) { if (!otherCollider.sensor) {
this._animation.play(); if (velocity >= 5) {
let hitPoint = contact.getWorldManifold().points[0]; this._animation.play();
let hitPoint = contact.getWorldManifold().points[0];
if (!hitPoint) { if (!hitPoint) {
const dir = otherCollider.node const dir = otherCollider.node
.getWorldPosition() .getWorldPosition()
.subtract(selfCollider.node.getWorldPosition()) .subtract(selfCollider.node.getWorldPosition())
.normalize(); .normalize();
dir.multiplyScalar(this._collider.radius / 2); dir.multiplyScalar(this._collider.radius / 2);
const point = selfCollider.node.getWorldPosition().add(dir); const point = selfCollider.node.getWorldPosition().add(dir);
hitPoint = new Vec2(point.x, point.y); hitPoint = new Vec2(point.x, point.y);
}
const hitFx = this._impactPool.get(ParticleSystem, this.node.parent);
hitFx.node.setWorldPosition(new Vec3(hitPoint.x, hitPoint.y, 10));
SoundManager.instance.playSfx(
otherCollider.group == PhysicsGroup.FLIPPER ? this._impactFlipperSound : this._impactSound,
);
await Utilities.waitUntil(() => hitFx.isStopped, 0.1);
this._impactPool.release(hitFx);
}
} else if (otherCollider.tag == 1) {
if (this._cheeseModeOn) {
this._cheeseModeCollectSound.playSound();
} else {
this._collectSound.playSound();
} }
const hitFx = this._impactPool.get(ParticleSystem, this.node.parent);
hitFx.node.setWorldPosition(new Vec3(hitPoint.x, hitPoint.y, 10));
SoundManager.instance.playSfx(
otherCollider.group == PhysicsGroup.FLIPPER ? this._hitFlipperSound : this._hitSound,
);
await Utilities.waitUntil(() => hitFx.isStopped, 0.1);
this._impactPool.release(hitFx);
} }
} }
@ -179,12 +188,14 @@ export class Ball extends Component implements IPoolable {
private onBoosterActive() { private onBoosterActive() {
// this._fireParticle.play(); // this._fireParticle.play();
this._cheeseModeOn = true;
this._cheeseModeSprite.node.active = true; this._cheeseModeSprite.node.active = true;
this._normalSprite.node.active = false; this._normalSprite.node.active = false;
} }
private onBoosterDisable() { private onBoosterDisable() {
// this._fireParticle.stop(); // this._fireParticle.stop();
this._cheeseModeOn = false;
this._cheeseModeSprite.node.active = false; this._cheeseModeSprite.node.active = false;
this._normalSprite.node.active = true; this._normalSprite.node.active = true;
} }

View File

@ -179,11 +179,11 @@ export class GameManager extends Singleton<GameManager>() {
this._timer = 0; this._timer = 0;
this.gameOver(); this.gameOver();
} }
if (!this._warningTime && this._timer <= 30) { if (!this._warningTime && this._timer <= 10) {
this._warningTime = true; this._warningTime = true;
EventManger.instance.emit(GameEvent.WarningTime, true); EventManger.instance.emit(GameEvent.WarningTime, true);
} }
if (this._warningTime && this._timer > 30) { if (this._warningTime && this._timer > 10) {
this._warningTime = false; this._warningTime = false;
EventManger.instance.emit(GameEvent.WarningTime, false); EventManger.instance.emit(GameEvent.WarningTime, false);
} }

View File

@ -1,4 +1,4 @@
import { _decorator, AudioClip, Component, geometry, Label, Node, Prefab, Tween, tween, Vec2, Vec3 } from 'cc'; import { _decorator, Component, geometry, Label, Node, Prefab, Tween, tween, Vec3 } from 'cc';
import BEConnector from '../API/BEConnector'; import BEConnector from '../API/BEConnector';
import { GameManager } from '../Manager/GameManager'; import { GameManager } from '../Manager/GameManager';
import ObjectPool from '../Pool/ObjectPool'; import ObjectPool from '../Pool/ObjectPool';
@ -6,7 +6,7 @@ import Utilities from '../Utilities';
import { EventManger } from '../Manager/EventManger'; import { EventManger } from '../Manager/EventManger';
import GameEvent from '../Events/GameEvent'; import GameEvent from '../Events/GameEvent';
import GameState from '../Enum/GameState'; import GameState from '../Enum/GameState';
import { SoundManager } from '../Manager/SoundManager'; import { SequenceSound } from '../Environments/SequenceSound';
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
@ccclass('GameOverPanel') @ccclass('GameOverPanel')
@ -27,8 +27,8 @@ export class GameOverPanel extends Component {
@property({ type: Prefab, visible: true }) @property({ type: Prefab, visible: true })
private _scorePrefab: Prefab; private _scorePrefab: Prefab;
@property({ type: AudioClip, visible: true }) @property({ type: SequenceSound, visible: true })
private _soundCollectCoinFx: AudioClip; private _soundCollectCoinFx: SequenceSound;
@property({ type: geometry.AnimationCurve, visible: true }) @property({ type: geometry.AnimationCurve, visible: true })
private _starSpeedCurve: geometry.AnimationCurve = new geometry.AnimationCurve(); private _starSpeedCurve: geometry.AnimationCurve = new geometry.AnimationCurve();
@ -168,7 +168,7 @@ export class GameOverPanel extends Component {
} }
}) })
.start(); .start();
SoundManager.instance.playSfx(this._soundCollectCoinFx); this._soundCollectCoinFx.playSound();
await Utilities.delay(duration / 3); await Utilities.delay(duration / 3);
} }
} }

Binary file not shown.

View File

@ -0,0 +1,12 @@
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "8f7e58bf-c725-4c3d-a1e0-1b7f5e68dde0",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "ee163cd5-0bb4-431f-9dff-dba510abc8cf",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "850c31fe-6597-43ee-a49f-dcaacc48111f",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "9f01f816-ff23-4d3a-a017-2a3fecdae608",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "9410f670-ea33-4a9e-8684-757b92af9f73",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "1f676e3d-6f75-4a6c-b189-9b0c39461ba3",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "8e99e7e1-e869-491d-8ee7-5ed780f54c38",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "80da34cb-2956-4826-91db-20a4d2cf5bcd",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "ed789ffb-c7df-4ac3-843f-bacf15a1a266",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "58db86c1-27bc-4f56-9d4f-33452289ef02",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "b27dc3d4-5eb4-4450-a8a5-18ce075b3fb1",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "8f761e48-83c1-438a-8e11-ceb7ef6f8896",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "7e89abf7-1a84-420f-b53b-ce6122dbde88",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "d9f768b4-f67e-4464-a03d-9c3a103cb218",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -0,0 +1,12 @@
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "8c7c9a3d-d40c-40e4-b2de-117f563e7123",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "ed43cf30-e917-4ea6-87be-88152ef1761b",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "676d2e8e-0236-4d57-9f68-1ce1659cc2f6",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "794e31e6-7028-491e-b49a-55645f0ad06e",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "fee9acdd-3ec9-4f91-a239-8b7ce92368cb",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "06a11f48-4a5c-4566-8b8e-70e7f594ff79",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "a50c3b4f-4c33-483d-9bc3-945e62bceebf",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "216e1e3a-1a13-4270-a8fb-fff80e6341de",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "ad481e8c-99ca-4292-bcdc-3b72335510dd",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "6511a68a-9c93-4fea-af92-a8a03fb884af",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "ceeb7985-0734-4309-9251-a4b063d9bae0",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "87cb5407-8fb6-44b2-94d1-5e51a4cab1c5",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "5a186d0c-a7d3-484a-8a7f-8196a3d2599c",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "22e9a445-eed8-4f32-9804-bb579c1cfcc2",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "05a2671e-35bb-4be0-9244-43d541b9a26a",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "1fe7a4a1-5174-476b-a19c-a3366391bfcc",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "5b63f255-2041-47ca-8625-90b55b4e4bef",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,12 @@
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "2d050786-71af-422b-836e-4da8a4b47be9",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}

Some files were not shown because too many files have changed in this diff Show More