Commit 595ee3e5 authored by 杨一航's avatar 杨一航

feat: v1.0

parent a3f5ba9f
{
"ver": "1.1.2",
"uuid": "ab07b5bf-61b9-4dc8-a92f-0840bcebe4ea",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"__type__": "cc.AnimationClip",
"_name": "handAnil",
"_objFlags": 0,
"_native": "",
"_duration": 0.6666666666666666,
"sample": 60,
"speed": 1,
"wrapMode": 2,
"curveData": {
"props": {
"position": [
{
"frame": 0,
"value": [
203.937,
45.71,
0
]
},
{
"frame": 0.16666666666666666,
"value": [
84.388,
-10.549,
0
]
},
{
"frame": 0.36666666666666664,
"value": [
17.581,
-66.808,
0
]
},
{
"frame": 0.6666666666666666,
"value": [
-70.323,
-140.647,
0
]
}
]
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.0",
"uuid": "e7e03221-e811-44af-8bed-5d668127e866",
"subMetas": {}
}
\ No newline at end of file
{
"__type__": "cc.AnimationClip",
"_name": "handeAnir",
"_objFlags": 0,
"_native": "",
"_duration": 0.6666666666666666,
"sample": 60,
"speed": 1,
"wrapMode": 2,
"curveData": {
"props": {
"position": [
{
"frame": 0,
"value": [
116.386,
84.548,
0
]
},
{
"frame": 0.13333333333333333,
"value": [
28.482,
10.709,
0
]
},
{
"frame": 0.36666666666666664,
"value": [
-48.873,
-80.711,
0
]
},
{
"frame": 0.6666666666666666,
"value": [
-129.745,
-165.099,
0
]
}
]
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.0",
"uuid": "97805871-5b99-4fe3-b093-4505c28f243a",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "995cd494-73b4-45d1-a34b-052d6104b218",
"downloadMode": 0,
"duration": 2.319563,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "313d531e-7fe7-4c69-9fce-056d11ed7453",
"downloadMode": 0,
"duration": 0.470204,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "b2d3e744-935b-4814-bb75-96504a3e0cc3",
"downloadMode": 0,
"duration": 0.313469,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "efa7e6c1-14ef-4693-a37b-9ed168fc6e48",
"downloadMode": 0,
"duration": 0.182857,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "2794bf00-a8f7-47b6-bfd9-6745f7a70ffb",
"downloadMode": 0,
"duration": 3.787755,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "238622ac-c989-4e27-b2be-6121ae06fffe",
"downloadMode": 0,
"duration": 1.44,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "abdabd39-d394-4c13-aec0-16119f88d59a",
"downloadMode": 0,
"duration": 4.231837,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "78aa4d59-9595-4e91-8338-031e5e0490de",
"downloadMode": 0,
"duration": 0.5513,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "d2c6d997-0e35-4e70-a208-b349475d33ec",
"downloadMode": 0,
"duration": 0.809796,
"subMetas": {}
}
\ No newline at end of file
{"frameRate":30,"name":"DG23_bubble","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":30,"name":"Armature","aabb":{"x":-171.32,"y":-141.22,"width":341.62,"height":250.46},"bone":[{"name":"root"},{"name":"___","parent":"root","transform":{"x":98.9119,"y":-74.1,"scX":0.5171,"scY":0.5171}},{"length":196,"name":"pingzi","parent":"root","transform":{"y":301.7,"skX":-89.562,"skY":-89.562}},{"name":"___2","parent":"root","transform":{"x":12.85,"y":-74.1}},{"name":"___3","parent":"root","transform":{"x":-52.6997,"y":-74.1,"scX":0.5383,"scY":0.5383}},{"name":"___21","parent":"root","transform":{"x":-35.3468,"y":-21.0836,"scX":0.536,"scY":0.536}},{"name":"___22","parent":"root","transform":{"x":-103.4849,"y":7.714,"scX":0.4568,"scY":0.4568}},{"name":"___23","parent":"root","transform":{"x":77.7951,"y":-24.3369,"scX":0.5615,"scY":0.5615}},{"name":"___24","parent":"root","transform":{"x":15.1393,"y":20.6066,"scX":0.2811,"scY":0.2811}},{"name":"___25","parent":"root","transform":{"x":74.6623,"y":14.2205,"scX":0.4185,"scY":0.4185}},{"name":"___26","parent":"root","transform":{"x":-79.9287,"y":-50.0016,"scX":0.233,"scY":0.233}},{"name":"___27","parent":"root","transform":{"x":52.2508,"y":-4.3352,"scX":0.4717,"scY":0.4717}},{"name":"___28","parent":"root","transform":{"x":-29.3222,"y":36.7525,"scX":0.6487,"scY":0.6487}},{"name":"___29","parent":"root","transform":{"x":30.9238,"y":-35.5426,"scX":0.5168,"scY":0.5168}}],"slot":[{"name":"___","parent":"___"},{"name":"___2","parent":"___2"},{"name":"___3","parent":"___3"},{"name":"___21","parent":"___21"},{"name":"___22","parent":"___22"},{"name":"___23","parent":"___23"},{"name":"___24","parent":"___24"},{"name":"___25","parent":"___25"},{"name":"___26","parent":"___26"},{"name":"___27","parent":"___27"},{"name":"___28","parent":"___28"},{"name":"___29","parent":"___29"}],"skin":[{"slot":[{"name":"___","display":[{"name":"DG23_bubble/___","transform":{"x":3.65,"y":4.6}}]},{"name":"___29","display":[{"name":"DG23_bubble/___","transform":{"x":3.65,"y":4.6}}]},{"name":"___28","display":[{"name":"DG23_bubble/___","transform":{"x":3.65,"y":4.6}}]},{"name":"___27","display":[{"name":"DG23_bubble/___","transform":{"x":3.65,"y":4.6}}]},{"name":"___26","display":[{"name":"DG23_bubble/___","transform":{"x":3.65,"y":4.6}}]},{"name":"___25","display":[{"name":"DG23_bubble/___","transform":{"x":3.65,"y":4.6}}]},{"name":"___24","display":[{"name":"DG23_bubble/___","transform":{"x":3.65,"y":4.6}}]},{"name":"___23","display":[{"name":"DG23_bubble/___","transform":{"x":3.65,"y":4.6}}]},{"name":"___22","display":[{"name":"DG23_bubble/___","transform":{"x":3.65,"y":4.6}}]},{"name":"___21","display":[{"name":"DG23_bubble/___","transform":{"x":3.65,"y":4.6}}]},{"name":"___3","display":[{"name":"DG23_bubble/___","transform":{"x":3.65,"y":4.6}}]},{"name":"___2","display":[{"name":"DG23_bubble/___","transform":{"x":3.65,"y":4.6}}]}]}],"animation":[{"duration":60,"playTimes":0,"name":"normal","bone":[{"name":"___","translateFrame":[{"duration":21,"tweenEasing":0},{"duration":9,"tweenEasing":0,"y":-263},{"duration":30,"y":-384.87}]},{"name":"___2","translateFrame":[{"duration":22,"tweenEasing":0,"y":103.89},{"duration":30,"tweenEasing":0,"y":103.89},{"duration":8,"y":-357.36}]},{"name":"___3","translateFrame":[{"duration":30,"tweenEasing":0,"y":147.63},{"duration":30,"tweenEasing":0,"y":147.63},{"duration":0,"y":-332.29}]},{"name":"___21","translateFrame":[{"duration":10,"tweenEasing":0},{"duration":13,"tweenEasing":0},{"duration":17,"tweenEasing":0,"y":-115.5},{"duration":20,"y":-277.19}]},{"name":"___22","translateFrame":[{"duration":14,"tweenEasing":0},{"duration":12,"tweenEasing":0},{"duration":2,"tweenEasing":0,"y":-106.26},{"duration":16,"tweenEasing":0,"y":-129.35},{"duration":16,"y":-277.19}]},{"name":"___23","translateFrame":[{"duration":30,"tweenEasing":0,"y":147.63},{"duration":30,"tweenEasing":0,"y":147.63},{"duration":0,"y":-332.29}]},{"name":"___24","translateFrame":[{"duration":24,"tweenEasing":0,"y":103.89},{"duration":30,"tweenEasing":0,"y":103.89},{"duration":6,"y":-357.36}]},{"name":"___25","translateFrame":[{"duration":20,"tweenEasing":0,"y":103.89},{"duration":30,"tweenEasing":0,"y":103.89},{"duration":10,"y":-357.36}]},{"name":"___26","translateFrame":[{"duration":5,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":14,"tweenEasing":0,"y":-205.27},{"duration":25,"y":-384.87}]},{"name":"___27","translateFrame":[{"duration":18,"tweenEasing":0},{"duration":11,"tweenEasing":0},{"duration":3,"tweenEasing":0,"y":-97.02},{"duration":16,"tweenEasing":0,"y":-129.35},{"duration":12,"y":-277.19}]},{"name":"___28","translateFrame":[{"duration":3,"tweenEasing":0},{"duration":18,"tweenEasing":0},{"duration":12,"tweenEasing":0,"y":-224.51},{"duration":27,"y":-384.87}]},{"name":"___29","translateFrame":[{"duration":2,"tweenEasing":0},{"duration":19,"tweenEasing":0},{"duration":11,"tweenEasing":0,"y":-243.75},{"duration":28,"y":-384.87}]}],"slot":[{"name":"___","colorFrame":[{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":20,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":30,"value":{"aM":0}}]},{"name":"___2","colorFrame":[{"duration":22,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":20,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":8,"value":{"aM":0}}]},{"name":"___3","colorFrame":[{"duration":30,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":20,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"___21","colorFrame":[{"duration":10,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":20,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":20,"value":{"aM":0}}]},{"name":"___22","colorFrame":[{"duration":14,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":20,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":16,"value":{"aM":0}}]},{"name":"___23","colorFrame":[{"duration":30,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":20,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"___24","colorFrame":[{"duration":24,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":20,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":6,"value":{"aM":0}}]},{"name":"___25","colorFrame":[{"duration":20,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":20,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":10,"value":{"aM":0}}]},{"name":"___26","colorFrame":[{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":20,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":25,"value":{"aM":0}}]},{"name":"___27","colorFrame":[{"duration":18,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":20,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":12,"value":{"aM":0}}]},{"name":"___28","colorFrame":[{"duration":3,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":20,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":27,"value":{"aM":0}}]},{"name":"___29","colorFrame":[{"duration":2,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":20,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":28,"value":{"aM":0}}]}]}],"defaultActions":[{"gotoAndPlay":"normal"}]}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "04752b02-45fd-4d97-b8b1-8b8d9f3372b2",
"subMetas": {}
}
\ No newline at end of file
{"name":"DG23_bubble","imagePath":"DG23_bubble_tex.png","SubTexture":[{"name":"DG23_bubble/___","x":1,"height":139,"y":1,"width":139}],"height":256,"width":256}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "4e3e7349-0cda-42d1-9128-20d3ab732837",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "ee3ee2f1-ad7c-473a-b5ed-e92f2e0e45c8",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 256,
"height": 256,
"platformSettings": {},
"subMetas": {
"DG23_bubble_tex": {
"ver": "1.0.4",
"uuid": "78e7b7bd-2716-4ecc-9164-449da44b5de4",
"rawTextureUuid": "ee3ee2f1-ad7c-473a-b5ed-e92f2e0e45c8",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -57.5,
"offsetY": 57.5,
"trimX": 1,
"trimY": 1,
"width": 139,
"height": 139,
"rawWidth": 256,
"rawHeight": 256,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{"frameRate":30,"name":"DG23_pour_left","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":30,"name":"Armature","aabb":{"x":-459.91,"y":-262.57,"width":416,"height":539},"bone":[{"name":"root"},{"length":206,"name":"bone","parent":"root","transform":{"x":-27.25,"y":59.25}},{"length":358,"name":"bone1","parent":"bone","transform":{"x":-225.7,"y":80.05,"skX":-89.7444,"skY":-89.7444}},{"length":71,"name":"bone2","parent":"bone","transform":{"x":-327.4,"y":-262.75}},{"length":76,"name":"bone3","parent":"bone","transform":{"x":-124.9,"y":-263.8,"skX":-180,"skY":180}},{"length":76,"name":"bone4","parent":"bone1","transform":{"x":397.1204,"y":48.5289,"skX":113.8097,"skY":113.8097}}],"slot":[{"name":"bg_hook","parent":"bone"},{"name":"pour_left1","parent":"bone1"},{"name":"Hook_right","parent":"bone3"},{"name":"hook_left","parent":"bone2"},{"name":"drop2","parent":"bone4"}],"skin":[{"slot":[{"name":"pour_left1","display":[{"name":"DG23_pour_left/pour_left1","transform":{"x":132.37,"y":0.45,"skX":89.74,"skY":89.74}},{"name":"DG23_pour_left/pour_left2","transform":{"x":132.37,"y":0.45,"skX":89.74,"skY":89.74}},{"name":"DG23_pour_left/pour_left3","transform":{"x":132.37,"y":0.45,"skX":89.74,"skY":89.74}},{"name":"DG23_pour_left/pour_left4","transform":{"x":132.37,"y":0.45,"skX":89.74,"skY":89.74}},{"name":"DG23_pour_left/pour_left5","transform":{"x":132.37,"y":0.45,"skX":89.74,"skY":89.74}},{"name":"DG23_pour_left/pour_left6","transform":{"x":132.37,"y":0.45,"skX":89.74,"skY":89.74}},{"name":"DG23_pour_left/pour_left7","transform":{"x":132.37,"y":0.45,"skX":89.74,"skY":89.74}},{"name":"DG23_pour_left/pour_left8","transform":{"x":132.37,"y":0.45,"skX":89.74,"skY":89.74}},{"name":"DG23_pour_left/pour_left9","transform":{"x":132.37,"y":0.45,"skX":89.74,"skY":89.74}}]},{"name":"Hook_right","display":[{"name":"DG23_pour_left/Hook_right","transform":{"x":36.35,"y":-0.05,"skX":180,"skY":180}}]},{"name":"bg_hook","display":[{"name":"DG23_pour_left/bg_hook","transform":{"x":-223.75,"y":-264.25}}]},{"name":"hook_left","display":[{"name":"DG23_pour_left/hook_left","transform":{"x":36.15,"y":-1}}]},{"name":"drop2","display":[{"name":"DG23_pour_left/drop2","transform":{"x":41.2,"y":3.61,"skX":-24.07,"skY":-24.07}}]}]}],"animation":[{"duration":62,"playTimes":0,"name":"normal","bone":[{"name":"bone1","translateFrame":[{"duration":3,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":16,"tweenEasing":0,"y":-63.97},{"duration":12,"tweenEasing":0,"x":128.24,"y":-69.91},{"duration":18,"tweenEasing":0,"x":128.24,"y":-69.91},{"duration":5,"tweenEasing":0,"y":-63.97},{"duration":3}],"rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":70.99},{"duration":18,"tweenEasing":0,"rotate":70.99},{"duration":8}]},{"name":"bone2","translateFrame":[{"duration":5,"tweenEasing":0},{"duration":52,"tweenEasing":0,"x":-47.61},{"duration":5,"tweenEasing":0,"x":-47.61},{"duration":0}]},{"name":"bone3","translateFrame":[{"duration":5,"tweenEasing":0},{"duration":52,"tweenEasing":0,"x":47.87},{"duration":5,"tweenEasing":0,"x":47.87},{"duration":0}]},{"name":"bone4","translateFrame":[{"duration":28,"tweenEasing":0},{"duration":8,"tweenEasing":0},{"duration":26,"x":-85.08,"y":250.61}],"rotateFrame":[{"duration":24,"tweenEasing":0},{"duration":4,"tweenEasing":0,"rotate":-8.81},{"duration":34,"rotate":-5.59}],"scaleFrame":[{"duration":24,"tweenEasing":0},{"duration":4,"tweenEasing":0,"x":0.25},{"duration":34}]}],"slot":[{"name":"drop2","displayFrame":[{"duration":24,"value":-1},{"duration":12},{"duration":26,"value":-1}]},{"name":"pour_left1","displayFrame":[{"duration":10},{"duration":2,"value":1},{"duration":2,"value":2},{"duration":2,"value":3},{"duration":2,"value":4},{"duration":2,"value":5},{"duration":2,"value":6},{"duration":2,"value":7},{"duration":14,"value":8},{"duration":2,"value":7},{"duration":2,"value":6},{"duration":2,"value":5},{"duration":2,"value":4},{"duration":2,"value":3},{"duration":2,"value":2},{"duration":2,"value":1},{"duration":10}]}],"zOrder":{"frame":[{"duration":5},{"duration":57,"zOrder":[1,3]}]}}],"defaultActions":[{"gotoAndPlay":"normal"}],"canvas":{"width":1024,"height":720}}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "bc9e6221-aa14-4ff0-8d59-c22cdbd3edad",
"subMetas": {}
}
\ No newline at end of file
{"width":2048,"SubTexture":[{"width":278,"y":1,"height":64,"name":"DG23_pour_left/bg_hook","x":1673},{"frameWidth":416,"y":1079,"frameHeight":539,"width":416,"frameX":0,"height":537,"name":"DG23_pour_left/pour_left3","frameY":-2,"x":1},{"frameWidth":416,"y":1,"frameHeight":539,"width":416,"frameX":0,"height":537,"name":"DG23_pour_left/pour_left1","frameY":-2,"x":419},{"frameWidth":416,"y":1,"frameHeight":539,"width":416,"frameX":0,"height":537,"name":"DG23_pour_left/pour_left5","frameY":-2,"x":837},{"frameWidth":416,"y":1,"frameHeight":539,"width":416,"frameX":0,"height":537,"name":"DG23_pour_left/pour_left4","frameY":-2,"x":1255},{"frameWidth":416,"y":540,"frameHeight":539,"width":416,"frameX":0,"height":537,"name":"DG23_pour_left/pour_left7","frameY":-2,"x":1},{"frameWidth":416,"y":1,"frameHeight":539,"width":416,"frameX":0,"height":537,"name":"DG23_pour_left/pour_left9","frameY":-2,"x":1},{"frameWidth":416,"y":540,"frameHeight":539,"width":416,"frameX":0,"height":537,"name":"DG23_pour_left/pour_left6","frameY":-2,"x":419},{"frameWidth":416,"y":1079,"frameHeight":539,"width":416,"frameX":0,"height":537,"name":"DG23_pour_left/pour_left2","frameY":-2,"x":419},{"frameWidth":416,"y":540,"frameHeight":539,"width":416,"frameX":0,"height":537,"name":"DG23_pour_left/pour_left8","frameY":-2,"x":837},{"width":89,"y":48,"height":25,"name":"DG23_pour_left/Hook_right","x":1953},{"width":89,"y":67,"height":25,"name":"DG23_pour_left/hook_left","x":1673},{"width":83,"y":1,"height":45,"name":"DG23_pour_left/drop2","x":1953}],"height":2048,"name":"DG23_pour_left","imagePath":"DG23_pour_left_tex.png"}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "94cf6db8-a234-4ac8-8bde-a30115b7f407",
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "2.3.5",
"uuid": "953312f2-3cf7-4c72-a8d8-4dbe3075c44b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 2048,
"platformSettings": {},
"subMetas": {
"DG23_pour_left_tex": {
"ver": "1.0.4",
"uuid": "b7ff4566-a2b1-4724-9b2d-5ca5a3a085ea",
"rawTextureUuid": "953312f2-3cf7-4c72-a8d8-4dbe3075c44b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -2.5,
"offsetY": 215.5,
"trimX": 1,
"trimY": 1,
"width": 2041,
"height": 1615,
"rawWidth": 2048,
"rawHeight": 2048,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{"frameRate":30,"name":"DG23_pour_right","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":30,"name":"Armature","aabb":{"x":42.44,"y":-262,"width":416,"height":539.25},"bone":[{"name":"root"},{"length":132,"name":"bone","parent":"root","transform":{"x":43.45,"y":113.25,"skX":179.4398,"skY":179.4398}},{"length":341,"name":"bone1","parent":"bone","transform":{"x":-209.916,"y":-13.9031,"skX":90,"skY":90}},{"length":78,"name":"bone2","parent":"bone","transform":{"x":-318.4315,"y":313.6015,"skX":0.5602,"skY":0.5602}},{"length":79,"name":"bone3","parent":"bone","transform":{"x":-105.4956,"y":316.0836,"skX":-179.4398,"skY":-179.4398}},{"length":81,"name":"bone4","parent":"bone1","transform":{"x":385.3217,"y":-51.4768,"skX":-126.8009,"skY":-126.8009}}],"slot":[{"name":"bg_hook","parent":"bone"},{"name":"pour_right1","parent":"bone1"},{"name":"Hook_right","parent":"bone3"},{"name":"drop","parent":"bone4"},{"name":"hook_left","parent":"bone2"}],"skin":[{"slot":[{"name":"hook_left","display":[{"name":"DG23_pour_right/hook_left","transform":{"x":40.3,"y":1.05,"skX":180,"skY":180}}]},{"name":"Hook_right","display":[{"name":"DG23_pour_right/Hook_right","transform":{"x":42.65,"y":-0.65}}]},{"name":"pour_right1","display":[{"name":"DG23_pour_right/pour_right1","transform":{"x":117.37,"y":-1.9,"skX":90.56,"skY":90.56}},{"name":"DG23_pour_right/pour_right2","transform":{"x":117.37,"y":-1.9,"skX":90.56,"skY":90.56}},{"name":"DG23_pour_right/pour_right3","transform":{"x":117.37,"y":-1.9,"skX":90.56,"skY":90.56}},{"name":"DG23_pour_right/pour_right4","transform":{"x":117.37,"y":-1.9,"skX":90.56,"skY":90.56}},{"name":"DG23_pour_right/pour_right5","transform":{"x":117.37,"y":-1.9,"skX":90.56,"skY":90.56}},{"name":"DG23_pour_right/pour_right6","transform":{"x":117.37,"y":-1.9,"skX":90.56,"skY":90.56}},{"name":"DG23_pour_right/pour_right7","transform":{"x":117.37,"y":-1.9,"skX":90.56,"skY":90.56}},{"name":"DG23_pour_right/pour_right8","transform":{"x":117.37,"y":-1.9,"skX":90.56,"skY":90.56}},{"name":"DG23_pour_right/pour_right9","transform":{"x":117.37,"y":-1.9,"skX":90.56,"skY":90.56}}]},{"name":"drop","display":[{"name":"DG23_pour_right/drop","transform":{"x":41.84,"y":-1.65,"skX":-142.64,"skY":-142.64}}]},{"name":"bg_hook","display":[{"name":"DG23_pour_right/bg_hook","transform":{"x":-210.65,"y":316.21,"skX":-179.44,"skY":-179.44}}]}]}],"animation":[{"duration":60,"playTimes":0,"name":"normal","bone":[{"name":"bone1","translateFrame":[{"duration":3,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":16,"tweenEasing":0,"x":-0.4,"y":40.74},{"duration":12,"tweenEasing":0,"x":144.18,"y":53.74},{"duration":16,"tweenEasing":0,"x":144.18,"y":53.74},{"duration":5,"tweenEasing":0,"x":-0.4,"y":40.74},{"duration":3}],"rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":-69.82},{"duration":16,"tweenEasing":0,"rotate":-69.82},{"duration":8}]},{"name":"bone2","translateFrame":[{"duration":5,"tweenEasing":0},{"duration":50,"tweenEasing":0,"x":-48.58,"y":-0.47},{"duration":5,"tweenEasing":0,"x":-48.58,"y":-0.47},{"duration":0}]},{"name":"bone3","translateFrame":[{"duration":5,"tweenEasing":0},{"duration":50,"tweenEasing":0,"x":50.01,"y":0.49},{"duration":5,"tweenEasing":0,"x":50.01,"y":0.49},{"duration":0}]},{"name":"bone4","translateFrame":[{"duration":28,"tweenEasing":0},{"duration":8,"tweenEasing":0},{"duration":16,"tweenEasing":0,"x":-84.05,"y":-235.72},{"duration":8}],"rotateFrame":[{"duration":24,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":16.28},{"duration":16,"tweenEasing":0,"rotate":16.28},{"duration":8}],"scaleFrame":[{"duration":24,"tweenEasing":0},{"duration":4,"tweenEasing":0,"x":0.24},{"duration":32}]}],"slot":[{"name":"drop","displayFrame":[{"duration":24,"value":-1},{"duration":12},{"duration":24,"value":-1}]},{"name":"pour_right1","displayFrame":[{"duration":10},{"duration":2,"value":1},{"duration":2,"value":2},{"duration":2,"value":3},{"duration":2,"value":4},{"duration":2,"value":5},{"duration":2,"value":6},{"duration":2,"value":7},{"duration":14,"value":8},{"duration":2,"value":7},{"duration":2,"value":6},{"duration":2,"value":5},{"duration":2,"value":4},{"duration":2,"value":3},{"duration":2,"value":2},{"duration":2,"value":1},{"duration":8}]}],"zOrder":{"frame":[{"duration":5},{"duration":55,"zOrder":[1,3]}]}}],"defaultActions":[{"gotoAndPlay":"normal"}],"canvas":{"width":1024,"height":720}}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "ade1a8e7-450f-48ea-b51f-e5148e59c969",
"subMetas": {}
}
\ No newline at end of file
{"width":2048,"SubTexture":[{"width":278,"y":1,"height":64,"name":"DG23_pour_right/bg_hook","x":1673},{"frameWidth":416,"y":1,"frameHeight":539,"width":416,"frameX":0,"height":537,"name":"DG23_pour_right/pour_right6","frameY":-2,"x":1255},{"frameWidth":416,"y":1079,"frameHeight":539,"width":416,"frameX":0,"height":537,"name":"DG23_pour_right/pour_right2","frameY":-2,"x":1},{"frameWidth":416,"y":540,"frameHeight":539,"width":416,"frameX":0,"height":537,"name":"DG23_pour_right/pour_right1","frameY":-2,"x":837},{"frameWidth":416,"y":540,"frameHeight":539,"width":416,"frameX":0,"height":537,"name":"DG23_pour_right/pour_right3","frameY":-2,"x":1},{"frameWidth":416,"y":1079,"frameHeight":539,"width":416,"frameX":0,"height":537,"name":"DG23_pour_right/pour_right4","frameY":-2,"x":419},{"frameWidth":416,"y":1,"frameHeight":539,"width":416,"frameX":0,"height":537,"name":"DG23_pour_right/pour_right5","frameY":-2,"x":419},{"frameWidth":416,"y":1,"frameHeight":539,"width":416,"frameX":0,"height":537,"name":"DG23_pour_right/pour_right9","frameY":-2,"x":1},{"frameWidth":416,"y":540,"frameHeight":539,"width":416,"frameX":0,"height":537,"name":"DG23_pour_right/pour_right7","frameY":-2,"x":419},{"frameWidth":416,"y":1,"frameHeight":539,"width":416,"frameX":0,"height":537,"name":"DG23_pour_right/pour_right8","frameY":-2,"x":837},{"width":89,"y":61,"height":25,"name":"DG23_pour_right/Hook_right","x":1953},{"width":78,"y":1,"height":58,"name":"DG23_pour_right/drop","x":1953},{"width":89,"y":67,"height":25,"name":"DG23_pour_right/hook_left","x":1673}],"height":2048,"name":"DG23_pour_right","imagePath":"DG23_pour_right_tex.png"}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "baaa4ef1-6f40-45fa-9425-e730c2e70219",
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "2.3.5",
"uuid": "eb7b953b-903b-41d4-b374-9d4b01b26b7b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 2048,
"platformSettings": {},
"subMetas": {
"DG23_pour_right_tex": {
"ver": "1.0.4",
"uuid": "4393f3ee-677c-4cd6-b960-98689b3673c5",
"rawTextureUuid": "eb7b953b-903b-41d4-b374-9d4b01b26b7b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -2.5,
"offsetY": 215.5,
"trimX": 1,
"trimY": 1,
"width": 2041,
"height": 1615,
"rawWidth": 2048,
"rawHeight": 2048,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "13c364e6-d3b5-474c-b8d3-c1d8a0c8f60e",
"subMetas": {}
}
\ No newline at end of file
{"width":1024,"imagePath":"Dge_P_tex.png","height":1024,"name":"Dge_P","SubTexture":[{"width":79,"y":115,"height":137,"name":"zuojiao","x":926},{"width":74,"y":313,"height":103,"name":"youjiao","x":938},{"width":118,"y":330,"height":81,"name":"nanchi_jiao_2","x":818},{"width":107,"y":463,"height":60,"name":"nanchi_jiao_1","x":818},{"width":592,"y":1,"height":453,"name":"shenti","x":1},{"width":65,"y":456,"height":59,"name":"shetou_2","x":224},{"width":58,"y":463,"height":69,"name":"shetou_1","x":927},{"width":157,"y":254,"height":57,"name":"piezui","x":827},{"width":159,"y":418,"height":43,"name":"zuiba","x":818},{"width":172,"y":1,"height":112,"name":"zuoshou","x":822},{"width":102,"y":115,"height":117,"name":"youshou","x":822},{"width":225,"y":1,"height":235,"name":"maozi","x":595},{"width":221,"y":415,"height":83,"name":"yanjing_2","x":595},{"width":221,"y":456,"height":83,"name":"yanjing_3","x":1},{"width":221,"y":330,"height":83,"name":"yanjing_1","x":595},{"width":230,"y":238,"height":90,"name":"aixin","x":595}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "8b75f22c-8593-4c9c-9bd4-b79f34f20e88",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "e2d6e05c-02e2-4459-9751-7c9ed9aa9376",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1024,
"height": 1024,
"platformSettings": {},
"subMetas": {
"Dge_P_tex": {
"ver": "1.0.4",
"uuid": "e35281f5-d143-4cec-8362-6771aa24ea17",
"rawTextureUuid": "e2d6e05c-02e2-4459-9751-7c9ed9aa9376",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -5.5,
"offsetY": 242,
"trimX": 1,
"trimY": 1,
"width": 1011,
"height": 538,
"rawWidth": 1024,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "b9fcacbe-c9ef-4ea9-9378-719de3233b5b",
"subMetas": {}
}
\ No newline at end of file
{
"width": 512,
"imagePath": "bbb_tex.png",
"SubTexture": [
{
"width": 483,
"y": 1,
"height": 472,
"name": "破",
"x": 1
},
{
"width": 39,
"y": 475,
"height": 39,
"name": "泡泡1",
"x": 342
},
{
"width": 39,
"y": 475,
"height": 39,
"name": "泡泡2",
"x": 383
},
{
"width": 74,
"y": 475,
"height": 74,
"name": "泡泡3",
"x": 82
},
{
"width": 46,
"y": 475,
"height": 46,
"name": "泡泡4",
"x": 158
},
{
"width": 21,
"y": 1,
"height": 21,
"name": "泡泡5",
"x": 488
},
{
"width": 29,
"y": 475,
"height": 29,
"name": "泡泡6",
"x": 457
},
{
"width": 44,
"y": 475,
"height": 44,
"name": "泡泡7",
"x": 254
},
{
"width": 15,
"y": 24,
"height": 15,
"name": "泡泡8",
"x": 488
},
{
"width": 46,
"y": 475,
"height": 46,
"name": "泡泡9",
"x": 206
},
{
"width": 26,
"y": 506,
"height": 26,
"name": "泡泡10",
"x": 457
},
{
"width": 26,
"y": 506,
"height": 26,
"name": "泡泡11",
"x": 485
},
{
"width": 26,
"y": 534,
"height": 26,
"name": "泡泡12",
"x": 485
},
{
"width": 15,
"y": 58,
"height": 15,
"name": "泡泡13",
"x": 488
},
{
"width": 15,
"y": 41,
"height": 15,
"name": "泡泡14",
"x": 488
},
{
"width": 40,
"y": 475,
"height": 40,
"name": "泡泡15",
"x": 300
},
{
"width": 14,
"y": 75,
"height": 14,
"name": "泡泡16",
"x": 488
},
{
"width": 14,
"y": 91,
"height": 14,
"name": "泡泡17",
"x": 486
},
{
"width": 79,
"y": 475,
"height": 78,
"name": "泡泡18",
"x": 1
},
{
"width": 31,
"y": 475,
"height": 31,
"name": "19",
"x": 424
}
],
"height": 1024,
"name": "泡泡碎了"
}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "4730a7df-84b1-4aba-9104-14a18b9e3a92",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "c123d391-f8e0-4bf6-8aba-c78cabb0a3bc",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 512,
"height": 1024,
"platformSettings": {},
"subMetas": {
"bbb_tex": {
"ver": "1.0.4",
"uuid": "5fdae658-0f52-40da-99ab-ae9bafa599d5",
"rawTextureUuid": "c123d391-f8e0-4bf6-8aba-c78cabb0a3bc",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 231.5,
"trimX": 1,
"trimY": 1,
"width": 510,
"height": 559,
"rawWidth": 512,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "3508c369-60f6-4b88-a004-bb802d3abf4e",
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "fbb941aa-f19a-4436-a6ca-fc6669360eea",
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "2.3.5",
"uuid": "61a2033b-780d-4880-8d54-9e23a16c1a58",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 2048,
"platformSettings": {},
"subMetas": {
"boy_tex": {
"ver": "1.0.4",
"uuid": "3bda4b02-3b3b-49a1-995b-c78187b50217",
"rawTextureUuid": "61a2033b-780d-4880-8d54-9e23a16c1a58",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 172,
"trimX": 1,
"trimY": 1,
"width": 2045,
"height": 1702,
"rawWidth": 2048,
"rawHeight": 2048,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "ed0e0ff6-e431-412b-a54d-f0a8070fb5f5",
"subMetas": {}
}
\ No newline at end of file
{"width":512,"SubTexture":[{"width":433,"y":1,"height":181,"name":"dg23_wax/wax","x":1},{"width":54,"y":1,"height":94,"name":"dg23_wax/fire","x":436},{"width":14,"y":1,"height":115,"name":"dg23_wax/smoke1","x":492},{"width":13,"y":97,"height":83,"name":"dg23_wax/smoke2","x":436}],"height":256,"name":"dg23_wax","imagePath":"dg23_wax_tex.png"}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "c1e85967-603a-4e7d-8907-457a5dde1899",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "7b734cd7-3c85-406d-a8e9-eb98f8725f7e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 512,
"height": 256,
"platformSettings": {},
"subMetas": {
"dg23_wax_tex": {
"ver": "1.0.4",
"uuid": "d40b01c6-733a-437d-8fa5-40ee76cda25e",
"rawTextureUuid": "7b734cd7-3c85-406d-a8e9-eb98f8725f7e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -2.5,
"offsetY": 36.5,
"trimX": 1,
"trimY": 1,
"width": 505,
"height": 181,
"rawWidth": 512,
"rawHeight": 256,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "b7a4aa28-f8d0-48e0-a4d1-29cc912109ba",
"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": "boy",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 5
}
],
"_prefab": {
"__id__": 6
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 715,
"height": 943
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
0.5,
0.5,
0.5
]
},
"_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": "aniNode",
"_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": 715,
"height": 943
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
503,
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__": 2
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "normal",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "3508c369-60f6-4b88-a004-bb802d3abf4e#fbb941aa-f19a-4436-a6ca-fc6669360eea",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "3508c369-60f6-4b88-a004-bb802d3abf4e"
},
"_N$dragonAtlasAsset": {
"__uuid__": "fbb941aa-f19a-4436-a6ca-fc6669360eea"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 9,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "e2c60f31-0e99-4c0d-bf7c-6355dae2c724"
},
"fileId": "27gh7VpBtEULSudnmmLQrx",
"sync": false
},
{
"__type__": "d2a28YQh/VMzIfxzeSB7pD4",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"aniBody": {
"__id__": 2
},
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "e2c60f31-0e99-4c0d-bf7c-6355dae2c724"
},
"fileId": "",
"sync": false
}
]
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "e2c60f31-0e99-4c0d-bf7c-6355dae2c724",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
import { defaultData } from "../script/defaultData";
import { defaultData } from "../script/defaultData_DG23";
export class MyCocosSceneComponent extends cc.Component {
......@@ -105,17 +105,17 @@ export class MyCocosSceneComponent extends cc.Component {
});
}
log (str) {
log(str) {
const node = cc.find('middleLayer');
if(node){
if (node) {
node.getComponent('middleLayer').log(str);
}else{
} else {
console.log(str);
}
}
async onLoadEnd() {
}
......@@ -132,7 +132,7 @@ export class MyCocosSceneComponent extends cc.Component {
// ------------------------------------------------
getSprNode(resName) {
const sf = cc.find('Canvas/res/img/' + resName).getComponent(cc.Sprite).spriteFrame;
......@@ -172,7 +172,7 @@ export class MyCocosSceneComponent extends cc.Component {
});
}
});
}else{
} else {
cb && cb();
}
}
......
export const defaultData =
{
"group_arr": [
{
"text_arr": [
{
"value": "police officer"
}
],
"anim_arr": [],
"image_arr": [
{
"value": "http://staging-teach.cdn.ireadabc.com/8eedbd4f65189b4029ac0a3364e27628.png"
}
],
"audio_arr": [],
"video_arr": [],
"group_arr": [
{
"text_arr": [
{
"value": "police"
},
{
"value": "officer"
}
],
"anim_arr": [],
"image_arr": [
{
"value": "http://staging-teach.cdn.ireadabc.com/8665e52ed373c524f55743bd21e7d606.png"
},
{
"value": "http://staging-teach.cdn.ireadabc.com/063784f68bdbb03a37d0e52b481a8095.png"
}
],
"audio_arr": [],
"video_arr": [],
"group_arr": []
}
]
},
{
"text_arr": [
{
"value": "police officer"
}
],
"anim_arr": [],
"image_arr": [
{
"value": "http://staging-teach.cdn.ireadabc.com/8eedbd4f65189b4029ac0a3364e27628.png"
}
],
"audio_arr": [],
"video_arr": [],
"group_arr": [
{
"text_arr": [
{
"value": "police"
},
{
"value": "officer"
}
],
"anim_arr": [],
"image_arr": [
{
"value": "http://staging-teach.cdn.ireadabc.com/8665e52ed373c524f55743bd21e7d606.png"
},
{
"value": "http://staging-teach.cdn.ireadabc.com/063784f68bdbb03a37d0e52b481a8095.png"
}
],
"audio_arr": [],
"video_arr": [],
"group_arr": []
}
]
}
],
"audio_url_guide": "http://staging-teach.cdn.ireadabc.com/4c8ade54b7a1ff2192f066e64d6579b0_l.mp3",
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "03c6db54-303c-4755-937d-2db247461edd",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"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
const { ccclass, property } = cc._decorator;
@ccclass
export default class TouchLogic extends cc.Component {
_cantouch: boolean;
touchVec: cc.Vec2;
private _checkAngle: number;
_endCall: Function;
protected onLoad(): void {
this._cantouch = false;
this.node.on(cc.Node.EventType.TOUCH_START, this.touchStart, this);
this.node.on(cc.Node.EventType.TOUCH_MOVE, this.touchMove, this);
}
touchStart(event: cc.Touch) {
if (!this._cantouch) return;
this.touchVec = cc.v2(0, 0)
}
touchMove(event: cc.Touch) {
if (!this._cantouch) return;
let delta = event.getDelta();
this.touchVec.addSelf(delta);
if (this.touchVec.mag() > 200) {
let angel = this.touchVec.signAngle(cc.v2(1, 0));
cc.log("angle = " + angel * 180 / 3.14);
angel = angel * 180 / 3.14
if (Math.abs(angel - this._checkAngle) < 15) {
this._endCall && this._endCall();
this._endCall = null;
this._cantouch = false;
}
}
}
checkAnge(angle: number, endCall: Function) {
this._cantouch = true;
this._checkAngle = angle;
this._endCall = endCall;
}
close() {
this._cantouch = false;
}
// update (dt) {}
}
{
"ver": "1.0.8",
"uuid": "ade7af40-d56d-4087-bbc6-2888fef55353",
"uuid": "788eca03-4052-4636-98fb-4973eae8aa55",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
// 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 { asyncPlayDragonBoneAnimation } from "../util_DG23";
const { ccclass, property } = cc._decorator;
@ccclass
export default class Boy extends cc.Component {
@property(cc.Node)
aniBody: cc.Node
aniNameList = ["run", "good", "cheer", "expect", "talk", "invite", "wave", "point"]
protected onLoad(): void {
// let index = 0;
// this.schedule(() => {
// index = index % this.aniNameList.length;
// asyncPlayDragonBoneAnimation(this.aniBody, this.aniNameList[index], 1);
// cc.log("play ani name :" + this.aniNameList[index]);
// index++;
// }, 3, 10000, 5)
// this.aniBody.getComponent(dragonBones.ArmatureDisplay)
}
playNormal() {
cc.log("play ani name : expect");
asyncPlayDragonBoneAnimation(this.aniBody, "normal", -1,)
}
async playRun(time: number = 1) {
cc.log("play ani name : run");
await asyncPlayDragonBoneAnimation(this.aniBody, "run", time);
this.playNormal();
}
async playCheer(time: number = 1) {
let localTime = time;
cc.log("play ani name : cheer");
await asyncPlayDragonBoneAnimation(this.aniBody, "cheer", time);
this.playNormal();
}
async playExpect(time: number = 1) {
let localTime = time;
cc.log("play ani name : expect");
await asyncPlayDragonBoneAnimation(this.aniBody, "expect", time);
this.playNormal();
}
async playtalk(time: number = 1) {
let localTime = time;
cc.log("play ani name : talk");
await asyncPlayDragonBoneAnimation(this.aniBody, "talk", time,)
this.playNormal();
}
async playGood(time: number = 1) {
let localTime = time;
cc.log("play ani name : good");
await asyncPlayDragonBoneAnimation(this.aniBody, "good", time)
this.playNormal();
}
async playWave(time: number = 1) {
let localTime = time;
cc.log("play ani name : wave");
await asyncPlayDragonBoneAnimation(this.aniBody, "wave", time)
this.playNormal();
}
async playPoint(time: number = 1) {
let localTime = time;
cc.log("play ani name : point");
await asyncPlayDragonBoneAnimation(this.aniBody, "point", time)
this.playNormal();
}
async playInvite(time: number = 1) {
let localTime = time;
cc.log("play ani name : invite");
await asyncPlayDragonBoneAnimation(this.aniBody, "invite", time)
this.playNormal();
}
// update (dt) {}
}
{
"ver": "1.0.8",
"uuid": "d2a28610-87f5-4ccc-87f1-cde481ee90f8",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
......@@ -4,6 +4,6 @@
"isPlugin": true,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"loadPluginInEditor": true,
"subMetas": {}
}
\ No newline at end of file
export enum gameState {
}
export function getPosByAngle(angle, len) {
const radian = angle * Math.PI / 180;
......@@ -71,64 +81,64 @@ export function setSprNodeMaxLen(sprNode, maxW, maxH) {
}
export function localPosTolocalPos(baseNode, targetNode) {
const worldPos = targetNode.parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y));
const localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y));
return localPos;
const worldPos = targetNode.parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y));
const localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y));
return localPos;
}
export function worldPosToLocalPos(worldPos, baseNode) {
const localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y));
return localPos;
const localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y));
return localPos;
}
export function getScaleRateBy2Node(baseNode, targetNode, maxFlag = true) {
const worldRect1 = targetNode.getBoundingBoxToWorld();
const worldRect2 = baseNode.getBoundingBoxToWorld();
const sx = worldRect1.width / worldRect2.width;
const sy = worldRect1.height / worldRect2.height;
if (maxFlag) {
return Math.max(sx, sy);
} else {
return Math.min(sx, sy);
}
const worldRect1 = targetNode.getBoundingBoxToWorld();
const worldRect2 = baseNode.getBoundingBoxToWorld();
const sx = worldRect1.width / worldRect2.width;
const sy = worldRect1.height / worldRect2.height;
if (maxFlag) {
return Math.max(sx, sy);
} else {
return Math.min(sx, sy);
}
}
export function getDistance (start, end){
var pos = cc.v2(start.x - end.x, start.y - end.y);
var dis = Math.sqrt(pos.x*pos.x + pos.y*pos.y);
return dis;
export function getDistance(start, end) {
var pos = cc.v2(start.x - end.x, start.y - end.y);
var dis = Math.sqrt(pos.x * pos.x + pos.y * pos.y);
return dis;
}
export function playAudioByUrl(audio_url, cb=null) {
if (audio_url) {
cc.assetManager.loadRemote(audio_url, (err, audioClip) => {
export function 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();
});
}
});
}
});
}
}
export function btnClickAnima(btn, time=0.15, rate=1.05) {
export function btnClickAnima(btn, time = 0.15, rate = 1.05) {
btn.tmpScale = btn.scale;
btn.on(cc.Node.EventType.TOUCH_START, () => {
cc.tween(btn)
.to(time / 2, {scale: btn.scale * rate})
.to(time / 2, { scale: btn.scale * rate })
.start()
})
btn.on(cc.Node.EventType.TOUCH_CANCEL, () => {
cc.tween(btn)
.to(time / 2, {scale: btn.tmpScale})
.to(time / 2, { scale: btn.tmpScale })
.start()
})
btn.on(cc.Node.EventType.TOUCH_END, () => {
cc.tween(btn)
.to(time / 2, {scale: btn.tmpScale})
.to(time / 2, { scale: btn.tmpScale })
.start()
})
}
......@@ -177,83 +187,17 @@ export function playAudio(audioClip, cb = null) {
export async function asyncDelay(time) {
return new Promise((resolve, reject) => {
try {
cc.tween(cc.find('Canvas'))
const canvas = cc.find('Canvas');
cc.tween(canvas)
.delay(time)
.call(()=>{
.call(() => {
resolve(null);
})
.start();
} catch (e) {
reject(e);
}
})
}
export async function asyncLoadDragonBoneAnime(node, { skeJsonData: { url: skeJsonDataUrl }, texJsonData: { url: texJsonDataUrl }, texPngData: { url: texPngDataUrl } }) {
if (!texPngDataUrl || !texJsonDataUrl || !texPngDataUrl
|| texPngDataUrl == '' || texJsonDataUrl == '' || texPngDataUrl == '') {
return;
}
return new Promise((resolve, reject) => {
if (node.animaNode) {
node.animaNode.removeFromParent();
}
const animaNode = new cc.Node();
animaNode.name = 'animaNode';
animaNode.parent = node;
animaNode.active = true;
node.animaNode = animaNode;
const dragonDisplay = animaNode.addComponent(dragonBones.ArmatureDisplay);
const loadTexture = new Promise((resolve, reject) => {
cc.assetManager.loadRemote(texPngDataUrl, (error, texture) => {
if (error) {
reject(error);
}
resolve(texture);
});
});
const loadTexJsonData = new Promise((resolve, reject) => {
cc.assetManager.loadAny({ url: texJsonDataUrl }, (error, atlasJson) => {
if (error) {
reject(error);
}
resolve(atlasJson);
});
});
const loadSkeJsonData = new Promise((resolve, reject) => {
cc.assetManager.loadAny({ url: skeJsonDataUrl }, (error, dragonBonesJson) => {
if (error) {
reject(error);
}
resolve(dragonBonesJson);
});
});
Promise.all([loadTexture, loadTexJsonData, loadSkeJsonData]).then(([texture, atlasJson, dragonBonesJson]) => {
const atlas = new dragonBones.DragonBonesAtlasAsset();
atlas.atlasJson = JSON.stringify(atlasJson);
atlas.texture = texture;
const asset = new dragonBones.DragonBonesAsset();
asset.dragonBonesJson = JSON.stringify(dragonBonesJson);
dragonDisplay.dragonAtlasAsset = atlas;
dragonDisplay.dragonAsset = asset;
let armatureNames = dragonBonesJson.armature.map(data => data.name);
if (armatureNames.length > 0) {
dragonDisplay.armatureName = armatureNames[0];
}
resolve(animaNode);
});
});
});
}
export class FireworkSettings {
......@@ -411,65 +355,64 @@ export function showTrebleFirework(baseNode, rabbonList) {
showFireworks(right);
}
export function httpHeadCall(requsetUrl: string, callback) {
let xhr = new XMLHttpRequest();
console.log("Status: Send Post Request to " + requsetUrl);
try {
xhr.onreadystatechange = () => {
try {
console.log('xhr.readyState: ', xhr.readyState);
if (xhr.readyState == 4) {
if ((xhr.status >= 200 && xhr.status < 400)) {
callback(true);
} else {
callback(false);
}
}
} catch (e) {
console.log(e)
}
};
xhr.open("HEAD", requsetUrl, true);
xhr.send();
xhr.timeout = 15000;
xhr.onerror = (e) => {
callback(false);
};
xhr.ontimeout = (e) => {
callback(false);
};
} catch (e) {
console.log("Send Get Request error: ", e);
}
}
export function onHomeworkFinish(data = "", callback = ()=>{}) {
export function onHomeworkFinish(data: any = null) {
const middleLayer = cc.find('middleLayer');
if (middleLayer) {
const middleLayerComponent = middleLayer.getComponent('middleLayer');
middleLayerComponent.onHomeworkFinish(callback, data);
if (middleLayerComponent.role == 'student') {
middleLayerComponent.onHomeworkFinish(() => { }, data);
}
} else {
console.log('onHomeworkFinish', JSON.stringify(data));
console.log('onHomeworkFinish');
}
}
export function callMiddleLayerFunction(apiName: string, data: any, callback: Function) {
const middleLayer = cc.find('middleLayer');
if (middleLayer) {
const middleLayerComponent = middleLayer.getComponent('middleLayer');
middleLayerComponent.callMiddleLayerFunction(apiName, data, callback);
export async function asyncPlayDragonBoneAnimation(node, animationName, time = 1, onFrameEvent = null) {
return new Promise((resolve, reject) => {
node.getComponent(dragonBones.ArmatureDisplay)
.once(dragonBones.EventObject.COMPLETE, () => {
cc.log("once end:-----")
resolve(null);
});
node.getComponent(dragonBones.ArmatureDisplay)
.on(dragonBones.EventObject.FRAME_EVENT, ({ name }) => {
if (onFrameEvent && typeof (onFrameEvent) == 'function') {
cc.log("onFrameEvent:" + name)
onFrameEvent(name);
}
});
node.getComponent(dragonBones.ArmatureDisplay)
.playAnimation(animationName, time);
});
}
export function getLv(num) {
if (num < 1000) {
return 0;
} else if (num < 5000) {
return 1;
} else if (num < 20000) {
return 2;
} else {
console.log('callMiddleLayerFunction: ' + apiName);
return 3;
}
}
export function showTips(tips) {
const middleLayer = cc.find('middleLayer');
if (middleLayer) {
middleLayer.getComponent('middleLayer').showTips(tips);
export function getMinLv(num) {
if (num < 1000) {
return Math.floor(num / 200);
} else if (num < 5000) {
return Math.floor((num - 1000) / 800);;
} else if (num < 20000) {
return Math.floor((num - 5000) / 3000);;
} else {
console.log(tips);
return Math.floor((num - 20000) / 6000);;
}
}
{
"ver": "1.0.8",
"uuid": "ff1529d1-c2a6-4aa0-8dcc-801e3e9934af",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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