Commit 5fe667b9 authored by limingzhe's avatar limingzhe

fix: debug

parent 2c3975a6
No preview for this file type
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -6,7 +6,7 @@
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
// import { getSprNode } from "./util";
import { getSprNode, playAudioByUrl, showBtnAnima, localPosTolocalPos, randomSortByArr, loadDragonBones, playAudio, showTrebleFirework, getSprNodeByUrl, setSprNodeMaxLen, delayCall, asyncDelay, RandomInt, exchangeNodePos, onHomeworkFinish, roundNum, getAngleByPos, setMaxScale, getColorByText, callNetworkApi} from "../script/dg_dictation_menu_util";
import { getSprNode, playAudioByUrl, showBtnAnima, localPosTolocalPos, randomSortByArr, loadDragonBones, playAudio, showTrebleFirework, getSprNodeByUrl, setSprNodeMaxLen, delayCall, asyncDelay, RandomInt, exchangeNodePos, onHomeworkFinish, roundNum, getAngleByPos, setMaxScale, getColorByText, callNetworkApi, appearAnim, disappearAnim} from "../script/dg_dictation_menu_util";
cc.Class({
extends: cc.Component,
......@@ -610,6 +610,156 @@ cc.Class({
this.showHomeView();
},
getSelectWordItemArr(dataArr, bgWidth) {
const itemArr = [];
for (let i=0; i<dataArr.length; i++) {
const data = dataArr[i];
const itemNode = new cc.Node();
itemNode.data = data
let fontColor = "#ac2430";
console.log('~data: ', data);
const rtNode = this.getRichText(data.text_en, 80, fontColor, fontColor, 0);
// const rtNode = this.getRichText('appleaaaaaaaaaaaaaaaaaaaa', 80, fontColor, fontColor, 3);
// const rtNode = this.getRichText('appleaaaaaaaaaaaaaaaaaaaa', 80, fontColor, lineColor, 3);
rtNode.opacity = 0;
rtNode.parent = this.canvas;
const selectRect = getSprNode("word/selectWord/icon_bg");
itemNode.addChild(selectRect);
const iconRight = getSprNode("word/selectWord/icon_right");
selectRect.addChild(iconRight);
iconRight.x = 12;
iconRight.y = 5;
selectRect.iconRight = iconRight;
const iconW = 30;
selectRect.x = -bgWidth * 0.9 / 2 + iconW / 2;
selectRect.on("touchstart", () => {
if (iconRight.active) {
iconRight.active = false;
} else {
iconRight.active = true;
}
this.saveSelectWordData();
})
const itemLine = getSprNode("word/selectWord/line");
// itemLine.scale = 0.22;
itemNode.addChild(itemLine);
itemLine.anchorY = 1;
itemNode.height = rtNode.height;
// this.this.delayCall(0.1, () => {
itemLine.y = -rtNode.height / 2 - 25;
// itemLine.opacity = 70;
// console.log(" rtNode.height : ", rtNode);
// })
itemNode.iconRect = selectRect;
rtNode.x += iconW / 1.5 + bgWidth*0.05;
const maxW = bgWidth*0.8 - iconW;
console.log('bgWidth: ', bgWidth);
this.delayCall(0.01, () => {
console.log('rtNode.width: ', rtNode.width);
if (rtNode.width > maxW ) {
rtNode.scale = maxW / rtNode.width;
}
rtNode.parent = itemNode;
rtNode.opacity = 255;
})
const rt = rtNode.getComponent(cc.RichText);
rt.font = cc.find('Canvas/res/font/MMTB').getComponent(cc.Label).font;
rtNode.addComponent(cc.Button);
rtNode.on('click', () => {
// this.showWordInfoView(data.wid);
})
itemArr.push(itemNode);
}
this.selectWordItemArr = itemArr;
return itemArr;
},
allSelectBtnClick() {
let activeValue = true;
const isAllSelectEnd = this.checkIsAllSelectEnd()
if (isAllSelectEnd) {
activeValue = false;
}
const arr = this.selectWordItemArr;
arr.forEach(it => {
it.iconRect.iconRight.active = activeValue;
})
this.saveSelectWordData();
},
saveSelectWordData() {
const saveArr = [];
this.selectWordItemArr.forEach(it => {
if (it.iconRect.iconRight.active) {
saveArr.push(it.data);
}
})
const saveData = {rows: saveArr};
this.setSelectWordData(saveData);
},
setSelectWordData(saveData) {
console.log(' in setSelectWordData: ', saveData)
const id = this.curResDataId;
const dataKey = 'select_words_' + id;
cc.sys.localStorage.setItem(dataKey, JSON.stringify(saveData))
},
checkIsAllSelectEnd() {
const arr = this.selectWordItemArr;
const unSelected = arr.find(it => {
return !it.iconRect.iconRight.active
})
return !unSelected
},
initWordView() {
this.wordView = cc.find("Canvas/wordView");
this.viewArr.push(this.wordView);
......@@ -621,7 +771,7 @@ cc.Class({
this.initWordBg();
// this.initWordSV();
delayCall(0.01, ()=>{
this.delayCall(0.01, ()=>{
// this.wordView.active = false;
// this.wordView.opacity = 255;
})
......@@ -679,7 +829,7 @@ cc.Class({
bg2.scale = scaleX;
const bg2Sprite = bg2.getComponent(cc.Sprite);
bg2Sprite.type = cc.Sprite.Type.SLICED;
delayCall(0.01, () => {
this.delayCall(0.01, () => {
const totalH = topH + bg2.height * bg2.scale;
if (totalH < this.canvas.height) {
bg2.height = (this.canvas.height - topH) / bg2.scale;
......@@ -738,7 +888,16 @@ cc.Class({
const middleLayer = cc.find('middleLayer');
if (middleLayer) {
const rankingType = this.getCurRankingType();
middleLayer.getComponent('middleLayer').saveTempData('hw_dictation_data', {rows: this.wordDataArr, rankingType});
const selectedData = this.checkIsSelectWord()
if (selectedData && selectedData.length > 0) {
middleLayer.getComponent('middleLayer').saveTempData('hw_dictation_data', {rows: selectedData, rankingType});
} else {
middleLayer.getComponent('middleLayer').saveTempData('hw_dictation_data', {rows: this.wordDataArr, rankingType});
}
// middleLayer.getComponent('middleLayer').saveTempData('hw_dictation_data', {rows: this.wordDataArr, rankingType});
middleLayer.getComponent('middleLayer').showDictationTemplate();
}
})
......@@ -750,64 +909,137 @@ cc.Class({
})
return;
const selectBtn = getSprNode("word/selectWord/select_btn");
selectBtn.parent = title.parent;
selectBtn.x = title.x - 545;
selectBtn.y = title.y - 222 ;
selectBtn.scale = 1 / selectBtn.parent.scale;
selectBtn.on("touchstart", () => {
console.log(" in selectBtn 111")
showBtnAnima(selectBtn);
console.log(" in selectBtn 222")
this.showWordSelectView();
})
// let wordBg;
// if (this.isVertical) {
// this.setViewBg(this.wordView, 'word_bg');
// wordBg = getSprNode("word_page");
// } else {
// this.setViewBg(this.wordView, 'h_word_bg');
// wordBg = getSprNode("h_word_page");
// }
},
// const offRate = 0.039;
// const maxH = this.canvas.height - this.titleH;
// const maxW = this.canvas.width * (1-offRate);
// setMaxScale(wordBg, maxW, maxH);
// wordBg.anchorY = 1;
// wordBg.anchorX = 0
// wordBg.y = this.canvas.height / 2 - this.titleH;
// wordBg.x = -this.canvas.width / 2 + this.canvas.width * offRate;
// this.wordView.addChild(wordBg);
// const dictationBtn = getSprNode("btn_dictation");
// dictationBtn.scale = this._mapScaleMin;
// dictationBtn.x = -this.canvas.width / 2 + dictationBtn.width / 2 * dictationBtn.scaleX + 10 * this._mapScaleMin;
// dictationBtn.y = -this.canvas.height / 2 / 3 * 2;
// this.wordView.addChild(dictationBtn, 2);
// dictationBtn.addComponent(cc.Button);
// dictationBtn.on("click", () => {
// const middleLayer = cc.find('middleLayer');
// if (middleLayer) {
// const rankingType = this.getCurRankingType();
// middleLayer.getComponent('middleLayer').saveTempData('hw_dictation_data', {rows: this.wordDataArr, rankingType});
// middleLayer.getComponent('middleLayer').showDictationTemplate();
// }
// })
// const practiseBtn = getSprNode("btn_practise");
// practiseBtn.scale = this._mapScaleMin;
// practiseBtn.x = -this.canvas.width / 2 + practiseBtn.width / 2 * practiseBtn.scaleX + 10 * this._mapScaleMin;
// practiseBtn.y = -this.canvas.height / 2 / 3 * 1.5;
// this.wordView.addChild(practiseBtn, 2);
showWordSelectView() {
// practiseBtn.addComponent(cc.Button);
// practiseBtn.on("click", () => {
console.log(" in showWordSelectView 111")
// const middleLayer = cc.find('middleLayer');
// if (middleLayer) {
// const rankingType = this.getCurRankingType();
// middleLayer.getComponent('middleLayer').saveTempData('hw_dictation_data', {rows: this.wordDataArr, rankingType});
// middleLayer.getComponent('middleLayer').showPractiseTemplate();
// }
// })
console.log("wordSelectView: " + this.selectWordView);
appearAnim(this.selectWordView, 0.3);
console.log(" in showWordSelectView 222")
},
initSelectWordView(id) {
if (!this.selectWordView) {
this.selectWordView = cc.find("Canvas/wordView/selectWordView");
this.selectWordView.zIndex = 5;
const selectAllBtn = cc.find("panel_top/all_select", this.selectWordView);
selectAllBtn.on("touchstart", () => {
showBtnAnima(selectAllBtn);
this.allSelectBtnClick();
})
const bg = cc.find("bg", this.selectWordView);
bg.on("touchstart", () => {
// this.hideSelectWordView();
console.log('touch start bg')
this.selectWordView.active = false;
})
}
this.initSelectWordSv(id)
},
initSelectWordSv(id) {
console.log(' in initSelectWordSv: ' + id);
this.curResDataId = id;
let resData = this.curResData;
const dataArr = resData.rows;
const svNode = cc.find("word_bg/scrollView", this.selectWordView);
const view = cc.find("view", svNode);
view.width = svNode.width;
view.height = svNode.height;
console.log('in dataArr :', dataArr);
const itemArr = this.getSelectWordItemArr(dataArr, view.width);
console.log('svNode: ', svNode);
console.log('itemArr: ', itemArr);
const sv = svNode.getComponent(cc.ScrollView);
this.initScrollViewItem(sv, itemArr, 1);
let res = this.getSelectWordData(id);
if (res) {
this.refreshSelectWord(res);
}
},
refreshSelectWord(res) {
const resData = JSON.parse(res);
const selectRows = resData.rows;
const arr = this.selectWordItemArr;
for (let i=0; i<arr.length; i++) {
const data = arr[i].data;
const isFind = selectRows.find(it => {
return it.id == data.id;
})
arr[i].iconRect.iconRight.active = isFind;
}
},
getSelectWordData(id) {
console.log('in getSelectWordData ' + id);
const dataKey = 'select_words_' + id;
const dataStr = cc.sys.localStorage.getItem(dataKey);
if (dataStr) {
console.log("dataStr: " + dataStr);
return dataStr
}
},
hideSelectWordView() {
disappearAnim(this.selectWordView, 0.2, () => {
this.selectWordView.active = false;
});
},
......@@ -890,7 +1122,13 @@ cc.Class({
const script = middleLayer?.getComponent('middleLayer');
const rankingType = this.getCurRankingType();
script.saveTempData('hw_dictation_data', {rows: this.wordDataArr, rankingType});
const selectedData = this.checkIsSelectWord()
if (selectedData && selectedData.length > 0) {
script.saveTempData('hw_dictation_data', {rows: selectedData, rankingType});
} else {
script.saveTempData('hw_dictation_data', {rows: this.wordDataArr, rankingType});
}
script.showPractiseTemplate(data.name);
}
......@@ -903,6 +1141,26 @@ cc.Class({
return itemArr;
},
checkIsSelectWord() {
const arr = this.selectWordItemArr;
const unselectItem = arr.find(it => {
return !it.iconRect.iconRight.active
})
if (!unselectItem) {
return null;
}
const newRows = [];
arr.forEach(it => {
if (it.iconRect.iconRight.active) {
newRows.push(it.data)
}
})
return newRows;
},
......@@ -930,7 +1188,8 @@ cc.Class({
const disH = 200;
const topH = 46 + disH;
const btnH = 30;
const topH = 46 + disH + btnH;
svNode.width = (baseW - leftPart) //* this.menuBg.scale;
svNode.height = (this.canvas.height - topH * this.menuBg.scale) / this.menuBg.scale;
......@@ -1044,7 +1303,7 @@ cc.Class({
itemNode.anim = anim;
delayCall(0.01, () => {
this.delayCall(0.01, () => {
const maxW = itemLine.width * 0.8;
if (labelNode.width > maxW) {
labelNode.scale = maxW / labelNode.width;
......@@ -1146,7 +1405,7 @@ cc.Class({
this.initMenuBg();
// this.initMenuSV();
delayCall(0.01, () => {
this.delayCall(0.01, () => {
// this.menuView.active = false;
// this.menuView.opacity = 255;
})
......@@ -1214,7 +1473,7 @@ cc.Class({
bg2.scale = scaleX;
const bg2Sprite = bg2.getComponent(cc.Sprite);
bg2Sprite.type = cc.Sprite.Type.SLICED;
delayCall(0.01, () => {
this.delayCall(0.01, () => {
const totalH = topH + bg2.height * bg2.scale;
if (totalH < this.canvas.height) {
bg2.height = (this.canvas.height - topH) / bg2.scale;
......@@ -1410,7 +1669,7 @@ cc.Class({
if (labelNode.maxW) {
labelNode.opacity = 0;
delayCall(0.01, () => {
this.delayCall(0.01, () => {
if (labelNode.width > labelNode.maxW) {
labelNode.scale = labelNode.maxW / labelNode.width;
} else {
......@@ -1712,7 +1971,7 @@ cc.Class({
// labelBg.scaleX = tempW / labelBg.width;
// labelBg.scaleY = tempH / labelBg.height;
delayCall(0.01, () => {
this.delayCall(0.01, () => {
// labelBg.scaleX = (labelNode.width + 20) / labelBg.width;
// labelBg.scaleY = (labelNode.height + 20) / labelBg.height;
......@@ -1961,12 +2220,13 @@ cc.Class({
// 找到需要显示页面信息
const resData = await this.getDataByPid(id)
this.curResData = resData;
this.hideAllView();
const isWordView = this.checkIsWordView(resData.rows);
if (isWordView) {
// 单词加载单词页面
this.showWordView(resData.rows, pName);
this.showWordView(resData.rows, pName, id);
} else {
// 菜单加载菜单页面
this.showMenuView(resData.rows, pName);
......@@ -1991,6 +2251,7 @@ cc.Class({
}
console.log('resData: ', resData);
this.curResData = resData;
// 隐藏所有页面
this.hideAllView();
......@@ -2002,7 +2263,7 @@ cc.Class({
// 判断是否是单词菜单
const isWordView = this.checkIsWordView(resData.rows);
if (isWordView) {
this.showWordView(resData.rows, data.text_en);
this.showWordView(resData.rows, data.text_en, data.id);
} else {
this.showMenuView(resData.rows, data.text_en);
}
......@@ -2052,9 +2313,10 @@ cc.Class({
},
// 显示单词视图
showWordView(rows, titleName=null) {
showWordView(rows, titleName=null, id=null) {
this.initWordSV(rows);
this.initSelectWordView(id);
if (titleName) {
this.wordTitle.str = titleName;
......@@ -2550,12 +2812,12 @@ cc.Class({
}
// else {
// delayCall(0.1, () => {
// this.delayCall(0.1, () => {
// checkTime();
// })
// }
delayCall(0.05, () => {
this.delayCall(0.05, () => {
checkTime();
})
}
......@@ -3543,7 +3805,7 @@ cc.Class({
delayCall(0.01, () => {
this.delayCall(0.01, () => {
const animationNames = animaNodeBase.animationNames;
dragonDisplay.playAnimation(animationNames[0], 0);
})
......@@ -4010,7 +4272,7 @@ cc.Class({
this.isCanDraw = true;
delayCall(0.01, () => {
this.delayCall(0.01, () => {
this.isCanDraw = false;
})
......@@ -7693,7 +7955,7 @@ cc.Class({
const arr = this.curOptionArr;
if (!arr[index]) {
// delayCall(0.5, () => {
// this.delayCall(0.5, () => {
this.changeNextQuestion();
// })
......@@ -7856,7 +8118,7 @@ cc.Class({
})
.start();
}
delayCall(time, () => {
this.delayCall(time, () => {
cb();
})
},
......@@ -7872,7 +8134,7 @@ cc.Class({
}
if (cb) {
delayCall(time, () => {
this.delayCall(time, () => {
cb();
})
}
......@@ -8865,7 +9127,7 @@ cc.Class({
ctxCircle.stroke();
if (a < 255 && !this.isDestroy) {
delayCall(0.02, () => {
this.delayCall(0.02, () => {
showColorAnim();
})
}
......@@ -9546,6 +9808,16 @@ cc.Class({
}
},
delayCall(time, callback) {
delayCall(time, () => {
if (this.isDestroy) {
return;
}
callback && callback();
})
},
onDestroy() {
this.isDestroy = true;
......
......@@ -412,4 +412,28 @@ export function callNetworkApi(uri, data, callBack) {
xhr.send();
console.log(' url is: ', url);
}
export function appearAnim(node, time=1, callback=null) {
node.active = true;
node.opacity = 0
cc.tween(node)
.to(time, {opacity: 255}, {easing: "cubicIn"})
.call(() => {
callback && callback();
})
.start();
}
export function disappearAnim(node, time=1, callback=null) {
node.active = true;
node.opacity = 255
cc.tween(node)
.to(time, {opacity: 0}, {easing: "cubicOut"})
.call(() => {
callback && callback();
})
.start();
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "d9e5993a-df99-4a38-8cae-cbcfb7605cce",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "a0fbc5d5-fb53-475a-b0e8-cb6ac8cc7ac7",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 139,
"height": 54,
"platformSettings": {},
"subMetas": {
"all_select": {
"ver": "1.0.4",
"uuid": "109428da-e154-4d52-a9d3-a84e6343bb93",
"rawTextureUuid": "a0fbc5d5-fb53-475a-b0e8-cb6ac8cc7ac7",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 139,
"height": 54,
"rawWidth": 139,
"rawHeight": 54,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d6ea1c51-4488-43fb-914f-2c7a70a179d5",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 122,
"height": 122,
"platformSettings": {},
"subMetas": {
"close_btn": {
"ver": "1.0.4",
"uuid": "cb1219fe-ab6a-42b2-a74f-28686c0c07bb",
"rawTextureUuid": "d6ea1c51-4488-43fb-914f-2c7a70a179d5",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": 0.5,
"trimX": 9,
"trimY": 8,
"width": 105,
"height": 105,
"rawWidth": 122,
"rawHeight": 122,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d3f2c51a-ad0e-4ed6-ab33-13000fe10872",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 50,
"height": 46,
"platformSettings": {},
"subMetas": {
"icon_bg": {
"ver": "1.0.4",
"uuid": "05d3b231-e796-48c3-84e5-7e9abf128f52",
"rawTextureUuid": "d3f2c51a-ad0e-4ed6-ab33-13000fe10872",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 50,
"height": 46,
"rawWidth": 50,
"rawHeight": 46,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "977e906d-094a-4f68-b9d9-d654045bdfcf",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 70,
"height": 54,
"platformSettings": {},
"subMetas": {
"icon_right": {
"ver": "1.0.4",
"uuid": "df065388-d60a-42ca-a97d-ad2386b259ae",
"rawTextureUuid": "977e906d-094a-4f68-b9d9-d654045bdfcf",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 70,
"height": 54,
"rawWidth": 70,
"rawHeight": 54,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "cc871b98-ceaa-4261-a043-9143336c4f2b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 634,
"height": 1,
"platformSettings": {},
"subMetas": {
"line": {
"ver": "1.0.4",
"uuid": "35efa6bf-c71a-434b-9373-3f0b6b1fb073",
"rawTextureUuid": "cc871b98-ceaa-4261-a043-9143336c4f2b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 634,
"height": 1,
"rawWidth": 634,
"rawHeight": 1,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "07d749c3-45ad-49c3-8483-6b9ce8b94993",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 842,
"height": 1022,
"platformSettings": {},
"subMetas": {
"panel_bg": {
"ver": "1.0.4",
"uuid": "090d4a6c-6648-449f-9201-f46eb2d04290",
"rawTextureUuid": "07d749c3-45ad-49c3-8483-6b9ce8b94993",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -3.5,
"trimX": 8,
"trimY": 7,
"width": 826,
"height": 1015,
"rawWidth": 842,
"rawHeight": 1022,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d56af5fe-a6f0-45eb-a3ba-171212a5e195",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 634,
"height": 3,
"platformSettings": {},
"subMetas": {
"panel_line": {
"ver": "1.0.4",
"uuid": "4a23b79e-94f1-4684-9590-30cb1d271816",
"rawTextureUuid": "d56af5fe-a6f0-45eb-a3ba-171212a5e195",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 634,
"height": 3,
"rawWidth": 634,
"rawHeight": 3,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "fc951ac8-c76e-4f4e-9127-b1cb1da4bd38",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 220,
"height": 83,
"platformSettings": {},
"subMetas": {
"select_btn": {
"ver": "1.0.4",
"uuid": "8d6cd049-5e08-463b-8f9f-aa11fb071e45",
"rawTextureUuid": "fc951ac8-c76e-4f4e-9127-b1cb1da4bd38",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 220,
"height": 83,
"rawWidth": 220,
"rawHeight": 83,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
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