Commit 2821847b authored by limingzhe's avatar limingzhe

fix: debug

parent a3f5ba9f
No preview for this file type
{
"ver": "1.1.2",
"uuid": "c35bb2f6-f24a-4850-ae44-643f2fdc7541",
"uuid": "d3ad24ed-9c8b-421d-934f-f93f1acf3060",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "1.1.2",
"uuid": "c35bb2f6-f24a-4850-ae44-643f2fdc7541",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "24330de0-b7cd-43f1-beb7-b8067687e658",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.2.9",
"uuid": "2ce7d58d-b6fe-4ef7-a128-de76f672a803",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "d52205af-491c-43a8-b313-07d2d8298171",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
const tools = require("../script/tools");
var onlyOne
cc.Class({
extends: cc.Component,
properties: {
quan: cc.Node,
tipsAnim: cc.Animation,
sprite: cc.Sprite,
db: dragonBones.ArmatureDisplay
},
data: null,
onLoad() {
this._playing = false
this.quan.active = false
this.tipsAnim.node.active = false
},
onEnable() {
this.node.on(cc.Node.EventType.TOUCH_START, this.onTouchStart, this)
},
onDisable() {
this.node.off(cc.Node.EventType.TOUCH_START, this.onTouchStart, this)
},
initWithData(data, scale, xvalue, yvalue) {
this.data = data
let rect = this.data.rect
this.node.x = (rect.x + rect.width / 2) * scale + xvalue
this.node.y = (rect.y + rect.height / 2) * scale + yvalue
this.node.width = rect.width * scale
this.node.height = rect.height * scale
this.sprite.node.active = false
let comps = this.getComponentsInChildren(cc.Widget)
for (let one of comps) {
one.updateAlignment()
}
this.audioId = null
this._isComplent = false;
},
onTouchStart() {
if (g.data_mgr.nodPlayer) {
g.data_mgr.nodPlayer.onStopAudio();
}
if (this._playing) return
if (this.audioId) return
if (this.data) {
if (!this._isComplent) {
this.db.node.active = true;
this.playCatDragon();
g.game.inst.onBtnCheck();
//已经完成
this._isComplent = true;
}
if (this.data.pic_url && this.data.gIdx == 0) {
tools.getSpriteFrimeByUrl(this.data.pic_url, (sp) => {
this.sprite.spriteFrame = sp
this.sprite.node.width = this.node.width
this.sprite.node.height = this.node.height
this.sprite.node.active = true
})
}
this.quan.active = true
if (!this._playing) {
this._playing = true;
g.data_mgr.nodPlayer = this;
cc.systemEvent.once('stopMusic', this.onStopAudio, this)
// if (onlyOne != this) {
// this._playing = false
// return
// }
let url = this.data.audio_url
if (url && url != '') {
setTimeout(() => {
this.playAudio(url)
}, 500)
} else {
this._playing = false
}
}
// if (onlyOne && onlyOne != this) {
// onlyOne.hideBox()
// }
// onlyOne = this
}
},
//播放猫动画
playCatDragon() {
this.db.armatureName = "Armature";
this.db.playAnimation("newAnimation", 1);
},
onClickHide() {
this.sprite.node.active = false
this.hideBox()
},
/**隐藏边框 */
hideBox() {
this.quan.active = false
this.stopAudio()
},
/** 播放音乐 */
playAudio(url) {
cc.assetManager.loadRemote(url, (err, audioClip) => {
if (err) return
if (!this._playing) return
this.audioId = cc.audioEngine.play(audioClip, false, 0.8);
cc.audioEngine.setFinishCallback(this.audioId, this.stopAudio.bind(this));
this.tipsAnim.node.active = true
this.tipsAnim.play()
});
},
onStopAudio() {
this._playing = false
this.stopAudio()
},
stopAudio() {
g.data_mgr.nodPlayer = null;
this._playing = false
if (this.audioId != null) {
cc.audioEngine.stop(this.audioId)
this.audioId = null
}
this.tipsAnim.stop()
this.tipsAnim.node.active = false
cc.systemEvent.off('stopMusic', this.onStopAudio, this)
},
/** 音频id */
audioId: null,
});
{
"ver": "1.0.8",
"uuid": "f8b451ff-857c-4ca8-9870-866bc5154a29",
"uuid": "57f79280-6f4b-4d53-b1e3-1cca543a4d9e",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
{
"ver": "1.1.2",
"uuid": "39e69d6f-e00b-4664-9186-995a78d9238d",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
const tools = require("../script/tools");
var picNode = cc.Class({
extends: cc.Component,
properties: {
hitPre: cc.Prefab,
quan: cc.Node,
},
onLoad() {
},
ctor: function () {
picNode.inst = this;
g.picNode = picNode;
},
onEnable() {
this.node.on(cc.Node.EventType.TOUCH_START, this.onTouchStart, this)
},
onDisable() {
this.node.off(cc.Node.EventType.TOUCH_START, this.onTouchStart, this)
},
onTouchStart() {
if (g.data_mgr.nodPlayer) {
g.data_mgr.nodPlayer.onStopAudio();
}
g.speaker.inst.playEffect(g.enum.E_Audio.Error);
},
onShow(data) {
this._hitItem = []
this._sprite = this.getComponentInChildren(cc.Sprite)
this._items = this.quan;
this.initWithData(data);
},
initWithData(data) {
this.clearItems()
tools.getSpriteFrimeByUrl(data.bgItem.url, (sp) => {
//设置图片
this._sprite.spriteFrame = sp
this.photoScare(this._sprite.node);
this._items.width = this.node.width
this._items.height = this.node.height
this._items.x = -this.node.width / 2
this._items.y = this.node.height / 2
if (this._items.height / data.bgItem.rect.height < this._items.width / data.bgItem.rect.width) {
var scale = this.node.height / data.bgItem.rect.height
//X不够补X偏移量
var Xvalue = (this.node.width - data.bgItem.rect.width * scale) / 2
var Yvalue = 0;
} else {
var scale = this.node.width / data.bgItem.rect.width
//Y不够补Y偏移量
var Xvalue = 0;
var Yvalue = (this.node.height - data.bgItem.rect.height * scale) / 2
}
//初始化点击区域
let node, comp
for (let data of data.hotZoneItemArr) {
node = cc.instantiate(this.hitPre)
comp = node.getComponent('hitItem')
comp.initWithData(data, scale, Xvalue, Yvalue);
this._items.addChild(node)
this._hitItem.push(node)
}
})
},
//图片适配
photoScare: function (node) {
var height = this.node.height;//769;
var width = this.node.width;//1381;
// var maxNum = type == 0 ? 50 : 280;
let maxSize = Math.min(height / node.height, width / node.width);
if (node.perScale == undefined) {
node.perScale = node.scaleX;
} else {
node.scaleX = node.perScale;
node.scaleY = node.perScale;
}
node.scaleX *= maxSize;
node.scaleY *= maxSize;
this.maxSize = maxSize;
},
/** 清除item */
clearItems() {
this._items.removeAllChildren(true)
this._hitItem.length = 0
}
});
{
"ver": "1.0.8",
"uuid": "c41b0e51-55d7-443c-af3a-b22c3dd9b9e5",
"uuid": "62989d72-21cb-4b26-a323-fce556c9e3c4",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
const tools = {
getSpriteFrimeByUrl(url, cb) {
cc.loader.load({ url }, (err, img) => {
const spriteFrame = new cc.SpriteFrame(img)
if (cb) {
cb(spriteFrame);
}
})
}
}
module.exports = tools
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "ade7af40-d56d-4087-bbc6-2888fef55353",
"uuid": "68947d90-e044-48ff-8bce-670db8633681",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
{
"ver": "1.1.2",
"uuid": "e1f95314-d217-4a8a-9baf-245d0533c9a8",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "e11a7c61-701d-41bd-b74b-dbac7efd3a7e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 351,
"height": 93,
"platformSettings": {},
"subMetas": {
"bg_bottom": {
"ver": "1.0.4",
"uuid": "c260e7d3-9aa7-46ca-99f5-7ca5f31f7fef",
"rawTextureUuid": "e11a7c61-701d-41bd-b74b-dbac7efd3a7e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 351,
"height": 93,
"rawWidth": 351,
"rawHeight": 93,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "82ae3bc3-8bdf-463b-97d1-60ebd190bad2",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 170,
"height": 100,
"platformSettings": {},
"subMetas": {
"bg_quan": {
"ver": "1.0.4",
"uuid": "9b336882-962e-447b-9d2c-89aca2bf95b4",
"rawTextureUuid": "82ae3bc3-8bdf-463b-97d1-60ebd190bad2",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 170,
"height": 100,
"rawWidth": 170,
"rawHeight": 100,
"borderTop": 31,
"borderBottom": 31,
"borderLeft": 31,
"borderRight": 31,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "617acbce-eb22-416b-b5d5-f1eaf7187ca9",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 34,
"height": 34,
"platformSettings": {},
"subMetas": {
"btn_x": {
"ver": "1.0.4",
"uuid": "b7316664-aba4-4008-a54a-11908a6c0b15",
"rawTextureUuid": "617acbce-eb22-416b-b5d5-f1eaf7187ca9",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 34,
"height": 34,
"rawWidth": 34,
"rawHeight": 34,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "eacc8e5b-ced0-41c7-a1de-70fb0645bf60",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 49,
"height": 49,
"platformSettings": {},
"subMetas": {
"icon_dian": {
"ver": "1.0.4",
"uuid": "5daba96f-eff5-4bee-9ba9-d67c0134212a",
"rawTextureUuid": "eacc8e5b-ced0-41c7-a1de-70fb0645bf60",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 49,
"height": 49,
"rawWidth": 49,
"rawHeight": 49,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "ed5b81e2-ee7b-4f76-b424-9df340e5f298",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 69,
"height": 78,
"platformSettings": {},
"subMetas": {
"icon_hand": {
"ver": "1.0.4",
"uuid": "562deefd-c9fd-42f0-97d7-d6f5893ef3f3",
"rawTextureUuid": "ed5b81e2-ee7b-4f76-b424-9df340e5f298",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 69,
"height": 78,
"rawWidth": 69,
"rawHeight": 78,
"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": "1d277eb9-4061-4e88-9905-dfc6cf68a672",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 144,
"height": 144,
"width": 69,
"height": 78,
"platformSettings": {},
"subMetas": {
"icon": {
"icon_hand2": {
"ver": "1.0.4",
"uuid": "6fbc30a8-3c49-44ae-8ba4-7f56f385b78a",
"rawTextureUuid": "18d07592-51a9-421e-8972-0f67b68d29e1",
"uuid": "61e47c68-658d-416b-a46e-399ebfddd2c8",
"rawTextureUuid": "1d277eb9-4061-4e88-9905-dfc6cf68a672",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -0.5,
"trimX": 3,
"offsetY": -1,
"trimX": 0,
"trimY": 2,
"width": 138,
"height": 141,
"rawWidth": 144,
"rawHeight": 144,
"width": 69,
"height": 76,
"rawWidth": 69,
"rawHeight": 78,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "9a79969a-0506-48d4-bc98-3c05d109b027",
"uuid": "b3254bf5-7afe-4d42-8815-9693edf14d81",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 61,
"width": 46,
"height": 67,
"platformSettings": {},
"subMetas": {
"btn_left": {
"icon_tips": {
"ver": "1.0.4",
"uuid": "ce19457d-e8f3-4c38-ae3e-d4b99208ddb5",
"rawTextureUuid": "9a79969a-0506-48d4-bc98-3c05d109b027",
"uuid": "b41667f5-0e09-49f6-b7e8-19b88dc8ea8b",
"rawTextureUuid": "b3254bf5-7afe-4d42-8815-9693edf14d81",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......@@ -22,9 +22,9 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 61,
"width": 46,
"height": 67,
"rawWidth": 61,
"rawWidth": 46,
"rawHeight": 67,
"borderTop": 0,
"borderBottom": 0,
......
{
"__type__": "cc.AnimationClip",
"_name": "tips",
"_objFlags": 0,
"_native": "",
"_duration": 0.5,
"sample": 40,
"speed": 1,
"wrapMode": 2,
"curveData": {
"props": {
"opacity": [
{
"frame": 0,
"value": 255,
"curve": "cubicIn"
},
{
"frame": 0.25,
"value": 0,
"curve": "cubicIn"
},
{
"frame": 0.5,
"value": 255
}
]
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.0",
"uuid": "a6b7da30-d79b-4854-9182-3c973cef9e5e",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "e5510638-fc47-4bba-a7ed-e8b70cd74cd4",
"downloadMode": 0,
"duration": 1.776327,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "f0680ae0-c079-45ef-abd7-9e63d90b982b",
"uuid": "1e632c07-6c31-404b-8a45-ff1f55c236eb",
"downloadMode": 0,
"duration": 0.130612,
"subMetas": {}
......
{
"ver": "2.0.1",
"uuid": "5fc68702-8884-47b7-a1f4-e4c3e05053cb",
"downloadMode": 0,
"duration": 4.04898,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "7e550adf-98ad-4a4e-a238-725aca313c49",
"downloadMode": 0,
"duration": 0.470204,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "de5a7da8-a6b4-414b-9143-2f00b90d4d7e",
"downloadMode": 0,
"duration": 0.264,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "721842df-3ed0-4638-9601-884f3c385865",
"downloadMode": 0,
"duration": 2.115917,
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "9dc9ffdb-2db7-4e75-81cf-285acc39315c",
"subMetas": {}
}
\ No newline at end of file
{"name":"right","imagePath":"right_tex.png","height":512,"SubTexture":[{"name":"正确/圆圈","x":1,"height":273,"y":1,"width":273},{"name":"正确/光线1","x":426,"height":148,"y":151,"width":10},{"name":"正确/光线2","x":276,"height":10,"y":52,"width":148},{"name":"正确/光线3","x":276,"height":10,"y":64,"width":148},{"name":"正确/光线4","x":426,"height":148,"y":1,"width":10},{"name":"正确/圆","x":380,"height":29,"y":1,"width":29},{"name":"正确/圆2","x":438,"height":29,"y":1,"width":29},{"name":"正确/圆3","x":438,"height":29,"y":32,"width":29},{"name":"正确/圆4","x":469,"height":29,"y":1,"width":29},{"name":"正确/星2","x":276,"height":49,"y":1,"width":50},{"name":"正确/星1","x":328,"height":49,"y":1,"width":50}],"width":512}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "13605e8e-d4e9-4097-a4be-0c89ccea40e9",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "f9d4dea7-2a2a-4da1-9726-7dc7c70ee043",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 512,
"height": 512,
"platformSettings": {},
"subMetas": {
"right_tex": {
"ver": "1.0.4",
"uuid": "aa7926eb-bc81-4028-938f-106bb6c0412b",
"rawTextureUuid": "f9d4dea7-2a2a-4da1-9726-7dc7c70ee043",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -6.5,
"offsetY": 106,
"trimX": 1,
"trimY": 1,
"width": 497,
"height": 298,
"rawWidth": 512,
"rawHeight": 512,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "00dfdc19-9760-4060-8834-03344b4a7e54",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "89c69343-75ff-44b2-a359-ab5b70f1dfb7",
"subMetas": {}
}
\ No newline at end of file
{"name":"xiaodi","imagePath":"xiaodi_tex.png","SubTexture":[{"name":"run/图层_73","x":1394,"height":67,"y":210,"width":79},{"name":"run/图层 61_0","x":1349,"height":178,"y":810,"width":133},{"name":"run/图层_65","x":479,"height":71,"y":1452,"width":30},{"name":"run/图层44","x":1892,"height":99,"y":1049,"width":122},{"name":"run/图层_64","x":1148,"height":207,"y":1,"width":332},{"name":"run/图层38(2)","x":1952,"height":123,"y":670,"width":82},{"name":"run/图层_68","x":1148,"height":266,"y":210,"width":244},{"name":"run/身体","x":897,"height":285,"y":1,"width":249},{"name":"run/图层_66","x":156,"height":77,"y":1526,"width":71},{"name":"run/图层_72","x":156,"height":87,"y":1607,"width":87},{"name":"run/图层_61","x":1,"height":127,"y":1295,"width":241},{"name":"run/头","x":1,"height":413,"y":1,"width":454},{"name":"run/嘴巴","x":1785,"height":47,"y":612,"width":48},{"name":"run/闭眼","x":441,"height":199,"y":428,"width":243},{"name":"run/眼睛","x":1713,"height":76,"y":748,"width":64},{"name":"run/半睁","x":1033,"height":76,"y":664,"width":64},{"name":"run/图层_74","x":312,"height":15,"y":1547,"width":59},{"name":"run/眼镜","x":599,"height":130,"y":1001,"width":242},{"name":"run/耳套","x":1892,"height":119,"y":928,"width":118},{"name":"good/右脚","x":1420,"height":94,"y":1165,"width":126},{"name":"expect/左脚_0","x":390,"height":95,"y":1355,"width":126},{"name":"good/右腿","x":636,"height":265,"y":734,"width":137},{"name":"expect/图层 45_0","x":1127,"height":263,"y":478,"width":196},{"name":"expect/左脚","x":762,"height":95,"y":1262,"width":126},{"name":"good/左脚","x":1670,"height":94,"y":1086,"width":127},{"name":"good/左腿","x":255,"height":265,"y":838,"width":143},{"name":"expect/图层_45","x":1394,"height":263,"y":280,"width":196},{"name":"good/图层_46","x":1084,"height":142,"y":930,"width":133},{"name":"talk/右手前","x":1064,"height":185,"y":743,"width":153},{"name":"cheer/图层 46_0","x":1325,"height":134,"y":674,"width":219},{"name":"invite/图层_30","x":1219,"height":121,"y":1014,"width":199},{"name":"good/图层 35_0","x":1785,"height":165,"y":670,"width":165},{"name":"wave/图层43","x":838,"height":199,"y":798,"width":224},{"name":"cheer/图层_37","x":1592,"height":153,"y":314,"width":237},{"name":"good/右手2_0","x":400,"height":163,"y":1033,"width":197},{"name":"talk/图层_47","x":1,"height":193,"y":1424,"width":153},{"name":"good/图层35_0","x":1909,"height":202,"y":1,"width":128},{"name":"expect/图层 37_2","x":1848,"height":176,"y":492,"width":167},{"name":"good/图层34_0","x":1017,"height":104,"y":1218,"width":150},{"name":"good/图层 44_0","x":838,"height":236,"y":560,"width":193},{"name":"cheer/图层42_1","x":608,"height":92,"y":1421,"width":88},{"name":"talk/图层42","x":518,"height":92,"y":1355,"width":88},{"name":"good/图层_36","x":1033,"height":102,"y":560,"width":80},{"name":"expect/图层 39_1","x":736,"height":110,"y":1359,"width":96},{"name":"good/图层40","x":834,"height":90,"y":1374,"width":71},{"name":"wave/图层42","x":1548,"height":92,"y":1165,"width":100},{"name":"cheer/图层42_0","x":1799,"height":87,"y":1086,"width":90},{"name":"invite/图层 31_0","x":1484,"height":138,"y":915,"width":152},{"name":"good/图层35","x":1219,"height":202,"y":810,"width":128},{"name":"expect/图层 37_1","x":1848,"height":176,"y":314,"width":167},{"name":"good/图层 46_0","x":1084,"height":142,"y":1074,"width":132},{"name":"wave/图层43_0","x":1,"height":161,"y":838,"width":252},{"name":"cheer/图层_46","x":1564,"height":134,"y":612,"width":219},{"name":"invite/图层 30_0","x":1219,"height":121,"y":1137,"width":199},{"name":"good/图层_35","x":1546,"height":165,"y":748,"width":165},{"name":"cheer/图层 37_0","x":1,"height":164,"y":1001,"width":231},{"name":"good/右手2","x":400,"height":164,"y":867,"width":197},{"name":"talk/图层_46","x":400,"height":155,"y":1198,"width":206},{"name":"good/图层47_0","x":156,"height":100,"y":1424,"width":76},{"name":"good/身体","x":897,"height":270,"y":288,"width":228},{"name":"wave/图层_45","x":248,"height":174,"y":1105,"width":149},{"name":"talk/图层40","x":1650,"height":84,"y":1182,"width":84},{"name":"good/图层40_0","x":1062,"height":90,"y":1324,"width":71},{"name":"expect/图层 39_2","x":890,"height":110,"y":1262,"width":96},{"name":"good/图层_44","x":441,"height":236,"y":629,"width":193},{"name":"wave/图层_44","x":1,"height":84,"y":1619,"width":86},{"name":"cheer/图层42","x":245,"height":84,"y":1607,"width":90},{"name":"invite/图层_31","x":608,"height":138,"y":1133,"width":152},{"name":"good/图层 36_0","x":518,"height":102,"y":1449,"width":79},{"name":"cheer/图层42_2","x":390,"height":91,"y":1471,"width":87},{"name":"wave/图层_25","x":400,"height":20,"y":838,"width":29},{"name":"good/头","x":1,"height":420,"y":416,"width":438},{"name":"talk/眉毛","x":1135,"height":25,"y":1341,"width":220},{"name":"invite/眉毛","x":1357,"height":23,"y":1357,"width":220},{"name":"expect/眉毛","x":312,"height":32,"y":1564,"width":221},{"name":"good/眉毛","x":1415,"height":25,"y":1330,"width":220},{"name":"expect/闭嘴","x":1592,"height":26,"y":280,"width":66},{"name":"good/张嘴_0","x":1420,"height":26,"y":990,"width":44},{"name":"wave/张嘴","x":1660,"height":32,"y":280,"width":43},{"name":"invite/闭嘴","x":1349,"height":17,"y":990,"width":44},{"name":"good/闭嘴","x":1891,"height":17,"y":1150,"width":44},{"name":"invite/张嘴","x":636,"height":26,"y":690,"width":44},{"name":"cheer/张嘴","x":762,"height":40,"y":1133,"width":70},{"name":"talk/闭嘴","x":390,"height":17,"y":1452,"width":44},{"name":"cheer/闭嘴","x":1954,"height":22,"y":902,"width":57},{"name":"talk/张嘴","x":1420,"height":26,"y":1018,"width":44},{"name":"expect/张嘴","x":312,"height":40,"y":1505,"width":70},{"name":"good/张嘴","x":1169,"height":26,"y":1218,"width":44},{"name":"wave/闭嘴","x":1420,"height":26,"y":1046,"width":43},{"name":"good/闭眼","x":1799,"height":30,"y":1175,"width":247},{"name":"invite/闭眼","x":1169,"height":37,"y":1302,"width":244},{"name":"good/睁眼_0","x":1638,"height":77,"y":928,"width":252},{"name":"wave/睁眼","x":1325,"height":127,"y":545,"width":237},{"name":"cheer/闭眼","x":1403,"height":37,"y":1261,"width":244},{"name":"wave/闭眼","x":1713,"height":89,"y":837,"width":239},{"name":"good/半睁","x":1638,"height":77,"y":1007,"width":252},{"name":"expect/睁眼","x":762,"height":77,"y":1183,"width":253},{"name":"good/睁眼","x":1420,"height":77,"y":1086,"width":248},{"name":"wave/睁眼_0","x":1,"height":126,"y":1167,"width":245},{"name":"expect/图层 36_0","x":1325,"height":59,"y":478,"width":39},{"name":"expect/图层_36","x":636,"height":59,"y":629,"width":39},{"name":"point/左脚","x":608,"height":95,"y":1324,"width":126},{"name":"point/左腿","x":686,"height":304,"y":428,"width":150},{"name":"point/右脚","x":1909,"height":103,"y":205,"width":125},{"name":"point/右腿","x":1721,"height":311,"y":1,"width":186},{"name":"point/图层42","x":1954,"height":105,"y":795,"width":87},{"name":"point/已插入图像_1","x":1592,"height":141,"y":469,"width":254},{"name":"point/图层47","x":234,"height":100,"y":1505,"width":76},{"name":"point/身体","x":1482,"height":277,"y":1,"width":237},{"name":"point/图层34","x":1650,"height":92,"y":1268,"width":76},{"name":"point/头","x":457,"height":425,"y":1,"width":438},{"name":"point/闭眼","x":1169,"height":40,"y":1260,"width":232},{"name":"point/半睁","x":843,"height":90,"y":1091,"width":239},{"name":"point/睁眼","x":843,"height":90,"y":999,"width":239},{"name":"point/眉毛","x":1415,"height":28,"y":1300,"width":223},{"name":"point/嘴巴2","x":1033,"height":41,"y":742,"width":24},{"name":"point/嘴巴1","x":1017,"height":30,"y":1183,"width":63},{"name":"point/已插入图像","x":244,"height":208,"y":1295,"width":144},{"name":"point/已插入图像_0","x":988,"height":90,"y":1324,"width":72}],"height":2048,"width":2048}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "023850a5-6663-4a91-95af-043d21407ef1",
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "2.3.5",
"uuid": "34fdcb38-5753-4029-a43b-8c04755c99f2",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 2048,
"platformSettings": {},
"subMetas": {
"xiaodi_tex": {
"ver": "1.0.4",
"uuid": "1186c17a-35f1-48f2-92a7-5912022fe683",
"rawTextureUuid": "34fdcb38-5753-4029-a43b-8c04755c99f2",
"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": "bf718d00-23b5-4393-8285-ef7a241b9afa",
"subMetas": {}
}
\ No newline at end of file
{"name":"正确效果","SubTexture":[{"name":"1/勾","x":1,"height":112,"y":1,"width":128},{"name":"1/星1","x":196,"height":59,"y":72,"width":57},{"name":"1/星2","x":1,"height":45,"y":192,"width":43},{"name":"1/星3","x":131,"height":64,"y":72,"width":63},{"name":"1/星4","x":201,"height":45,"y":1,"width":45},{"name":"1/星6","x":131,"height":69,"y":1,"width":68},{"name":"1/星7","x":1,"height":40,"y":115,"width":37},{"name":"1/星5","x":196,"height":57,"y":133,"width":56},{"name":"1/星8","x":78,"height":33,"y":115,"width":32},{"name":"1/星9","x":40,"height":37,"y":115,"width":36}],"imagePath":"正确效果_tex.png","height":256,"width":256}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "2a1c4975-20c7-425f-a159-537a0e44fbcb",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "ff0f9fe1-277f-4d06-9a86-2b838f49e899",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 256,
"height": 256,
"platformSettings": {},
"subMetas": {
"正确效果_tex": {
"ver": "1.0.4",
"uuid": "ef344e8b-5ff7-495c-8441-7891c9963a6f",
"rawTextureUuid": "ff0f9fe1-277f-4d06-9a86-2b838f49e899",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1,
"offsetY": 9,
"trimX": 1,
"trimY": 1,
"width": 252,
"height": 236,
"rawWidth": 256,
"rawHeight": 256,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "455577d8-9fe9-451b-8bb0-241ffe3d08ef",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "2.1.0",
"uuid": "ac5cd74f-7311-4fae-a586-f37a87e61455",
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "2.1.0",
"uuid": "ce2d6cce-f4b4-4f14-b57c-f026dc181a88",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "da124b99-7f04-47cd-942e-a9f80f0b4f04",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "61fcc759-2eb5-4e50-a2f3-0cc3393881d8",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "4fe6019f-f84c-439f-97b8-a4cfe2ddc7ca",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "f0214b38-1b2a-41ef-aa3e-1d6949fd3b12",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "1fc51dd0-d295-4a33-8b99-adcb5978c932",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "5c0041d0-ccbd-4069-bc12-73a47695ed52",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "a777fdf7-eb0b-41df-b0f7-ada8ed99b97d",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.2.9",
"uuid": "c020c4aa-c261-4e24-ae6e-a564a5bb6865",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "8b78aa33-0eb9-4b52-ae1b-3abacd0ee4f2",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.2.9",
"uuid": "0737ce42-24f0-45c6-8e1a-8bdab4f74ba3",
"uuid": "14c37636-02d3-4ff8-8d46-32898ddb9a11",
"asyncLoadAssets": false,
"autoReleaseAssets": true,
"subMetas": {}
......
This diff is collapsed.
{
"ver": "1.0.8",
"uuid": "408a67f8-65fa-4cf1-8cf2-83e20e1a0fd5",
"uuid": "8b0b794c-7f5e-4e94-82b8-d1c85bc69eb8",
"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
const {ccclass, property} = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
// LIFE-CYCLE CALLBACKS:
// onLoad () {}
start () {
}
handleClickBack() {
const middleLayer = global["middleLayer"];
if (middleLayer) {
// 有些模板需要在返回时上报数据,直接把数据作为参数传入就可以了
middleLayer.exitGame({});
} else {
console.log("==触发返回事件==");
}
}
// update (dt) {}
}
{
"ver": "1.0.8",
"uuid": "55e87ab2-60c9-4627-a452-6927e26ef140",
"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.
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.
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.
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.
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