Commit dd802a37 authored by 范雪寒's avatar 范雪寒

feat: test

parent 82d15fd6
{
"ver": "1.1.0",
"uuid": "c551970e-b095-45f3-9f1d-25cde8b8deb1",
"subMetas": {}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
import { asyncDelay, onHomeworkFinish } from "../script/util";
import { asyncDelay, buttonOnClick, onHomeworkFinish } from "../script/util";
import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent";
const { ccclass, property } = cc._decorator;
......@@ -6,190 +6,234 @@ const { ccclass, property } = cc._decorator;
@ccclass
export default class SceneComponent extends MyCocosSceneComponent {
addPreloadImage() {
// TODO 根据自己的配置预加载图片资源
this._imageResList.push({ url: this.data.pic_url });
this._imageResList.push({ url: this.data.pic_url_2 });
}
addPreloadAudio() {
// TODO 根据自己的配置预加载音频资源
this._audioResList.push({ url: this.data.audio_url });
}
addPreloadAnima() {
}
onLoadEnd() {
// TODO 加载完成后的逻辑写在这里, 下面的代码仅供参考
this.initData();
this.initView();
this.initListener();
}
_cantouch = null;
initData() {
// 所有全局变量 默认都是null
this._cantouch = true;
}
initView() {
this.initBg();
this.initPic();
this.initBtn();
this.initIcon();
}
initBg() {
const bgNode = cc.find('Canvas/bg');
bgNode.scale = this._mapScaleMax;
}
pic1 = null;
pic2 = null;
initPic() {
const canvas = cc.find('Canvas');
const maxW = canvas.width * 0.7;
this.getSprNodeByUrl(this.data.pic_url, (sprNode) => {
const picNode1 = sprNode;
picNode1.scale = maxW / picNode1.width;
picNode1.baseX = picNode1.x;
canvas.addChild(picNode1);
this.pic1 = picNode1;
const labelNode = new cc.Node();
labelNode.color = cc.Color.YELLOW;
const label = labelNode.addComponent(cc.Label);
label.string = this.data.text;
label.fontSize = 60;
label.lineHeight = 60;
label.font = cc.find('Canvas/res/font/BRLNSDB').getComponent('cc.Label').font;
picNode1.addChild(labelNode);
onLoadEnd() {
this.initListener();
}
initListener() {
const btnLaw = cc.find('Canvas/bg/ui/btnLaw');
buttonOnClick(btnLaw, () => {
const check = cc.find('Canvas/bg/ui/btnLaw/check');
check.active = !check.active;
}, 1.02);
const btnLogin = cc.find('Canvas/bg/ui/loginNode/btnLogin');
buttonOnClick(btnLogin, () => {
const inputPhone = cc.find('Canvas/bg/ui/loginNode/phone/inputPhone');
const phone = inputPhone.getComponent(cc.EditBox).string;
const inputPassword = cc.find('Canvas/bg/ui/loginNode/password/password');
const password = inputPassword.getComponent(cc.EditBox).string;
const check = cc.find('Canvas/bg/ui/btnLaw/check');
if (!check.active) {
console.log('请勾选下方协议');
return;
}
});
const btnResetPassword = cc.find('Canvas/bg/ui/forgetNode/btnResetPassword');
buttonOnClick(btnResetPassword, () => {
const inputPhone = cc.find('Canvas/bg/ui/forgetNode/phone/inputPhone');
const phone = inputPhone.getComponent(cc.EditBox).string;
const inputPassword = cc.find('Canvas/bg/ui/forgetNode/password/password');
const password = inputPassword.getComponent(cc.EditBox).string;
const inputPassCode = cc.find('Canvas/bg/ui/forgetNode/passCode/passCode');
const passCode = inputPassCode.getComponent(cc.EditBox).string;
const check = cc.find('Canvas/bg/ui/btnLaw/check');
if (!check.active) {
console.log('请勾选下方协议');
return;
}
});
const btnRegister = cc.find('Canvas/bg/ui/registerNode/btnRegister');
buttonOnClick(btnRegister, () => {
const inputPhone = cc.find('Canvas/bg/ui/registerNode/phone/inputPhone');
const phone = inputPhone.getComponent(cc.EditBox).string;
const inputPassword = cc.find('Canvas/bg/ui/registerNode/password/password');
const password = inputPassword.getComponent(cc.EditBox).string;
const inputPassCode = cc.find('Canvas/bg/ui/registerNode/passCode/passCode');
const passCode = inputPassCode.getComponent(cc.EditBox).string;
const check = cc.find('Canvas/bg/ui/btnLaw/check');
if (!check.active) {
console.log('请勾选下方协议');
return;
}
});
const btnSendCode = cc.find('Canvas/bg/ui/registerNode/passCode/btnSendCode');
buttonOnClick(btnSendCode, async () => {
const inputPhone = cc.find('Canvas/bg/ui/registerNode/phone/inputPhone');
const phone = inputPhone.getComponent(cc.EditBox).string;
const test = /^[1]([3-9])[0-9]{9}$/;
if (!test.test(phone)) {
console.log('请输入正确的手机号码');
return;
}
const label = btnSendCode.getChildByName('label').getComponent(cc.Label);
// 发送验证码
if (label.string == '发送验证码') {
let countDown = 10;
const tween = cc.tween(label)
.call(() => {
label.string = `${countDown}`;
if (countDown == 0) {
label.string = '发送验证码';
tween.stop();
}
countDown--;
})
.delay(1)
.union()
.repeatForever()
.start();
}
const middleLayer = cc.find('middleLayer')?.getComponent('middleLayer');
if (middleLayer) {
const res = await middleLayer.asyncCallNetworkApiGet('/api/oxford/v1/sendcode', {
phone: phone
});
this.getSprNodeByUrl(this.data.pic_url_2, (sprNode) => {
const picNode2 = sprNode;
picNode2.scale = maxW / picNode2.width;
canvas.addChild(picNode2);
picNode2.x = canvas.width;
picNode2.baseX = picNode2.x;
this.pic2 = picNode2;
const labelNode = new cc.Node();
const label = labelNode.addComponent(cc.RichText);
const size = 60
label.font = cc.find('Canvas/res/font/BRLNSDB').getComponent(cc.Label).font;
label.string = `<outline color=#751e00 width=4><size=${size}><color=#ffffff>${this.data.text}</color></size></outline>`
label.lineHeight = size;
picNode2.addChild(labelNode);
console.log('res = ' + JSON.stringify(res));
}
});
const btnSendCode2 = cc.find('Canvas/bg/ui/forgetNode/passCode/btnSendCode');
buttonOnClick(btnSendCode2, async () => {
const inputPhone = cc.find('Canvas/bg/ui/forgetNode/phone/inputPhone');
const phone = inputPhone.getComponent(cc.EditBox).string;
const test = /^[1]([3-9])[0-9]{9}$/;
if (!test.test(phone)) {
console.log('请输入正确的手机号码');
return;
}
const label = btnSendCode2.getChildByName('label').getComponent(cc.Label);
if (label.string == '发送验证码') {
let countDown = 10;
const tween = cc.tween(label)
.call(() => {
label.string = `${countDown}`;
if (countDown == 0) {
label.string = '发送验证码';
tween.stop();
}
countDown--;
})
.delay(1)
.union()
.repeatForever()
.start();
}
const middleLayer = cc.find('middleLayer')?.getComponent('middleLayer');
if (middleLayer) {
const res = await middleLayer.asyncCallNetworkApiGet('/api/oxford/v1/sendcode', {
phone: phone
});
}
initIcon() {
const iconNode = this.getSprNode('icon');
iconNode.zIndex = 5;
iconNode.anchorX = 1;
iconNode.anchorY = 1;
iconNode.parent = cc.find('Canvas');
iconNode.x = iconNode.parent.width / 2 - 10;
iconNode.y = iconNode.parent.height / 2 - 10;
iconNode.on(cc.Node.EventType.TOUCH_START, () => {
this.playAudioByUrl(this.data.audio_url);
console.log('res = ' + JSON.stringify(res));
}
});
const btnGotoRegister = cc.find('Canvas/bg/ui/loginNode/btnRegister');
buttonOnClick(btnGotoRegister, () => {
const loginNode = cc.find('Canvas/bg/ui/loginNode');
const registerNode = cc.find('Canvas/bg/ui/registerNode');
cc.tween(loginNode)
.to(0.3, { scaleX: 0, x: 200 }, { easing: 'sineOut' })
.call(() => {
loginNode.active = false;
})
}
curPage = null;
initBtn() {
this.curPage = 0;
const bottomPart = cc.find('Canvas/bottomPart');
bottomPart.zIndex = 5; // 提高层级
bottomPart.x = bottomPart.parent.width / 2;
bottomPart.y = -bottomPart.parent.height / 2;
const leftBtnNode = bottomPart.getChildByName('btn_left');
//节点中添加了button组件 则可以添加click事件监听
leftBtnNode.on('click', () => {
if (!this._cantouch) {
return;
}
if (this.curPage == 0) {
return;
}
this.curPage = 0
this.leftMove();
this.playLocalAudio('btn');
.start();
registerNode.active = true;
cc.tween(registerNode)
.set({ scaleX: 0, x: -200 })
.to(0.3, { scaleX: 1, x: 0 }, { easing: 'sineIn' })
.start();
});
const btnForgetPassword = cc.find('Canvas/bg/ui/loginNode/btnForgetPassword');
buttonOnClick(btnForgetPassword, () => {
const loginNode = cc.find('Canvas/bg/ui/loginNode');
const forgetNode = cc.find('Canvas/bg/ui/forgetNode');
cc.tween(loginNode)
.to(0.3, { scaleX: 0, x: -200 }, { easing: 'sineOut' })
.call(() => {
loginNode.active = false;
})
const rightBtnNode = bottomPart.getChildByName('btn_right');
//节点中添加了button组件 则可以添加click事件监听
rightBtnNode.on('click', () => {
if (!this._cantouch) {
return;
}
if (this.curPage == 1) {
return;
}
this.curPage = 1
this.rightMove();
// 游戏结束时需要调用这个方法通知系统作业完成
onHomeworkFinish();
this.playLocalAudio('btn');
.start();
forgetNode.active = true;
cc.tween(forgetNode)
.set({ scaleX: 0, x: 200 })
.to(0.3, { scaleX: 1, x: 0 }, { easing: 'sineIn' })
.start();
});
const btnGoToLogin = cc.find('Canvas/bg/ui/forgetNode/btnGoToLogin');
buttonOnClick(btnGoToLogin, () => {
const forgetNode = cc.find('Canvas/bg/ui/forgetNode');
const loginNode = cc.find('Canvas/bg/ui/loginNode');
cc.tween(forgetNode)
.to(0.3, { scaleX: 0, x: -200 }, { easing: 'sineOut' })
.call(() => {
forgetNode.active = false;
})
.start();
loginNode.active = true;
cc.tween(loginNode)
.set({ scaleX: 0, x: 200 })
.to(0.3, { scaleX: 1, x: 0 }, { easing: 'sineIn' })
.start();
});
const btnRegister2 = cc.find('Canvas/bg/ui/forgetNode/btnRegister');
buttonOnClick(btnRegister2, () => {
const forgetNode = cc.find('Canvas/bg/ui/forgetNode');
const registerNode = cc.find('Canvas/bg/ui/registerNode');
cc.tween(forgetNode)
.to(0.3, { scaleX: 0, x: 200 }, { easing: 'sineOut' })
.call(() => {
forgetNode.active = false;
})
.start();
registerNode.active = true;
cc.tween(registerNode)
.set({ scaleX: 0, x: -200 })
.to(0.3, { scaleX: 1, x: 0 }, { easing: 'sineIn' })
.start();
});
const btnGoToLogin2 = cc.find('Canvas/bg/ui/registerNode/btnGoToLogin');
buttonOnClick(btnGoToLogin2, () => {
const registerNode = cc.find('Canvas/bg/ui/registerNode');
const loginNode = cc.find('Canvas/bg/ui/loginNode');
cc.tween(registerNode)
.to(0.3, { scaleX: 0, x: 200 }, { easing: 'sineOut' })
.call(() => {
registerNode.active = false;
})
}
leftMove() {
this._cantouch = false;
const len = this.pic1.parent.width;
cc.tween(this.pic1)
.to(1, { x: this.pic1.baseX }, { easing: 'cubicInOut' })
.start();
cc.tween(this.pic2)
.to(1, { x: this.pic2.baseX }, { easing: 'cubicInOut' })
.call(() => {
this._cantouch = true;
})
.start();
}
rightMove() {
this._cantouch = false;
const len = this.pic1.parent.width;
cc.tween(this.pic1)
.to(1, { x: this.pic1.baseX - len }, { easing: 'cubicInOut' })
.start();
cc.tween(this.pic2)
.to(1, { x: this.pic2.baseX - len }, { easing: 'cubicInOut' })
.call(() => {
this._cantouch = true;
})
.start();
}
// update (dt) {},
initListener() {
}
playLocalAudio(audioName) {
const audio = cc.find(`Canvas/res/audio/${audioName}`).getComponent(cc.AudioSource);
return new Promise((resolve, reject) => {
const id = cc.audioEngine.playEffect(audio.clip, false);
cc.audioEngine.setFinishCallback(id, () => {
resolve(id);
});
.start();
loginNode.active = true;
cc.tween(loginNode)
.set({ scaleX: 0, x: -200 })
.to(0.3, { scaleX: 1, x: 0 }, { easing: 'sineIn' })
.start();
});
const btnForgetPassword2 = cc.find('Canvas/bg/ui/registerNode/btnForgetPassword');
buttonOnClick(btnForgetPassword2, () => {
const registerNode = cc.find('Canvas/bg/ui/registerNode');
const forgetNode = cc.find('Canvas/bg/ui/forgetNode');
cc.tween(registerNode)
.to(0.3, { scaleX: 0, x: -200 }, { easing: 'sineOut' })
.call(() => {
registerNode.active = false;
})
}
.start();
forgetNode.active = true;
cc.tween(forgetNode)
.set({ scaleX: 0, x: 200 })
.to(0.3, { scaleX: 1, x: 0 }, { easing: 'sineIn' })
.start();
});
}
}
......@@ -71,64 +71,64 @@ export function setSprNodeMaxLen(sprNode, maxW, maxH) {
}
export function localPosTolocalPos(baseNode, targetNode) {
const worldPos = targetNode.parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y));
const localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y));
return localPos;
const worldPos = targetNode.parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y));
const localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y));
return localPos;
}
export function worldPosToLocalPos(worldPos, baseNode) {
const localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y));
return localPos;
const localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y));
return localPos;
}
export function getScaleRateBy2Node(baseNode, targetNode, maxFlag = true) {
const worldRect1 = targetNode.getBoundingBoxToWorld();
const worldRect2 = baseNode.getBoundingBoxToWorld();
const sx = worldRect1.width / worldRect2.width;
const sy = worldRect1.height / worldRect2.height;
if (maxFlag) {
return Math.max(sx, sy);
} else {
return Math.min(sx, sy);
}
const worldRect1 = targetNode.getBoundingBoxToWorld();
const worldRect2 = baseNode.getBoundingBoxToWorld();
const sx = worldRect1.width / worldRect2.width;
const sy = worldRect1.height / worldRect2.height;
if (maxFlag) {
return Math.max(sx, sy);
} else {
return Math.min(sx, sy);
}
}
export function getDistance (start, end){
var pos = cc.v2(start.x - end.x, start.y - end.y);
var dis = Math.sqrt(pos.x*pos.x + pos.y*pos.y);
return dis;
export function getDistance(start, end) {
var pos = cc.v2(start.x - end.x, start.y - end.y);
var dis = Math.sqrt(pos.x * pos.x + pos.y * pos.y);
return dis;
}
export function playAudioByUrl(audio_url, cb=null) {
if (audio_url) {
cc.assetManager.loadRemote(audio_url, (err, audioClip) => {
export function playAudioByUrl(audio_url, cb = null) {
if (audio_url) {
cc.assetManager.loadRemote(audio_url, (err, audioClip) => {
const audioId = cc.audioEngine.play(audioClip, false, 0.8);
if (cb) {
cc.audioEngine.setFinishCallback(audioId, () => {
cb();
});
}
});
}
});
}
}
export function btnClickAnima(btn, time=0.15, rate=1.05) {
export function btnClickAnima(btn, time = 0.15, rate = 1.05) {
btn.tmpScale = btn.scale;
btn.on(cc.Node.EventType.TOUCH_START, () => {
cc.tween(btn)
.to(time / 2, {scale: btn.scale * rate})
.to(time / 2, { scale: btn.scale * rate })
.start()
})
btn.on(cc.Node.EventType.TOUCH_CANCEL, () => {
cc.tween(btn)
.to(time / 2, {scale: btn.tmpScale})
.to(time / 2, { scale: btn.tmpScale })
.start()
})
btn.on(cc.Node.EventType.TOUCH_END, () => {
cc.tween(btn)
.to(time / 2, {scale: btn.tmpScale})
.to(time / 2, { scale: btn.tmpScale })
.start()
})
}
......@@ -179,7 +179,7 @@ export async function asyncDelay(time) {
try {
cc.tween(cc.find('Canvas'))
.delay(time)
.call(()=>{
.call(() => {
resolve(null);
})
.start();
......@@ -191,69 +191,69 @@ export async function asyncDelay(time) {
export async function asyncLoadDragonBoneAnime(node, { skeJsonData: { url: skeJsonDataUrl }, texJsonData: { url: texJsonDataUrl }, texPngData: { url: texPngDataUrl } }) {
if (!texPngDataUrl || !texJsonDataUrl || !texPngDataUrl
|| texPngDataUrl == '' || texJsonDataUrl == '' || texPngDataUrl == '') {
return;
}
if (!texPngDataUrl || !texJsonDataUrl || !texPngDataUrl
|| texPngDataUrl == '' || texJsonDataUrl == '' || texPngDataUrl == '') {
return;
}
return new Promise((resolve, reject) => {
if (node.animaNode) {
node.animaNode.removeFromParent();
return new Promise((resolve, reject) => {
if (node.animaNode) {
node.animaNode.removeFromParent();
}
const animaNode = new cc.Node();
animaNode.name = 'animaNode';
animaNode.parent = node;
animaNode.active = true;
node.animaNode = animaNode;
const dragonDisplay = animaNode.addComponent(dragonBones.ArmatureDisplay);
const loadTexture = new Promise((resolve, reject) => {
cc.assetManager.loadRemote(texPngDataUrl, (error, texture) => {
if (error) {
reject(error);
}
const animaNode = new cc.Node();
animaNode.name = 'animaNode';
animaNode.parent = node;
animaNode.active = true;
node.animaNode = animaNode;
const dragonDisplay = animaNode.addComponent(dragonBones.ArmatureDisplay);
const loadTexture = new Promise((resolve, reject) => {
cc.assetManager.loadRemote(texPngDataUrl, (error, texture) => {
if (error) {
reject(error);
}
resolve(texture);
});
});
resolve(texture);
});
});
const loadTexJsonData = new Promise((resolve, reject) => {
cc.assetManager.loadAny({ url: texJsonDataUrl }, (error, atlasJson) => {
if (error) {
reject(error);
}
resolve(atlasJson);
});
});
const loadTexJsonData = new Promise((resolve, reject) => {
cc.assetManager.loadAny({ url: texJsonDataUrl }, (error, atlasJson) => {
if (error) {
reject(error);
}
resolve(atlasJson);
});
});
const loadSkeJsonData = new Promise((resolve, reject) => {
cc.assetManager.loadAny({ url: skeJsonDataUrl }, (error, dragonBonesJson) => {
if (error) {
reject(error);
}
resolve(dragonBonesJson);
});
});
const loadSkeJsonData = new Promise((resolve, reject) => {
cc.assetManager.loadAny({ url: skeJsonDataUrl }, (error, dragonBonesJson) => {
if (error) {
reject(error);
}
resolve(dragonBonesJson);
});
});
Promise.all([loadTexture, loadTexJsonData, loadSkeJsonData]).then(([texture, atlasJson, dragonBonesJson]) => {
const atlas = new dragonBones.DragonBonesAtlasAsset();
atlas.atlasJson = JSON.stringify(atlasJson);
atlas.texture = texture;
Promise.all([loadTexture, loadTexJsonData, loadSkeJsonData]).then(([texture, atlasJson, dragonBonesJson]) => {
const atlas: any = new dragonBones.DragonBonesAtlasAsset();
atlas.atlasJson = JSON.stringify(atlasJson);
atlas.texture = texture;
const asset = new dragonBones.DragonBonesAsset();
asset.dragonBonesJson = JSON.stringify(dragonBonesJson);
const asset = new dragonBones.DragonBonesAsset();
asset.dragonBonesJson = JSON.stringify(dragonBonesJson);
dragonDisplay.dragonAtlasAsset = atlas;
dragonDisplay.dragonAsset = asset;
dragonDisplay.dragonAtlasAsset = atlas;
dragonDisplay.dragonAsset = asset;
let armatureNames = dragonBonesJson.armature.map(data => data.name);
let armatureNames = (<any>dragonBonesJson).armature.map(data => data.name);
if (armatureNames.length > 0) {
dragonDisplay.armatureName = armatureNames[0];
}
resolve(animaNode);
});
if (armatureNames.length > 0) {
dragonDisplay.armatureName = armatureNames[0];
}
resolve(animaNode);
});
});
}
export class FireworkSettings {
......@@ -421,4 +421,21 @@ export function onHomeworkFinish() {
} else {
console.log('onHomeworkFinish');
}
}
export function buttonOnClick(button: cc.Node, callback: Function, scale = 1.1) {
button.on('click', () => {
if (button['cantClick']) {
return;
}
button['cantClick'] = true;
cc.tween(button)
.to(0.1, { scale: scale })
.to(0.1, { scale: 1.0 })
.call(() => {
button['cantClick'] = false;
callback && callback();
})
.start();
});
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "526f6d1f-5d5d-4ef2-a939-1ecb34b13e3f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 223,
"height": 62,
"platformSettings": {},
"subMetas": {
"btn": {
"ver": "1.0.4",
"uuid": "c70ab431-6fdc-49a7-8a80-97d2cc6fa959",
"rawTextureUuid": "526f6d1f-5d5d-4ef2-a939-1ecb34b13e3f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 223,
"height": 62,
"rawWidth": 223,
"rawHeight": 62,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "5a2e83b1-662e-4e73-9b89-8d6909e5bf28",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 127,
"height": 45,
"platformSettings": {},
"subMetas": {
"btn2": {
"ver": "1.0.4",
"uuid": "b7d32e44-5cbd-468c-b89a-3a498da3aa07",
"rawTextureUuid": "5a2e83b1-662e-4e73-9b89-8d6909e5bf28",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 127,
"height": 45,
"rawWidth": 127,
"rawHeight": 45,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "ea257bdc-b502-46ac-9f89-550259e953b9",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 19,
"height": 17,
"platformSettings": {},
"subMetas": {
"check": {
"ver": "1.0.4",
"uuid": "b3a2ac48-c9d5-4a1b-9369-22e5ea65be14",
"rawTextureUuid": "ea257bdc-b502-46ac-9f89-550259e953b9",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 19,
"height": 17,
"rawWidth": 19,
"rawHeight": 17,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "0d1f9ff7-8d7c-43a3-8358-8add5557c04f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1280,
"height": 720,
"platformSettings": {},
"subMetas": {
"ground": {
"ver": "1.0.4",
"uuid": "7638eb00-5a76-4010-a46b-6a840e5ffd75",
"rawTextureUuid": "0d1f9ff7-8d7c-43a3-8358-8add5557c04f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1280,
"height": 720,
"rawWidth": 1280,
"rawHeight": 720,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "053542d9-efe9-4b16-97c5-c335bbfdcc6e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 35,
"height": 41,
"platformSettings": {},
"subMetas": {
"lock": {
"ver": "1.0.4",
"uuid": "7d64367c-d20b-4292-93d8-b3288ce0571b",
"rawTextureUuid": "053542d9-efe9-4b16-97c5-c335bbfdcc6e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 35,
"height": 41,
"rawWidth": 35,
"rawHeight": 41,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "8c2f6759-f432-4862-a4e8-020479652a5b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 115,
"height": 115,
"platformSettings": {},
"subMetas": {
"logo": {
"ver": "1.0.4",
"uuid": "8d491d89-ddc3-436f-8504-035bf91acfe4",
"rawTextureUuid": "8c2f6759-f432-4862-a4e8-020479652a5b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 115,
"height": 115,
"rawWidth": 115,
"rawHeight": 115,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "69fd0f5f-c6a0-47ff-8d26-75f9f46dcdb9",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 33,
"height": 38,
"platformSettings": {},
"subMetas": {
"passCode": {
"ver": "1.0.4",
"uuid": "df5be773-5c1d-4e5e-beac-059c237f598f",
"rawTextureUuid": "69fd0f5f-c6a0-47ff-8d26-75f9f46dcdb9",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 33,
"height": 38,
"rawWidth": 33,
"rawHeight": 38,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "1a80b694-eff9-43d9-8361-91ece3828872",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 30,
"height": 40,
"platformSettings": {},
"subMetas": {
"phone": {
"ver": "1.0.4",
"uuid": "ab859405-84e5-49a9-b678-ae593dc6a6c5",
"rawTextureUuid": "1a80b694-eff9-43d9-8361-91ece3828872",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 30,
"height": 40,
"rawWidth": 30,
"rawHeight": 40,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "9b79c2e2-5a02-4223-bea3-eef8bc65a6f0",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 15,
"height": 15,
"platformSettings": {},
"subMetas": {
"radio": {
"ver": "1.0.4",
"uuid": "d93a1096-db65-4b52-9d2a-202d3e18c521",
"rawTextureUuid": "9b79c2e2-5a02-4223-bea3-eef8bc65a6f0",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 15,
"height": 15,
"rawWidth": 15,
"rawHeight": 15,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "2f8e4d91-dcdb-4f4d-921e-09728912dde8",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1280,
"height": 720,
"platformSettings": {},
"subMetas": {
"sky": {
"ver": "1.0.4",
"uuid": "80b2bc09-975d-412c-b6d1-2f211f7361e6",
"rawTextureUuid": "2f8e4d91-dcdb-4f4d-921e-09728912dde8",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1280,
"height": 720,
"rawWidth": 1280,
"rawHeight": 720,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "654eceed-edc7-4658-9dbb-89e4a8958dda",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 391,
"height": 55,
"platformSettings": {},
"subMetas": {
"textBg": {
"ver": "1.0.4",
"uuid": "54906191-18a9-4ffd-b076-215a233c0c14",
"rawTextureUuid": "654eceed-edc7-4658-9dbb-89e4a8958dda",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 391,
"height": 55,
"rawWidth": 391,
"rawHeight": 55,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "21e8629a-2b93-4843-99b1-083649a6d168",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 522,
"height": 172,
"platformSettings": {},
"subMetas": {
"tree": {
"ver": "1.0.4",
"uuid": "ba3974de-8716-4e92-8a26-45684bca247e",
"rawTextureUuid": "21e8629a-2b93-4843-99b1-083649a6d168",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 522,
"height": 172,
"rawWidth": 522,
"rawHeight": 172,
"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