完成开箱抽卡 和 怪物掉落设置

This commit is contained in:
2025-01-19 23:43:14 +08:00
parent cebf09a58c
commit d756516cc6
30 changed files with 51192 additions and 38040 deletions

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

@@ -0,0 +1,578 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "bs",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 24,
"speed": 1,
"wrapMode": 2,
"enableTrsBlending": false,
"_duration": 1.4166666666666667,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
},
{
"__id__": 11
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 21
},
"_auxiliaryCurveEntries": []
},
{
"__type__": "cc.animation.VectorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 2
},
"proxy": null
},
"_channels": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 9
}
],
"_nComponents": 3
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
"scale"
]
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 4
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.20833333333333334,
0.3333333333333333,
0.4583333333333333,
0.5833333333333334,
1.4166666666666667
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.2,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.20000000298023224,
"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__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.20000000298023224,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.20000000298023224,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.20000000298023224,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 6
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.20833333333333334,
0.3333333333333333,
0.4583333333333333,
0.5833333333333334,
1.4166666666666667
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.2,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.20000000298023224,
"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__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.20000000298023224,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.20000000298023224,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.20000000298023224,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 8
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.20833333333333334,
0.3333333333333333,
0.4583333333333333,
0.5833333333333334,
1.4166666666666667
],
"_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": 1,
"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__": {
"tangentMode": 0
}
},
{
"__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,
"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__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 10
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.VectorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 12
},
"proxy": null
},
"_channels": [
{
"__id__": 13
},
{
"__id__": 15
},
{
"__id__": 17
},
{
"__id__": 19
}
],
"_nComponents": 3
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
"eulerAngles"
]
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 14
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.4166666666666667,
0.5833333333333334
],
"_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
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 16
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.4166666666666667,
0.5833333333333334
],
"_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
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 18
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.4166666666666667,
0.5833333333333334
],
"_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": -270,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": -360,
"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": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.AnimationClipAdditiveSettings",
"enabled": false,
"refClip": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "151cd2ed-9709-4fe7-9443-83d31b6f7965",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "bs"
}
}

View File

@@ -0,0 +1,575 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "bs2",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 24,
"speed": 1,
"wrapMode": 2,
"enableTrsBlending": false,
"_duration": 1.0833333333333333,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
},
{
"__id__": 11
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 21
},
"_auxiliaryCurveEntries": []
},
{
"__type__": "cc.animation.VectorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 2
},
"proxy": null
},
"_channels": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 9
}
],
"_nComponents": 3
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
"scale"
]
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 4
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.25,
0.4166666666666667,
0.5416666666666666,
1.0833333333333333
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.2,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.2,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.2,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.2,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 6
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.25,
0.4166666666666667,
0.5416666666666666,
1.0833333333333333
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.2,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.2,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.2,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.2,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 8
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.25,
0.4166666666666667,
0.5416666666666666,
1.0833333333333333
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 10
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.VectorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 12
},
"proxy": null
},
"_channels": [
{
"__id__": 13
},
{
"__id__": 15
},
{
"__id__": 17
},
{
"__id__": 19
}
],
"_nComponents": 3
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
"eulerAngles"
]
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 14
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0.25,
0.4583333333333333,
0.5416666666666666
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 16
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0.25,
0.4583333333333333,
0.5416666666666666
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 18
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0.25,
0.4583333333333333,
0.5416666666666666
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": -270,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": -360,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 20
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.AnimationClipAdditiveSettings",
"enabled": false,
"refClip": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "2633f0b9-41b1-4252-ace1-de59d10c8b60",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "bs2"
}
}

View File

@@ -0,0 +1,575 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "bs3",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 60,
"speed": 1,
"wrapMode": 2,
"enableTrsBlending": false,
"_duration": 0.7333333333333333,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
},
{
"__id__": 11
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 21
},
"_auxiliaryCurveEntries": []
},
{
"__type__": "cc.animation.VectorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 2
},
"proxy": null
},
"_channels": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 9
}
],
"_nComponents": 3
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
"scale"
]
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 4
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.4166666666666667,
0.4666666666666667,
0.5166666666666667,
0.7333333333333333
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 6
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.4166666666666667,
0.4666666666666667,
0.5166666666666667,
0.7333333333333333
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 8
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.4166666666666667,
0.4666666666666667,
0.5166666666666667,
0.7333333333333333
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 10
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.VectorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 12
},
"proxy": null
},
"_channels": [
{
"__id__": 13
},
{
"__id__": 15
},
{
"__id__": 17
},
{
"__id__": 19
}
],
"_nComponents": 3
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
"eulerAngles"
]
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 14
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0.4166666666666667,
0.4666666666666667,
0.5166666666666667
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 16
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0.4166666666666667,
0.4666666666666667,
0.5166666666666667
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 18
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0.4166666666666667,
0.4666666666666667,
0.5166666666666667
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": -180,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": -360,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 20
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.AnimationClipAdditiveSettings",
"enabled": false,
"refClip": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "4c41ea25-3206-4142-897e-bf93328ef385",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "bs3"
}
}

View File

@@ -0,0 +1,303 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "flash2",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 18,
"speed": 1,
"wrapMode": 2,
"enableTrsBlending": false,
"_duration": 2.5555555555555554,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
},
{
"__id__": 12
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 17
},
"_auxiliaryCurveEntries": []
},
{
"__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
},
"position"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "Mask/Image_Effect_Square_Blue"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 5
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0.0555555559694767,
0.4444444477558136,
2.555555582046509
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": -84.2699966430664,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 65.9729995727539,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 649.3770141601562,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 7
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0.0555555559694767,
0.4444444477558136,
2.555555582046509
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": -84.2699966430664,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 65.9729995727539,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 566.9429931640625,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 9
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0.0555555559694767,
0.4444444477558136,
2.555555582046509
],
"_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__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 11
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.ObjectTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 13
},
"proxy": null
},
"_channel": {
"__id__": 15
}
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 14
},
"active"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "Mask/Image_Effect_Square_Blue-001"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 16
}
},
{
"__type__": "cc.ObjectCurve",
"_times": [
0,
0.1111111111111111,
1.8333333333333333,
2.5555555555555554
],
"_values": [
false,
false,
false,
false
]
},
{
"__type__": "cc.AnimationClipAdditiveSettings",
"enabled": false,
"refClip": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "0de1533d-2062-403d-9eda-5ee5395e3375",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "flash2"
}
}

View File

@@ -0,0 +1,325 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "flash3",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 12,
"speed": 1,
"wrapMode": 38,
"enableTrsBlending": false,
"_duration": 1.6666666666666667,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 12
},
"_auxiliaryCurveEntries": []
},
{
"__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": "Mask/Image_Effect_Rotate"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 5
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.4166666567325592,
0.8333333134651184,
1.25,
1.6666666269302368
],
"_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__": 7
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.4166666567325592,
0.8333333134651184,
1.25,
1.6666666269302368
],
"_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,
0.4166666567325592,
0.8333333134651184,
1.25,
1.6666666269302368
],
"_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": 90,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 180,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 270,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 360,
"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.AnimationClipAdditiveSettings",
"enabled": false,
"refClip": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "9b793303-5039-495f-b3c9-694bb423bb68",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "flash3"
}
}

View File

@@ -4073,10 +4073,10 @@
"height": 62, "height": 62,
"rawWidth": 60, "rawWidth": 60,
"rawHeight": 62, "rawHeight": 62,
"borderTop": 0, "borderTop": 29,
"borderBottom": 0, "borderBottom": 29,
"borderLeft": 0, "borderLeft": 29,
"borderRight": 0, "borderRight": 29,
"packable": true, "packable": true,
"pixelsToUnit": 100, "pixelsToUnit": 100,
"pivotX": 0.5, "pivotX": 0.5,
@@ -4119,10 +4119,10 @@
"height": 62, "height": 62,
"rawWidth": 60, "rawWidth": 60,
"rawHeight": 62, "rawHeight": 62,
"borderTop": 0, "borderTop": 29,
"borderBottom": 0, "borderBottom": 29,
"borderLeft": 0, "borderLeft": 29,
"borderRight": 0, "borderRight": 29,
"packable": true, "packable": true,
"pixelsToUnit": 100, "pixelsToUnit": 100,
"pivotX": 0.5, "pivotX": 0.5,

View File

@@ -4,6 +4,40 @@
<dict> <dict>
<key>frames</key> <key>frames</key>
<dict> <dict>
<key>Artboard 16.png</key>
<dict>
<key>aliases</key>
<array/>
<key>anchor</key>
<string>{0.5,0.5}</string>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{237,65}</string>
<key>spriteSourceSize</key>
<string>{253,75}</string>
<key>textureRect</key>
<string>{{433,68},{237,65}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>Artboard 17.png</key>
<dict>
<key>aliases</key>
<array/>
<key>anchor</key>
<string>{0.5,0.5}</string>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{235,65}</string>
<key>spriteSourceSize</key>
<string>{245,77}</string>
<key>textureRect</key>
<string>{{263,732},{235,65}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>Background_Stage01_Icon.png</key> <key>Background_Stage01_Icon.png</key>
<dict> <dict>
<key>aliases</key> <key>aliases</key>
@@ -17,9 +51,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{252,195}</string> <string>{252,195}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,731},{252,195}}</string> <string>{{1,913},{252,195}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>Background_Stage02_icon.png</key> <key>Background_Stage02_icon.png</key>
<dict> <dict>
@@ -34,7 +68,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{291,229}</string> <string>{291,229}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,251},{291,229}}</string> <string>{{1,433},{291,229}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -51,9 +85,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{235,200}</string> <string>{235,200}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{263,567},{235,200}}</string> <string>{{294,495},{235,200}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>Background_Stage04_icon.png</key> <key>Background_Stage04_icon.png</key>
<dict> <dict>
@@ -68,7 +102,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{247,260}</string> <string>{247,260}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,482},{247,260}}</string> <string>{{1,664},{247,260}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -85,7 +119,24 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{250,210}</string> <string>{250,210}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{294,315},{250,210}}</string> <string>{{198,913},{250,210}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>CardFrame01_Bottom.png</key>
<dict>
<key>aliases</key>
<array/>
<key>anchor</key>
<string>{0.5,0.5}</string>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{37,10}</string>
<key>spriteSourceSize</key>
<string>{37,10}</string>
<key>textureRect</key>
<string>{{484,1},{37,10}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -102,7 +153,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{64,67}</string> <string>{64,67}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{317,1019},{64,67}}</string> <string>{{410,1036},{64,67}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -119,7 +170,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{40,40}</string> <string>{40,40}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{113,1038},{40,40}}</string> <string>{{366,799},{40,40}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -136,7 +187,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{56,56}</string> <string>{56,56}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{223,1024},{56,56}}</string> <string>{{308,799},{56,56}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -153,7 +204,41 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{108,108}</string> <string>{108,108}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{113,928},{108,108}}</string> <string>{{315,180},{108,108}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>CardFrame05_FocusGlow.png</key>
<dict>
<key>aliases</key>
<array/>
<key>anchor</key>
<string>{0.5,0.5}</string>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{108,108}</string>
<key>spriteSourceSize</key>
<string>{108,108}</string>
<key>textureRect</key>
<string>{{315,180},{108,108}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>CardFrame06_White_Deco.png</key>
<dict>
<key>aliases</key>
<array/>
<key>anchor</key>
<string>{0.5,0.5}</string>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{84,57}</string>
<key>spriteSourceSize</key>
<string>{84,57}</string>
<key>textureRect</key>
<string>{{410,977},{84,57}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -170,7 +255,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{37,37}</string> <string>{37,37}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{418,863},{37,37}}</string> <string>{{366,841},{37,37}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -187,9 +272,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{314,184}</string> <string>{314,184}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{321,1},{312,180}}</string> <string>{{1,69},{312,180}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>Image_Effect_Light01_Yellow.png</key> <key>Image_Effect_Light01_Yellow.png</key>
<dict> <dict>
@@ -204,7 +289,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{309,184}</string> <string>{309,184}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,69},{305,180}}</string> <string>{{1,251},{305,180}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -221,9 +306,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{206,92}</string> <string>{206,92}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{255,769},{202,92}}</string> <string>{{308,290},{202,92}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>Image_Effect_Light03.png</key> <key>Image_Effect_Light03.png</key>
<dict> <dict>
@@ -238,7 +323,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{161,65}</string> <string>{161,65}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{255,863},{161,65}}</string> <string>{{321,1},{161,65}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -272,7 +357,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{87,87}</string> <string>{87,87}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{317,930},{87,87}}</string> <string>{{410,799},{87,87}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -289,7 +374,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{87,87}</string> <string>{87,87}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{406,997},{87,87}}</string> <string>{{410,888},{87,87}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -306,7 +391,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{92,92}</string> <string>{92,92}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{418,903},{92,92}}</string> <string>{{402,307},{92,92}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -323,7 +408,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{92,92}</string> <string>{92,92}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{223,930},{92,92}}</string> <string>{{402,401},{92,92}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -340,7 +425,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{110,110}</string> <string>{110,110}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,928},{110,110}}</string> <string>{{321,68},{110,110}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -357,7 +442,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{65,42}</string> <string>{65,42}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{459,769},{65,42}}</string> <string>{{410,1102},{65,42}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -374,7 +459,24 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{65,42}</string> <string>{65,42}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{459,836},{65,42}}</string> <string>{{454,1102},{65,42}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>Title_Ribbon01_Yellow.png</key>
<dict>
<key>aliases</key>
<array/>
<key>anchor</key>
<string>{0.5,0.5}</string>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{91,43}</string>
<key>spriteSourceSize</key>
<string>{91,43}</string>
<key>textureRect</key>
<string>{{263,799},{91,43}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -390,9 +492,9 @@
<key>realTextureFileName</key> <key>realTextureFileName</key>
<string>gui2.png</string> <string>gui2.png</string>
<key>size</key> <key>size</key>
<string>{511,1085}</string> <string>{499,1168}</string>
<key>smartupdate</key> <key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:1f5c5e46d0e7817ce652ca5a52b94bfd:b9ff5b23a2124bd3caf57edfcbbd0f33:02d895b6f8eccee3d27099fa0f66bd83$</string> <string>$TexturePacker:SmartUpdate:827f65e169b4e88092365f18e97339af:9700f23fcfe4c5e22362499cd955e398:02d895b6f8eccee3d27099fa0f66bd83$</string>
<key>textureFileName</key> <key>textureFileName</key>
<string>gui2.png</string> <string>gui2.png</string>
</dict> </dict>

View File

@@ -7,6 +7,52 @@
".json" ".json"
], ],
"subMetas": { "subMetas": {
"34767": {
"importer": "sprite-frame",
"uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@34767",
"displayName": "",
"id": "34767",
"name": "Artboard 17",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 263,
"trimY": 732,
"width": 235,
"height": 65,
"rawWidth": 245,
"rawHeight": 77,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a",
"atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"55883": { "55883": {
"importer": "sprite-frame", "importer": "sprite-frame",
"uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@55883", "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@55883",
@@ -16,11 +62,11 @@
"userData": { "userData": {
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": true,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 1, "trimX": 1,
"trimY": 731, "trimY": 913,
"width": 252, "width": 252,
"height": 195, "height": 195,
"rawWidth": 252, "rawWidth": 252,
@@ -62,11 +108,11 @@
"userData": { "userData": {
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": true,
"offsetX": -1, "offsetX": -1,
"offsetY": 0, "offsetY": 0,
"trimX": 255, "trimX": 308,
"trimY": 769, "trimY": 290,
"width": 202, "width": 202,
"height": 92, "height": 92,
"rawWidth": 206, "rawWidth": 206,
@@ -99,6 +145,52 @@
], ],
"subMetas": {} "subMetas": {}
}, },
"b361d": {
"importer": "sprite-frame",
"uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@b361d",
"displayName": "",
"id": "b361d",
"name": "Artboard 16",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 433,
"trimY": 68,
"width": 237,
"height": 65,
"rawWidth": 253,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a",
"atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"40c7e": { "40c7e": {
"importer": "sprite-frame", "importer": "sprite-frame",
"uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@40c7e", "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@40c7e",
@@ -112,7 +204,7 @@
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 1, "trimX": 1,
"trimY": 251, "trimY": 433,
"width": 291, "width": 291,
"height": 229, "height": 229,
"rawWidth": 291, "rawWidth": 291,
@@ -154,11 +246,11 @@
"userData": { "userData": {
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": true,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 263, "trimX": 294,
"trimY": 567, "trimY": 495,
"width": 235, "width": 235,
"height": 200, "height": 200,
"rawWidth": 235, "rawWidth": 235,
@@ -204,7 +296,7 @@
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 1, "trimX": 1,
"trimY": 482, "trimY": 664,
"width": 247, "width": 247,
"height": 260, "height": 260,
"rawWidth": 247, "rawWidth": 247,
@@ -249,8 +341,8 @@
"rotated": true, "rotated": true,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 294, "trimX": 198,
"trimY": 315, "trimY": 913,
"width": 250, "width": 250,
"height": 210, "height": 210,
"rawWidth": 250, "rawWidth": 250,
@@ -283,6 +375,52 @@
], ],
"subMetas": {} "subMetas": {}
}, },
"858ba": {
"importer": "sprite-frame",
"uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@858ba",
"displayName": "",
"id": "858ba",
"name": "CardFrame01_Bottom",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 484,
"trimY": 1,
"width": 37,
"height": 10,
"rawWidth": 37,
"rawHeight": 10,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a",
"atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"8ed5b": { "8ed5b": {
"importer": "sprite-frame", "importer": "sprite-frame",
"uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@8ed5b", "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@8ed5b",
@@ -295,8 +433,8 @@
"rotated": true, "rotated": true,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 317, "trimX": 410,
"trimY": 1019, "trimY": 1036,
"width": 64, "width": 64,
"height": 67, "height": 67,
"rawWidth": 64, "rawWidth": 64,
@@ -341,8 +479,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 113, "trimX": 366,
"trimY": 1038, "trimY": 799,
"width": 40, "width": 40,
"height": 40, "height": 40,
"rawWidth": 40, "rawWidth": 40,
@@ -387,8 +525,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 223, "trimX": 308,
"trimY": 1024, "trimY": 799,
"width": 56, "width": 56,
"height": 56, "height": 56,
"rawWidth": 56, "rawWidth": 56,
@@ -433,12 +571,104 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 113, "trimX": 315,
"trimY": 928, "trimY": 180,
"width": 108, "width": 108,
"height": 108, "height": 108,
"rawWidth": 108, "rawWidth": 108,
"rawHeight": 108, "rawHeight": 108,
"borderTop": 52,
"borderBottom": 52,
"borderLeft": 52,
"borderRight": 52,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a",
"atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"3f9e9": {
"importer": "sprite-frame",
"uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@3f9e9",
"displayName": "",
"id": "3f9e9",
"name": "CardFrame05_FocusGlow",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 315,
"trimY": 180,
"width": 108,
"height": 108,
"rawWidth": 108,
"rawHeight": 108,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a",
"atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"a2db4": {
"importer": "sprite-frame",
"uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@a2db4",
"displayName": "",
"id": "a2db4",
"name": "CardFrame06_White_Deco",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 410,
"trimY": 977,
"width": 84,
"height": 57,
"rawWidth": 84,
"rawHeight": 57,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@@ -479,8 +709,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 418, "trimX": 366,
"trimY": 863, "trimY": 841,
"width": 37, "width": 37,
"height": 37, "height": 37,
"rawWidth": 37, "rawWidth": 37,
@@ -522,11 +752,11 @@
"userData": { "userData": {
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": true, "rotated": false,
"offsetX": 1, "offsetX": 1,
"offsetY": 0, "offsetY": 0,
"trimX": 321, "trimX": 1,
"trimY": 1, "trimY": 69,
"width": 312, "width": 312,
"height": 180, "height": 180,
"rawWidth": 314, "rawWidth": 314,
@@ -572,7 +802,7 @@
"offsetX": -2, "offsetX": -2,
"offsetY": 0, "offsetY": 0,
"trimX": 1, "trimX": 1,
"trimY": 69, "trimY": 251,
"width": 305, "width": 305,
"height": 180, "height": 180,
"rawWidth": 309, "rawWidth": 309,
@@ -617,8 +847,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 255, "trimX": 321,
"trimY": 863, "trimY": 1,
"width": 161, "width": 161,
"height": 65, "height": 65,
"rawWidth": 161, "rawWidth": 161,
@@ -709,8 +939,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 317, "trimX": 410,
"trimY": 930, "trimY": 799,
"width": 87, "width": 87,
"height": 87, "height": 87,
"rawWidth": 87, "rawWidth": 87,
@@ -755,8 +985,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 406, "trimX": 410,
"trimY": 997, "trimY": 888,
"width": 87, "width": 87,
"height": 87, "height": 87,
"rawWidth": 87, "rawWidth": 87,
@@ -801,8 +1031,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 418, "trimX": 402,
"trimY": 903, "trimY": 307,
"width": 92, "width": 92,
"height": 92, "height": 92,
"rawWidth": 92, "rawWidth": 92,
@@ -847,8 +1077,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 223, "trimX": 402,
"trimY": 930, "trimY": 401,
"width": 92, "width": 92,
"height": 92, "height": 92,
"rawWidth": 92, "rawWidth": 92,
@@ -893,8 +1123,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 1, "trimX": 321,
"trimY": 928, "trimY": 68,
"width": 110, "width": 110,
"height": 110, "height": 110,
"rawWidth": 110, "rawWidth": 110,
@@ -939,16 +1169,16 @@
"rotated": true, "rotated": true,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 459, "trimX": 410,
"trimY": 769, "trimY": 1102,
"width": 65, "width": 65,
"height": 42, "height": 42,
"rawWidth": 65, "rawWidth": 65,
"rawHeight": 42, "rawHeight": 42,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 11,
"borderRight": 0, "borderRight": 48,
"packable": true, "packable": true,
"pixelsToUnit": 100, "pixelsToUnit": 100,
"pivotX": 0.5, "pivotX": 0.5,
@@ -985,16 +1215,62 @@
"rotated": true, "rotated": true,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 459, "trimX": 454,
"trimY": 836, "trimY": 1102,
"width": 65, "width": 65,
"height": 42, "height": 42,
"rawWidth": 65, "rawWidth": 65,
"rawHeight": 42, "rawHeight": 42,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 47,
"borderRight": 0, "borderRight": 9,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a",
"atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"d9d3f": {
"importer": "sprite-frame",
"uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@d9d3f",
"displayName": "",
"id": "d9d3f",
"name": "Title_Ribbon01_Yellow",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 263,
"trimY": 799,
"width": 91,
"height": 43,
"rawWidth": 91,
"rawHeight": 43,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 45,
"borderRight": 45,
"packable": true, "packable": true,
"pixelsToUnit": 100, "pixelsToUnit": 100,
"pivotX": 0.5, "pivotX": 0.5,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 352 KiB

After

Width:  |  Height:  |  Size: 374 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -28,8 +28,8 @@ export class SingletonModuleComp extends ecs.Comp {
mmskill:6002, mmskill:6002,
}; };
skills: any = { skills: any = {
6001:{uuid:6001,slv:0,num:4,x1:1}, 6001:{uuid:6001,slv:0,num:4,x1:0},
6002:{uuid:6002,slv:0,num:3,x1:2}, 6002:{uuid:6002,slv:0,num:3,x1:0},
6003:{uuid:6003,slv:0,num:0,x1:0}, 6003:{uuid:6003,slv:0,num:0,x1:0},
6004:{uuid:6004,slv:0,num:0,x1:0}, 6004:{uuid:6004,slv:0,num:0,x1:0},
6005:{uuid:6005,slv:0,num:0,x1:0}, 6005:{uuid:6005,slv:0,num:0,x1:0},
@@ -40,66 +40,60 @@ export class SingletonModuleComp extends ecs.Comp {
}; };
/** 游戏主角 */ /** 游戏主角 */
heros:any={ heros:any={
5001:{uuid:5001,lv:1,exp:0,slv:1,num:10000,x1:0}, 5001:{uuid:5001,lv:1,exp:0,slv:1,num:0,x1:0},
5002:{uuid:5002,lv:2,exp:0,slv:1,num:0,x1:0}, 5002:{uuid:5002,lv:1,exp:0,slv:1,num:0,x1:0},
5003:{uuid:5003,lv:3,exp:0,slv:1,num:0,x1:0}, 5003:{uuid:5003,lv:1,exp:0,slv:1,num:0,x1:0},
5004:{uuid:5004,lv:1,exp:0,slv:1,num:0,x1:0}, 5004:{uuid:5004,lv:1,exp:0,slv:1,num:0,x1:0},
5005:{uuid:5005,lv:2,exp:0,slv:1,num:0,x1:0}, 5005:{uuid:5005,lv:1,exp:0,slv:1,num:0,x1:0},
5006:{uuid:5006,lv:3,exp:0,slv:1,num:0,x1:0}, 5006:{uuid:5006,lv:1,exp:0,slv:1,num:0,x1:0},
5007:{uuid:5007,lv:3,exp:0,slv:1,num:0,x1:0}, 5007:{uuid:5007,lv:1,exp:0,slv:1,num:0,x1:0},
5008:{uuid:5008,lv:3,exp:0,slv:1,num:0,x1:0}, 5008:{uuid:5008,lv:1,exp:0,slv:1,num:0,x1:0},
5009:{uuid:5009,lv:3,exp:0,slv:1,num:0,x1:0}, 5009:{uuid:5009,lv:1,exp:0,slv:1,num:0,x1:0},
5010:{uuid:5010,lv:3,exp:0,slv:1,num:0,x1:0}, 5010:{uuid:5010,lv:1,exp:0,slv:1,num:0,x1:0},
5011:{uuid:5011,lv:3,exp:0,slv:1,num:0,x1:0}, 5011:{uuid:5011,lv:1,exp:0,slv:1,num:0,x1:0},
5012:{uuid:5012,lv:3,exp:0,slv:1,num:0,x1:0}, 5012:{uuid:5012,lv:1,exp:0,slv:1,num:0,x1:0},
5013:{uuid:5013,lv:3,exp:0,slv:1,num:0,x1:0}, 5013:{uuid:5013,lv:1,exp:0,slv:1,num:0,x1:0},
5014:{uuid:5014,lv:3,exp:0,slv:1,num:0,x1:0}, 5014:{uuid:5014,lv:1,exp:0,slv:1,num:0,x1:0},
5015:{uuid:5015,lv:3,exp:0,slv:1,num:0,x1:0}, 5015:{uuid:5015,lv:1,exp:0,slv:1,num:0,x1:0},
5016:{uuid:5016,lv:3,exp:0,slv:1,num:0,x1:0}, 5016:{uuid:5016,lv:1,exp:0,slv:1,num:0,x1:0},
5017:{uuid:5017,lv:3,exp:0,slv:1,num:0,x1:0}, 5017:{uuid:5017,lv:1,exp:0,slv:1,num:0,x1:0},
5018:{uuid:5018,lv:3,exp:0,slv:1,num:0,x1:0}, 5018:{uuid:5018,lv:1,exp:0,slv:1,num:0,x1:0},
5019:{uuid:5019,lv:3,exp:0,slv:1,num:0,x1:0}, 5019:{uuid:5019,lv:1,exp:0,slv:1,num:0,x1:0},
5020:{uuid:5020,lv:3,exp:0,slv:1,num:0,x1:0}, 5020:{uuid:5020,lv:1,exp:0,slv:1,num:0,x1:0},
5021:{uuid:5021,lv:3,exp:0,slv:1,num:0,x1:0}, 5021:{uuid:5021,lv:1,exp:0,slv:1,num:0,x1:0},
5022:{uuid:5022,lv:3,exp:0,slv:1,num:0,x1:0}, 5022:{uuid:5022,lv:1,exp:0,slv:1,num:0,x1:0},
5023:{uuid:5023,lv:3,exp:0,slv:1,num:0,x1:0}, 5023:{uuid:5023,lv:1,exp:0,slv:1,num:0,x1:0},
5024:{uuid:5024,lv:3,exp:0,slv:1,num:0,x1:0}, 5024:{uuid:5024,lv:1,exp:0,slv:1,num:0,x1:0},
5025:{uuid:5025,lv:3,exp:0,slv:1,num:0,x1:0}, 5025:{uuid:5025,lv:1,exp:0,slv:1,num:0,x1:0},
5026:{uuid:5026,lv:3,exp:0,slv:1,num:0,x1:0}, 5026:{uuid:5026,lv:1,exp:0,slv:1,num:0,x1:0},
5027:{uuid:5027,lv:3,exp:0,slv:1,num:0,x1:0}, 5027:{uuid:5027,lv:1,exp:0,slv:1,num:0,x1:0},
5028:{uuid:5028,lv:3,exp:0,slv:1,num:0,x1:0}, // 5028:{uuid:5028,lv:1,exp:0,slv:1,num:0,x1:0},
5029:{uuid:5029,lv:3,exp:0,slv:1,num:0,x1:0}, // 5029:{uuid:5029,lv:1,exp:0,slv:1,num:0,x1:0},
5030:{uuid:5030,lv:3,exp:0,slv:1,num:0,x1:0}, // 5030:{uuid:5030,lv:1,exp:0,slv:1,num:0,x1:0},
}; };
goods:any=[ goods:any=[
{uuid:9001,num:100000,type:0,cost:0,inventory:5}, {uuid:9001,num:100000,type:0,cost:0,inventory:5},
{uuid:9003,num:1000,type:1,cost:0,inventory:5}, {uuid:1003,num:10,type:2,cost:10000,inventory:99},
{uuid:1001,num:10,type:2,cost:10000,inventory:99},
{uuid:1001,num:10,type:2,cost:10000,inventory:99},
{uuid:1001,num:10,type:2,cost:10000,inventory:99},
{uuid:1001,num:10,type:2,cost:10000,inventory:99},
{uuid:1001,num:10,type:2,cost:10000,inventory:99},
{uuid:1001,num:10,type:2,cost:10000,inventory:99},
]; ];
items:any={ items:any={
1001:{uuid:1001,num:10,x1:1}, 1001:{uuid:1001,num:0,x1:0},
1002:{uuid:1002,num:10,x1:1}, 1002:{uuid:1002,num:0,x1:0},
1003:{uuid:1003,num:10,x1:1}, 1003:{uuid:1003,num:0,x1:0},
1004:{uuid:1004,num:1000,x1:0}, 1004:{uuid:1004,num:0,x1:0},
1005:{uuid:1005,num:1000,x1:0}, 1005:{uuid:1005,num:0,x1:0},
1006:{uuid:1006,num:1000,x1:0}, 1006:{uuid:1006,num:0,x1:0},
1007:{uuid:1007,num:1000,x1:0}, 1007:{uuid:1007,num:0,x1:0},
1008:{uuid:1008,num:1000,x1:0}, 1008:{uuid:1008,num:0,x1:0},
1009:{uuid:1009,num:1000,x1:0}, 1009:{uuid:1009,num:0,x1:0},
1010:{uuid:1010,num:1000,x1:0}, 1010:{uuid:1010,num:0,x1:0},
1011:{uuid:1011,num:1000,x1:0}, 1011:{uuid:1011,num:0,x1:0},
1012:{uuid:1012,num:1000,x1:0}, 1012:{uuid:1012,num:0,x1:0},
1013:{uuid:1013,num:1000,x1:0}, 1013:{uuid:1013,num:0,x1:0},
1014:{uuid:1014,num:1000,x1:0}, 1014:{uuid:1014,num:0,x1:0},
1015:{uuid:1015,num:1000,x1:0}, 1015:{uuid:1015,num:0,x1:0},
1016:{uuid:1016,num:1000,x1:0}, 1016:{uuid:1016,num:0,x1:0},
9001:{uuid:9001,num:1000,x1:1000}, 9001:{uuid:9001,num:0,x1:0},
9003:{uuid:9003,num:1000,x1:2000}, 9003:{uuid:9003,num:0,x1:0},
}; };
fight_heros=[] fight_heros=[]
mheros:any = []; mheros:any = [];
@@ -127,7 +121,7 @@ export class SingletonModuleComp extends ecs.Comp {
exp_max:100, exp_max:100,
mexp:0, mexp:0,
mexp_max:100, mexp_max:100,
drop:0,
buff_num:0, buff_num:0,
hp:0, hp:0,
ap:0, ap:0,
@@ -158,11 +152,11 @@ export class SingletonModuleComp extends ecs.Comp {
reward_gold:0, reward_gold:0,
reward_exp:0, reward_exp:0,
}, },
gold:{num:999999,x1:1}, gold:{num:999999,x1:0},
exp:{num:1000,x1:1}, exp:{num:1000,x1:0},
skp:{num:2000,x1:1}, //技能升级点数 skp:{num:2000,x1:0}, //技能升级点数
energy:{num:10,x1:1}, energy:{num:10,x1:0},
box:{num:10,x1:0},
free:{ cost:0,num:3,buy:3,}, free:{ cost:0,num:3,buy:3,},
goods1:{ cost:20000,num:3,buy:3,}, goods1:{ cost:20000,num:3,buy:3,},
herochips:{ cost:30000,num:4,buy:3,}, herochips:{ cost:30000,num:4,buy:3,},

View File

@@ -55,6 +55,10 @@ export enum GameSet {
} }
export const ColorSet: { [key: string]: string } = { export const ColorSet: { [key: string]: string } = {
RED: "ff364d", RED: "ff364d",
BLUE: "04b0f5", BLUE: "2CBEFF",
YELLOW: "fed64f" BLUE2: "00A8FF",
YELLOW: "E0C300" ,
YELLOW2: "DBAD00" ,
GREEN:"83CE00",
GREEN2:"17A047",
}; };

View File

@@ -9,22 +9,22 @@ export const Items={
1001:{uuid: 1001,path: "1001",type:1,lv:2,name: "宝箱",info:"随机获取物品", }, 1001:{uuid: 1001,path: "1001",type:1,lv:2,name: "宝箱",info:"随机获取物品", },
1002:{uuid: 1002,path: "1002",type:1,lv:3,name: "稀有宝箱",info:"随机获取少量英雄碎片", }, 1002:{uuid: 1002,path: "1002",type:1,lv:3,name: "稀有宝箱",info:"随机获取少量英雄碎片", },
1003:{uuid: 1003,path: "1003",type:1,lv:4,name: "传说宝箱",info:"随机获取大量英雄碎片", }, 1003:{uuid: 1003,path: "1003",type:1,lv:4,name: "勇者宝箱",info:"可以获取英雄碎片", },
1004:{uuid: 1004,path: "1004",type:1,lv:3,name: "xxx",info:"英雄升级三星需要的凭证", }, // 1004:{uuid: 1004,path: "1004",type:1,lv:3,name: "xxx",info:"英雄升级三星需要的凭证", },
1005:{uuid: 1005,path: "1005",type:1,lv:3,name: "xxx",info:"英雄升级四星需要的凭证", }, // 1005:{uuid: 1005,path: "1005",type:1,lv:3,name: "xxx",info:"英雄升级四星需要的凭证", },
1006:{uuid: 1006,path: "1006",type:1,lv:4,name: "xxx",info:"英雄升级五星需要的凭证", }, // 1006:{uuid: 1006,path: "1006",type:1,lv:4,name: "xxx",info:"英雄升级五星需要的凭证", },
1007:{uuid: 1007,path: "1007",type:1,lv:4,name: "xxx",info:"英雄升级五星需要的凭证", }, // 1007:{uuid: 1007,path: "1007",type:1,lv:4,name: "xxx",info:"英雄升级五星需要的凭证", },
1008:{uuid: 1008,path: "1008",type:1,lv:4,name: "黄色叶子",info:"未知功能", }, // 1008:{uuid: 1008,path: "1008",type:1,lv:4,name: "黄色叶子",info:"未知功能", },
1009:{uuid: 1009,path: "1001",type:1,lv:1,name: "普通攻击石",info:"增加装备攻击力10,成功几率20%", }, // 1009:{uuid: 1009,path: "1001",type:1,lv:1,name: "普通攻击石",info:"增加装备攻击力10,成功几率20%", },
1010:{uuid: 1010,path: "1010",type:1,lv:2,name: "高级攻击石",info:"增加装备攻击力10,成功几率30%", }, // 1010:{uuid: 1010,path: "1010",type:1,lv:2,name: "高级攻击石",info:"增加装备攻击力10,成功几率30%", },
1011:{uuid: 1011,path: "1011",type:1,lv:3,name: "稀有攻击石",info:"增加装备攻击力10,成功几率40%", }, // 1011:{uuid: 1011,path: "1011",type:1,lv:3,name: "稀有攻击石",info:"增加装备攻击力10,成功几率40%", },
1012:{uuid: 1012,path: "1012",type:1,lv:4,name: "传说攻击石",info:"增加装备攻击力10,成功几率50%", }, // 1012:{uuid: 1012,path: "1012",type:1,lv:4,name: "传说攻击石",info:"增加装备攻击力10,成功几率50%", },
1013:{uuid: 1013,path: "1013",type:1,lv:1,name: "普通生命石",info:"增加装备生命值50,成功几率20%", }, // 1013:{uuid: 1013,path: "1013",type:1,lv:1,name: "普通生命石",info:"增加装备生命值50,成功几率20%", },
1014:{uuid: 1015,path: "1014",type:1,lv:2,name: "高级生命石",info:"增加装备生命值50,成功几率30%", }, // 1014:{uuid: 1015,path: "1014",type:1,lv:2,name: "高级生命石",info:"增加装备生命值50,成功几率30%", },
1015:{uuid: 1015,path: "1015",type:1,lv:3,name: "稀有生命石",info:"增加装备生命值50,成功几率40%", }, // 1015:{uuid: 1015,path: "1015",type:1,lv:3,name: "稀有生命石",info:"增加装备生命值50,成功几率40%", },
1016:{uuid: 1016,path: "1016",type:1,lv:4,name: "传说生命石",info:"增加装备生命值50,成功几率50%", }, // 1016:{uuid: 1016,path: "1016",type:1,lv:4,name: "传说生命石",info:"增加装备生命值50,成功几率50%", },
9001:{uuid: 9001,path: "9001",type:1,lv:0,name: "金币",info:"金币不是万能的,但是没有金币是万万不能的", }, 9001:{uuid: 9001,path: "9001",type:1,lv:0,name: "金币",info:"金币不是万能的,但是没有金币是万万不能的", },
9002:{uuid: 9002,path: "9002",type:1,lv:1,name: "叶子",info:"提升英雄等级的神奇叶子", }, // 9002:{uuid: 9002,path: "9002",type:1,lv:1,name: "叶子",info:"提升英雄等级的神奇叶子", },
9003:{uuid: 9003,path: "9003",type:1,lv:1,name: "经验",info:"提升英雄等级", }, // 9003:{uuid: 9003,path: "9003",type:1,lv:1,name: "经验",info:"提升英雄等级", },
} }

View File

@@ -1,3 +1,222 @@
// 掉落物品接口
export interface DropItem {
uuid: number; // 物品ID
num: number; // 数量
type: number; // 类型
quality?: number; // 品质
}
// 怪物类型
export enum MonsterType {
Normal = 1, // 普通怪
Elite = 2, // 精英怪
Boss = 3, // Boss怪
}
// 掉落倍率配置
export const DropRateConfig = {
[MonsterType.Normal]: 1,
[MonsterType.Elite]: 2,
[MonsterType.Boss]: 10,
}
// Boss掉落示例最多5个不同英雄的碎片
// const bossDrops = getMonsterDrops(50, MonsterType.Boss, 1.2);
// 精英怪掉落示例最多2个不同英雄的碎片
// const eliteDrops = getMonsterDrops(50, MonsterType.Elite, 1.2);
// 普通怪掉落示例最多1个英雄的碎片
// const normalDrops = getMonsterDrops(50, MonsterType.Normal, 1.2);
/**
* 获取怪物掉落
* @param monsterLevel 怪物等级
* @param monsterType 怪物类型
* @param extraRate 额外倍率(比如玩家的幸运值加成)
* @returns 掉落物品数组
*/
export function getMonsterDrops(
monsterLevel: number,
monsterType: MonsterType = MonsterType.Normal,
extraRate: number = 1
): DropItem[] {
const drops: DropItem[] = [];
const baseMultiplier = getDropMultiplier(monsterLevel);
const monsterMultiplier = DropRateConfig[monsterType];
const totalMultiplier = baseMultiplier * monsterMultiplier * extraRate;
// 分离英雄碎片和道具配置
const heroChipConfigs = DropConfigList.filter(config => config.type === dorptype.hero_chip);
const itemConfigs = DropConfigList.filter(config => config.type === dorptype.items);
// 获取当前怪物类型可以掉落的英雄碎片数量
const maxHeroChips = HeroChipDropCount[monsterType];
// 随机选择指定数量的英雄碎片
const selectedHeroChips = shuffleArray(heroChipConfigs).slice(0, maxHeroChips);
// 处理英雄碎片掉落
for (const config of selectedHeroChips) {
if (monsterType === MonsterType.Normal) {
// 普通怪按概率掉落
if (shouldDrop(config.dropRate * totalMultiplier)) {
const dropItem = calculateDrop(config, monsterLevel, monsterType);
if (dropItem) {
drops.push(dropItem);
}
}
} else {
// 精英怪和Boss必定掉落
const dropItem = calculateDrop(config, monsterLevel, monsterType);
if (dropItem) {
drops.push(dropItem);
}
}
}
// 处理道具掉落
for (const config of itemConfigs) {
if (config.uuid === 9001) {
// 金币必定掉落
const dropItem = calculateDrop(config, monsterLevel, monsterType);
if (dropItem) {
drops.push(dropItem);
}
} else {
// 其他道具按概率掉落
if (shouldDrop(config.dropRate * totalMultiplier)) {
const dropItem = calculateDrop(config, monsterLevel, monsterType);
if (dropItem) {
drops.push(dropItem);
}
}
}
}
return drops;
}
/**
* 计算是否掉落
* @param rate 掉落概率
*/
function shouldDrop(rate: number): boolean {
return Math.random() * 100 <= Math.min(rate, 100);
}
/**
* 计算单个物品掉落
*/
function calculateDrop(
config: typeof DropConfigList[0],
monsterLevel: number,
monsterType: MonsterType
): DropItem | null {
// 计算掉落数量
let num = Math.floor(Math.random() * config.num_max) + 1;
// Boss额外保底
if (monsterType === MonsterType.Boss && num < config.num_max * 0.3) {
num = Math.floor(config.num_max * 0.3);
}
// 根据类型应用不同规则
if (config.type === dorptype.hero_chip) {
// 英雄碎片特殊处理
return {
uuid: config.uuid,
num: Math.min(num, 10), // 英雄碎片单次最多10个
type: config.type,
quality: getHeroQuality(config.uuid)
};
} else if (config.type === dorptype.items) {
// 普通道具处理
return {
uuid: config.uuid,
num: num,
type: config.type
};
}
return null;
}
/**
* 获取英雄品质需要和heroSet配置关联
*/
function getHeroQuality(heroId: number): number {
// 这里可以从heroSet中获取英雄品质
return 1; // 默认品质
}
/**
* 获取掉落倍率
* @param monsterLevel 怪物等级
*/
export function getDropMultiplier(monsterLevel: number): number {
// 基础倍率
let multiplier = Math.max(1, Math.floor(monsterLevel / 10));
// 等级档位加成
if (monsterLevel >= 50) multiplier *= 1.5;
if (monsterLevel >= 100) multiplier *= 2;
return multiplier;
}
/**
* 批量生成掉落
* @param times 掉落次数
* @param params 掉落参数
*/
export function batchGenerateDrops(
times: number,
monsterLevel: number,
monsterType: MonsterType = MonsterType.Normal,
extraRate: number = 1
): DropItem[] {
const allDrops: DropItem[] = [];
for (let i = 0; i < times; i++) {
const drops = getMonsterDrops(monsterLevel, monsterType, extraRate);
allDrops.push(...drops);
}
// 合并相同物品
return mergeDrops(allDrops);
}
/**
* 合并相同物品的掉落
*/
function mergeDrops(drops: DropItem[]): DropItem[] {
const mergedMap = new Map<string, DropItem>();
drops.forEach(drop => {
const key = `${drop.uuid}-${drop.type}`;
if (mergedMap.has(key)) {
const existing = mergedMap.get(key)!;
existing.num += drop.num;
} else {
mergedMap.set(key, {...drop});
}
});
return Array.from(mergedMap.values());
}
/**
* 随机打乱数组
*/
function shuffleArray<T>(array: T[]): T[] {
const newArray = [...array];
for (let i = newArray.length - 1; i > 0; i--) {
const j = Math.floor(Math.random() * (i + 1));
[newArray[i], newArray[j]] = [newArray[j], newArray[i]];
}
return newArray;
}
export const BoxDrop={ export const BoxDrop={
1:[ 1:[
@@ -5,14 +224,62 @@ export const BoxDrop={
{uuid: 9003,dropRate: 10,num_max: 500,type:0}, {uuid: 9003,dropRate: 10,num_max: 500,type:0},
], ],
2:[ 2:[
{uuid: 5001,dropRate: 10,num_max: 10,type:0}, {uuid: 5001,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5002,dropRate: 10,num_max: 10,type:0}, {uuid: 5002,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5003,dropRate: 50,num_max: 10,type:0}, {uuid: 5003,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5004,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5005,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5006,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5007,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5008,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5009,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5010,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5011,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5012,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5013,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5014,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5015,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5016,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5017,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5018,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5019,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5020,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5021,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5022,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5023,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5024,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5025,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5026,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5027,dropRate: 100/7,num_max: 5,type:1},
], ],
3:[ 3:[
{uuid: 5001,dropRate: 20,num_max: 10,type:0}, {uuid: 5001,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5002,dropRate: 20,num_max: 10,type:0}, {uuid: 5002,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5003,dropRate: 50,num_max: 10,type:0}, {uuid: 5003,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5004,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5005,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5006,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5007,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5008,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5009,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5010,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5011,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5012,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5013,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5014,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5015,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5016,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5017,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5018,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5019,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5020,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5021,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5022,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5023,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5024,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5025,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5026,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5027,dropRate: 100/7,num_max: 5,type:1},
], ],
} }
export const BoxDropCount={ export const BoxDropCount={
@@ -20,4 +287,66 @@ export const BoxDropCount={
2:3, 2:3,
3:3, 3:3,
} }
export const dorptype={
hero_chip:1,
items:2,
}
export const HeroChipDropCount={
1:1,
2:2,
3:5,
}
//HeroChipList = [5001,5002,5003,5004,5005,5006,5007,5008,5009,5010,5011,5012,5013,5014,5015,5016,5017,5018,5019,5020,5021,5022,5023,5024,5025,5026,5027]
//ItemsList=[9001,1003]
//根据HeroChipListItemsList设置掉落概率
export const DropConfigList=[
{uuid: 5001,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5002,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5003,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5004,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5005,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5006,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5007,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5008,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5009,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5010,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5011,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5012,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5013,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5014,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5015,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5016,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5017,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5018,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5019,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5020,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5021,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5022,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5023,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5024,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5025,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5026,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5027,dropRate: 100/7,num_max: 5,type:1},
{uuid: 9001,dropRate: 100,num_max: 1000,type:2},
{uuid: 1003,dropRate: 20,num_max: 1,type:2},
]
// 使用示例:
/*
// 单次掉落
const drops = getMonsterDrops(50, MonsterType.Boss, 1.2);
// 批量掉落(比如连续击杀多个怪物)
const batchDrops = batchGenerateDrops(5, 50, MonsterType.Elite, 1.2);
// 处理掉落物品
drops.forEach(item => {
if (item.type === dorptype.hero_chip) {
// 处理英雄碎片
console.log(`获得英雄碎片: ${item.uuid} x${item.num}`);
} else if (item.type === dorptype.items) {
// 处理道具
console.log(`获得道具: ${item.uuid} x${item.num}`);
}
});
*/

View File

@@ -30,7 +30,7 @@ export class HChipComp extends Component {
const sprite = this.node.getChildByName("hero").getChildByName("icon").getComponent(Sprite); const sprite = this.node.getChildByName("hero").getChildByName("icon").getComponent(Sprite);
sprite.spriteFrame = atlas.getSpriteFrame(HeroInfo[uuid].path); sprite.spriteFrame = atlas.getSpriteFrame(HeroInfo[uuid].path);
}); });
if(num > 0){ if(num > 1){
this.node.getChildByName("num").getComponent(Label).string = num.toString(); this.node.getChildByName("num").getComponent(Label).string = num.toString();
}else{ }else{
this.node.getChildByName("num").getComponent(Label).string = ""; this.node.getChildByName("num").getComponent(Label).string = "";

View File

@@ -38,7 +38,7 @@ export class HeroCardComp extends CCComp {
} }
} }
show_bg(val:boolean){ show_bg(val:boolean){
this.node.getChildByName("show").active=val // this.node.getChildByName("show").active=val
} }
update_data(){ update_data(){
let slv = this.node.getChildByName("slv") let slv = this.node.getChildByName("slv")
@@ -57,17 +57,9 @@ export class HeroCardComp extends CCComp {
this.node.getChildByName("need").getComponent(Label).string = lvneed.toString() this.node.getChildByName("need").getComponent(Label).string = lvneed.toString()
this.node.getChildByName("num").getComponent(Label).string = lvnum.toString() this.node.getChildByName("num").getComponent(Label).string = lvnum.toString()
this.node.getChildByName("bar").getComponent(ProgressBar).progress = lvnum/lvneed this.node.getChildByName("bar").getComponent(ProgressBar).progress = lvnum/lvneed
// switch(HeroInfo[this.h_uuid].quality){ this.node.getChildByName("g1").active=HeroInfo[this.h_uuid].quality==1
// case 1: this.node.getChildByName("g2").active=HeroInfo[this.h_uuid].quality==2
// this.node.getChildByName("bg").getComponent(Sprite).color= new Color().fromHEX(ColorSet["BLUE"]); this.node.getChildByName("g3").active=HeroInfo[this.h_uuid].quality==3
// break;
// case 2:
// this.node.getChildByName("bg").getComponent(Sprite).color= new Color().fromHEX(ColorSet["YELLOW"]);
// break;
// case 3:
// this.node.getChildByName("bg").getComponent(Sprite).color= new Color().fromHEX(ColorSet["RED"]);
// break;
// }
} }
call_hero(uuid:number){ call_hero(uuid:number){

View File

@@ -55,25 +55,17 @@ export class HeroSelectComp extends CCComp {
this.node.getChildByName("show").active=val this.node.getChildByName("show").active=val
} }
update_data(){ update_data(){
let slv = this.node.getChildByName("slv") // let slv = this.node.getChildByName("slv")
this.node.getChildByName("lv").getComponent(Label).string=smc.heros[this.h_uuid].lv.toString()+"级" this.node.getChildByName("lv").getComponent(Label).string=smc.heros[this.h_uuid].lv.toString()+"级"
if(smc.heros[this.h_uuid].slv==0){ // if(smc.heros[this.h_uuid].slv==0){
slv.active=false // slv.active=false
}else{ // }else{
slv.active=true // slv.active=true
slv.getChildByName("slv").getComponent(Label).string=smc.heros[this.h_uuid].slv.toString() // slv.getChildByName("slv").getComponent(Label).string=smc.heros[this.h_uuid].slv.toString()
} // }
switch(HeroInfo[this.h_uuid].quality){ this.node.getChildByName("g1").active=HeroInfo[this.h_uuid].quality==1
case 1: this.node.getChildByName("g2").active=HeroInfo[this.h_uuid].quality==2
this.node.getChildByName("bg").getComponent(Sprite).color= new Color().fromHEX(ColorSet["BLUE"]); this.node.getChildByName("g3").active=HeroInfo[this.h_uuid].quality==3
break;
case 2:
this.node.getChildByName("bg").getComponent(Sprite).color= new Color().fromHEX(ColorSet["YELLOW"]);
break;
case 3:
this.node.getChildByName("bg").getComponent(Sprite).color= new Color().fromHEX(ColorSet["RED"]);
break;
}
} }
/** 全局消息逻辑处理 */ /** 全局消息逻辑处理 */
// private onHandler(event: string, args: any) { // private onHandler(event: string, args: any) {

View File

@@ -23,6 +23,7 @@ import { TimerManager } from "../../../../extensions/oops-plugin-framework/asset
import { HeroSet } from "../common/config/heroSet"; import { HeroSet } from "../common/config/heroSet";
import { BuffComp } from "./BuffComp"; import { BuffComp } from "./BuffComp";
import { MonModelComp } from "./MonModelComp"; import { MonModelComp } from "./MonModelComp";
import { getMonsterDrops, MonsterType } from "../common/config/RewardSet";
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
/** 角色显示组件 */ /** 角色显示组件 */
@@ -53,6 +54,7 @@ export class HeroViewComp extends CCComp {
is_stop:boolean = false; is_stop:boolean = false;
is_atking:boolean = false; is_atking:boolean = false;
is_boss:boolean = false; is_boss:boolean = false;
is_big_boss:boolean = false;
hp: number = 100; /** 血量 */ hp: number = 100; /** 血量 */
hp_max: number = 100; /** 最大血量 */ hp_max: number = 100; /** 最大血量 */
@@ -848,8 +850,35 @@ export class HeroViewComp extends CCComp {
this.BUFFCOMP.dead() this.BUFFCOMP.dead()
this.exp_add(this.dexp) this.exp_add(this.dexp)
this.power_add(this.dpw) this.power_add(this.dpw)
this.to_drop()
} }
//掉落物品
to_drop(){
let Drops = getMonsterDrops(1, MonsterType.Normal, 1.2);
if(this.is_boss) Drops =getMonsterDrops(1, MonsterType.Elite, 1.2);
if(this.is_big_boss) Drops =getMonsterDrops(1, MonsterType.Boss, 1.2);
console.log("掉落物品:",Drops);
//根据掉落类型和uuid 写入用户数据文件SingletonModuleComp =smc英雄碎片对应smc.heros[uuid].num,smc.heros[uuid].x1 记录本局掉落的数量,也需要添加对应值
//金币uuid=9001 对应smc.vmdata.gold.num,宝箱uuid1003,对应smc.vmdata.box.num smc.itmes[9001].x1,smc.itmes[1003].x1 记录本局
for (let i = 0; i < Drops.length; i++) {
const drop = Drops[i];
if(drop.type == 1 ){ //英雄碎片
smc.heros[drop.uuid].num += drop.num
smc.heros[drop.uuid].x1 += drop.num
}
if(drop.type==2){
if(drop.uuid == 9001){
smc.vmdata.gold.num+=drop.num
smc.items[9001].x1+=drop.num
}
if(drop.uuid == 1003){
smc.vmdata.box.num+=drop.num
smc.items[1003].x1+=drop.num
}
}
}
}
//进入墓地 //进入墓地
to_grave(){ to_grave(){
let pos =v3(-999,this.node.position.y) let pos =v3(-999,this.node.position.y)

View File

@@ -37,18 +37,10 @@ export class HCardComp extends CCComp {
this.pw=this.node.getChildByName("pow").getComponent(ProgressBar)! this.pw=this.node.getChildByName("pow").getComponent(ProgressBar)!
this.hc_name.string= this.heros[this.hi].HeroView.hero_name this.hc_name.string= this.heros[this.hi].HeroView.hero_name
// this.node.getChildByName("lv").getComponent(Label).string=this.heros[this.hi].HeroView.lv.toString()+"级"; // this.node.getChildByName("lv").getComponent(Label).string=this.heros[this.hi].HeroView.lv.toString()+"级";
// console.log("hcard start",this.heros[this.hi].HeroView.hero_uuid) // // console.log("hcard start",this.heros[this.hi].HeroView.hero_uuid)
switch(HeroInfo[this.heros[this.hi].HeroView.hero_uuid].quality){ // this.node.getChildByName("g1").active=HeroInfo[this.heros[this.hi].HeroView.hero_uuid].quality==1
case 1: // this.node.getChildByName("g2").active=HeroInfo[this.heros[this.hi].HeroView.hero_uuid].quality==2
this.node.getChildByName("bg").getComponent(Sprite).color= new Color().fromHEX(ColorSet["BLUE"]); // this.node.getChildByName("g3").active=HeroInfo[this.heros[this.hi].HeroView.hero_uuid].quality==3
break;
case 2:
this.node.getChildByName("bg").getComponent(Sprite).color= new Color().fromHEX(ColorSet["YELLOW"]);
break;
case 3:
this.node.getChildByName("bg").getComponent(Sprite).color= new Color().fromHEX(ColorSet["RED"]);
break;
}
} }
protected update(dt: number): void { protected update(dt: number): void {
if(this.is_dead) return if(this.is_dead) return

View File

@@ -36,7 +36,7 @@ export class HeroHomeComp extends CCComp {
loads(){ loads(){
let hc:number =HeroList.length let hc:number =HeroList.length
let parent= this.node.getChildByName("heros").getChildByName("view").getChildByName("content") let parent= this.node.getChildByName("heros").getChildByName("view").getChildByName("content")
parent.getComponent(UITransform).setContentSize(720,Math.ceil(HeroList.length/4)*200) parent.getComponent(UITransform).setContentSize(720,Math.ceil(HeroList.length/4)*230)
console.log("parent",parent) console.log("parent",parent)
for (let i = 0; i < hc; i++) { for (let i = 0; i < hc; i++) {
if (HeroInfo[HeroList[i]].quality==3) { if (HeroInfo[HeroList[i]].quality==3) {

View File

@@ -33,85 +33,42 @@ export class LuckHomeCompComp extends CCComp {
start() { start() {
// var entity = this.ent as ecs.Entity; // ecs.Entity 可转为当前模块的具体实体对象 // var entity = this.ent as ecs.Entity; // ecs.Entity 可转为当前模块的具体实体对象
// this.on(ModuleEvent.Cmd, this.onHandler, this); // this.on(ModuleEvent.Cmd, this.onHandler, this);
this.frist(); // this.frist();
} }
frist(){ frist(){
if(smc.items[1001].num > 0){this.select_box(null,"sb");} this.colse_reward()
else if(smc.items[1002].num > 0){this.select_box(null,"mb");}
else if(smc.items[1003].num > 0){this.select_box(null,"lb");}
this.check_num();
} }
check_num(){
this.sbn.getChildByName("num").getComponent(Label).string = smc.items[1001].num.toString();
this.mbn.getChildByName("num").getComponent(Label).string = smc.items[1002].num.toString();
this.lbn.getChildByName("num").getComponent(Label).string = smc.items[1003].num.toString();
}
select_box(e:any, val:string){
this.sbn.setScale(1,1,1);
this.mbn.setScale(1,1,1);
this.lbn.setScale(1,1,1);
switch(val){
case "sb":
this.sbn.setScale(1.2,1.2,1);
if(smc.items[1001].num > 0){
this.btnno.active = false;
this.selected="sb"
}else{
this.btnno.active = true
}
break;
case "mb":
this.mbn.setScale(1.2,1.2,1);
if(smc.items[1002].num > 0){
this.btnno.active = false;
this.selected="mb"
}else{
this.btnno.active = true
}
break;
case "lb":
this.lbn.setScale(1.2,1.2,1);
if(smc.items[1003].num > 0){
this.btnno.active = false;
this.selected="lb"
}else{
this.btnno.active = true
}
break;
default:
this.selected="";
break;
}
}
open_sb() { open_sb() {
smc.items[1001].num--; smc.vmdata.box.num--;
this.show_bbox() this.open_reward()
this.check_num() this.get_reward(1)
this.scheduleOnce(()=>{
this.get_reward(1)
}, 0.5)
} }
open_mb() { open_mb() {
smc.items[1002].num--; if (smc.vmdata.box.num <=0) {oops.gui.toast("宝箱数量不足");return;}
this.show_bbox() smc.vmdata.box.num=smc.vmdata.box.num-5;
this.check_num() this.open_reward()
this.scheduleOnce(()=>{ for (let x = 0; x < 5; x++) {
this.get_reward(2) this.get_reward(2)
}, 0.5) }
} }
open_lb() { open_lb() {
smc.items[1003].num--; if (smc.vmdata.box.num <=0) {oops.gui.toast("宝箱数量不足");return;}
this.show_bbox() smc.vmdata.box.num=smc.vmdata.box.num-15;
this.check_num() this.open_reward()
this.scheduleOnce(()=>{ for (let x = 0; x < 15; x++) {
this.get_reward(3) this.get_reward(2)
}, 0.5) }
}
colse_reward() {
this.node.getChildByName("reward").setScale(0,0,0);
this.node.getChildByName("reward").getChildByName("items").removeAllChildren();
}
open_reward() {
this.node.getChildByName("reward").setScale(1,1,1);
} }
get_reward(reward:number){ get_reward(reward:number){
console.log("get_reward",reward)
let list =BoxDrop[reward]; let list =BoxDrop[reward];
let uuid= 0 let uuid= 0
let num =1 let num =1
@@ -156,53 +113,30 @@ export class LuckHomeCompComp extends CCComp {
} }
} }
show_hero_chip(uuid:number,num:number){ show_hero_chip(uuid:number,num:number){
console.log("show_hero_chip",uuid,num)
let path = "game/gui/hchip"; let path = "game/gui/hchip";
let prefab: Prefab = oops.res.get(path, Prefab)!; let prefab: Prefab = oops.res.get(path, Prefab)!;
let node = instantiate(prefab); let node = instantiate(prefab);
node.setScale(2,2)
let hc= node.getComponent(HChipComp) let hc= node.getComponent(HChipComp)
hc.update_data(uuid,num) hc.update_data(uuid,num)
node.parent = this.node.getChildByName("bbox"); node.parent = this.node.getChildByName("reward").getChildByName("items");
this.scheduleOnce(()=>{
node.parent = this.node.getChildByName("items");
node.setScale(1,1)
}, 0.5)
this.scheduleOnce(()=>{
node.destroy();
}, 10)
} }
show_item(uuid:number,num:number){ show_item(uuid:number,num:number){
var path = "game/gui/item"; var path = "game/gui/item";
var prefab: Prefab = oops.res.get(path, Prefab)!; var prefab: Prefab = oops.res.get(path, Prefab)!;
var node = instantiate(prefab); var node = instantiate(prefab);
node.setScale(2,2)
let ic= node.getComponent(ItemComp) let ic= node.getComponent(ItemComp)
ic.update_data(uuid,num) ic.update_data(uuid,num)
node.parent = this.node.getChildByName("bbox"); node.parent = this.node.getChildByName("reward").getChildByName("items");
this.scheduleOnce(()=>{
node.parent = this.node.getChildByName("items");
node.setScale(1,1)
}, 0.5)
this.scheduleOnce(()=>{
node.destroy();
}, 10)
} }
show_skill_chip(uuid:number,num:number){ show_skill_chip(uuid:number,num:number){
let path = "game/gui/schip"; let path = "game/gui/schip";
let prefab: Prefab = oops.res.get(path, Prefab)!; let prefab: Prefab = oops.res.get(path, Prefab)!;
let node = instantiate(prefab); let node = instantiate(prefab);
node.setScale(2,2)
let sc= node.getComponent(SChipComp) let sc= node.getComponent(SChipComp)
sc.update_data(uuid,num) sc.update_data(uuid,num)
node.parent = this.node.getChildByName("bbox"); node.parent = this.node.getChildByName("reward").getChildByName("items");
this.scheduleOnce(()=>{
node.parent = this.node.getChildByName("items");
node.setScale(1,1)
}, 0.5)
this.scheduleOnce(()=>{
node.destroy();
}, 10)
} }
show_bbox() { show_bbox() {
var parent = this.node.getChildByName("bbox") var parent = this.node.getChildByName("bbox")

View File

@@ -50,41 +50,46 @@ export class VictoryComp extends CCComp {
} }
} }
do_x10(){ do_x10(){
for (let i in smc.items) { // for (let i in smc.items) {
if(smc.items[i].uuid == 9001){ // if(smc.items[i].uuid == 9001){
smc.vmdata.gold.num+=smc.items[i].x1*10 // smc.vmdata.gold.num+=smc.items[i].x1*10
} // }
if(smc.items[i].uuid == 9003){ // if(smc.items[i].uuid == 9003){
smc.vmdata.exp.num+=smc.items[i].x1*10 // smc.vmdata.exp.num+=smc.items[i].x1*10
} // }
if(smc.items[i].uuid < 9000){ // if(smc.items[i].uuid == 1003){
smc.items[i].num+=smc.items[i].x1*10 // smc.vmdata.box.num+=smc.items[i].x1*10
// }
// if(smc.items[i].uuid < 9000){
// smc.items[i].num+=smc.items[i].x1*10
} // }
} // }
for (let i in smc.heros) { // for (let i in smc.heros) {
smc.heros[i].num+=smc.heros[i].x1*10 // smc.heros[i].num+=smc.heros[i].x1*10
} // }
this.clear_x1() this.clear_x1()
} }
do_x1(){ do_x1(){
for (let i in smc.items) { // for (let i in smc.items) {
if(smc.items[i].uuid == 9001){ // if(smc.items[i].uuid == 9001){
smc.vmdata.gold.num+=smc.items[i].x1 // smc.vmdata.gold.num+=smc.items[i].x1
} // }
// if(smc.items[i].uuid == 9003){
// smc.vmdata.exp.num+=smc.items[i].x1
// }
// if(smc.items[i].uuid == 1003){
// smc.vmdata.box.num+=smc.items[i].x1
// }
// if(smc.items[i].uuid < 9000){
// smc.items[i].num+=smc.items[i].x1
if(smc.items[i].uuid == 9003){ // }
smc.vmdata.exp.num+=smc.items[i].x1 // }
} // for (let i in smc.heros) {
if(smc.items[i].uuid < 9000){ // smc.heros[i].num+=smc.heros[i].x1
smc.items[i].num+=smc.items[i].x1 // }
}
}
for (let i in smc.heros) {
smc.heros[i].num+=smc.heros[i].x1
}
this.clear_x1() this.clear_x1()
} }
clear_x1(){ clear_x1(){