Commit c4a669ba authored by limingzhe's avatar limingzhe

fix: debug

parent a3f5ba9f
No preview for this file type
{
"ver": "1.1.2",
"uuid": "0853721c-3f55-4eb2-873d-e3081cfadd4b",
"uuid": "a5133ac1-d7a3-4909-a7d3-538474829b5b",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "1.1.2",
"uuid": "cb9fa4ea-66ca-45af-ad31-e445c7b0ef32",
"uuid": "2cadcfc9-6c7d-4639-a0ac-ede651b8ef1a",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "2.0.1",
"uuid": "52df5730-90b9-4a43-ae9f-6208c7b83789",
"downloadMode": 0,
"duration": 72.061625,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "f0680ae0-c079-45ef-abd7-9e63d90b982b",
"uuid": "099a7b34-1a22-4a59-a80e-170120ae446a",
"downloadMode": 0,
"duration": 0.130612,
"duration": 1.288,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "24adb399-dadf-4a72-98aa-a80a2df5afb6",
"downloadMode": 0,
"duration": 0.10449,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "330e61bb-8350-4aaf-b611-d8a2f9414cde",
"downloadMode": 0,
"duration": 1.227755,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "5d0ab958-3850-4582-94cf-f81152fd4ad3",
"downloadMode": 0,
"duration": 2.5861,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "3a5a3f8d-0ec3-4554-a98f-fca4126d24b2",
"downloadMode": 0,
"duration": 1.123265,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "ab7ed82e-7f36-4a90-8c3d-bbad55e08fe9",
"downloadMode": 0,
"duration": 0.10449,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "8eff5dc8-f0ce-428c-889c-82d581302184",
"downloadMode": 0,
"duration": 4.618667,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "20185448-a1ca-4de2-8b37-7bf6cdfccbae",
"uuid": "99fb6e5e-4ba4-430c-bea4-81382d13b062",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "1.1.0",
"uuid": "c551970e-b095-45f3-9f1d-25cde8b8deb1",
"uuid": "5ebfa331-1bce-4cdf-85e0-e22161559332",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "3ae7acb1-0b9a-414d-83e1-487af173cc86",
"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
import {
RandomInt
} from '../script/SN11_utils';
cc.Class({
extends: cc.Component,
properties: {
// foo: {
// // ATTRIBUTES:
// default: null, // The default value will be used only when the component attaching
// // to a node for the first time
// type: cc.SpriteFrame, // optional, default is typeof default
// serializable: true, // optional, default is true
// },
// bar: {
// get () {
// return this._bar;
// },
// set (value) {
// this._bar = value;
// }
// },
},
// LIFE-CYCLE CALLBACKS:
// onLoad () {},
start() {
let bg_leaf1 = this.node.getChildByName('bg_leaf1');
let bg_leaf2 = this.node.getChildByName('bg_leaf2');
let bg_tree = this.node.getChildByName('bg_tree');
let bg_tree2 = this.node.getChildByName('bg_tree2');
let bg_tree3 = this.node.getChildByName('bg_tree3');
let bg_cloud1 = this.node.getChildByName('bg_cloud1');
let bg_cloud2 = this.node.getChildByName('bg_cloud2');
let nodeList = [
bg_tree,
bg_tree2,
bg_tree3,
bg_leaf1,
bg_leaf2,
bg_cloud1,
bg_cloud2
];
nodeList.forEach((node) => {
node.active = false;
});
let idx = RandomInt(nodeList.length);
nodeList[idx].active = true;
this.node.zIndex = idx;
},
// update (dt) {},
});
{
"ver": "1.0.8",
"uuid": "f8b451ff-857c-4ca8-9870-866bc5154a29",
"uuid": "3c61a313-6d35-45ca-9305-7cbac3e23c6c",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
This diff is collapsed.
{
"ver": "1.2.9",
"uuid": "eee1edf6-baf2-47b1-8904-ddd827ce3315",
"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": "NodeRibbon",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 5
},
{
"__id__": 8
},
{
"__id__": 11
}
],
"_active": true,
"_components": [],
"_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": 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": "Ribbon_0",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_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": 75,
"height": 64
},
"_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__": 2
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "06b87f5e-2b4a-49a6-a8b5-b229154cb1cd"
},
"_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__": "08390cac-af36-4c30-a2ae-2bdac21b8ec8"
},
"fileId": "cdBQ1XicBHU5u1GH9ea4aW",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "Ribbon_1",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_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": 53,
"height": 53
},
"_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__": 5
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "54127d63-cc51-42ce-917b-ce5aa48f7c8c"
},
"_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__": "08390cac-af36-4c30-a2ae-2bdac21b8ec8"
},
"fileId": "cdMxq8dRBE7aGCh7nIlGZZ",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "Ribbon_2",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_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": 103,
"height": 65
},
"_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__": 8
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e6883c14-33db-4dfc-86ce-5293c88acf1b"
},
"_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__": "08390cac-af36-4c30-a2ae-2bdac21b8ec8"
},
"fileId": "45pPEPLOxKdZxisVTyXQTB",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "Ribbon_3",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 12
}
],
"_prefab": {
"__id__": 13
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 75,
"height": 78
},
"_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__": 11
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5bf80955-eed8-4d0b-9ed2-ecee84df57c9"
},
"_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__": "08390cac-af36-4c30-a2ae-2bdac21b8ec8"
},
"fileId": "1fY4J6At1DvLWMx2awHiL9",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "08390cac-af36-4c30-a2ae-2bdac21b8ec8"
},
"fileId": "046iEUEXdDkbT12CJ3Pyvo",
"sync": false
}
]
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "08390cac-af36-4c30-a2ae-2bdac21b8ec8",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "e8bd16b0-3804-45a9-a8ca-f52c02224f55",
"uuid": "466154a4-5acf-408a-b8e0-6dc365bfd8f2",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
This diff is collapsed.
{
"ver": "1.2.9",
"uuid": "0737ce42-24f0-45c6-8e1a-8bdab4f74ba3",
"uuid": "fe9d920e-e074-41da-843d-b8b218dbf656",
"asyncLoadAssets": false,
"autoReleaseAssets": true,
"subMetas": {}
......
This diff is collapsed.
{
"ver": "1.0.8",
"uuid": "c41b0e51-55d7-443c-af3a-b22c3dd9b9e5",
"uuid": "143bc45e-7157-4c1f-a0ce-6fd0c720e8a6",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
{
"ver": "1.2.9",
"uuid": "efaadbb0-974b-4573-9af5-e1b0d833aff6",
"asyncLoadAssets": false,
"autoReleaseAssets": true,
"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
import {
exchangeNodePos,
asyncTweenTo,
asyncPlayDragonBoneAnimation,
asyncDelayTime,
RandomInt
} from '../script/SN11_utils';
cc.Class({
extends: cc.Component,
properties: {
ribbonPrefab: {
type: cc.Prefab,
default: null,
},
结束: {
default: null,
type: cc.AudioClip
},
点击: {
default: null,
type: cc.AudioClip
},
},
// LIFE-CYCLE CALLBACKS:
// onLoad () {},
async start() {
cc.audioEngine.play(this['结束']);
const btnRestart = cc.find('Canvas/BtnRestart');
btnRestart.active = false;
btnRestart.opacity = 0;
const nodeCharactor = cc.find('Canvas/NodeCharactor');
await asyncTweenTo(nodeCharactor, 0.6, { y: 150 }, { easing: 'quadOut' });
this.showRibbons();
nodeCharactor.zIndex = 10;
await asyncTweenTo(nodeCharactor, 0.6 / 3, { y: 50 }, { easing: 'quadIn' });
asyncPlayDragonBoneAnimation(nodeCharactor, 'wave', -1);
await asyncDelayTime(1);
this.showFinishStone();
await asyncDelayTime(3);
btnRestart.active = true;
btnRestart.zIndex = 30;
await asyncTweenTo(btnRestart, 0.3, { opacity: 255 });
btnRestart.on('click', () => {
btnRestart.off('click');
cc.tween(btnRestart)
.to(0.3, { scale: 3, opacity: 0 })
.call(() => {
cc.audioEngine.play(this['点击']);
btnRestart.active = false;
cc.director.loadScene('tyzdc', () => {
const btnStart = cc.find(`Canvas/BtnStart`);
btnStart.active = false;
// cc.find(`Canvas`).getComponent('tyzdc').gameStart();
});
})
.start();
});
},
showFinishStone() {
const stoneNodeBase = cc.find('Canvas/StoneNodeBase');
stoneNodeBase.active = true;
stoneNodeBase.zIndex = 25;
stoneNodeBase.opacity = 255;
const nodeLight = cc.find('Canvas/StoneNodeBase/NodeLight');
nodeLight.opacity = 0;
cc.tween(nodeLight)
.to(3, { opacity: 255, angle: -360 })
.by(3, { angle: -360 })
.repeatForever()
.start();
for (let index = 0; index < 6; index++) {
const nodeStar = cc.find(`Canvas/StoneNodeBase/NodeStarBase/NodeStar_${index}`);
nodeStar.scale = Math.random() * 0.7 + 0.3;
cc.tween(nodeStar)
.to(1, { scale: 0, opacity: 0 })
.delay(Math.random())
.to(1, { scale: Math.random() * 0.7 + 0.3, opacity: 255 })
.union()
.repeatForever()
.start();
}
},
showRibbons() {
for (let index = 0; index < 50; index++) {
let node = cc.instantiate(this.ribbonPrefab);
node.getChildByName(`Ribbon_${RandomInt(4)}`).active = true;
node.x = RandomInt(-640, 640);
node.y = RandomInt(360, 360 + 720);
node.zIndex = 20;
node.parent = this.node;
cc.tween(node)
.by(1, { x: RandomInt(-100, 100), y: RandomInt(-300, -350), angle: RandomInt(-30, 30) })
.repeatForever()
.start();
}
},
// update (dt) {},
});
{
"ver": "1.0.8",
"uuid": "ade7af40-d56d-4087-bbc6-2888fef55353",
"uuid": "84fd9755-1057-4214-85ff-f36f8e6ac7d2",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
{
"ver": "1.1.2",
"uuid": "b0c008bc-cf92-463b-8360-0984e13c2e4d",
"uuid": "51a2c796-c827-45aa-88b4-6235ad4c4f03",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
// 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: {
// foo: {
// // ATTRIBUTES:
// default: null, // The default value will be used only when the component attaching
// // to a node for the first time
// type: cc.SpriteFrame, // optional, default is typeof default
// serializable: true, // optional, default is true
// },
// bar: {
// get () {
// return this._bar;
// },
// set (value) {
// this._bar = value;
// }
// },
bgm: {
default: null,
type: cc.AudioClip
},
星星: {
default: null,
type: cc.AudioClip
},
爆炸: {
default: null,
type: cc.AudioClip
},
眩晕: {
default: null,
type: cc.AudioClip
},
: {
default: null,
type: cc.AudioClip
},
移动: {
default: null,
type: cc.AudioClip
},
结束: {
default: null,
type: cc.AudioClip
},
点击: {
default: null,
type: cc.AudioClip
},
},
// LIFE-CYCLE CALLBACKS:
// onLoad () {},
start() {
},
playEffect(name, loop = false, volume = 1) {
cc.audioEngine.play(this[name], loop, volume);
}
// update (dt) {},
});
{
"ver": "1.0.8",
"uuid": "408a67f8-65fa-4cf1-8cf2-83e20e1a0fd5",
"uuid": "139321c1-5e82-4dca-b6b7-b91192c55022",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
module.exports = {
roundList: [{
audio: 'ball',
questionList: [{
rightAudio: 'b',
rightWord: 'b',
wrongWordList: ['p', 'd'],
wrongAudioList: ['p.mp3', 'd.mp3'],
}, {
rightAudio: 'a',
rightWord: 'all',
wrongWordList: ['ao', 'arl'],
wrongAudioList: ['ao.mp3', 'arl.mp3'],
}]
}, {
audio: 'banana',
questionList: [{
rightAudio: 'baa',
rightWord: 'ba',
wrongWordList: ['pa', 'da'],
wrongAudioList: ['pa.mp3', 'da.mp3'],
}, {
rightAudio: 'na',
rightWord: 'na',
wrongWordList: ['ma', 'ha'],
wrongAudioList: ['ma.mp3', 'ha.mp3'],
}, {
rightAudio: 'na',
rightWord: 'na',
wrongWordList: ['ma', 'ha'],
wrongAudioList: ['ma.mp3', 'ha.mp3'],
}]
}],
}
{
"ver": "1.0.8",
"uuid": "72ab81e7-ddb1-4ca3-b4f6-0a1c697a22ae",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
export function getPosByAngle(angle, len) {
const radian = angle * Math.PI / 180;
const x = Math.sin(radian) * len;
const y = Math.cos(radian) * len;
return { x, y };
}
export function getAngleByPos(px, py, mx, my) {
const x = Math.abs(px - mx);
const y = Math.abs(py - my);
const z = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));
const cos = y / z;
const radina = Math.acos(cos); // 用反三角函数求弧度
let angle = Math.floor(180 / (Math.PI / radina) * 100) / 100; // 将弧度转换成角度
if (mx > px && my > py) {// 鼠标在第四象限
angle = 180 - angle;
}
if (mx === px && my > py) {// 鼠标在y轴负方向上
angle = 180;
}
if (mx > px && my === py) {// 鼠标在x轴正方向上
angle = 90;
}
if (mx < px && my > py) {// 鼠标在第三象限
angle = 180 + angle;
}
if (mx < px && my === py) {// 鼠标在x轴负方向
angle = 270;
}
if (mx < px && my < py) {// 鼠标在第二象限
angle = 360 - angle;
}
// console.log('angle: ', angle);
return angle;
}
export function exchangeNodePos(baseNode, targetNode) {
return baseNode.convertToNodeSpaceAR(targetNode._parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y)));
}
export function RandomInt(a, b = 0) {
let max = Math.max(a, b);
let min = Math.min(a, b);
return Math.floor(Math.random() * (max - min) + min);
}
export function randomSortByArr(arr) {
const newArr = [];
const tmpArr = arr.concat();
while (tmpArr.length > 0) {
const randomIndex = Math.floor(tmpArr.length * Math.random());
newArr.push(tmpArr[randomIndex]);
tmpArr.splice(randomIndex, 1);
}
return newArr;
}
export async function asyncTweenTo(node, duration, obj, ease = undefined) {
return new Promise((resolve, reject) => {
cc.tween(node)
.to(duration, obj, ease)
.call(() => {
resolve();
})
.start();
});
}
export async function asyncPlayDragonBoneAnimation(node, animationName, time = 1) {
return new Promise((resolve, reject) => {
node.getComponent(dragonBones.ArmatureDisplay)
.once(dragonBones.EventObject.COMPLETE, () => {
console.log('COMPLETE');
resolve();
});
node.getComponent(dragonBones.ArmatureDisplay)
.playAnimation(animationName, time);
});
}
export async function asyncPlayEffectByUrl(url, loop = false) {
return new Promise((resolve, reject) => {
cc.assetManager.loadRemote(url, (err, clip) => {
console.log(clip);
cc.audioEngine.playEffect(clip, loop);
});
});
}
export function asyncDelayTime(time) {
return new Promise((resolve, reject) => {
setTimeout(() => {
resolve();
}, time);
});
}
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "1e1cdb20-771b-4c1a-998f-9d12a8934da8",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
......@@ -5,9 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/
cc.sys.capabilities["touches"] = true;
!(function (global) {
!(function(global) {
"use strict";
var Op = Object.prototype;
......@@ -80,9 +78,9 @@ cc.sys.capabilities["touches"] = true;
// .constructor.prototype properties for functions that return Generator
// objects. For full spec compliance, you may wish to configure your
// minifier not to mangle the names of these two functions.
function Generator() { }
function GeneratorFunction() { }
function GeneratorFunctionPrototype() { }
function Generator() {}
function GeneratorFunction() {}
function GeneratorFunctionPrototype() {}
// This is a polyfill for %IteratorPrototype% for environments that
// don't natively support it.
......@@ -111,14 +109,14 @@ cc.sys.capabilities["touches"] = true;
// Helper for defining the .next, .throw, and .return methods of the
// Iterator interface in terms of a single ._invoke method.
function defineIteratorMethods(prototype) {
["next", "throw", "return"].forEach(function (method) {
prototype[method] = function (arg) {
["next", "throw", "return"].forEach(function(method) {
prototype[method] = function(arg) {
return this._invoke(method, arg);
};
});
}
runtime.isGeneratorFunction = function (genFun) {
runtime.isGeneratorFunction = function(genFun) {
var ctor = typeof genFun === "function" && genFun.constructor;
return ctor
? ctor === GeneratorFunction ||
......@@ -128,7 +126,7 @@ cc.sys.capabilities["touches"] = true;
: false;
};
runtime.mark = function (genFun) {
runtime.mark = function(genFun) {
if (Object.setPrototypeOf) {
Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
} else {
......@@ -145,7 +143,7 @@ cc.sys.capabilities["touches"] = true;
// `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
// `hasOwn.call(value, "__await")` to determine if the yielded value is
// meant to be awaited.
runtime.awrap = function (arg) {
runtime.awrap = function(arg) {
return { __await: arg };
};
......@@ -160,14 +158,14 @@ cc.sys.capabilities["touches"] = true;
if (value &&
typeof value === "object" &&
hasOwn.call(value, "__await")) {
return Promise.resolve(value.__await).then(function (value) {
return Promise.resolve(value.__await).then(function(value) {
invoke("next", value, resolve, reject);
}, function (err) {
}, function(err) {
invoke("throw", err, resolve, reject);
});
}
return Promise.resolve(value).then(function (unwrapped) {
return Promise.resolve(value).then(function(unwrapped) {
// When a yielded Promise is resolved, its final value becomes
// the .value of the Promise<{value,done}> result for the
// current iteration. If the Promise is rejected, however, the
......@@ -193,7 +191,7 @@ cc.sys.capabilities["touches"] = true;
function enqueue(method, arg) {
function callInvokeWithMethodAndArg() {
return new Promise(function (resolve, reject) {
return new Promise(function(resolve, reject) {
invoke(method, arg, resolve, reject);
});
}
......@@ -233,14 +231,14 @@ cc.sys.capabilities["touches"] = true;
// Note that simple async functions are implemented on top of
// AsyncIterator objects; they just return a Promise for the value of
// the final result produced by the iterator.
runtime.async = function (innerFn, outerFn, self, tryLocsList) {
runtime.async = function(innerFn, outerFn, self, tryLocsList) {
var iter = new AsyncIterator(
wrap(innerFn, outerFn, self, tryLocsList)
);
return runtime.isGeneratorFunction(outerFn)
? iter // If outerFn is a generator, return the full iterator.
: iter.next().then(function (result) {
: iter.next().then(function(result) {
return result.done ? result.value : iter.next();
});
};
......@@ -368,7 +366,7 @@ cc.sys.capabilities["touches"] = true;
var info = record.arg;
if (!info) {
if (! info) {
context.method = "throw";
context.arg = new TypeError("iterator result is not an object");
context.delegate = null;
......@@ -416,11 +414,11 @@ cc.sys.capabilities["touches"] = true;
// iterator prototype chain incorrectly implement this, causing the Generator
// object to not be returned from this call. This ensures that doesn't happen.
// See https://github.com/facebook/regenerator/issues/274 for more details.
Gp[iteratorSymbol] = function () {
Gp[iteratorSymbol] = function() {
return this;
};
Gp.toString = function () {
Gp.toString = function() {
return "[object Generator]";
};
......@@ -455,7 +453,7 @@ cc.sys.capabilities["touches"] = true;
this.reset(true);
}
runtime.keys = function (object) {
runtime.keys = function(object) {
var keys = [];
for (var key in object) {
keys.push(key);
......@@ -525,7 +523,7 @@ cc.sys.capabilities["touches"] = true;
Context.prototype = {
constructor: Context,
reset: function (skipTempReset) {
reset: function(skipTempReset) {
this.prev = 0;
this.next = 0;
// Resetting context._sent for legacy support of Babel's
......@@ -551,7 +549,7 @@ cc.sys.capabilities["touches"] = true;
}
},
stop: function () {
stop: function() {
this.done = true;
var rootEntry = this.tryEntries[0];
......@@ -563,7 +561,7 @@ cc.sys.capabilities["touches"] = true;
return this.rval;
},
dispatchException: function (exception) {
dispatchException: function(exception) {
if (this.done) {
throw exception;
}
......@@ -581,7 +579,7 @@ cc.sys.capabilities["touches"] = true;
context.arg = undefined;
}
return !!caught;
return !! caught;
}
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
......@@ -623,7 +621,7 @@ cc.sys.capabilities["touches"] = true;
}
},
abrupt: function (type, arg) {
abrupt: function(type, arg) {
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
if (entry.tryLoc <= this.prev &&
......@@ -657,7 +655,7 @@ cc.sys.capabilities["touches"] = true;
return this.complete(record);
},
complete: function (record, afterLoc) {
complete: function(record, afterLoc) {
if (record.type === "throw") {
throw record.arg;
}
......@@ -676,7 +674,7 @@ cc.sys.capabilities["touches"] = true;
return ContinueSentinel;
},
finish: function (finallyLoc) {
finish: function(finallyLoc) {
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
if (entry.finallyLoc === finallyLoc) {
......@@ -687,7 +685,7 @@ cc.sys.capabilities["touches"] = true;
}
},
"catch": function (tryLoc) {
"catch": function(tryLoc) {
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
if (entry.tryLoc === tryLoc) {
......@@ -705,7 +703,7 @@ cc.sys.capabilities["touches"] = true;
throw new Error("illegal catch attempt");
},
delegateYield: function (iterable, resultName, nextLoc) {
delegateYield: function(iterable, resultName, nextLoc) {
this.delegate = {
iterator: values(iterable),
resultName: resultName,
......@@ -725,5 +723,5 @@ cc.sys.capabilities["touches"] = true;
// In sloppy mode, unbound `this` refers to the global object, fallback to
// Function constructor if we're in global strict mode. That is sadly a form
// of indirect eval which violates Content Security Policy.
(function () { return this })() || Function("return this")()
(function() { return this })() || Function("return this")()
);
{
"ver": "1.0.8",
"uuid": "b54300af-b8e5-4b4e-aa2f-9ac1cef7b598",
"uuid": "76c19aa8-a937-452e-82ae-b88a76ddd681",
"isPlugin": true,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
{
"ver": "1.1.2",
"uuid": "62604e69-044b-49e0-ac19-b1e896b259c4",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "e1b4d971-9876-4832-803a-5a321964a78b",
"uuid": "26d6089e-f6d0-42c3-b864-fd698dd44b92",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
......@@ -11,10 +11,10 @@
"height": 720,
"platformSettings": {},
"subMetas": {
"bg": {
"bg_bg": {
"ver": "1.0.4",
"uuid": "8288e3d4-4c75-4b27-8f01-f7014417f4dd",
"rawTextureUuid": "e1b4d971-9876-4832-803a-5a321964a78b",
"uuid": "e451cdf9-823f-487d-89d8-17a2f3a752c2",
"rawTextureUuid": "26d6089e-f6d0-42c3-b864-fd698dd44b92",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......
{
"ver": "2.3.5",
"uuid": "efa5fa09-a4dd-4bfc-ab7e-17c19f85408f",
"uuid": "3ac7ca89-e780-4713-95ec-7362be6a1ab7",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 366,
"height": 336,
"width": 1280,
"height": 720,
"platformSettings": {},
"subMetas": {
"1orange": {
"bg_bg2": {
"ver": "1.0.4",
"uuid": "43d1e79d-6de8-4dcb-b8ce-d767df7913aa",
"rawTextureUuid": "efa5fa09-a4dd-4bfc-ab7e-17c19f85408f",
"uuid": "8f090bfe-0581-4f8c-96f6-0b9b2483efa6",
"rawTextureUuid": "3ac7ca89-e780-4713-95ec-7362be6a1ab7",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -0.5,
"offsetY": 0,
"trimX": 0,
"trimY": 1,
"width": 366,
"height": 335,
"rawWidth": 366,
"rawHeight": 336,
"trimY": 0,
"width": 1280,
"height": 720,
"rawWidth": 1280,
"rawHeight": 720,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "d91b091a-4cb5-4094-ad01-33617fc23882",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1280,
"height": 358,
"platformSettings": {},
"subMetas": {
"bg_bg3": {
"ver": "1.0.4",
"uuid": "82818499-61c3-4bf3-9eef-bdf733dccde4",
"rawTextureUuid": "d91b091a-4cb5-4094-ad01-33617fc23882",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1280,
"height": 358,
"rawWidth": 1280,
"rawHeight": 358,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d582359e-924e-4ee9-9964-1fc4bb417e71",
"uuid": "347ffba9-afc3-4f11-89c2-0c3986a2ff67",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 61,
"height": 67,
"width": 220,
"height": 261,
"platformSettings": {},
"subMetas": {
"btn_right": {
"bg_blue": {
"ver": "1.0.4",
"uuid": "e5a2dbaa-a677-4a32-90d7-a1b057d7fb59",
"rawTextureUuid": "d582359e-924e-4ee9-9964-1fc4bb417e71",
"uuid": "381af598-a3d7-4b12-8c65-46afbdd0f951",
"rawTextureUuid": "347ffba9-afc3-4f11-89c2-0c3986a2ff67",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 0.5,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 60,
"height": 66,
"rawWidth": 61,
"rawHeight": 67,
"width": 220,
"height": 261,
"rawWidth": 220,
"rawHeight": 261,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "27fb3650-901d-4cd4-ab8e-0d735796583a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 220,
"height": 261,
"platformSettings": {},
"subMetas": {
"bg_blue2": {
"ver": "1.0.4",
"uuid": "39ac965b-2cf6-439e-8c9a-8590744e0269",
"rawTextureUuid": "27fb3650-901d-4cd4-ab8e-0d735796583a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 220,
"height": 261,
"rawWidth": 220,
"rawHeight": 261,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "5aefa763-449b-484f-abd0-4887a25d5f72",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 220,
"height": 261,
"platformSettings": {},
"subMetas": {
"bg_blue3": {
"ver": "1.0.4",
"uuid": "0480ca93-ad8a-4bb7-a315-cc7fa5a30314",
"rawTextureUuid": "5aefa763-449b-484f-abd0-4887a25d5f72",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 220,
"height": 261,
"rawWidth": 220,
"rawHeight": 261,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "0d3bdae3-abdd-494f-821e-4472d0bcb255",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 208,
"height": 243,
"platformSettings": {},
"subMetas": {
"bg_car": {
"ver": "1.0.4",
"uuid": "93bf2bbb-17fc-481e-9fd6-4b9b87b75ffc",
"rawTextureUuid": "0d3bdae3-abdd-494f-821e-4472d0bcb255",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 208,
"height": 243,
"rawWidth": 208,
"rawHeight": 243,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "add809f3-9750-4a7c-a81f-69c226b0dce5",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 459,
"height": 312,
"platformSettings": {},
"subMetas": {
"bg_carlight": {
"ver": "1.0.4",
"uuid": "3a6ef082-d8ed-4ca3-8182-a242c91fbf0a",
"rawTextureUuid": "add809f3-9750-4a7c-a81f-69c226b0dce5",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 459,
"height": 312,
"rawWidth": 459,
"rawHeight": 312,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "09510c5c-cc23-4347-a778-bd5aa8ae742a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 129,
"height": 207,
"platformSettings": {},
"subMetas": {
"bg_cloud1": {
"ver": "1.0.4",
"uuid": "077538fe-43ab-4fb0-a626-81964c5ec698",
"rawTextureUuid": "09510c5c-cc23-4347-a778-bd5aa8ae742a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 129,
"height": 207,
"rawWidth": 129,
"rawHeight": 207,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "71af4c67-5770-4b40-ba61-19ccf0e6f94d",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 193,
"height": 237,
"platformSettings": {},
"subMetas": {
"bg_cloud2": {
"ver": "1.0.4",
"uuid": "8a175eab-1e21-4295-9608-8522c26ec8b9",
"rawTextureUuid": "71af4c67-5770-4b40-ba61-19ccf0e6f94d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 193,
"height": 237,
"rawWidth": 193,
"rawHeight": 237,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "c504ed22-c314-47fd-b1bc-566b1ef1a56e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 18,
"height": 73,
"platformSettings": {},
"subMetas": {
"bg_dian1": {
"ver": "1.0.4",
"uuid": "1c774258-00ab-42e1-b38a-a205bcd0c4bd",
"rawTextureUuid": "c504ed22-c314-47fd-b1bc-566b1ef1a56e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 18,
"height": 73,
"rawWidth": 18,
"rawHeight": 73,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "9ee071f9-3313-46ad-a79b-d320aea99508",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 20,
"height": 32,
"platformSettings": {},
"subMetas": {
"bg_dian2": {
"ver": "1.0.4",
"uuid": "a0863e33-1f2c-45d1-9895-4a001e854723",
"rawTextureUuid": "9ee071f9-3313-46ad-a79b-d320aea99508",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 20,
"height": 32,
"rawWidth": 20,
"rawHeight": 32,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "8dff9a1e-ad17-43a3-a884-1afbb55ea12e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 30,
"height": 54,
"platformSettings": {},
"subMetas": {
"bg_dian3": {
"ver": "1.0.4",
"uuid": "5fa457d9-e0d0-40f8-a7e5-536f752a5118",
"rawTextureUuid": "8dff9a1e-ad17-43a3-a884-1afbb55ea12e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 30,
"height": 54,
"rawWidth": 30,
"rawHeight": 54,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d3b5cc7c-cab5-429f-a8cf-f96e67be0895",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 15,
"height": 59,
"platformSettings": {},
"subMetas": {
"bg_dian4": {
"ver": "1.0.4",
"uuid": "5ff0adb8-878b-4de9-97b4-c8f50a88549b",
"rawTextureUuid": "d3b5cc7c-cab5-429f-a8cf-f96e67be0895",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 15,
"height": 59,
"rawWidth": 15,
"rawHeight": 59,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "b9efa83d-a8fe-4e20-842a-37ec314905da",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 421,
"height": 602,
"platformSettings": {},
"subMetas": {
"bg_grass": {
"ver": "1.0.4",
"uuid": "10fe1900-682b-425a-a1e0-40899d603451",
"rawTextureUuid": "b9efa83d-a8fe-4e20-842a-37ec314905da",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 421,
"height": 602,
"rawWidth": 421,
"rawHeight": 602,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "b19089a6-98b0-488f-965e-5c4293b77785",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 298,
"height": 151,
"platformSettings": {},
"subMetas": {
"bg_gui": {
"ver": "1.0.4",
"uuid": "7434a17e-85a9-4955-9d4a-71d71fe7464d",
"rawTextureUuid": "b19089a6-98b0-488f-965e-5c4293b77785",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 298,
"height": 151,
"rawWidth": 298,
"rawHeight": 151,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "cc21b0a0-afe7-436d-a997-fb95da47032e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 298,
"height": 130,
"platformSettings": {},
"subMetas": {
"bg_gui2": {
"ver": "1.0.4",
"uuid": "7eee1a65-dfb5-41bb-a115-7a16600b098f",
"rawTextureUuid": "cc21b0a0-afe7-436d-a997-fb95da47032e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 298,
"height": 130,
"rawWidth": 298,
"rawHeight": 130,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "89dd8ccd-4a69-4099-bddf-941f41dfdbff",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 243,
"height": 180,
"platformSettings": {},
"subMetas": {
"bg_leaf1": {
"ver": "1.0.4",
"uuid": "3f88e88f-7062-490f-ba36-10fb4cd1f863",
"rawTextureUuid": "89dd8ccd-4a69-4099-bddf-941f41dfdbff",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 243,
"height": 180,
"rawWidth": 243,
"rawHeight": 180,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "6b7556f3-643f-49c5-8cb4-283c5fafeb14",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 244,
"height": 214,
"platformSettings": {},
"subMetas": {
"bg_leaf2": {
"ver": "1.0.4",
"uuid": "161554c7-7e96-4470-8138-071bc0a5da40",
"rawTextureUuid": "6b7556f3-643f-49c5-8cb4-283c5fafeb14",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 244,
"height": 214,
"rawWidth": 244,
"rawHeight": 214,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d47d2ac3-4cd2-48d9-b94e-0f205a76bfe8",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1217,
"height": 683,
"platformSettings": {},
"subMetas": {
"bg_move": {
"ver": "1.0.4",
"uuid": "81af61b4-7d54-448a-986b-68199bbdcab6",
"rawTextureUuid": "d47d2ac3-4cd2-48d9-b94e-0f205a76bfe8",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1217,
"height": 683,
"rawWidth": 1217,
"rawHeight": 683,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "18d07592-51a9-421e-8972-0f67b68d29e1",
"uuid": "36f8e719-42ca-4bdc-b693-74f99936022b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 144,
"height": 144,
"width": 220,
"height": 261,
"platformSettings": {},
"subMetas": {
"icon": {
"bg_red": {
"ver": "1.0.4",
"uuid": "6fbc30a8-3c49-44ae-8ba4-7f56f385b78a",
"rawTextureUuid": "18d07592-51a9-421e-8972-0f67b68d29e1",
"uuid": "fdc3df60-862b-4821-8559-345250bf1f1c",
"rawTextureUuid": "36f8e719-42ca-4bdc-b693-74f99936022b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -0.5,
"trimX": 3,
"trimY": 2,
"width": 138,
"height": 141,
"rawWidth": 144,
"rawHeight": 144,
"offsetY": -2,
"trimX": 0,
"trimY": 4,
"width": 220,
"height": 257,
"rawWidth": 220,
"rawHeight": 261,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "26b0e0af-d4d3-415b-b751-b61cf102a711",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 220,
"height": 261,
"platformSettings": {},
"subMetas": {
"bg_red2": {
"ver": "1.0.4",
"uuid": "7b79725f-aa33-4a8f-a6e2-77ddf1657947",
"rawTextureUuid": "26b0e0af-d4d3-415b-b751-b61cf102a711",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -2,
"trimX": 0,
"trimY": 4,
"width": 220,
"height": 257,
"rawWidth": 220,
"rawHeight": 261,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "0500c1ac-7663-4f89-b6a7-247e8b9d7afa",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 220,
"height": 261,
"platformSettings": {},
"subMetas": {
"bg_red3": {
"ver": "1.0.4",
"uuid": "1796f19d-3ac1-4c90-a67a-6c203686bef7",
"rawTextureUuid": "0500c1ac-7663-4f89-b6a7-247e8b9d7afa",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -2,
"trimX": 0,
"trimY": 4,
"width": 220,
"height": 257,
"rawWidth": 220,
"rawHeight": 261,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "a6e0a02f-f5f2-47bc-aeb9-b22b847c64ba",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 196,
"height": 189,
"platformSettings": {},
"subMetas": {
"bg_ren": {
"ver": "1.0.4",
"uuid": "9aebe192-1fa5-4eab-b583-bd9ae520e770",
"rawTextureUuid": "a6e0a02f-f5f2-47bc-aeb9-b22b847c64ba",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 196,
"height": 189,
"rawWidth": 196,
"rawHeight": 189,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "acd4873b-0a0f-4589-a9e5-fb5a957fa48b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 227,
"height": 163,
"platformSettings": {},
"subMetas": {
"bg_shadow": {
"ver": "1.0.4",
"uuid": "b01751a0-d16b-4b21-ab20-8eabeaa11e46",
"rawTextureUuid": "acd4873b-0a0f-4589-a9e5-fb5a957fa48b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 227,
"height": 163,
"rawWidth": 227,
"rawHeight": 163,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"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.
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