Commit 8a86a238 authored by yu's avatar yu

first

parent 62dc23d8
{
"ver": "2.0.1",
"uuid": "b2695bc6-1bc5-4fdb-8e3c-547a6560bb63",
"downloadMode": 0,
"duration": 1.776327,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "96ca71f8-e1b4-4da4-be4f-7859178a9f44",
"downloadMode": 0,
"duration": 2.220408,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "81133076-56df-4848-929c-05ce3bcfe595",
"downloadMode": 0,
"duration": 0.264,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d0c94294-4a33-403a-82e9-a1e75f967fdb",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 488,
"height": 83,
"platformSettings": {},
"subMetas": {
"btn_1": {
"ver": "1.0.4",
"uuid": "e7108d2d-2914-46b5-ba09-f16e543f75d7",
"rawTextureUuid": "d0c94294-4a33-403a-82e9-a1e75f967fdb",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 488,
"height": 83,
"rawWidth": 488,
"rawHeight": 83,
"borderTop": 22,
"borderBottom": 22,
"borderLeft": 33,
"borderRight": 33,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "1c6eaa66-7546-4c1c-ac34-1e89cdb7f5e5",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 488,
"height": 83,
"platformSettings": {},
"subMetas": {
"btn_2": {
"ver": "1.0.4",
"uuid": "73dcecbe-98b1-473e-a8fd-c1d876a38a86",
"rawTextureUuid": "1c6eaa66-7546-4c1c-ac34-1e89cdb7f5e5",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 488,
"height": 83,
"rawWidth": 488,
"rawHeight": 83,
"borderTop": 22,
"borderBottom": 19,
"borderLeft": 31,
"borderRight": 27,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "bed068cd-482f-45b0-9353-e243b6f79ed2",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 200,
"height": 142,
"platformSettings": {},
"subMetas": {
"img_jili_03大": {
"ver": "1.0.4",
"uuid": "8c4323bf-cce9-4377-aba3-a47a7646d250",
"rawTextureUuid": "bed068cd-482f-45b0-9353-e243b6f79ed2",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 1,
"offsetY": -0.5,
"trimX": 4,
"trimY": 1,
"width": 194,
"height": 141,
"rawWidth": 200,
"rawHeight": 142,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "88af666b-9c61-4986-92ad-90ef4f02c263",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "4a74f020-e753-4d8e-80bd-241347ac5fdf",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
// Learn cc.Class:
// - https://docs.cocos.com/creator/manual/en/scripting/class.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
cc.Class({
extends: cc.Component,
properties: {
startPosition: cc.Vec2,
voice: cc.AudioClip,
voice2: cc.AudioClip,
},
// LIFE-CYCLE CALLBACKS:
onLoad() {
this.ske = this.node.getChildByName("ske");
this.ske.x = this.startPosition.x;
this.ske.y = this.startPosition.y;
// //动画播放测试
// let db = this.ske.getComponent(dragonBones.ArmatureDisplay)
// db.playAnimation('normal');
// console.log(db.timeScale);
// setTimeout(() => {
// db.timeScale = 0.0001;
// console.log(db.timeScale);
// }, 1000);
// setTimeout(() => {
// db.timeScale = 1;
// console.log(db.timeScale);
// }, 2000);
},
play() {
return new Promise((resolve, reject) => {
this.node.active = true;
cc.audioEngine.playEffect(this.voice, false);
setTimeout(() => {
cc.audioEngine.playEffect(this.voice2, false);
}, 500);
let db = this.ske.getComponent(dragonBones.ArmatureDisplay)
db.playAnimation('normal', 1);
db.addEventListener("loopComplete", () => {
resolve('');
})
});
}
// update (dt) {},
});
{
"ver": "1.0.8",
"uuid": "0e661f2c-092c-4179-8074-d29a2e2e17e7",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "mouse_end",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 5
},
{
"__id__": 8
}
],
"_active": true,
"_components": [
{
"__id__": 11
}
],
"_prefab": {
"__id__": 12
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
0.11,
0.11,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "ske_candy",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
}
],
"_prefab": {
"__id__": 4
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1668,
"height": 938
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-432.512,
0,
0,
0,
0,
1,
8,
8,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "normal",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"_armatureKey": "e6ec02b6-ebbf-4d17-acaf-4945d7fb877f#5788586f-1aff-4185-b6cc-808408c509f4",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "e6ec02b6-ebbf-4d17-acaf-4945d7fb877f"
},
"_N$dragonAtlasAsset": {
"__uuid__": "5788586f-1aff-4185-b6cc-808408c509f4"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "baf374f1-c8c5-4e57-a484-1fd6b41fb37b"
},
"fileId": "fcHw9SaDpAK7zwmxUDrLPs",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "ske",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 6
}
],
"_prefab": {
"__id__": 7
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1508,
"height": 2331.53
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-2095.446,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "normal",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"_armatureKey": "a80e649d-a03b-4765-982c-56931d635a44#30147f0f-a97b-4f52-9f51-33aa613ada59",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "a80e649d-a03b-4765-982c-56931d635a44"
},
"_N$dragonAtlasAsset": {
"__uuid__": "30147f0f-a97b-4f52-9f51-33aa613ada59"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "baf374f1-c8c5-4e57-a484-1fd6b41fb37b"
},
"fileId": "5c1hp2rfRESZM5fPSRCCMq",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "block",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
}
],
"_prefab": {
"__id__": 10
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100000,
"height": 100000
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "baf374f1-c8c5-4e57-a484-1fd6b41fb37b"
},
"fileId": "c6mVnUkE5JaYueomXGzBNp",
"sync": false
},
{
"__type__": "0e6618sCSxBeYB00pouLhfn",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"startPosition": {
"__type__": "cc.Vec2",
"x": 0,
"y": -2095.446
},
"voice": {
"__uuid__": "3fa7aab4-b81d-40e6-9691-73935a1d92da"
},
"voice2": {
"__uuid__": "b3d3e0e6-a546-402f-9f78-36dca911638b"
},
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "baf374f1-c8c5-4e57-a484-1fd6b41fb37b"
},
"fileId": "",
"sync": false
}
]
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "baf374f1-c8c5-4e57-a484-1fd6b41fb37b",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "particle_star",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 5
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1434.597,
348.594,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "particle_star",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
}
],
"_prefab": {
"__id__": 4
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.ParticleSystem",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 768,
"_dstBlendFactor": 1,
"_custom": true,
"_file": {
"__uuid__": "a1f705a9-e753-4699-8894-4363b038f2da"
},
"_spriteFrame": {
"__uuid__": "247bd8f7-6c0e-46a1-afda-c5eb7e9cc284"
},
"_texture": null,
"_stopped": true,
"playOnLoad": true,
"autoRemoveOnFinish": false,
"totalParticles": 191,
"duration": 0.22,
"emissionRate": 406.3829787234043,
"life": 0.3,
"lifeVar": 0,
"_startColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 226
},
"_startColorVar": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 0
},
"_endColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_endColorVar": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 0
},
"angle": 17,
"angleVar": 180,
"startSize": 10,
"startSizeVar": 20,
"endSize": -1,
"endSizeVar": 0,
"startSpin": 0,
"startSpinVar": 0,
"endSpin": 0,
"endSpinVar": 0,
"sourcePos": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"posVar": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_positionType": 1,
"positionType": 1,
"emitterMode": 0,
"gravity": {
"__type__": "cc.Vec2",
"x": -20,
"y": 420
},
"speed": 450,
"speedVar": 20,
"tangentialAccel": -700,
"tangentialAccelVar": 0,
"radialAccel": 0,
"radialAccelVar": 0,
"rotationIsDir": false,
"startRadius": 0,
"startRadiusVar": 0,
"endRadius": 0,
"endRadiusVar": 0,
"rotatePerS": 0,
"rotatePerSVar": 0,
"_N$preview": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "fcv3QB7CFM+q6n1fsvkn0z",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "",
"sync": false
}
]
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "d09bc553-5bcd-4ca6-a1f3-ac3c614315d2",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "d2acaf9f-5b7d-4866-a723-7e5cea912f5a",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "layout_mouse",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 13
}
],
"_prefab": {
"__id__": 14
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 1,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 3
},
{
"__id__": 6
},
{
"__id__": 9
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 12
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "star_bg",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
}
],
"_prefab": {
"__id__": 5
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 59,
"height": 42
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "54beeaf0-8640-4d6d-bdb2-40be6c49f378"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
},
"fileId": "1a6bNni9hAzZuAOicd4es+",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
}
],
"_prefab": {
"__id__": 8
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 59,
"height": 42
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "047bdd7d-6c4f-47dc-944a-12cf7a461f93"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
},
"fileId": "0dcJdIc9BNfbQiPTRx9GVW",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "icon_bigstar",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
}
],
"_prefab": {
"__id__": 11
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 59,
"height": 42
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "047bdd7d-6c4f-47dc-944a-12cf7a461f93"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
},
"fileId": "e8QBmuw8VOBYptnR5JD386",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
},
"fileId": "9eIg5jomZOV5E+Yzh+2uPU",
"sync": false
},
{
"__type__": "aa1f1smbntECpwesqp/Tg0F",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "564dd930-80a8-4d89-bf96-f0f5be1e92cb"
},
"fileId": "",
"sync": false
}
]
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "564dd930-80a8-4d89-bf96-f0f5be1e92cb",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
// Learn TypeScript:
// - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
// import Game from "../../scene/Game";
import pg from "../../scene/pg";
const { ccclass, property } = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
// LIFE-CYCLE CALLBACKS:
onLoad() {
pg.event.on("mouse_add", () => {
this.showBigStar();
})
pg.event.on("mouse_num", (max: number) => {
this.initStar(max);
})
}
init(max) {
}
reviceMouse() {
}
start() {
}
//-----------------------STAR-----------------------------
bigStarArr: cc.Node[];
canvas: cc.Node;
curGroupIndex: number
@property(cc.Vec2)
position: cc.Vec2;
@property(cc.AudioClip)
bigStarClip: cc.AudioClip;
@property(cc.AudioClip)
starCountClip: cc.AudioClip;
//搭配res中的star_bg star等使用
initStar(max) {
this.curGroupIndex = 0;
this.canvas = cc.find('Canvas');
const gArr = [];
gArr.length = max;
if (gArr.length < 1) {
return;
}
this.cleanStar();
this.bigStarArr = [];
let baseX = this.position.x;
let baseY = this.position.y;
let disW = 80;// * this._mapScaleMin
// let disH = 80 * this._mapScaleMin;
let disScale = 1;
if (gArr.length > 5) {
// disH = (400 / gArr.length) * this._mapScaleMin;
disScale = 5 / gArr.length;
}
for (let i = 0; i < gArr.length; i++) {
const starBg = this.getSprNode('star_bg');
this.canvas.addChild(starBg, 10);
// starBg.x = baseX;
// starBg.y = baseY - i * disH;
starBg.x = baseX - i * disW;
starBg.y = baseY
starBg.scale = disScale;
const starTop = this.getSprNode('star');
starBg.addChild(starTop);
starTop.active = false;
starBg.star = starTop;
const starBig = this.getSprNode('icon_bigstar');
starTop.addChild(starBig);
starBig.angle = -90;
starBg.starBig = starBig;
this.bigStarArr.push(starBg);
}
console.log("bigStarArr: ", this.bigStarArr);
}
cleanStar() {
if (this.bigStarArr && this.bigStarArr.length > 0) {
for (let i = 0; i < this.bigStarArr.length; i++) {
this.bigStarArr[i].removeFromParent();
}
}
}
showBigStar() {
if (!this.bigStarArr || this.bigStarArr.length <= 0) {
// this.checkGameEnd();
return;
}
const bigStarBg = this.bigStarArr[this.curGroupIndex++];
const starBig = bigStarBg.starBig;
starBig.scale = 1;
const star = bigStarBg.star;
star.active = true;
star.scaleX = 0.7 / bigStarBg.scale;
star.scaleY = 1 / bigStarBg.scale;
star.angle = 90;
const canvas = cc.find('Canvas');
const startPos = this.exchangeNodePos(star.parent, canvas);
const middlePos = this.exchangeNodePos(star.parent, canvas);
star.x = startPos.x;
star.y = startPos.y - starBig.height;
console.log('middlePos = ' + JSON.stringify(middlePos));
const time = 1;
cc.tween(star)
.to(0.3, { y: middlePos.y + 80 }, { easing: 'quadOut' })
.to(0.1, { y: middlePos.y + 40, scaleX: 1.2 / bigStarBg.scale, scaleY: 0.8 / bigStarBg.scale }, { easing: 'quadOut' })
.to(0.1, { y: middlePos.y, scaleX: 1 / bigStarBg.scale, scaleY: 1 / bigStarBg.scale }, { easing: 'quadOut' })
.delay(0.1)
.to(0.8, { angle: -720, scale: 1 })
.start();
cc.tween(star)
.delay(0.6)
.to(0.8, { x: 0 }, { easing: 'quadIn' })
.start();
cc.tween(star)
.delay(0.6)
.to(0.8, { y: 0 }, { easing: 'quadOut' })
.start();
cc.tween(starBig)
.delay(0.6)
.to(0.8, { scale: 0 }, { easing: 'quadOut' })
.call(() => {
pg.event.emit("mouse_num_game_end")
// this.playAudio(this.starCountClip);
})
.start();
this.playAudio(this.bigStarClip);
}
//-----------------------STAR-----------------------------
getSprNode(resName) {
const sf = pg.view.find(this, `img/${resName}`).getComponent(cc.Sprite).spriteFrame;
const node = new cc.Node();
node.addComponent(cc.Sprite).spriteFrame = sf;
return node;
}
exchangeNodePos(baseNode, targetNode) {
return baseNode.convertToNodeSpaceAR(targetNode._parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y)));
}
playAudio(audioClip, cb = null) {
if (audioClip) {
const audioId = cc.audioEngine.playEffect(audioClip, false);
if (cb) {
cc.audioEngine.setFinishCallback(audioId, () => {
cb();
});
}
}
}
// update (dt) {}
}
{
"ver": "1.0.8",
"uuid": "aa1f1b26-6e7b-440a-9c1e-b2aa7f4e0d05",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "7ccfad51-5bbc-4c49-a5d2-93f15e2cd2b2",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "mouse_start",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 5
},
{
"__id__": 8
},
{
"__id__": 12
}
],
"_active": true,
"_components": [
{
"__id__": 20
}
],
"_prefab": {
"__id__": 21
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
0.2,
0.2,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "shadow",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
}
],
"_prefab": {
"__id__": 4
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 282,
"height": 118
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
5272.015,
-3197.113,
0,
0,
0,
0,
1,
5,
5,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6049e9b1-b6da-4323-8d37-33a677eccd56"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
},
"fileId": "ecpREk57VFhaAUZMWKAQ4x",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "ske",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 6
}
],
"_prefab": {
"__id__": 7
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1559,
"height": 1857
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
5454.443,
-2366.485,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "normal",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "12a07322-1e68-4bc7-a4f7-7f90cc762303#04a8dfaa-9baf-4407-af0a-2d3a9e89dbd8",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "12a07322-1e68-4bc7-a4f7-7f90cc762303"
},
"_N$dragonAtlasAsset": {
"__uuid__": "04a8dfaa-9baf-4407-af0a-2d3a9e89dbd8"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
},
"fileId": "bcXAodm85FgJvr6dZD9yGf",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "block",
"_objFlags": 512,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
},
{
"__id__": 10
}
],
"_prefab": {
"__id__": 11
},
"_opacity": 100,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100000,
"height": 100000
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": false,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
},
"fileId": "efp877hUFLz4dHY4gxxXKw",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 13
},
{
"__id__": 16
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 19
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "enter",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
}
],
"_prefab": {
"__id__": 15
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
},
"_enabled": true,
"_clip": {
"__uuid__": "bce3261e-7314-4067-9337-459533b97896"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
},
"fileId": "6dXSctH45Kj5MbzEKNyUGl",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "leave",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 17
}
],
"_prefab": {
"__id__": 18
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
},
"_enabled": true,
"_clip": {
"__uuid__": "3fa7aab4-b81d-40e6-9691-73935a1d92da"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
},
"fileId": "3dER2Qz/ZEyI6vLH55eksI",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
},
"fileId": "04Mh2bmZRDIaNa8D8xWN8l",
"sync": false
},
{
"__type__": "219b1yegNJPW4jalMImtj4z",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"startPosition": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"targetPosition": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"moveInTime": 1,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "57753175-db68-4aab-a973-8abce1f1664a"
},
"fileId": "",
"sync": false
}
]
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "57753175-db68-4aab-a973-8abce1f1664a",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
// Learn TypeScript:
// - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
import Game from "../../scene/Game";
import pg from "../../scene/pg";
const { ccclass, property } = cc._decorator;
@ccclass
export default class MouseStart extends cc.Component {
@property(cc.Vec2)
startPosition: cc.Vec2 = cc.v2(0, 0)
@property(cc.Vec2)
targetPosition: cc.Vec2 = cc.v2(0, 0)
@property(cc.Float)
moveInTime: number = 1;
private ske: cc.Node;
private block: cc.Node;
private shadow: cc.Node;
onLoad() {
//修改ske的信息
this.ske = this.node.getChildByName("ske");
this.block = this.node.getChildByName("block");
this.shadow = this.node.getChildByName("shadow");
this.ske.x = this.startPosition.x;
this.ske.y = this.startPosition.y;
pg.event.on("mouse_start_play", (data) => {
this.play(data).then(() => {
pg.event.emit("mouse_start_play_success");
})
})
}
play({ voice, time }: any) {
this.node.active = true;
this.block.active = true;
this.ske.active = true;
this.ske.x = this.startPosition.x;
this.ske.y = this.startPosition.y;
this.moveInTime = time || 5;
return new Promise((resolve, reject) => {
let isPlaying = true;
let load = false;
pg.load.loadDB(this.ske, { ske: Game.getIns().aniEnter.skeJsonData.url, tex: Game.getIns().aniEnter.texJsonData.url, png: Game.getIns().aniEnter.texPngData.url }).then((animationName) => {
if (load) return;
load = true;
cc.Tween.stopAllByTarget(this.ske);
this.playLocalAudio('enter').then(() => {
this.playAudioByUrl(voice)
})
cc.tween(this.ske).to(0.5, { x: this.targetPosition.x, y: this.targetPosition.y }).delay(0.9).call(() => {
let db = this.ske.getComponent(dragonBones.ArmatureDisplay);
db.playAnimation('normal', 0);
}).delay(this.moveInTime).call(() => {
this.playLocalAudio('leave')
cc.tween(this.ske).by(0.1, { y: 200 }).by(1, { y: -10000 }).call(() => {
this.ske.active = false;
this.node.active = false;
this.block.active = false;
resolve('');
}).start();
}).start();
})
});
// this.moveInTime = Game.getIns().aniEnter.time || 5;
// return new Promise((resolve, reject) => {
// let isPlaying = true;
// this.ske.x = this.startPosition.x;
// this.ske.y = this.startPosition.y;
// this.ske.active = true;
// this.node.active = true;
// this.block.active = true;
// pg.load.loadDB(this.ske, { ske: Game.getIns().aniEnter.skeJsonData.url, tex: Game.getIns().aniEnter.texJsonData.url, png: Game.getIns().aniEnter.texPngData.url }).then((animationName) => {
// cc.tween(this.ske).to(1.3, { x: this.targetPosition.x, y: this.targetPosition.y }).call(() => {
// audioUrl = audioUrl ? audioUrl : Game.getIns().aniEnter.audioUrl;
// if (audioUrl) {
// pg.audio.playAudioByUrl(audioUrl).then(() => {
// isPlaying = false;
// resolve('');
// })
// }
// let db = this.ske.getComponent(dragonBones.ArmatureDisplay);
// db.playAnimation('normal', 1111111);
// db.addEventListener("loopComplete", () => {
// if (!isPlaying) {
// this.block.active = false;
// resolve('');
// }
// })
// }).delay(this.moveInTime).call(() => {
// this.ske.active = false;
// this.node.active = false;
// this.block.active = false;
// }).start();
// })
// });
}
playAudioByUrl(audio_url, cb = null) {
if (audio_url) {
cc.assetManager.loadRemote(audio_url, (err, audioClip: any) => {
const audioId = cc.audioEngine.play(audioClip, false, 0.8);
if (cb) {
cc.audioEngine.setFinishCallback(audioId, () => {
cb();
});
}
});
} else {
cb && cb();
}
}
playLocalAudio(audioName) {
const audio = this.node.getChildByName("audio").getChildByName(audioName).getComponent(cc.AudioSource);
return new Promise((resolve, reject) => {
const id = cc.audioEngine.playEffect(audio.clip, false);
cc.audioEngine.setFinishCallback(id, () => {
resolve(id);
});
})
}
}
{
"ver": "1.0.8",
"uuid": "219b1c9e-80d2-4f5b-88da-94c226b63e33",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
class Item {
type;
txt;
picUrl;
audioUrl;
public page;
constructor({ type, txt, pic_url, audio_url }, page) {
this.type = type;
this.txt = txt;
this.picUrl = pic_url;
this.audioUrl = audio_url;
this.page = page;
}
}
export default class Game {
private static ins: Game;
public static getIns(): Game {
if (!Game.ins) Game.ins = new Game();
return Game.ins;
}
private data: any;
private lists: Array<Item>
constructor() {
//
this.start = false;
this.lists = [];
}
get len() {
return this.lists.length;
}
public aniEnter: any;
public init(data) {
this.start = false;
this.lists = [];
this.data = data;
this.aniEnter = data.aniEnter;
}
public start: boolean;
reset() {
this.start = true;
this.lists = [];
for (let i = 0; i < this.data.length; i++) {
let data = this.data[i];
this.lists.push(new Item(data, i + 1));
}
}
getDataByPage(page) {
return this.lists.filter(li => li.page == page)[0]
}
get isOver() {
let times = 0;
// this.lists.forEach((li) => {
// times += li.stem.times;
// })
return times == 0;
}
}
let win: any = window;
win.Game = Game;
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "0da3bee4-2de5-4224-ac0a-3861cb240dac",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
import { asyncDelay, onHomeworkFinish } from "../script/util"; import { asyncDelay, onHomeworkFinish } from "../script/util";
import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent"; import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent";
import pg from "./pg";
import Game from "./Game";
const { ccclass, property } = cc._decorator; const { ccclass, property } = cc._decorator;
@ccclass @ccclass
export default class SceneComponent extends MyCocosSceneComponent { export default class SceneComponent extends MyCocosSceneComponent {
private upArr: Array<any>;
private downArr: Array<any>;
private _colors: Array<string> = [];
private _drawIndex: number = 0;
private ani_flower;
private rightClip;
private wrongClip;
addPreloadImage() { addPreloadImage() {
// TODO 根据自己的配置预加载图片资源 // TODO 根据自己的配置预加载图片资源
this._imageResList.push({ url: this.data.pic_url }); this._imageResList.push({ url: this.data.pic_url });
...@@ -26,19 +37,32 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -26,19 +37,32 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.initData(); this.initData();
this.initView(); this.initView();
this.initListener(); this.initListener();
pg.event.emit("mouse_start_play", { voice: Game.getIns().aniEnter.audioUrl, time: Game.getIns().aniEnter.time });
} }
_cantouch = null; _cantouch = null;
initData() { initData() {
// 所有全局变量 默认都是null // 所有全局变量 默认都是null
Game.getIns().aniEnter = this.data.aniEnter;
this._cantouch = true; this._cantouch = true;
this.randomData();
this._colors = ["#4ab222", "#e6223f", "#5f63e8", "#f28c20", "#dc43ff", "#f851bc", "#00aec9", "#a766ec"];
} }
initView() { initView() {
this.initBg();
this.initPic(); this.ani_flower = cc.find("particle_star", this.node);
this.initBtn(); this.rightClip = cc.find('Canvas/res/audio/right').getComponent(cc.AudioSource).clip;
this.initIcon(); this.wrongClip = cc.find('Canvas/res/audio/wrong').getComponent(cc.AudioSource).clip;
pg.event.emit("mouse_num", 1);
this.updateRound();
this.showGame();
// this.initBg();
// this.initPic();
// this.initBtn();
// this.initIcon();
} }
initBg() { initBg() {
...@@ -192,4 +216,314 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -192,4 +216,314 @@ export default class SceneComponent extends MyCocosSceneComponent {
}); });
}) })
} }
private rotateShake(item, rate = 1) {
const time = 0.9;
cc.tween(item)
.to(time / 6 / 2, { angle: -20 * rate }, { easing: 'sineInOut' })
.to(time / 6, { angle: 12 * rate }, { easing: 'sineInOut' })
.to(time / 6, { angle: -7 * rate }, { easing: 'sineInOut' })
.to(time / 6, { angle: 4 * rate }, { easing: 'sineInOut' })
.to(time / 6, { angle: -2 * rate }, { easing: 'sineInOut' })
.to(time / 6, { angle: 1 * rate }, { easing: 'sineInOut' })
.to(time / 6, { angle: 0 * rate }, { easing: 'sineInOut' })
.start();
}
private randomData() {
this.upArr = [];
this.downArr = [];
let data = this.data.item.group;
data.forEach((dt, idx) => {
if (dt.up) {
dt.up.id = idx;
this.upArr.push(dt.up);
}
if (dt.down) {
dt.down.id = idx;
this.downArr.push(dt.down);
}
});
this.downArr.sort(() => Math.random() - 0.5);
}
private updateRound() {
let label_round = cc.find("bg/page/lable", this.node);
// label_round.getComponent(cc.Label).string = (this._drawIndex + 1) + "/" + this.data.item.group.length;
label_round.getComponent(cc.Label).string = "1/1";
}
private showGame() {
this.showQuestion();
this.showLayout();
}
private getItemNode(type) {
let item;
if (this.upArr.length == 5) {
if (type == 1) {
item = cc.instantiate(cc.find("items/type1", this.node));
} else {
item = cc.instantiate(cc.find("items/type4", this.node));
}
} else if (this.upArr.length == 4) {
if (type == 1) {
item = cc.instantiate(cc.find("items/type2", this.node));
} else {
item = cc.instantiate(cc.find("items/type5", this.node));
}
} else if (this.upArr.length == 3) {
if (type == 1) {
item = cc.instantiate(cc.find("items/type3", this.node));
} else {
item = cc.instantiate(cc.find("items/type6", this.node));
}
}
return item;
}
private showLayout() {
let data = this.data.item.group;
let lift = cc.find("lift", this.node);
let right = cc.find("right", this.node);
lift.removeAllChildren();
right.removeAllChildren();
this.upArr.forEach((item) => {
if (item.type == 1) {
let textItem = this.getItemNode(1);
this.initTextItem(textItem, item);
textItem.parent = lift;
} else if (item.type == 2) {
this.initPicItem(item, lift);
}
});
this.downArr.forEach((item) => {
if (item.type == 1) {
let textItem = this.getItemNode(2);
this.initTextItem(textItem, item);
textItem.parent = right;
} else if (item.type == 2) {
this.initPicItem(item, right);
}
});
}
private showQuestion() {
// if (this._questionIdx >= data.questionArr.length) {
// this._questionIdx = 0;
// this._roundIdx++;
// this.showGame();
// // this.updataMouse();
// return;
// }
let quest = this.data.item;
// this.showCheckGroup(quest);
let question = cc.find("question", this.node);
let img_laba02 = question.getChildByName("img_close");
let desc = question.getChildByName("desc");
let head = question.getChildByName("head");
// if (quest.type == "text") {
head.active = false;
desc.active = true;
desc.getComponent(cc.Label).string = quest.title;
// } else if (quest.questionType == "pic") {
// desc.active = false;
// head.active = true;
// pg.view.setNetImg(head, quest.pic_url, { w: 550, h: 95 });
// }
img_laba02.active = quest.audio_url;
if (quest.audio_url) {
this.playLaba(img_laba02, question);
cc.assetManager.loadRemote(quest.audio_url, (err, audioClip) => {
question.audioClip = audioClip;
});
}
}
private initTextItem(item, data) {
item.data = data;
let img_laba02 = item.getChildByName("img_close");
let desc = item.getChildByName("desc");
desc.getComponent(cc.Label).string = data.text;
item.on(cc.Node.EventType.TOUCH_END, () => {
setTimeout(() => {
this.checkLing();
this.showAniFlower(item);
}, 60);
})
img_laba02.active = data.audio_url;
if (data.audio_url) {
this.playLaba(img_laba02, item);
cc.assetManager.loadRemote(data.audio_url, (err, audioClip) => {
item.audioClip = audioClip;
});
}
item.x = 0;
}
private initPicItem(data, content) {
let item;
item = cc.instantiate(cc.find("items/type4", this.node));
item.data = data;
let img_laba02 = item.getChildByName("img_close");
let desc = item.getChildByName("desc");
let head = item.getChildByName("head");
pg.view.setNetImg(head, data.pic_url, { w: 145, h: 125 });
if (desc) desc.getComponent(cc.Label).string = data.text;
item.on(cc.Node.EventType.TOUCH_END, () => {
setTimeout(() => {
this.checkLing();
this.showAniFlower(item);
}, 60);
})
img_laba02.active = data.audio_url;
if (data.audio_url) {
this.playLaba(img_laba02, item);
cc.assetManager.loadRemote(data.audio_url, (err, audioClip) => {
item.audioClip = audioClip;
});
}
item.y = 0;
item.parent = content;
}
private checkLing() {
let liftLayout = cc.find("lift", this.node);
let rightLayout = cc.find("right", this.node);
let lift = null;
let right = null;
let liftIdx = -1;
let rightIdx = -1;
liftLayout.children.forEach((ch, idx) => {
let t = ch.getComponent(cc.Toggle);
if (t.isChecked) {
liftIdx = idx;
lift = ch;
}
});
rightLayout.children.forEach((ch, idx) => {
let t = ch.getComponent(cc.Toggle);
if (t.isChecked) {
right = ch;
rightIdx = idx;
}
});
if (!lift || !right) return;
if (lift.data.id == right.data.id) {
console.log("匹配成功!···")
this.drawLine(lift, right);
} else {
pg.audio.playAudio(this.wrongClip, () => {
});
this.rotateShake(lift, 0.5);
this.rotateShake(right, 0.5);
}
liftLayout.children.forEach((ch) => {
let t = ch.getComponent(cc.Toggle);
t.isChecked = false;
});
rightLayout.children.forEach((ch) => {
let t = ch.getComponent(cc.Toggle);
t.isChecked = false;
});
}
private showAniFlower(target) {
let pos = target.convertToWorldSpaceAR(cc.Vec2.ZERO);
let pos2 = this.node.convertToNodeSpaceAR(pos);
let ani_flower = cc.instantiate(this.ani_flower);
this.node.addChild(ani_flower);
ani_flower.x = pos2.x;
ani_flower.y = pos2.y;
ani_flower.active = true;
cc.audioEngine.playEffect(this.rightClip, false);
setTimeout(() => {
ani_flower && (ani_flower.parent = null);
}, 3000);
}
private playLaba(btn, item) {
let img_laba01 = item.getChildByName("img_open");
btn.on(cc.Node.EventType.TOUCH_END, () => {
if (item.audioClip) {
img_laba01.active = true;
pg.audio.playAudio(item.audioClip, () => {
// cc.audioEngine.stopAllEffects();
img_laba01.active = false;
// anim.stop();
});
}
}, this)
}
drawLine(lift, right) {
let pos1 = null;
let pos2 = null;
// if (point1.type == 0) {
pos1 = lift.convertToWorldSpaceAR(cc.v2(lift.x + lift.width / 2, 0));
pos2 = right.convertToWorldSpaceAR(cc.v2(right.x - right.width / 2, 0));
// } else {
// pos1 = this.upOps.node.children[point2.lineIndex].convertToWorldSpaceAR(cc.v2(0, -85));
// pos2 = this.downOps.node.children[point1.lineIndex].convertToWorldSpaceAR(cc.v2(0, 85));
// }
let graphics = cc.find("graphics", this.node).getComponent(cc.Graphics);
let color = this._colors[this._drawIndex];
graphics.strokeColor = new cc.Color().fromHEX(color);
// let line = [point1, point2, color];
// this.lined.push(line);
let deltaY = pos1.y - pos2.y;
let drawX = pos1.x;
let drawY = pos1.y + 1;
this.schedule(
() => {
// graphics.moveTo(drawX, drawY);
// drawY = drawY - deltaY / 30;
// drawX = ((drawY - pos2.y) * (pos1.x - pos2.x)) / (pos1.y - pos2.y) + pos2.x;
graphics.moveTo(pos1.x, pos1.y);
graphics.lineTo(pos2.x, pos2.y);
graphics.stroke();
},
0.3 / 30,
30
);
this._drawIndex++;
if (this._drawIndex >= this.data.item.group.length) {
pg.event.emit("mouse_add");
setTimeout(() => {
let mouse_end = pg.view.find(this, "mouse_end");
mouse_end.active = true;
mouse_end.getComponent("mouse_end").play().then(() => {
})
}, 1800);
}
}
} }
class Emitter {
static instance;
static getInstance() {
if (!Emitter.instance) {
Emitter.instance = new Emitter();
}
return Emitter.instance;
}
_name: any;
_callbacks: any;
constructor(name = "") {
this._name = name;
this._callbacks = {};
return this;
}
on(event, fn) {
if (!this._callbacks[event]) this._callbacks[event] = [];
this._callbacks[event].push(fn);
};
once(event, fn) {
function on() {
this.off(event, on);
fn.apply(this, arguments);
}
on.fn = fn;
this.on(event, on);
};
off(event, fn) {
// all
if (0 == arguments.length) {
this._callbacks = {};
return;
}
// specific event
let callbacks = this._callbacks[event];
if (!callbacks) return;
// remove all handlers
if (1 == arguments.length) {
delete this._callbacks[event];
return;
}
// remove specific handler
let cb;
for (let i = 0; i < callbacks.length; i++) {
cb = callbacks[i];
if (cb === fn || cb.fn === fn) {
callbacks.splice(i, 1);
break;
}
}
return;
}
emit(event, ...args) {
this._callbacks = this._callbacks || {};
// let args = [].slice.call(arguments, 1);
let callbacks = this._callbacks[event];
if (callbacks) {
callbacks = callbacks.slice(0);
for (let i = 0, len = callbacks.length; i < len; ++i) {
callbacks[i].apply(this, args);
}
}
}
listeners(event) {
this._callbacks = this._callbacks || {};
return this._callbacks[event] || [];
};
hasListeners(event) {
return !!this.listeners(event).length;
};
}
let pg = {
logger: {
d: function (str) {
cc.log(str);
return null;
},
i: function (str) {
cc.log(str);
return null;
},
w: function (str) {
cc.warn(str);
return null;
}
},
view: {
//---------------------节点管理------------------------------
//创建节点
createNode() {
let node = new cc.Node();
return node;
},
//添加节点
addChild(item, child, zIndex) {
if (!child) return console.log("addChild error ->请传入子节点");
if (!item) return console.log("addChild error ->请传入父节点");
let node = item.node ? item.node : item;
if (!node) return console.log("addChild error ->请传入父节点");
if (child.parent)
return pg.logger.w("此节点已经有父节点->" + child.name);
if (zIndex >= 0) {
node.addChild(child, zIndex)
} else {
node.addChild(child);
}
return true;
},
//删除子节点
removeChild(item, child) {
if (!item) return pg.logger.w("节点remove失败,传入了错误的item");
let node = item.node ? item.node : item;
if (child.parent && child.parent == node) {
node.removeChild(child);
child.destroy();
}
return true;
},
removeSelf(item) {
if (!item) return pg.logger.w("节点移除失败,传入了错误的item");
let node = item.node ? item.node : item;
node.removeFromParent();
node.destroy();
},
//删除所有子节点
removChildren(item) {
if (!item) return pg.logger.w("节点remove失败,传入了错误的item");
let node = item.node ? item.node : item;
if (!node.parent) return pg.logger.w("节点remove失败,传入了错误的item");
node.removeAllChildren();
return true;
},
//查找节点
find(item, childPath): cc.Node {
if (typeof item == "string") {
childPath = item;
item = null;
}
if (!childPath || childPath == '' || typeof childPath != 'string') return pg.logger.w("findChildByPath error->" + "请传入路径");
let child = null;
if (item) {
let node = item.node ? item.node : item;
if (!node.children || node.children.length == 0) return pg.logger.w("findChild error->" + "找不到此节点,请检查层级路径:" + childPath);
child = cc.find(childPath, node);
} else {
child = cc.find(childPath);
}
if (!child) return pg.logger.w("findChildByPath error->" + "找不到此节点,请检查层级路径:" + childPath);
return child;
},
//--------------------触控事件--------------------------------
//添加监听
touchOn(item, callback, target) {
if (!item) return pg.logger.w("添加按钮响应失败,传入了错误的item");
if (!callback || !target) return pg.logger.w("添加按钮响应失败,传入了空回调");
let node = item.node ? item.node : item;
node.on(cc.Node.EventType.TOUCH_END, callback, target);
return true;
},
//移除监听
touchOff(item, callback, target) {
if (!item) return pg.logger.w("移除按钮响应失败,传入了错误的item");
if (!callback || !target) return pg.logger.w("移除按钮响应失败,传入了空回调");
let node = item.node ? item.node : item;
if (!node || !node.parent) return pg.logger.w("节点已移除");
node.off(cc.Node.EventType.TOUCH_END, callback, target);
return true;
},
//是否允许点击
touchEnable(item, isEnable) {
if (!item) return pg.logger.w("设置按钮响应失败,传入了错误的item");
let node = item.node ? item.node : item;
if (!node) return pg.logger.w("设置按钮响应失败,传入了错误的item");
let btn = node.getComponent(cc.Button);
if (!btn) return pg.logger.w("当前节点没有添加button->" + node.name);
btn.interactable = isEnable;
return true;
},
//-------------------渲染相关---------------------------------
//显示隐藏
visible(item, isVisible) {
if (!item) return pg.logger.w("节点显示失败,传入了错误的item");
let node = item.node ? item.node : item;
if (!node || !node.parent) return pg.logger.w("节点已移除");
node.active = isVisible;
return true;
},
//更换图片
setImg(item, res) {
return new Promise((resolve, reject) => {
if (!item) return pg.logger.w("图片更换失败,传入了错误的item");
if (!res) return pg.logger.w("图片更换失败,传入了错误的res");
pg.load.loadImg(res).then((spriteFrame: cc.SpriteFrame) => {
if (!cc.isValid(item)) return pg.logger.i("节点已销毁");
let node = item.node ? item.node : item;
if (!cc.isValid(node)) return pg.logger.i("节点已销毁");
let component = node.getComponent(cc.Sprite);
let { width, height } = spriteFrame.getRect();
component.spriteFrame = spriteFrame;
resolve({ width, height });
})
})
},
setNetImg(item, res, { w, h }) {
return new Promise((resolve, reject) => {
if (!item) return pg.logger.w("图片更换失败,传入了错误的item");
let node = item.node ? item.node : item;
if (!res) {
if (node) node.active = false;
return pg.logger.w("图片更换失败,传入了错误的res");
}
if (!node) return pg.logger.w("图片更换失败,传入了错误的item");
if (node.net_url == res) return;
node.active = false;//
pg.load.loadNetImg(res).then((texture: cc.Texture2D) => {
if (!cc.isValid(node)) return pg.logger.i("节点已销毁");
let nw = node.width = texture.width;
let nh = node.height = texture.height;
let component = node.getComponent(cc.Sprite);
let spriteFrame = new cc.SpriteFrame(texture);
component.spriteFrame = spriteFrame;
node.net_url = res;
if (!cc.isValid(node)) return pg.logger.i("节点已销毁");
if (!node) return pg.logger.w("节点已销毁");
if (w && h) {
let scaleX = w / nw;
let scaleY = h / nh;
let scale = scaleX <= scaleY ? scaleX : scaleY;
node.width = nw * scale;
node.height = nh * scale;
}
node.active = true;
resolve({ w: nw, h: nh });
})
})
},
switchMaterial(item, id0 = 0, id1 = 1) {
let material0 = item.getMaterial(id0);
let material1 = item.getMaterial(id1);
item.setMaterial(id0, material1);
item.setMaterial(id1, material0);
},
//更改文字
setString(item, text, count = 0) {
if (!item) return pg.logger.w("节点text失败,传入了错误的item");
if (count > 0) {
let parse_str = function (str, count) {
if (!str) return "";
var segmants = str.split('+');
str = segmants.join('');
var len = 0;
var idx = 0;
for (var i = 0; i < str.length; i++) {
var p = /[^x00-xff]/g;
var a = str.charAt(i);
if (p.test(a)) {
len += 2;
idx++;
}
else {
len += 1;
idx++;
}
if (len >= count * 2)
break;
}
return str.substr(0, idx);
}
text = parse_str(text, count);
}
let node = item.node ? item.node : item;
if (!node) return;
let component = node.getComponent(cc.Label);//组件功能 非node的功能
component.string = text;
return true;
},
//更变颜色
setColor(item, color, outlineWidth = -1) {
if (!item) return pg.logger.w("setColor warn->传入了错误的item");
let RGB = this.colorRgb(color);
if (!RGB || RGB.length == 0) return pg.logger.w("color ->传入了错误的color");
item.color = new cc.Color(RGB[0], RGB[1], RGB[2]);
if (outlineWidth < 0) return;
let LabelOutline = item.getComponent(cc.LabelOutline);
if (!LabelOutline) return pg.logger.w("LabelOutline warn->未添加描边");
LabelOutline.width = outlineWidth;
},
colorRgb(color) {
var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
var sColor = color;
if (sColor && reg.test(sColor)) {
if (sColor.length === 4) {
var sColorNew = "#";
for (var i = 1; i < 4; i += 1) {
sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
}
sColor = sColorNew;
}
//处理六位的颜色值
var sColorChange = [];
for (var i = 1; i < 7; i += 2) {
sColorChange.push(parseInt("0x" + sColor.slice(i, i + 2)));
}
return sColorChange;
} else {
return sColor;
}
},
//-------------------动画播放--------------------------------
playSpineAnimation(item, aniName, loop) {
if (!item || !cc.isValid(item)) return pg.logger.w("动画播放失败,传入了错误的item");
if (!aniName) return pg.logger.w("动画播放失败,传入了错误的aniName");
let node = item.node ? item.node : item;
if (!cc.isValid(node)) return pg.logger.w("节点已销毁");
let skl = node.getComponent(sp.Skeleton);
skl.setAnimation(0, aniName, loop);
return skl;
},
playDBAnimation(item, aniName, loop = -1) {
if (!item || !cc.isValid(item)) return pg.logger.w("动画播放失败,传入了错误的item");
if (!aniName) return pg.logger.w("动画播放失败,传入了错误的aniName");
let node = item.node ? item.node : item;
if (!cc.isValid(node)) return pg.logger.w("节点已销毁");
let skl: dragonBones.ArmatureDisplay = node.getComponent(dragonBones.ArmatureDisplay);
skl.playAnimation(aniName, loop);
return skl;
},
clone(node: cc.Node) {
return cc.instantiate(node)
}
},
load: {
//资源加载
// loadBundle: function (bundleName) {
// return new Promise((resolve, reject) => {
// // let hallBundle = cc.assetManager.getBundle(`hall`);
// // hallBundle.releaseAll();
// // cc.assetManager.removeBundle(hallBundle);
// let bundle = cc.assetManager.getBundle(bundleName);
// if (bundle) return resolve('');
// cc.assetManager.loadBundle(bundleName, (err, bundle) => {
// if (err) return cc.error(err);
// resolve(bundle);
// });
// });
// },
loadRes: function (res, type, bundleName) {
//此处需要二次封装,新的存在assetbundle
return new Promise((resolve, reject) => {
cc.loader.loadRes(res, type, (err, data) => {
if (err && !data) return resolve(pg.logger.d('loading loadRes error-> ' + res));
resolve(data);
});
})
},
loadImg: function (url) {
return new Promise((resolve, reject) => {
this.loadRes(url, cc.SpriteFrame).then((data) => {
if (!data || data.length == 0) return;
resolve(data);
})
})
},
loadPrefab: function (path = "") {
return new Promise((resolve, reject) => {
let url = "/prefabs/" + path;
this.loadRes(url, cc.Prefab).then((data) => {
if (!data || data.length == 0) return reject();
return resolve(cc.instantiate(data));
})
})
},
loadNetImg: function (url) {
return new Promise((resolve, reject) => {
cc.loader.load({ url }, (err, texture) => {
if (err && !texture) return resolve(pg.logger.w('loading loadRes warn-> ' + texture));
resolve(texture);
});
})
},
loadDB(item, config) {
return new Promise((resolve, reject) => {
if (!config.png || !config.ske || !config.tex) {
return resolve('');
}
pg.load.loadNetRes(config.png).then((png: any) => {
pg.load.loadNetRes(config.ske).then((ske: any) => {
pg.load.loadNetRes(config.tex).then((tex: any) => {
var atlas = new dragonBones.DragonBonesAtlasAsset();
atlas.atlasJson = JSON.stringify(tex.json);
atlas.texture = png;
var asset = new dragonBones.DragonBonesAsset();
asset.dragonBonesJson = JSON.stringify(ske.json);
let dragonDisplay = item.getComponent(dragonBones.ArmatureDisplay);
dragonDisplay.dragonAtlasAsset = atlas;
dragonDisplay.dragonAsset = asset;
//设置
let defaultArmature = ske.json.armature[0];//aramture 所有的骨骼名称
dragonDisplay.armatureName = defaultArmature.name;
resolve(defaultArmature.animation[0].name);
})
})
})
});
},
loadNetRes: function (url) {
return new Promise((resolve, reject) => {
cc.assetManager.loadRemote(url, (err, info) => {
if (err) return resolve(pg.logger.w('loading loadRes warn-> ' + err));
resolve(info);
});
})
},
},
localStorage: {
//本地存储
setItem: function (key, val) {
cc.sys.localStorage.setItem(key, val);
},
getItem: function (key, defVal) {
return cc.sys.localStorage.getItem(key) || defVal;
}
},
http: {
//http访问
send: function (type, url, data, callback) {
return new Promise((resolve) => {
return setTimeout(() => {
return resolve({ status: 200 });
}, 100 + Math.random() * 300);
let xhr = cc.loader.getXMLHttpRequest();
xhr.timeout = 5000;
xhr.responseType = "text";
xhr.open(type, url, true);
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xhr.onreadystatechange = () => {
if (xhr.readyState !== 4) return;
if (xhr.status >= 200 && xhr.status < 300) {
try {
let resp = xhr.responseText;
pg.logger.d("resp->" + JSON.stringify(resp));
callback(resp);
resolve(resp);
} catch (e) {
}
}
else {
}
};
xhr.onerror = (e) => {
pg.logger.w("onerror->" + url);
};
xhr.ontimeout = (e) => {
pg.logger.w("ontimeout->" + url);
};
xhr.send(data);
})
}
},
audio: {
playAudioByUrl(audio_url) {
return new Promise((resolve, reject) => {
if (!audio_url) return resolve(null);
cc.assetManager.loadRemote(audio_url, (err, audioClip: any) => {
const audioId = cc.audioEngine.play(audioClip, false, 0.8);
cc.audioEngine.setFinishCallback(audioId, () => {
resolve(audioId);
});
});
});
},
stopAudio(audioId) {
if (!audioId) return;
cc.audioEngine.stopEffect(audioId);
},
playAudio(audioClip, cb = null) {
if (audioClip) {
const audioId = cc.audioEngine.playEffect(audioClip, false);
if (cb) {
cc.audioEngine.setFinishCallback(audioId, () => {
cb();
});
}
return audioId;
}
}
},
hw: {
playLocalAudio(audioName, loop = false) {
console.log("play audio->" + audioName);
const audio = cc.find(`Canvas/res/audio/${audioName}`).getComponent(cc.AudioSource);
return new Promise((resolve, reject) => {
const id = cc.audioEngine.playEffect(audio.clip, loop);
resolve(id);
})
}
},
event: Emitter.getInstance()
};
export default pg;
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "be4dfa70-f15e-489c-b074-b0b0d7dbe49d",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
// export const defaultData = {
// "pic_url": "http://staging-teach.cdn.ireadabc.com/ed94332a503c31e0908bd4c6923a2665.png",
// "pic_url_2": "http://staging-teach.cdn.ireadabc.com/5fb60317ade0195d35ad8034d5370a7f.png",
// "text": "This is a test label.",
// "audio_url": "http://staging-teach.cdn.ireadabc.com/f47f1d7b5c160fe1c59500d180346240.mp3"
// }
export const defaultData = { export const defaultData = {
"pic_url": "http://staging-teach.cdn.ireadabc.com/ed94332a503c31e0908bd4c6923a2665.png", "aniEnter": {
"pic_url_2": "http://staging-teach.cdn.ireadabc.com/5fb60317ade0195d35ad8034d5370a7f.png", "skeJsonData": {},
"text": "This is a test label.", "texJsonData": {},
"audio_url": "http://staging-teach.cdn.ireadabc.com/f47f1d7b5c160fe1c59500d180346240.mp3" "texPngData": {},
} "audioUrl": "http://staging-teach.cdn.ireadabc.com/526624b47ba5e46f698add9e152a4b4e.mp3",
\ No newline at end of file "time": 1
},
"item": {
"group": [{
"up": {
"type": 1,
"pic_url": "",
"text": "1",
"audio_url": ""
},
"down": {
"type": 1,
"pic_url": "",
"text": "第三位发送到",
"audio_url": ""
}
}, {
"up": {
"type": 1,
"pic_url": "",
"text": "2",
"audio_url": ""
},
"down": {
"type": 1,
"pic_url": "",
"text": "4534543",
"audio_url": "http://staging-teach.cdn.ireadabc.com/526624b47ba5e46f698add9e152a4b4e.mp3"
}
}, {
"up": {
"type": 1,
"pic_url": "",
"text": "3",
"audio_url": ""
},
"down": {
"type": 1,
"pic_url": "",
"text": "萨大师赛所",
"audio_url": ""
}
}, {
"up": {
"type": 1,
"pic_url": "",
"text": "4",
"audio_url": ""
},
"down": {
"type": 1,
"pic_url": "",
"text": "那边不谷歌包",
"audio_url": ""
}
}, {
"up": {
"type": 1,
"pic_url": "",
"text": "5",
"audio_url": ""
},
"down": {
"type": 1,
"pic_url": "",
"text": "5345344343",
"audio_url": ""
}
}
],
"title": "电话客服劵花费",
"audio_title": "http://staging-teach.cdn.ireadabc.com/f7fb9f71ab7d460ac2f78c85efba7610.mp3"
}
}
{
"ver": "1.1.2",
"uuid": "e127520f-c730-4346-9b1a-dd6e58c19605",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "015a528b-23dc-40f4-88ad-1d1997458257",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>angle</key>
<real>17</real>
<key>angleVariance</key>
<real>180</real>
<key>blendFuncDestination</key>
<integer>1</integer>
<key>blendFuncSource</key>
<integer>768</integer>
<key>duration</key>
<real>0.22</real>
<key>emitterType</key>
<real>0</real>
<key>finishColorAlpha</key>
<real>1</real>
<key>finishColorBlue</key>
<real>0</real>
<key>finishColorGreen</key>
<real>0</real>
<key>finishColorRed</key>
<real>0</real>
<key>finishColorVarianceAlpha</key>
<real>0</real>
<key>finishColorVarianceBlue</key>
<real>0</real>
<key>finishColorVarianceGreen</key>
<real>0</real>
<key>finishColorVarianceRed</key>
<real>0</real>
<key>finishParticleSize</key>
<real>-1</real>
<key>finishParticleSizeVariance</key>
<real>0</real>
<key>gravityx</key>
<real>-20</real>
<key>gravityy</key>
<real>420</real>
<key>maxParticles</key>
<real>191</real>
<key>maxRadius</key>
<real>0</real>
<key>maxRadiusVariance</key>
<real>0</real>
<key>minRadius</key>
<real>0</real>
<key>particleLifespan</key>
<real>0.47</real>
<key>particleLifespanVariance</key>
<real>0</real>
<key>radialAccelVariance</key>
<real>0</real>
<key>radialAcceleration</key>
<real>0</real>
<key>rotatePerSecond</key>
<real>0</real>
<key>rotatePerSecondVariance</key>
<real>0</real>
<key>rotationEnd</key>
<real>0</real>
<key>rotationEndVariance</key>
<real>0.0</real>
<key>rotationStart</key>
<real>0</real>
<key>rotationStartVariance</key>
<real>0</real>
<key>sourcePositionVariancex</key>
<real>0</real>
<key>sourcePositionVariancey</key>
<real>0</real>
<key>sourcePositionx</key>
<real>416</real>
<key>sourcePositiony</key>
<real>774</real>
<key>speed</key>
<real>480</real>
<key>speedVariance</key>
<real>20</real>
<key>startColorAlpha</key>
<real>0.89</real>
<key>startColorBlue</key>
<real>0.2</real>
<key>startColorGreen</key>
<real>0.4</real>
<key>startColorRed</key>
<real>1</real>
<key>startColorVarianceAlpha</key>
<real>0</real>
<key>startColorVarianceBlue</key>
<real>0</real>
<key>startColorVarianceGreen</key>
<real>0</real>
<key>startColorVarianceRed</key>
<real>0</real>
<key>startParticleSize</key>
<real>20</real>
<key>startParticleSizeVariance</key>
<real>41</real>
<key>tangentialAccelVariance</key>
<real>0</real>
<key>tangentialAcceleration</key>
<real>-700</real>
<key>textureFileName</key>
<string>particle_star.png</string>
<key>textureImageData</key>
<string></string>
</dict>
</plist>
{
"ver": "2.0.1",
"uuid": "a1f705a9-e753-4699-8894-4363b038f2da",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "3814a41a-7cdf-4244-a81b-6918683d6a46",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 46,
"height": 46,
"platformSettings": {},
"subMetas": {
"particle_star": {
"ver": "1.0.4",
"uuid": "247bd8f7-6c0e-46a1-afda-c5eb7e9cc284",
"rawTextureUuid": "3814a41a-7cdf-4244-a81b-6918683d6a46",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 46,
"height": 46,
"rawWidth": 46,
"rawHeight": 46,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "936b45ab-2b71-4cda-a7c7-ae68ae2fbae7",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"frameRate":24,"name":"老鼠在欢呼","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"Armature","aabb":{"x":-837,"y":-1165,"width":1508,"height":2331.53},"bone":[{"name":"root"},{"length":361,"name":"bone","parent":"root","transform":{"x":229.2,"y":361.25,"skX":-1.9738,"skY":-1.9738}},{"length":612,"name":"圣体","parent":"bone","transform":{"x":1.7931,"y":236.8523,"skX":-95.2683,"skY":-95.2683}},{"length":416,"name":"腿","parent":"bone","transform":{"x":112.7485,"y":89.0863,"skX":92.1735,"skY":92.1735}},{"length":393,"name":"腿2","parent":"bone","transform":{"x":-104.7722,"y":88.844,"skX":93.8767,"skY":93.8767}},{"length":151,"name":"尾巴","parent":"圣体","transform":{"x":147.0889,"y":-192.09,"skX":-99.093,"skY":-99.093}},{"length":301,"name":"腿21","parent":"腿2","transform":{"x":393.0167,"skX":15.1384,"skY":15.1384}},{"length":571,"name":"头","parent":"圣体","transform":{"x":619.8927,"y":-16.6372,"skX":1.2326,"skY":1.2326}},{"length":301,"name":"腿1","parent":"腿","transform":{"x":416.0025,"skX":-16.9773,"skY":-16.9773}},{"length":410,"name":"右手","parent":"圣体","transform":{"x":607.1007,"y":115.7564,"skX":40.9283,"skY":40.9283}},{"length":447,"name":"右手(2)","parent":"圣体","transform":{"x":542.2325,"y":-88.5006,"skX":-51.8479,"skY":-51.8479}},{"length":660,"name":"耳朵2","parent":"头","transform":{"x":495.7653,"y":93.2159,"skX":27.6475,"skY":27.6475}},{"length":53,"name":"嘴巴","parent":"头","transform":{"x":142.4111,"y":-62.8357,"skX":-165.5596,"skY":-165.5596}},{"length":24,"name":"鼻子","parent":"头","transform":{"x":159.4309,"y":435.0322,"skX":77.5746,"skY":77.5746}},{"length":601,"name":"耳朵","parent":"头","transform":{"x":298.794,"y":-289.9113,"skX":-83.9905,"skY":-83.9905}},{"length":73,"name":"眼睛(2)","parent":"头","transform":{"x":328.4175,"y":-39.2826,"skX":75.631,"skY":75.631}}],"slot":[{"name":"尾巴","parent":"尾巴"},{"name":"右手","parent":"右手"},{"name":"圣体","parent":"圣体"},{"name":"腿2","parent":"腿21"},{"name":"腿","parent":"腿1"},{"name":"耳朵","parent":"耳朵"},{"name":"耳朵2","parent":"耳朵2"},{"name":"头","parent":"头"},{"name":"右手(2)","parent":"右手(2)"},{"name":"鼻子","parent":"鼻子"},{"name":"眼睛(2)","parent":"眼睛(2)"},{"name":"嘴巴","parent":"嘴巴"}],"skin":[{"slot":[{"name":"圣体","display":[{"name":"老鼠 中间欢呼用 房清(1)/圣体","transform":{"x":310.85,"y":43.89,"skX":97.24,"skY":97.24}}]},{"name":"耳朵","display":[{"name":"老鼠 中间欢呼用 房清(1)/耳朵","transform":{"x":299.4,"y":17.25,"skX":180,"skY":180}}]},{"name":"耳朵2","display":[{"name":"老鼠 中间欢呼用 房清(1)/耳朵2","transform":{"x":337.4,"y":44.42,"skX":68.36,"skY":68.36}}]},{"name":"腿2","display":[{"type":"mesh","name":"老鼠 中间欢呼用 房清(1)/腿2","width":193,"height":745,"vertices":[115.5,411.95,76.1,436.2,11.6,536.55,4.45,593.85,3,724.65,25.95,826.75,56.4,880.5,27.75,948.6,3,1059.65,3,1156.4,34.9,1157,86.85,1100.85,145.95,966.5,178.2,894.85,192.55,839.3,158.4,825.25,170.85,752.45,188.6,649.5,196,574.3,196,555.75,170,489.1,132.9,412],"uvs":[0.5829,-0.00007,0.37876,0.03248,0.04456,0.16718,0.00751,0.24409,0,0.41966,0.11891,0.55671,0.27668,0.62886,0.12824,0.72027,0,0.86933,0,0.99919,0.16528,1,0.43446,0.92463,0.74067,0.7443,0.90777,0.64812,0.98212,0.57356,0.80518,0.5547,0.86969,0.45698,0.96166,0.31879,1,0.21785,1,0.19295,0.86528,0.10349,0.67306,0],"triangles":[15,13,14,3,17,18,2,3,18,2,18,19,20,2,19,4,16,17,3,4,17,15,6,13,6,12,13,5,15,16,4,5,16,21,0,20,0,1,20,1,2,20,7,8,11,7,11,12,5,6,15,6,7,12,8,10,11,8,9,10],"weights":[1,4,1,1,4,1,1,4,1,1,4,1,1,4,1,1,4,1,2,4,0.314032,6,0.685968,1,6,1,1,6,1,1,6,1,1,6,1,1,6,1,1,6,1,1,6,1,1,6,1,2,4,0.56047,6,0.43953,1,4,1,1,4,1,1,4,1,1,4,1,1,4,1,1,4,1],"slotPose":[1,0,0,1,0,0],"bonePose":[4,-0.033205,0.999449,-0.999449,-0.033205,127.55,453.65,6,-0.293061,0.956094,-0.956094,-0.293061,114.5,846.45],"edges":[0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,0],"userEdges":[]}]},{"name":"眼睛(2)","display":[{"name":"老鼠 中间欢呼用 房清(1)/眼睛(2)","transform":{"x":30.77,"y":6.04,"skX":20.38,"skY":20.38}},{"name":"老鼠 中间欢呼用 房清(1)/图层11","transform":{"x":27.22,"y":12.73,"skX":20.38,"skY":20.38}}]},{"name":"尾巴","display":[{"name":"老鼠 中间欢呼用 房清(1)/尾巴","transform":{"x":190.07,"y":277.87,"skX":-163.66,"skY":-163.66}}]},{"name":"头","display":[{"name":"老鼠 中间欢呼用 房清(1)/头","transform":{"x":276.42,"y":68.31,"skX":96.01,"skY":96.01}}]},{"name":"右手(2)","display":[{"name":"老鼠 中间欢呼用 房清(1)/右手(2)","transform":{"x":219.69,"y":-10.73,"skX":149.09,"skY":149.09}}]},{"name":"嘴巴","display":[{"name":"老鼠 中间欢呼用 房清(1)/嘴巴","transform":{"x":39.42,"y":3.36,"skX":-98.43,"skY":-98.43}}]},{"name":"鼻子","display":[{"name":"老鼠 中间欢呼用 房清(1)/鼻子","transform":{"x":8.89,"y":0.38,"skX":18.43,"skY":18.43}}]},{"name":"腿","display":[{"type":"mesh","name":"老鼠 中间欢呼用 房清(1)/腿","width":193,"height":746,"vertices":[344.8,429.05,315.9,443.55,270.75,537,265,572.9,265,616.05,280,709.65,289.25,774.45,301.8,843.35,283.55,844.45,275.8,869.35,298.55,929.65,327.2,1015.95,386.95,1141,419.05,1175,458,1175,457.2,1092.85,438.4,992.15,398.6,894.8,429.55,842.25,458,777.55,458,617.1,439.5,527.5,384.75,430.7],"uvs":[0.41347,0.00007,0.26373,0.0195,0.02979,0.14477,0,0.1929,0,0.25074,0.07772,0.37621,0.12565,0.46307,0.19067,0.55543,0.09611,0.5569,0.05596,0.59028,0.17383,0.67111,0.32228,0.7868,0.63187,0.95442,0.79819,1,1,1,0.99585,0.88988,0.89845,0.75489,0.69223,0.6244,0.85259,0.55395,1,0.46723,1,0.25214,0.90415,0.13204,0.62047,0.00228],"triangles":[21,3,20,3,4,20,4,5,20,16,11,15,11,12,15,13,14,15,12,13,15,6,18,19,5,6,19,20,5,19,6,7,18,17,11,16,22,1,21,1,2,21,2,3,21,0,1,22,10,11,17,7,17,18,7,10,17,9,10,7,8,9,7],"weights":[1,3,1,1,3,1,1,3,1,1,3,1,1,3,1,1,3,1,1,3,1,2,3,0.546459,8,0.453541,1,8,1,1,8,1,1,8,1,1,8,1,1,8,1,1,8,1,1,8,1,1,8,1,1,8,1,2,3,0.315551,8,0.684449,1,3,1,1,3,1,1,3,1,1,3,1,1,3,1],"slotPose":[1,0,0,1,0,0],"bonePose":[3,-0.003486,0.999994,-0.999994,-0.003486,344.95,446.4,8,0.288657,0.957432,-0.957432,0.288657,343.5,862.4],"edges":[0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22,0],"userEdges":[]}]},{"name":"右手","display":[{"name":"老鼠 中间欢呼用 房清(1)/右手","transform":{"x":201.43,"y":6.41,"skX":56.31,"skY":56.31}}]}]}],"animation":[{"duration":48,"playTimes":0,"name":"normal","bone":[{"name":"bone","translateFrame":[{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"y":327.76},{"duration":6,"tweenEasing":0},{"duration":4,"tweenEasing":0,"y":327.76},{"duration":5,"tweenEasing":0,"y":277.45},{"duration":4,"tweenEasing":0,"y":327.76},{"duration":5,"tweenEasing":0,"y":277.45},{"duration":6,"tweenEasing":0,"y":327.76},{"duration":6,"tweenEasing":0},{"duration":0,"y":2451.51}]},{"name":"圣体","rotateFrame":[{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"rotate":4.83},{"duration":6,"tweenEasing":0},{"duration":18,"tweenEasing":0,"rotate":4.83},{"duration":6,"tweenEasing":0,"rotate":4.83},{"duration":6,"tweenEasing":0},{"duration":0,"rotate":4.83}]},{"name":"腿","rotateFrame":[{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"rotate":-7.67},{"duration":6,"tweenEasing":0},{"duration":18,"tweenEasing":0,"rotate":-7.67},{"duration":6,"tweenEasing":0,"rotate":-7.67},{"duration":6,"tweenEasing":0},{"duration":0,"rotate":-7.67}]},{"name":"腿2","rotateFrame":[{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"rotate":8.86},{"duration":6,"tweenEasing":0},{"duration":18,"tweenEasing":0,"rotate":8.86},{"duration":6,"tweenEasing":0,"rotate":8.86},{"duration":6,"tweenEasing":0},{"duration":0,"rotate":8.86}]},{"name":"尾巴","rotateFrame":[{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"rotate":17.56},{"duration":6,"tweenEasing":0},{"duration":4,"tweenEasing":0,"rotate":17.56},{"duration":5,"tweenEasing":0,"rotate":6.27},{"duration":4,"tweenEasing":0,"rotate":17.56},{"duration":5,"tweenEasing":0,"rotate":6.27},{"duration":6,"tweenEasing":0,"rotate":17.56},{"duration":6,"tweenEasing":0},{"duration":0,"rotate":17.56}]},{"name":"腿21","rotateFrame":[{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"rotate":52.92},{"duration":6,"tweenEasing":0},{"duration":4,"tweenEasing":0,"rotate":52.92},{"duration":5,"tweenEasing":0,"rotate":42.07},{"duration":4,"tweenEasing":0,"rotate":52.92},{"duration":5,"tweenEasing":0,"rotate":42.07},{"duration":6,"tweenEasing":0,"rotate":52.92},{"duration":6,"tweenEasing":0},{"duration":0,"rotate":52.92}]},{"name":"头","rotateFrame":[{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"rotate":5.59},{"duration":6,"tweenEasing":0},{"duration":4,"tweenEasing":0,"rotate":5.59},{"duration":5,"tweenEasing":0,"rotate":-5.33},{"duration":4,"tweenEasing":0,"rotate":5.59},{"duration":5,"tweenEasing":0,"rotate":-5.33},{"duration":6,"tweenEasing":0,"rotate":5.59},{"duration":6,"tweenEasing":0},{"duration":0,"rotate":5.59}]},{"name":"腿1","rotateFrame":[{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"rotate":-53.49},{"duration":6,"tweenEasing":0},{"duration":4,"tweenEasing":0,"rotate":-53.49},{"duration":5,"tweenEasing":0,"rotate":-44.61},{"duration":4,"tweenEasing":0,"rotate":-53.49},{"duration":5,"tweenEasing":0,"rotate":-44.61},{"duration":6,"tweenEasing":0,"rotate":-53.49},{"duration":6,"tweenEasing":0},{"duration":0,"rotate":-53.49}]},{"name":"耳朵2","translateFrame":[{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"x":-19.9,"y":-9.95},{"duration":6,"tweenEasing":0},{"duration":18,"tweenEasing":0,"x":-19.9,"y":-9.95},{"duration":6,"tweenEasing":0,"x":-19.9,"y":-9.95},{"duration":6,"tweenEasing":0},{"duration":0,"x":-19.9,"y":-9.95}],"rotateFrame":[{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"rotate":-20.11},{"duration":6,"tweenEasing":0},{"duration":4,"tweenEasing":0,"rotate":-20.11},{"duration":5,"tweenEasing":0,"rotate":-5.4},{"duration":4,"tweenEasing":0,"rotate":-20.11},{"duration":5,"tweenEasing":0,"rotate":-5.4},{"duration":6,"tweenEasing":0,"rotate":-20.11},{"duration":6,"tweenEasing":0},{"duration":0,"rotate":-20.11}]},{"name":"耳朵","rotateFrame":[{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"rotate":19.59},{"duration":6,"tweenEasing":0},{"duration":4,"tweenEasing":0,"rotate":19.59},{"duration":5,"tweenEasing":0,"rotate":13.9},{"duration":4,"tweenEasing":0,"rotate":19.59},{"duration":5,"tweenEasing":0,"rotate":13.9},{"duration":6,"tweenEasing":0,"rotate":19.59},{"duration":6,"tweenEasing":0},{"duration":0,"rotate":19.59}]},{"name":"右手","rotateFrame":[{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"rotate":41.44},{"duration":6,"tweenEasing":0},{"duration":4,"tweenEasing":0,"rotate":75.64},{"duration":5,"tweenEasing":0,"rotate":-16.26},{"duration":4,"tweenEasing":0,"rotate":75.64},{"duration":5,"tweenEasing":0,"rotate":-16.26},{"duration":6,"tweenEasing":0,"rotate":75.64},{"duration":6,"tweenEasing":0},{"duration":0,"rotate":75.64}]},{"name":"右手(2)","translateFrame":[{"duration":12,"tweenEasing":0},{"duration":6,"tweenEasing":0},{"duration":18,"tweenEasing":0,"x":22.53,"y":27.61},{"duration":6,"tweenEasing":0,"x":22.53,"y":27.61},{"duration":6,"tweenEasing":0},{"duration":0,"x":22.53,"y":27.61}],"rotateFrame":[{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"rotate":-34.38},{"duration":6,"tweenEasing":0},{"duration":4,"tweenEasing":0,"rotate":-55.78},{"duration":5,"tweenEasing":0,"rotate":4.21},{"duration":4,"tweenEasing":0,"rotate":-55.78},{"duration":5,"tweenEasing":0,"rotate":4.21},{"duration":6,"tweenEasing":0,"rotate":-55.78},{"duration":6,"tweenEasing":0},{"duration":0,"rotate":-55.78}]}],"slot":[{"name":"眼睛(2)","displayFrame":[{"duration":4},{"duration":4,"value":1},{"duration":10},{"duration":24,"value":1},{"duration":6}]}]}],"defaultActions":[{"gotoAndPlay":"normal"}],"canvas":{"width":1900,"height":2500}}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "a80e649d-a03b-4765-982c-56931d635a44",
"subMetas": {}
}
\ No newline at end of file
{"SubTexture":[{"width":539,"y":703,"height":546,"name":"老鼠 中间欢呼用 房清(1)/尾巴","x":728},{"width":339,"y":743,"height":420,"name":"老鼠 中间欢呼用 房清(1)/右手","x":1269},{"width":443,"y":1,"height":740,"name":"老鼠 中间欢呼用 房清(1)/圣体","x":1436},{"width":193,"y":1193,"height":745,"name":"老鼠 中间欢呼用 房清(1)/腿2","x":196},{"width":193,"y":1193,"height":746,"name":"老鼠 中间欢呼用 房清(1)/腿","x":1},{"width":725,"y":601,"height":590,"name":"老鼠 中间欢呼用 房清(1)/耳朵","x":1},{"width":640,"y":1,"height":700,"name":"老鼠 中间欢呼用 房清(1)/耳朵2","x":794},{"width":791,"y":1,"height":598,"name":"老鼠 中间欢呼用 房清(1)/头","x":1},{"width":452,"y":1165,"height":281,"name":"老鼠 中间欢呼用 房清(1)/右手(2)","x":1269},{"width":56,"y":601,"height":47,"name":"老鼠 中间欢呼用 房清(1)/鼻子","x":728},{"width":356,"y":900,"height":120,"name":"老鼠 中间欢呼用 房清(1)/图层11","x":1610},{"width":344,"y":743,"height":155,"name":"老鼠 中间欢呼用 房清(1)/眼睛(2)","x":1610},{"width":118,"y":1022,"height":97,"name":"老鼠 中间欢呼用 房清(1)/嘴巴","x":1610}],"width":2048,"height":2048,"name":"老鼠在欢呼","imagePath":"老鼠在欢呼_tex.png"}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "30147f0f-a97b-4f52-9f51-33aa613ada59",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "f2aa6e24-f9a7-4035-b7a1-7ccb45e75f2d",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 2048,
"platformSettings": {},
"subMetas": {
"老鼠在欢呼_tex": {
"ver": "1.0.4",
"uuid": "ad3f7b5a-08ee-4221-912c-14bba09183c5",
"rawTextureUuid": "f2aa6e24-f9a7-4035-b7a1-7ccb45e75f2d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -40.5,
"offsetY": 54,
"trimX": 1,
"trimY": 1,
"width": 1965,
"height": 1938,
"rawWidth": 2048,
"rawHeight": 2048,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "6ac1adf9-b9ed-4cf5-ada2-7dea0da20bb8",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"frameRate":24,"name":"Img_Dark(1)","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"Armature","aabb":{"x":-834,"y":-572,"width":1668,"height":938},"bone":[{"name":"root"},{"length":14,"name":"图层_52","parent":"root","transform":{"x":1.15,"y":80.8,"skX":-81.3557,"skY":-81.3557}},{"length":11,"name":"图层_53","parent":"root","transform":{"x":79.7,"y":14.8,"skX":-84.2396,"skY":-84.2396}},{"length":10,"name":"组_14","parent":"root","transform":{"x":132.05,"y":76.25,"skX":-71.3975,"skY":-71.3975}},{"length":9,"name":"组_15_拷贝","parent":"root","transform":{"x":-85.4,"y":76.25,"skX":-97.2025,"skY":-97.2025}},{"length":12,"name":"图层_51","parent":"root","transform":{"x":-116.15,"y":10.2,"skX":-111.8449,"skY":-111.8449}},{"length":12,"name":"图层_50","parent":"root","transform":{"x":-169.65,"y":108.15,"skX":-116.5651,"skY":-116.5651}},{"length":13,"name":"色相_饱和度_3","parent":"root","transform":{"x":-99.05,"y":166.2,"skX":-138.4012,"skY":-138.4012}},{"length":14,"name":"图层_54","parent":"root","transform":{"x":39.85,"y":158.25,"skX":-90,"skY":-90}},{"length":8,"name":"图层_55","parent":"root","transform":{"x":143.45,"y":208.35,"skX":-56.4066,"skY":-56.4066}},{"length":21,"name":"图层_56","parent":"root","transform":{"x":202.65,"y":124.1,"skX":-27.9109,"skY":-27.9109}},{"length":14,"name":"色相_饱和度_2","parent":"root","transform":{"x":293.75,"y":150.25,"skX":-51.2787,"skY":-51.2787}},{"length":12,"name":"图层_46","parent":"root","transform":{"x":316.5,"y":225.4,"skX":-56.2455,"skY":-56.2455}},{"length":31,"name":"色相_饱和度_1","parent":"root","transform":{"x":-208.35,"y":182.15,"skX":-133.5808,"skY":-133.5808}},{"length":27,"name":"图层_48","parent":"root","transform":{"x":-219.75,"y":215.15,"skX":-155.625,"skY":-155.625}},{"length":14,"name":"图层_47","parent":"root","transform":{"x":-374.6,"y":241.35,"skX":180,"skY":180}},{"length":38,"name":"色相_饱和度_4","parent":"root","transform":{"x":-278.95,"y":281.2,"skX":164.7513,"skY":164.7513}},{"length":20,"name":"组_15_拷贝_2","parent":"root","transform":{"x":-242.55,"y":303.95,"skX":163.5864,"skY":163.5864}},{"length":17,"name":"图层_49","parent":"root","transform":{"x":-162.85,"y":294.85,"skX":153.291,"skY":153.291}},{"length":12,"name":"组_15","parent":"root","transform":{"x":154.85,"y":280.05,"skX":41.3194,"skY":41.3194}},{"length":17,"name":"组_13","parent":"root","transform":{"x":323.35,"y":277.8}},{"length":101,"name":"图层_45","parent":"root","transform":{"x":4.55,"y":344.95,"skX":-90,"skY":-90}}],"slot":[{"name":"图层_45","parent":"图层_45"},{"name":"组_13","parent":"组_13"},{"name":"色相_饱和度_1","parent":"色相_饱和度_1"},{"name":"组_14","parent":"组_14"},{"name":"色相_饱和度_3","parent":"色相_饱和度_3"},{"name":"色相_饱和度_2","parent":"色相_饱和度_2"},{"name":"色相_饱和度_4","parent":"色相_饱和度_4"},{"name":"组_15","parent":"组_15"},{"name":"组_15_拷贝_2","parent":"组_15_拷贝_2"},{"name":"组_15_拷贝","parent":"组_15_拷贝"},{"name":"图层_46","parent":"图层_46"},{"name":"图层_56","parent":"图层_56"},{"name":"图层_55","parent":"图层_55"},{"name":"图层_54","parent":"图层_54"},{"name":"图层_53","parent":"图层_53"},{"name":"图层_52","parent":"图层_52"},{"name":"图层_51","parent":"图层_51"},{"name":"图层_50","parent":"图层_50"},{"name":"图层_49","parent":"图层_49"},{"name":"图层_48","parent":"图层_48"},{"name":"图层_47","parent":"图层_47"}],"skin":[{"slot":[{"name":"图层_50","display":[{"name":"Img_Dark(1)/图层_50","transform":{"x":4.76,"y":-3.6,"skX":116.57,"skY":116.57}}]},{"name":"图层_53","display":[{"name":"Img_Dark(1)/图层_53","transform":{"x":5.65,"y":-1.78,"skX":84.24,"skY":84.24}}]},{"name":"色相_饱和度_4","display":[{"name":"Img_Dark(1)/色相_饱和度_4","transform":{"x":22.27,"y":-3.57,"skX":-164.75,"skY":-164.75}}]},{"name":"色相_饱和度_1","display":[{"name":"Img_Dark(1)/色相_饱和度_1","transform":{"x":27.76,"y":-1.4,"skX":133.58,"skY":133.58}}]},{"name":"组_13","display":[{"name":"Img_Dark(1)/组_13","transform":{"x":8.15,"y":1.7}}]},{"name":"组_15_拷贝_2","display":[{"name":"Img_Dark(1)/组_15_拷贝_2","transform":{"x":11.9,"y":1.89,"skX":-163.59,"skY":-163.59}}]},{"name":"组_15","display":[{"name":"Img_Dark(1)/组_15","transform":{"x":7.76,"y":7.09,"skX":-41.32,"skY":-41.32}}]},{"name":"图层_48","display":[{"name":"Img_Dark(1)/图层_48","transform":{"x":16.72,"y":-2.47,"skX":155.63,"skY":155.63}}]},{"name":"图层_55","display":[{"name":"Img_Dark(1)/图层_55","transform":{"x":-1.07,"y":3.17,"skX":56.41,"skY":56.41}}]},{"name":"图层_47","display":[{"name":"Img_Dark(1)/图层_47","transform":{"x":8.9,"y":-2.15,"skX":180,"skY":180}}]},{"name":"图层_52","display":[{"name":"Img_Dark(1)/图层_52","transform":{"x":7.31,"y":-3.79,"skX":81.36,"skY":81.36}}]},{"name":"图层_54","display":[{"name":"Img_Dark(1)/图层_54","transform":{"x":3.25,"y":3.15,"skX":90,"skY":90}}]},{"name":"图层_56","display":[{"name":"Img_Dark(1)/图层_56","transform":{"x":18.68,"y":0.73,"skX":27.91,"skY":27.91}}]},{"name":"组_15_拷贝","display":[{"name":"Img_Dark(1)/组_15_拷贝","transform":{"x":-2.84,"y":-3.48,"skX":97.2,"skY":97.2}}]},{"name":"色相_饱和度_2","display":[{"name":"Img_Dark(1)/色相_饱和度_2","transform":{"x":6.3,"y":10.65,"skX":51.28,"skY":51.28}}]},{"name":"图层_46","display":[{"name":"Img_Dark(1)/图层_46","transform":{"x":5.61,"y":7.68,"skX":56.25,"skY":56.25}}]},{"name":"色相_饱和度_3","display":[{"name":"Img_Dark(1)/色相_饱和度_3","transform":{"x":6.33,"y":-3.34,"skX":138.4,"skY":138.4}}]},{"name":"图层_45","display":[{"name":"Img_Dark(1)/图层_45","transform":{"x":447.95,"y":-4.55,"skX":90,"skY":90}}]},{"name":"图层_51","display":[{"name":"Img_Dark(1)/图层_51","transform":{"x":4.87,"y":-4.89,"skX":111.84,"skY":111.84}}]},{"name":"组_14","display":[{"name":"Img_Dark(1)/组_14","transform":{"x":1.18,"y":4.3,"skX":71.4,"skY":71.4}}]},{"name":"图层_49","display":[{"name":"Img_Dark(1)/图层_49","transform":{"x":4.47,"y":-7.43,"skX":-153.29,"skY":-153.29}}]}]}],"animation":[{"duration":48,"playTimes":0,"name":"normal","bone":[{"name":"图层_52","translateFrame":[{"duration":8,"tweenEasing":0,"x":6.85,"y":173.13},{"duration":7,"tweenEasing":0,"x":5.26,"y":-270.22},{"duration":24,"tweenEasing":0,"x":3.99,"y":-370.72},{"duration":9}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":-88.75},{"duration":7,"tweenEasing":0,"rotate":-97.34},{"duration":24,"tweenEasing":0,"rotate":-102.88},{"duration":9}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":24,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":9}]},{"name":"图层_53","translateFrame":[{"duration":8,"tweenEasing":0,"x":-69.4,"y":234.94},{"duration":7,"tweenEasing":0,"x":-53.33,"y":-222.72},{"duration":22,"tweenEasing":0,"x":-40.48,"y":-334.66},{"duration":11}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":136.38},{"duration":7,"tweenEasing":0,"rotate":88.81},{"duration":22,"tweenEasing":0,"rotate":44.29},{"duration":11}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":22,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":11}]},{"name":"组_14","translateFrame":[{"duration":8,"tweenEasing":0,"x":-113.46,"y":159.43},{"duration":7,"tweenEasing":0,"x":-51.87,"y":-286.89},{"duration":18,"tweenEasing":0,"x":-2.59,"y":-389.76},{"duration":15,"x":67.54}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":-93.72},{"duration":7,"tweenEasing":0,"rotate":-98.18},{"duration":18,"tweenEasing":0,"rotate":-99.6},{"duration":15}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":18,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":15}]},{"name":"组_15_拷贝","translateFrame":[{"duration":8,"tweenEasing":0,"x":99.08,"y":163.93},{"duration":7,"tweenEasing":0,"x":40.05,"y":-276.52},{"duration":18,"tweenEasing":0,"x":-7.18,"y":-374.7},{"duration":15,"x":-44.78}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":-92.51},{"duration":7,"tweenEasing":0,"rotate":-97.22},{"duration":18,"tweenEasing":0,"rotate":-98.87},{"duration":15}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":18,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":15}]},{"name":"图层_51","translateFrame":[{"duration":8,"tweenEasing":0,"x":123.24,"y":218.12},{"duration":7,"tweenEasing":0,"x":94.71,"y":-235.65},{"duration":22,"tweenEasing":0,"x":71.89,"y":-344.47},{"duration":11}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":95.65},{"duration":7,"tweenEasing":0,"rotate":55.32},{"duration":22,"tweenEasing":0,"rotate":18.04},{"duration":11}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":22,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":11}]},{"name":"图层_50","translateFrame":[{"duration":8,"tweenEasing":0,"x":174.1,"y":140.85},{"duration":7,"tweenEasing":0,"x":117.12,"y":-323.27},{"duration":24,"tweenEasing":0,"x":71.53,"y":-440.39},{"duration":9,"x":-130.8}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":-96.93},{"duration":7,"tweenEasing":0,"rotate":-104.16},{"duration":24,"tweenEasing":0,"rotate":-108.33},{"duration":9}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":24,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":9}]},{"name":"色相_饱和度_3","translateFrame":[{"duration":8,"tweenEasing":0,"x":121.73,"y":70.96},{"duration":7,"tweenEasing":0,"x":93.55,"y":-348.74},{"duration":18,"tweenEasing":0,"x":71.01,"y":-430.31},{"duration":15}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":111.34},{"duration":7,"tweenEasing":0,"rotate":65.86},{"duration":18,"tweenEasing":0,"rotate":23.44},{"duration":15}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":18,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":15}]},{"name":"图层_54","translateFrame":[{"duration":8,"tweenEasing":0,"x":-29.1,"y":101.23},{"duration":7,"tweenEasing":0,"x":-22.36,"y":-325.47},{"duration":24,"tweenEasing":0,"x":-16.97,"y":-412.65},{"duration":9,"x":179.72}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":-86.2},{"duration":7,"tweenEasing":0,"rotate":-95.21},{"duration":24,"tweenEasing":0,"rotate":-101.18},{"duration":9}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":24,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":9}]},{"name":"图层_55","translateFrame":[{"duration":8,"tweenEasing":0,"x":-129.11,"y":33.26},{"duration":7,"tweenEasing":0,"x":-59.28,"y":-362.74},{"duration":22,"tweenEasing":0,"x":-3.42,"y":-425.35},{"duration":11}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":-78.6},{"duration":7,"tweenEasing":0,"rotate":-87.95},{"duration":22,"tweenEasing":0,"rotate":-94.25},{"duration":11}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":22,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":11}]},{"name":"图层_56","translateFrame":[{"duration":8,"tweenEasing":0,"x":-197.58,"y":126.18},{"duration":7,"tweenEasing":0,"x":-92.09,"y":-296.17},{"duration":24,"tweenEasing":0,"x":-7.7,"y":-379.85},{"duration":9,"x":83.69}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":-57.17},{"duration":7,"tweenEasing":0,"rotate":-71.02},{"duration":24,"tweenEasing":0,"rotate":-81.82},{"duration":9}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":24,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":9}]},{"name":"色相_饱和度_2","translateFrame":[{"duration":8,"tweenEasing":0,"x":-278.96,"y":90.87},{"duration":7,"tweenEasing":0,"x":-147.18,"y":-331.52},{"duration":18,"tweenEasing":0,"x":-41.76,"y":-415.24},{"duration":15,"x":70.74}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":-103.73},{"duration":7,"tweenEasing":0,"rotate":-106.19},{"duration":18,"tweenEasing":0,"rotate":-105.6},{"duration":15}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":18,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":15}]},{"name":"图层_46","translateFrame":[{"duration":8,"tweenEasing":0,"x":-302.24,"y":22.5},{"duration":7,"tweenEasing":0,"x":-128.59,"y":-386.75},{"duration":24,"tweenEasing":0,"x":10.33,"y":-459.97},{"duration":9,"x":284.61}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":-115.49},{"duration":7,"tweenEasing":0,"rotate":-117.14},{"duration":24,"tweenEasing":0,"rotate":-115.73},{"duration":9}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":24,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":9}]},{"name":"色相_饱和度_1","translateFrame":[{"duration":8,"tweenEasing":0,"x":235.53,"y":67.29},{"duration":7,"tweenEasing":0,"x":181.01,"y":-351.56},{"duration":18,"tweenEasing":0,"x":137.39,"y":-432.45},{"duration":15,"x":-110.05}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":-66.53},{"duration":7,"tweenEasing":0,"rotate":-76.44},{"duration":18,"tweenEasing":0,"rotate":-83.29},{"duration":15}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":18,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":15}]},{"name":"图层_48","translateFrame":[{"duration":8,"tweenEasing":0,"x":239.54,"y":37.71},{"duration":7,"tweenEasing":0,"x":128.58,"y":-416.81},{"duration":22,"tweenEasing":0,"x":39.81,"y":-526.23},{"duration":11,"x":-68.07}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":-121.03},{"duration":7,"tweenEasing":0,"rotate":-122.84},{"duration":22,"tweenEasing":0,"rotate":-121.59},{"duration":11}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":22,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":11}]},{"name":"图层_47","translateFrame":[{"duration":8,"tweenEasing":0,"x":390.26,"y":10.27},{"duration":7,"tweenEasing":0,"x":224.66,"y":-380.4},{"duration":24,"tweenEasing":0,"x":92.17,"y":-438.76},{"duration":9,"x":-208.98}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":-148.67},{"duration":7,"tweenEasing":0,"rotate":-147.28},{"duration":24,"tweenEasing":0,"rotate":-142.83},{"duration":9}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":24,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":9}]},{"name":"色相_饱和度_4","translateFrame":[{"duration":8,"tweenEasing":0,"x":290.5,"y":-41.08},{"duration":7,"tweenEasing":0,"x":159.89,"y":-434.84},{"duration":18,"tweenEasing":0,"x":55.4,"y":-495.67},{"duration":15,"x":-162.24}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":112.82},{"duration":7,"tweenEasing":0,"rotate":67.05},{"duration":18,"tweenEasing":0,"rotate":24.33},{"duration":15}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":18,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":15}]},{"name":"组_15_拷贝_2","translateFrame":[{"duration":8,"tweenEasing":0,"x":257.73,"y":-54.04},{"duration":7,"tweenEasing":0,"x":198.07,"y":-444.8},{"duration":18,"tweenEasing":0,"x":150.34,"y":-503.23},{"duration":15}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":-140.84},{"duration":7,"tweenEasing":0,"rotate":-135.88},{"duration":18,"tweenEasing":0,"rotate":-127.87},{"duration":15}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":18,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":15}]},{"name":"图层_49","translateFrame":[{"duration":8,"tweenEasing":0,"x":163.34,"y":-45.97},{"duration":7,"tweenEasing":0,"x":125.53,"y":-438.6},{"duration":24,"tweenEasing":0,"x":95.28,"y":-498.52},{"duration":9,"x":-9.34}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":131.39},{"duration":7,"tweenEasing":0,"rotate":86.11},{"duration":24,"tweenEasing":0,"rotate":43.88},{"duration":9}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":24,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":9}]},{"name":"组_15","translateFrame":[{"duration":8,"tweenEasing":0,"x":-140.85,"y":-26.41},{"duration":7,"tweenEasing":0,"x":-108.24,"y":-423.57},{"duration":18,"tweenEasing":0,"x":-82.16,"y":-487.11},{"duration":15}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":-74.48},{"duration":7,"tweenEasing":0,"rotate":-82.79},{"duration":18,"tweenEasing":0,"rotate":-88.06},{"duration":15}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":18,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":15}]},{"name":"组_13","translateFrame":[{"duration":8,"tweenEasing":0,"x":-309.33,"y":-26.9},{"duration":7,"tweenEasing":0,"x":-184.27,"y":-404.36},{"duration":18,"tweenEasing":0,"x":-84.22,"y":-452.14},{"duration":15,"x":152.49}],"rotateFrame":[{"duration":8,"tweenEasing":0,"rotate":-44.26},{"duration":7,"tweenEasing":0,"rotate":-58.61},{"duration":18,"tweenEasing":0,"rotate":-69.92},{"duration":15}],"scaleFrame":[{"duration":8,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":7,"tweenEasing":0,"x":0.6,"y":0.6},{"duration":18,"tweenEasing":0,"x":0.9,"y":0.9},{"duration":15}]}],"slot":[{"name":"组_13","colorFrame":[{"duration":29},{"duration":4,"tweenEasing":0},{"duration":15,"value":{"aM":0}}]},{"name":"色相_饱和度_1","colorFrame":[{"duration":29},{"duration":4,"tweenEasing":0},{"duration":15,"value":{"aM":0}}]},{"name":"组_14","colorFrame":[{"duration":29},{"duration":4,"tweenEasing":0},{"duration":15,"value":{"aM":0}}]},{"name":"色相_饱和度_3","colorFrame":[{"duration":29},{"duration":4,"tweenEasing":0},{"duration":15,"value":{"aM":0}}]},{"name":"色相_饱和度_2","colorFrame":[{"duration":29},{"duration":4,"tweenEasing":0},{"duration":15,"value":{"aM":0}}]},{"name":"色相_饱和度_4","colorFrame":[{"duration":29},{"duration":4,"tweenEasing":0},{"duration":15,"value":{"aM":0}}]},{"name":"组_15","colorFrame":[{"duration":29},{"duration":4,"tweenEasing":0},{"duration":15,"value":{"aM":0}}]},{"name":"组_15_拷贝_2","colorFrame":[{"duration":29},{"duration":4,"tweenEasing":0},{"duration":15,"value":{"aM":0}}]},{"name":"组_15_拷贝","colorFrame":[{"duration":29},{"duration":4,"tweenEasing":0},{"duration":15,"value":{"aM":0}}]},{"name":"图层_46","colorFrame":[{"duration":36},{"duration":3,"tweenEasing":0},{"duration":9,"value":{"aM":0}}]},{"name":"图层_56","colorFrame":[{"duration":36},{"duration":3,"tweenEasing":0},{"duration":9,"value":{"aM":0}}]},{"name":"图层_55","colorFrame":[{"duration":33},{"duration":4,"tweenEasing":0},{"duration":11,"value":{"aM":0}}]},{"name":"图层_54","colorFrame":[{"duration":36},{"duration":3,"tweenEasing":0},{"duration":9,"value":{"aM":0}}]},{"name":"图层_53","colorFrame":[{"duration":33},{"duration":4,"tweenEasing":0},{"duration":11,"value":{"aM":0}}]},{"name":"图层_52","colorFrame":[{"duration":36},{"duration":3,"tweenEasing":0},{"duration":9,"value":{"aM":0}}]},{"name":"图层_51","colorFrame":[{"duration":33},{"duration":4,"tweenEasing":0},{"duration":11,"value":{"aM":0}}]},{"name":"图层_50","colorFrame":[{"duration":36,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":9,"value":{"aM":0}}]},{"name":"图层_49","colorFrame":[{"duration":36},{"duration":3,"tweenEasing":0},{"duration":9,"value":{"aM":0}}]},{"name":"图层_48","colorFrame":[{"duration":33},{"duration":4,"tweenEasing":0},{"duration":11,"value":{"aM":0}}]},{"name":"图层_47","colorFrame":[{"duration":36},{"duration":3,"tweenEasing":0},{"duration":9,"value":{"aM":0}}]}]}],"defaultActions":[{"gotoAndPlay":"normal"}],"canvas":{"y":-103,"width":1280,"height":720}}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "e6ec02b6-ebbf-4d17-acaf-4945d7fb877f",
"subMetas": {}
}
\ No newline at end of file
{"width":2048,"imagePath":"Img_Dark(1)_tex.png","height":1024,"name":"Img_Dark(1)","SubTexture":[{"width":1668,"y":1,"height":938,"name":"Img_Dark(1)/图层_45","x":1},{"width":111,"y":941,"height":55,"name":"Img_Dark(1)/组_13","x":1},{"width":179,"y":1,"height":176,"name":"Img_Dark(1)/色相_饱和度_1","x":1671},{"width":129,"y":131,"height":145,"name":"Img_Dark(1)/组_14","x":1852},{"width":92,"y":941,"height":61,"name":"Img_Dark(1)/色相_饱和度_3","x":114},{"width":164,"y":1,"height":128,"name":"Img_Dark(1)/色相_饱和度_2","x":1852},{"width":143,"y":278,"height":97,"name":"Img_Dark(1)/色相_饱和度_4","x":1831},{"width":74,"y":941,"height":67,"name":"Img_Dark(1)/组_15","x":208},{"width":51,"y":377,"height":43,"name":"Img_Dark(1)/组_15_拷贝_2","x":1813},{"width":57,"y":131,"height":53,"name":"Img_Dark(1)/组_15_拷贝","x":1983},{"width":158,"y":179,"height":100,"name":"Img_Dark(1)/图层_46","x":1671},{"width":91,"y":340,"height":70,"name":"Img_Dark(1)/图层_56","x":1671},{"width":53,"y":358,"height":48,"name":"Img_Dark(1)/图层_55","x":1976},{"width":48,"y":278,"height":78,"name":"Img_Dark(1)/图层_54","x":1976},{"width":39,"y":412,"height":60,"name":"Img_Dark(1)/图层_53","x":1671},{"width":47,"y":340,"height":84,"name":"Img_Dark(1)/图层_52","x":1764},{"width":55,"y":186,"height":49,"name":"Img_Dark(1)/图层_51","x":1983},{"width":72,"y":941,"height":63,"name":"Img_Dark(1)/图层_50","x":284},{"width":95,"y":941,"height":39,"name":"Img_Dark(1)/图层_49","x":358},{"width":156,"y":281,"height":57,"name":"Img_Dark(1)/图层_48","x":1671},{"width":69,"y":998,"height":25,"name":"Img_Dark(1)/图层_47","x":1}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "5788586f-1aff-4185-b6cc-808408c509f4",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "09b80abc-645e-4784-9b27-5c2c43c40845",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 1024,
"platformSettings": {},
"subMetas": {
"Img_Dark(1)_tex": {
"ver": "1.0.4",
"uuid": "dce0bcbe-d7e7-41ff-b46f-9782106dd2c4",
"rawTextureUuid": "09b80abc-645e-4784-9b27-5c2c43c40845",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -3.5,
"offsetY": 0,
"trimX": 1,
"trimY": 1,
"width": 2039,
"height": 1022,
"rawWidth": 2048,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "a0b800d7-492c-4110-8652-e6d9f079981e",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"frameRate":24,"name":"老鼠在说话","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"Armature","aabb":{"x":-739,"y":-923,"width":1559,"height":1857},"bone":[{"name":"root"},{"length":365,"name":"bone","parent":"root","transform":{"x":-291.1,"y":660.65,"skX":179.0279,"skY":179.0279}},{"length":630,"name":"圣体","parent":"bone","transform":{"x":-19.4394,"y":-192.3575,"skX":101.7321,"skY":101.7321}},{"length":175,"name":"左腿","parent":"bone","transform":{"x":-135.405,"y":-53.9049,"skX":-98.4902,"skY":-98.4902}},{"length":166,"name":"又退","parent":"bone","transform":{"x":79.4041,"y":-58.5113,"skX":-69.4667,"skY":-69.4667}},{"length":420,"name":"右手","parent":"圣体","transform":{"x":591.7977,"y":-148.1413,"skX":-88.2911,"skY":-88.2911}},{"length":590,"name":"头","parent":"圣体","transform":{"x":630.4345,"skX":0.9439,"skY":0.9439}},{"length":125,"name":"左手","parent":"圣体","transform":{"x":608.4231,"y":60.9308,"skX":128.2338,"skY":128.2338}},{"length":268,"name":"尾巴","parent":"圣体","transform":{"x":167.0001,"y":193.168,"skX":77.0316,"skY":77.0316}},{"length":49,"name":"嘴巴","parent":"头","transform":{"x":156.66,"y":53.9934,"skX":170.6652,"skY":170.6652}},{"length":272,"name":"眼睛(3)","parent":"头","transform":{"x":349.5083,"y":-165.1838,"skX":95.9112,"skY":95.9112}},{"length":642,"name":"耳朵2","parent":"头","transform":{"x":490.5538,"y":-145.8945,"skX":-38.0218,"skY":-38.0218}},{"length":644,"name":"耳朵","parent":"头","transform":{"x":334.7626,"y":221.5991,"skX":77.38,"skY":77.38}}],"slot":[{"name":"尾巴","parent":"尾巴"},{"name":"右手","parent":"右手"},{"name":"左手","parent":"左手"},{"name":"圣体","parent":"圣体"},{"name":"又退","parent":"又退"},{"name":"左腿","parent":"左腿"},{"name":"耳朵","parent":"耳朵"},{"name":"耳朵2","parent":"耳朵2"},{"name":"头","parent":"头"},{"displayIndex":1,"name":"眼睛(3)","parent":"眼睛(3)"},{"name":"嘴巴","parent":"嘴巴"}],"skin":[{"slot":[{"name":"圣体","display":[{"name":"老鼠右下角说话用房清1(1)/圣体","transform":{"x":321.89,"y":-53.13,"skX":79.24,"skY":79.24}}]},{"name":"嘴巴","display":[{"name":"老鼠右下角说话用房清1(1)/嘴巴","transform":{"x":39.99,"y":7.3,"skX":-92.37,"skY":-92.37}},{"name":"老鼠右下角说话用房清1(1)/嘴巴(2)","transform":{"x":4.54,"y":9.27,"skX":-92.37,"skY":-92.37}}]},{"name":"又退","display":[{"name":"老鼠右下角说话用房清1(1)/又退","transform":{"x":91.74,"y":129.77,"skX":-109.56,"skY":-109.56}}]},{"name":"右手","display":[{"name":"老鼠右下角说话用房清1(1)/右手","transform":{"x":-100.26,"y":48.9,"skX":167.53,"skY":167.53}}]},{"name":"头","display":[{"name":"老鼠右下角说话用房清1(1)/头","transform":{"x":270.38,"y":-116.06,"skX":78.3,"skY":78.3}}]},{"name":"眼睛(3)","display":[{"name":"老鼠右下角说话用房清1(1)/眼睛(3)","transform":{"x":131.25,"y":1.81,"skX":-17.62,"skY":-17.62}},{"name":"老鼠右下角说话用房清1(1)/眼睛(2)","transform":{"x":129.5,"y":2.9,"skX":-17.62,"skY":-17.62}}]},{"name":"左腿","display":[{"name":"老鼠右下角说话用房清1(1)/左腿","transform":{"x":108.63,"y":-118.05,"skX":-80.54,"skY":-80.54}}]},{"name":"耳朵","display":[{"name":"老鼠右下角说话用房清1(1)/耳朵","transform":{"x":323.38,"y":-2.28,"skX":0.92,"skY":0.92}}]},{"name":"尾巴","display":[{"name":"老鼠右下角说话用房清1(1)/尾巴","transform":{"x":269.22,"y":-209.43,"skX":2.21,"skY":2.21}}]},{"name":"耳朵2","display":[{"name":"老鼠右下角说话用房清1(1)/耳朵2","transform":{"x":342.75,"y":-24.53,"skX":116.32,"skY":116.32}}]},{"name":"左手","display":[{"name":"老鼠右下角说话用房清1(1)/左手","transform":{"x":130.88,"y":15.14,"skX":-48.99,"skY":-48.99}}]}]}],"animation":[{"duration":72,"playTimes":0,"name":"normal","bone":[{"name":"圣体","rotateFrame":[{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":2.39},{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":2.39},{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":2.39},{"duration":0}]},{"name":"右手","rotateFrame":[{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":14.35},{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":14.35},{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":14.35},{"duration":0}]},{"name":"头","translateFrame":[{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"x":-18.81,"y":4.39},{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"x":-18.81,"y":4.39},{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"x":-18.81,"y":4.39},{"duration":0}],"rotateFrame":[{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":-12},{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":-12},{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":-12},{"duration":0}]},{"name":"尾巴","rotateFrame":[{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":-14.33},{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":-14.33},{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":-14.33},{"duration":0}]},{"name":"耳朵2","translateFrame":[{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"x":-11.76,"y":34.99},{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"x":-11.76,"y":34.99},{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"x":-11.76,"y":34.99},{"duration":0}],"rotateFrame":[{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":11.85},{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":11.85},{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":11.85},{"duration":0}]},{"name":"耳朵","rotateFrame":[{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":-7.07},{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":-7.07},{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":-7.07},{"duration":0}]}],"slot":[{"name":"眼睛(3)","displayFrame":[{"duration":4,"value":1},{"duration":4},{"duration":20,"value":1},{"duration":4},{"duration":20,"value":1},{"duration":4},{"duration":16,"value":1}]},{"name":"嘴巴","displayFrame":[{"duration":4},{"duration":4,"value":1},{"duration":4},{"duration":4,"value":1},{"duration":4},{"duration":4,"value":1},{"duration":4},{"duration":4,"value":1},{"duration":4},{"duration":4,"value":1},{"duration":4},{"duration":4,"value":1},{"duration":4},{"duration":4,"value":1},{"duration":4},{"duration":4,"value":1},{"duration":4},{"duration":4,"value":1},{"duration":0}]}]}],"defaultActions":[{"gotoAndPlay":"normal"}],"canvas":{"width":1900,"height":2250}}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "12a07322-1e68-4bc7-a4f7-7f90cc762303",
"subMetas": {}
}
\ No newline at end of file
{"SubTexture":[{"width":539,"y":703,"height":546,"name":"老鼠右下角说话用房清1(1)/尾巴","x":728},{"width":1088,"y":1251,"height":195,"name":"老鼠右下角说话用房清1(1)/右手","x":728},{"width":167,"y":901,"height":302,"name":"老鼠右下角说话用房清1(1)/左手","x":1698},{"width":443,"y":1,"height":741,"name":"老鼠右下角说话用房清1(1)/圣体","x":1454},{"width":427,"y":744,"height":267,"name":"老鼠右下角说话用房清1(1)/又退","x":1269},{"width":411,"y":1193,"height":268,"name":"老鼠右下角说话用房清1(1)/左腿","x":1},{"width":725,"y":601,"height":590,"name":"老鼠右下角说话用房清1(1)/耳朵","x":1},{"width":640,"y":1,"height":700,"name":"老鼠右下角说话用房清1(1)/耳朵2","x":812},{"width":809,"y":1,"height":598,"name":"老鼠右下角说话用房清1(1)/头","x":1},{"width":336,"y":1013,"height":128,"name":"老鼠右下角说话用房清1(1)/眼睛(3)","x":1269},{"width":344,"y":744,"height":155,"name":"老鼠右下角说话用房清1(1)/眼睛(2)","x":1698},{"width":109,"y":703,"height":34,"name":"老鼠右下角说话用房清1(1)/嘴巴(2)","x":1269},{"width":118,"y":1143,"height":97,"name":"老鼠右下角说话用房清1(1)/嘴巴","x":1269}],"width":2048,"height":2048,"name":"老鼠在说话","imagePath":"老鼠在说话_tex.png"}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "04a8dfaa-9baf-4407-af0a-2d3a9e89dbd8",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "33de3d7c-9247-496e-aadc-73b4933a86fc",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 2048,
"platformSettings": {},
"subMetas": {
"老鼠在说话_tex": {
"ver": "1.0.4",
"uuid": "6e3bdf9f-10f5-47ec-839b-195bcab4502a",
"rawTextureUuid": "33de3d7c-9247-496e-aadc-73b4933a86fc",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -2.5,
"offsetY": 293,
"trimX": 1,
"trimY": 1,
"width": 2041,
"height": 1460,
"rawWidth": 2048,
"rawHeight": 2048,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "1352106d-8338-4015-8cee-7cfc75b38460",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "0c8d6a87-d127-478d-8bf0-656b9a4b95a9",
"downloadMode": 0,
"duration": 1.776327,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "11361b6c-6556-47e2-9e5c-306f9f77cbc8",
"downloadMode": 0,
"duration": 4.04898,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "b6c10896-d58d-47bc-88a9-c289d884c621",
"downloadMode": 0,
"duration": 5.172245,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "b3d3e0e6-a546-402f-9f78-36dca911638b",
"downloadMode": 0,
"duration": 2.45551,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "24a174f5-9880-4105-8adc-7f96d6be3b3b",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "b9585e9c-f3d9-4249-8265-f5d47e0fc171",
"downloadMode": 0,
"duration": 3.239184,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "710a5c9e-9102-467c-96d1-6038efb4399b",
"downloadMode": 0,
"duration": 2.220417,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "f4464f31-5436-4b91-93de-79224a86e17e",
"downloadMode": 0,
"duration": 0.57475,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "bce3261e-7314-4067-9337-459533b97896",
"downloadMode": 0,
"duration": 1.12325,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "3fa7aab4-b81d-40e6-9691-73935a1d92da",
"downloadMode": 0,
"duration": 1.184417,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "5aed205e-c676-4924-a439-f8d4d2af39aa",
"downloadMode": 0,
"duration": 1.928625,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "0fe75083-57b2-4007-a29c-9bae64d46c03",
"downloadMode": 0,
"duration": 2.319563,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "eec88860-3fa4-4134-8631-2ecd92939054",
"downloadMode": 0,
"duration": 2.032875,
"subMetas": {}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
"experimentalDecorators": true, "experimentalDecorators": true,
"skipLibCheck": true, "skipLibCheck": true,
"outDir": "temp/vscode-dist", "outDir": "temp/vscode-dist",
"allowJs": true,
"forceConsistentCasingInFileNames": true "forceConsistentCasingInFileNames": true
}, },
"exclude": [ "exclude": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment