Commit 18e18de9 authored by 李维's avatar 李维

迁移项目

parent a3f5ba9f
No preview for this file type
...@@ -57,25 +57,10 @@ npm start ...@@ -57,25 +57,10 @@ npm start
* 下载模板调试专用app * 下载模板调试专用app
安卓下载:
http://download-iplayabc.oss-cn-beijing.aliyuncs.com/iDebugABC.apk http://download-iplayabc.oss-cn-beijing.aliyuncs.com/iDebugABC.apk
![avatar](http://staging-teach.cdn.ireadabc.com/084f2f95-8213-4c5a-8c46-b194819d7677.png) ![avatar](http://staging-teach.cdn.ireadabc.com/084f2f95-8213-4c5a-8c46-b194819d7677.png)
iOS下载:
由于调试APP没有上架App Store 所以需要先获取手机的UDID 发送给我们的技术支持,加入后才可以扫码下载安装
获取UDID:https://www.pgyer.com/tools/udid
下载iOS: https://www.pgyer.com/gS0X
有时可能需要反复调试一些功能性的问题,与原生APP相关或者手上临时没有设备,我们提供了一个网页版的调试方式
http://staging-openapi.iteachabc.com/api/courseware/v1/middle/debug
* 启动本地服务 * 启动本地服务
``` ```
...@@ -90,6 +75,5 @@ npm start ...@@ -90,6 +75,5 @@ npm start
### 注意事项及常见问题 ### 注意事项及常见问题
* 项目里所有文件及文件夹的命名方式要注意不能包含空格、汉字、减号 * 项目里所有文件及文件夹的命名方式要注意不能包含空格、汉字、减号
* 开发者新建的脚本文件(.js/.ts)的文件名必须包含项目名称,例如在 test_01 项目中添加一个脚本文件(如想命名为 hello.ts );则需要命名为 hello_test_01.ts
* 项目里尽量不要使用setTimeout、setInterval等定时器,如果使用了记得在onDestroy中释放掉(onDestroy 是指CocosCreator的生命周期钩子) * 项目里尽量不要使用setTimeout、setInterval等定时器,如果使用了记得在onDestroy中释放掉(onDestroy 是指CocosCreator的生命周期钩子)
* 理论上禁止使用全局变量,因为模板到线上会进行组装,常见问题是一个模板使用多次造成全局变量被读脏 * 理论上禁止使用全局变量,因为模板到线上会进行组装,常见问题是一个模板使用多次造成全局变量被读脏
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "c35bb2f6-f24a-4850-ae44-643f2fdc7541", "uuid": "d65b5fe6-a6ce-4138-bee6-f92d5b6b8513",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "cb9fa4ea-66ca-45af-ad31-e445c7b0ef32", "uuid": "9270b5d9-6b81-42b7-8d73-d8e73bf210ca",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
{ {
"ver": "2.0.1", "ver": "2.0.1",
"uuid": "f0680ae0-c079-45ef-abd7-9e63d90b982b", "uuid": "157a680a-4896-45c1-8216-a2a6ef053337",
"downloadMode": 0, "downloadMode": 0,
"duration": 0.130612, "duration": 0.182857,
"subMetas": {} "subMetas": {}
} }
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "aed4c117-174e-4501-b970-c15aff40af17",
"downloadMode": 0,
"duration": 0.182857,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "b26df9b7-345c-4174-98a1-f06219a08b6c",
"downloadMode": 0,
"duration": 3.787755,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "b96ded13-f3e1-447b-88a5-1271ef682009",
"downloadMode": 0,
"duration": 0.940408,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "66249a2b-219d-4182-9ed7-529dc3b240bf",
"downloadMode": 0,
"duration": 1.854694,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "24d2ce12-6f32-4687-8afe-be716791ebb5",
"downloadMode": 0,
"duration": 0.992571,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "5c335aa9-e72f-4584-9751-d786d8d0c3f4",
"downloadMode": 0,
"duration": 1.253878,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "b8c93f7d-5c26-42f1-bbe9-ec096711a7a7",
"downloadMode": 0,
"duration": 0.862041,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "7d7f4232-12c3-4157-b2fe-1eae49110dac",
"downloadMode": 0,
"duration": 3.787755,
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "0853721c-3f55-4eb2-873d-e3081cfadd4b", "uuid": "045e1e4f-79fb-4a2a-8233-a13027ef6148",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "141ba7e2-2ee9-43e0-8bde-238d499b06e8",
"subMetas": {}
}
\ No newline at end of file
{"SubTexture":[{"width":181,"y":222,"height":148,"name":"4","x":690},{"width":687,"y":1,"height":504,"name":"3","x":1},{"width":92,"y":222,"height":233,"name":"2","x":873},{"width":273,"y":1,"height":219,"name":"1","x":690}],"width":1024,"height":512,"name":"右侧","imagePath":"右侧_tex.png"}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "a66f3441-aba8-44bd-a40b-38c46ba0d0c0",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "a03a15d0-78fa-4b9f-9f70-b48d3462b019",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1024,
"height": 512,
"platformSettings": {},
"subMetas": {
"右侧_tex": {
"ver": "1.0.4",
"uuid": "a677f538-5af2-4239-ac7b-2eb96a03713f",
"rawTextureUuid": "a03a15d0-78fa-4b9f-9f70-b48d3462b019",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -29,
"offsetY": 3,
"trimX": 1,
"trimY": 1,
"width": 964,
"height": 504,
"rawWidth": 1024,
"rawHeight": 512,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "8d3c2ee4-0ee1-45ae-9a95-153250f3042c",
"subMetas": {}
}
\ No newline at end of file
{"SubTexture":[{"width":32,"y":141,"height":36,"name":"8","x":1},{"width":40,"y":49,"height":41,"name":"7","x":60},{"width":70,"y":100,"height":39,"name":"6","x":1},{"width":68,"y":1,"height":46,"name":"5","x":1},{"width":35,"y":130,"height":34,"name":"4","x":73},{"width":36,"y":92,"height":36,"name":"3","x":73},{"width":38,"y":1,"height":38,"name":"2","x":71},{"width":57,"y":49,"height":49,"name":"1","x":1}],"width":128,"height":256,"name":"小花","imagePath":"小花_tex.png"}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "c69a94f9-a73b-4bba-80f0-b6833893d41c",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "96a9787c-6ae4-4815-b4e2-39ef6dc2060c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 128,
"height": 256,
"platformSettings": {},
"subMetas": {
"小花_tex": {
"ver": "1.0.4",
"uuid": "5dfdc39b-d3ce-4073-b396-b5a8dcdf6f8e",
"rawTextureUuid": "96a9787c-6ae4-4815-b4e2-39ef6dc2060c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -9,
"offsetY": 39,
"trimX": 1,
"trimY": 1,
"width": 108,
"height": 176,
"rawWidth": 128,
"rawHeight": 256,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "ec2e8c68-86ca-4c81-9402-774be20585e9",
"subMetas": {}
}
\ No newline at end of file
{"SubTexture":[{"width":161,"y":139,"height":209,"name":"4","x":670},{"width":667,"y":1,"height":515,"name":"3","x":1},{"width":127,"y":139,"height":209,"name":"2","x":833},{"width":289,"y":1,"height":136,"name":"1","x":670}],"width":1024,"height":1024,"name":"左侧","imagePath":"左侧_tex.png"}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "2a535bb5-b6ad-4f6c-a672-44250ab97191",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "e5235d56-bd0c-4fbc-9a7e-5b00d4d6f5a4",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1024,
"height": 1024,
"platformSettings": {},
"subMetas": {
"左侧_tex": {
"ver": "1.0.4",
"uuid": "afe7e14a-836d-456d-8506-18865eaea7ee",
"rawTextureUuid": "e5235d56-bd0c-4fbc-9a7e-5b00d4d6f5a4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -31.5,
"offsetY": 253.5,
"trimX": 1,
"trimY": 1,
"width": 959,
"height": 515,
"rawWidth": 1024,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "767d421e-2a19-4419-92c2-3f0bc037b597",
"subMetas": {}
}
\ No newline at end of file
{"width":1024,"imagePath":"成功_tex.png","SubTexture":[{"width":407,"y":1,"height":407,"name":"1","x":1},{"width":39,"y":1,"height":40,"name":"2","x":669},{"width":196,"y":1,"height":196,"name":"3","x":410},{"width":25,"y":1,"height":26,"name":"4","x":710},{"width":16,"y":410,"height":17,"name":"5","x":17},{"width":233,"y":199,"height":161,"name":"6","x":410},{"width":16,"y":43,"height":71,"name":"7","x":708},{"width":59,"y":1,"height":46,"name":"8","x":608},{"width":33,"y":79,"height":68,"name":"9","x":608},{"width":25,"y":79,"height":71,"name":"10","x":643},{"width":72,"y":152,"height":20,"name":"11","x":608},{"width":84,"y":49,"height":28,"name":"12","x":608},{"width":6,"y":410,"height":49,"name":"13","x":9},{"width":6,"y":410,"height":49,"name":"14","x":1},{"width":34,"y":362,"height":40,"name":"15","x":410},{"width":46,"y":174,"height":22,"name":"16","x":608},{"width":45,"y":120,"height":28,"name":"17","x":670},{"width":36,"y":79,"height":39,"name":"18","x":670},{"width":20,"y":404,"height":24,"name":"19","x":410}],"height":512,"name":"成功"}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "4cfdf2e0-e112-4dbe-a3ad-6cc69c151319",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "c821489c-43ed-4cd7-87b3-c3ac4aa41c85",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1024,
"height": 512,
"platformSettings": {},
"subMetas": {
"成功_tex": {
"ver": "1.0.4",
"uuid": "c6beb8ab-de47-486f-8318-b7f13230ec5b",
"rawTextureUuid": "c821489c-43ed-4cd7-87b3-c3ac4aa41c85",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -144,
"offsetY": 26,
"trimX": 1,
"trimY": 1,
"width": 734,
"height": 458,
"rawWidth": 1024,
"rawHeight": 512,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "20185448-a1ca-4de2-8b37-7bf6cdfccbae", "uuid": "21745d2a-873d-4fea-819c-480ba2845010",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
{ {
"ver": "1.1.0", "ver": "1.1.0",
"uuid": "c551970e-b095-45f3-9f1d-25cde8b8deb1", "uuid": "058131bd-0793-4610-b8d5-79e857ddbd70",
"subMetas": {} "subMetas": {}
} }
\ No newline at end of file
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "e8bd16b0-3804-45a9-a8ca-f52c02224f55", "uuid": "4d020249-f9f4-4e16-8db2-377de753bc7e",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
import pg from "./tool/pg_TXZS_G_005";
import Game, { Option } from "./tool/Game_TXZS_G_005";
const { ccclass, property } = cc._decorator;
@ccclass
export default class CardItem extends cc.Component {
public onEnable() {
}
protected onDestroy(): void {
}
private cardId: number = 0;
private isClick = false;
public data: Option;
public isDispel = false;
protected onLoad(): void {
pg.event.on("click_card", (cardId) => {
if (!this || this.isDispel) return;
if (cardId == this.cardId) {
this.showFront();
}
})
pg.event.on("card_back", (cardId) => {
if (!this || this.isDispel) return;
if (cardId == this.cardId) {
this.showBack();
}
})
pg.event.on("disappear_card", (cardId) => {
if (!this || this.isDispel) return;
if (cardId == this.cardId) {
this.disappear();
}
})
this.node.on(cc.Node.EventType.TOUCH_END, this.clickCard, this);
}
public showCard(data) {
this.data = data;
this.cardId = data.id;
let card_front = cc.find("card_front", this.node);
let word = cc.find("word", card_front);
let img = cc.find("img", card_front);
if (data.type == "img") {
pg.view.setNetImg(img, data.picUrl, { w: 230, h: null });
} else {
word.getComponent(cc.Label).string = data.txt;
}
img.active = data.type == "img";
word.active = data.type == "txt";
}
private clickCard() {
if (this.isClick || !Game.getIns().isCanClick) return;
this.isClick = true;
this.showFront();
this.playLocalAudio("clickcard");
if (Game.getIns().oClickedCard == null) {
Game.getIns().oClickedCard = this;
return;
}
if (Game.getIns().oClickedCard.node.uuid == this.node.uuid) {
// 如果球又被点了一次,
// 直接退出...
return;
}
Game.getIns().isCanClick = false;
this.scheduleOnce(() => {
// 获取上一个点击的卡牌控件
let oPrevCardComp: CardItem = Game.getIns().oClickedCard;
if (oPrevCardComp.data.pairKey == this.data.pairKey) {
this.scheduleOnce(() => {
this.playLocalAudio("right");
pg.event.emit("disappear_card", this.cardId);
pg.event.emit("disappear_card", oPrevCardComp.cardId);
}, 0.1);
} else {
this.playLocalAudio("error");
pg.event.emit("card_back", this.cardId);
pg.event.emit("card_back", oPrevCardComp.cardId);
Game.getIns().failCount++;
}
Game.getIns().oClickedCard = null;
}, 1);
}
private showBack() {
let card_back = cc.find("card_back", this.node);
cc.tween(this.node).to(0.3, { scaleX: 0 })
.call(() => { card_back.active = true })
.to(0.3, { scaleX: 1 })
.call(() => {
this.isClick = false;
Game.getIns().isCanClick = true;
})
.start();
}
private showFront() {
let card_front = cc.find("card_front", this.node);
let card_back = cc.find("card_back", this.node);
cc.tween(this.node).to(0.3, { scaleX: 0 })
.call(() => { card_back.active = false })
.to(0.3, { scaleX: 1 })
.call(() => {
pg.audio.playAudioByUrl(this.data.audioUrl);
})
.start();
}
private disappear() {
let card_front = cc.find("card_front", this.node);
let light = cc.find("light", this.node);
cc.tween(card_front).to(0.2, { scale: 0 }).call(async () => {
light.getComponent(dragonBones.ArmatureDisplay).playAnimation("newAnimation", 1);
light.active = true;
this.scheduleOnce(() => {
Game.getIns().isCanClick = true;
light.active = false;
this.isDispel = true;
Game.getIns().dispelCount -= 1;
if (Game.getIns().dispelCount <= 0) {
pg.event.emit("check_next_question");
}
}, 1)
})
.start();
}
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); });
})
}
}
\ No newline at end of file
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "f8b451ff-857c-4ca8-9870-866bc5154a29", "uuid": "5de7ecd3-f5e8-403e-bf22-55e6dd7990da",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
This diff is collapsed.
{ {
"ver": "1.2.9", "ver": "1.2.9",
"uuid": "0737ce42-24f0-45c6-8e1a-8bdab4f74ba3", "uuid": "b029dd1f-4e2f-41a9-83af-25c773c28723",
"asyncLoadAssets": false, "asyncLoadAssets": false,
"autoReleaseAssets": true, "autoReleaseAssets": false,
"subMetas": {} "subMetas": {}
} }
\ No newline at end of file
This diff is collapsed.
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "c41b0e51-55d7-443c-af3a-b22c3dd9b9e5", "uuid": "1b8126ba-e038-4083-9079-5c8a83505a1f",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
{
"ver": "1.1.2",
"uuid": "940ff1e4-15cc-4af9-9797-c0af8a3d7d47",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
import CardItem from "../CardItem_TXZS_G_005";
export enum FISH_OUT {
RUNNING,
TOUCH,
CATCH,
ESCAP,
OUT
}
export class Fish {
public isOut: number;
public node: cc.Node;
public isLeft: boolean;//在左侧 向右运动
constructor() {
this.isOut = 0;
this.isLeft = Math.random() < 0.5;
}
}
export class Option {
public type;
public txt;
public picUrl;
public audioUrl;
// public right: boolean;
public data;
public id: number;
public count: number;
public time: number;
public touchRight: boolean;
public parent;
public pairKey;
constructor(data, id) {
this.id = id;
this.type = data.type;
// this.count = 0;
this.txt = data.text;
// this.time = data.duration;
this.picUrl = data.image;
this.audioUrl = data.audio;
// this.right = data.right;
// this.touchRight = false;
}
}
export class Item {
public page;
public audio;
public duration;
public optionList;
public checkMore: boolean;
public rNum: number;
constructor(data, page) {
this.audio = data.questionAudio;
this.duration = data.duration;
let id = 0;
this.optionList = [];
let upArr = [];
let downArr = [];
data.options.forEach((item, idx) => {
let up = new Option(item.up, idx * 100);
let down = new Option(item.down, idx * 100 + 1);
up.pairKey = "card_" + idx;
down.pairKey = "card_" + idx;
upArr.push(up);
downArr.push(down);
});
this.optionList = upArr.concat(downArr);
// this.optionList = data.options.map((o, idx) => {
// return new Option(o, idx);
// })
this.optionList.sort(function () {
return (0.5 - Math.random());
});
// this.rNum = 0;
// for (let i = 0; i < this.optionList.length; i++) {
// if (this.optionList[i].right) this.rNum++;
// }
// this.checkMore = this.rNum > 1;
this.page = page;
}
}
class Role {
public score: number;
public right: number;
public error: number;
public voices: Array<any>;
constructor() {
this.score = 0;
this.error = 0;
this.right = 0;
this.voices = [];
}
addScore(score: number = 1) {
this.score += score;
}
addError(score: number = 1) {
this.error += score;
}
addRight() {
this.right += 1;
}
addVoice(obj: any) {
this.voices.push(obj);
}
}
export class Player extends Role {
constructor() {
super();
}
reset() {
this.score = 0;
this.error = 0;
this.right = 0;
this.voices = [];
}
}
export class Robot extends Role {
constructor() {
super();
}
reset() {
this.score = 0;
this.error = 0;
this.right = 0;
this.voices = [];
}
}
export enum GAME_STATE {
WAIT,
RUNNING,
OVER
}
export default class Game {
private static ins: Game;
public static getIns(): Game {
if (!Game.ins) Game.ins = new Game();
return Game.ins;
}
private data: any;
private lists: Array<Item>
public player: Player;
public robot: Robot;
public state: GAME_STATE;
public total: number;
constructor() {
this.start = false;
this.lists = [];
this.player = new Player();
this.robot = new Robot();
this.state = GAME_STATE.WAIT;
}
get len() {
return this.lists.length;
}
public question: { text, audio };
public title: string;
public oClickedCard: CardItem;
public isCanClick: boolean;
public failCount;
public dispelCount;
// public bgAudio: string;
// public questionText: string;
public init(data) {
// this.question = { text: data.questionText, audio: data.questionTextAudio };
this.title = data.title;
// this.bgAudio = data.bgAudio || "";
// this.questionText = data.questionText;
this.start = false;
this.lists = [];
this.data = data.questions;
}
public start: boolean;
public page: number;
reset() {
this.oClickedCard = null;
this.isCanClick = false;
this.failCount = 0;
this.dispelCount = 0;
this.player.reset();
this.robot.reset();
this.page = 1;
this.start = true;
this.lists = [];
for (let i = 0; i < this.data.length; i++) {
let data = this.data[i];
this.lists.push(new Item(data, i + 1));
}
this.state = GAME_STATE.WAIT;
this.total = this.lists.length;
}
public getCardInfo() {
let option: Item = this.lists.splice(0, 1)[0];
// if (this.lists.length > 0) {
// let random = Math.floor(Math.random() * this.lists.length);
// option = this.lists.splice(random, 1)[0];
// } else {
// option = null;
// }
console.log(" this.cardInfo=======", option)
return option;
}
// checkSuccess(arr: Option[]) {
// let data = this.getCurrentPage();
// let options = data.optionList.concat();
// options.sort((A, B) => A.id - B.id)
// for (let i = 0; i < options.length; i++) {
// if (arr[i] && arr[i].id != options[i].id) {
// return false;
// }
// }
// return true;
// }
// getDataByPage(page): Item {
// return this.lists.filter(li => li.page == page)[0]
// }
getCurrentPage(): Item {
let page = this.page;
return this.lists.filter(li => li.page == page)[0]
}
getTotalPageNum() {
return this.lists.length;
}
getCurrentPageNum() {
return this.page;
}
addPage() {
this.page += 1;
}
get getTotla() {
return this.lists.length;
// this.total = 0;
// this.lists.forEach((item) => {
// this.total += item.rNum;
// })
// return this.total;
}
get isOver() {
return this.page > this.lists.length;
}
}
\ No newline at end of file
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "ade7af40-d56d-4087-bbc6-2888fef55353", "uuid": "dffbc52e-153d-4abb-bdec-9c2aed783e75",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
This diff is collapsed.
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "408a67f8-65fa-4cf1-8cf2-83e20e1a0fd5", "uuid": "67bd8c73-751b-41dc-b287-a5f5de000778",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "b0c008bc-cf92-463b-8360-0984e13c2e4d", "uuid": "767cfe6c-762f-479a-a0d3-198068daf8e3",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
import { defaultData } from "../script/defaultData"; import { defaultData } from "../script/defaultData_TXZS_G_005";
export class MyCocosSceneComponent extends cc.Component { export class MyCocosSceneComponent extends cc.Component {
...@@ -87,7 +87,7 @@ export class MyCocosSceneComponent extends cc.Component { ...@@ -87,7 +87,7 @@ export class MyCocosSceneComponent extends cc.Component {
preload() { preload() {
const preloadArr = this._imageResList.concat(this._audioResList).concat(this._animaResList); const preloadArr = this._imageResList.concat(this._audioResList).concat(this._animaResList);
cc.assetManager.preloadAny(preloadArr, null, null, async (err, data) => { cc.assetManager.loadAny(preloadArr, null, null, (err, data) => {
if (window && window["air"]) { if (window && window["air"]) {
// window["air"].onCourseInScreen = (next) => { // window["air"].onCourseInScreen = (next) => {
...@@ -95,10 +95,10 @@ export class MyCocosSceneComponent extends cc.Component { ...@@ -95,10 +95,10 @@ export class MyCocosSceneComponent extends cc.Component {
// this.onLoadEnd(); // this.onLoadEnd();
// next(); // next();
// }; // };
await this.onLoadEnd(); this.onLoadEnd();
window["air"].hideAirClassLoading(); window["air"].hideAirClassLoading();
} else { } else {
await this.onLoadEnd(); this.onLoadEnd();
} }
cc.debug.setDisplayStats(false); cc.debug.setDisplayStats(false);
...@@ -110,11 +110,11 @@ export class MyCocosSceneComponent extends cc.Component { ...@@ -110,11 +110,11 @@ export class MyCocosSceneComponent extends cc.Component {
if(node){ if(node){
node.getComponent('middleLayer').log(str); node.getComponent('middleLayer').log(str);
}else{ }else{
console.log(str); cc.log(str);
} }
} }
async onLoadEnd() { onLoadEnd() {
} }
......
{
"ver": "1.0.8",
"uuid": "697d0307-cf06-482f-b8ab-838821095d75",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
export const defaultData = {
"title": "欢乐翻卡",
"questions": [
{
"options": [
{
"up": {
"type": "txt",
"pic_url": "",
"text": "apple",
"audio_url": "",
"audioName": "count.mp3",
"audio": "http://staging-teach.cdn.ireadabc.com/981ebff00a4717b1327b9dcd32b9ad2f_l.mp3"
},
"down": {
"type": "txt",
"pic_url": "",
"text": "phone",
"audio_url": "",
"audioName": "count.mp3",
"audio": "http://staging-teach.cdn.ireadabc.com/981ebff00a4717b1327b9dcd32b9ad2f_l.mp3"
}
},
{
"up": {
"type": "img",
"pic_url": "",
"text": "",
"audio_url": "",
"audioName": "right.mp3",
"image": "http://staging-teach.cdn.ireadabc.com/c62b5960641fd7cf29613cc45fb00cd6.png",
"audio": "http://staging-teach.cdn.ireadabc.com/5f4e4c72671607bb35d1ecd1d291f238_l.mp3"
},
"down": {
"type": "img",
"pic_url": "",
"text": "",
"audio_url": "",
"audioName": "right.mp3",
"image": "http://staging-teach.cdn.ireadabc.com/c527ed286707da4cf3d8fca57052e719.png",
"audio": "http://staging-teach.cdn.ireadabc.com/5f4e4c72671607bb35d1ecd1d291f238_l.mp3"
}
},
{
"up": {
"type": "txt",
"pic_url": "",
"text": "cardBg",
"audio_url": "",
"audioName": "count.mp3",
"audio": "http://staging-teach.cdn.ireadabc.com/981ebff00a4717b1327b9dcd32b9ad2f_l.mp3"
},
"down": {
"type": "img",
"pic_url": "",
"text": "",
"audio_url": "",
"audioName": "count.mp3",
"image": "http://staging-teach.cdn.ireadabc.com/a71f2b71e45ff2525714494f6edd624b.jpg",
"audio": "http://staging-teach.cdn.ireadabc.com/981ebff00a4717b1327b9dcd32b9ad2f_l.mp3"
}
},
{
"up": {
"type": "txt",
"pic_url": "",
"text": "light",
"audio_url": "",
"audioName": "next.mp3",
"audio": "http://staging-teach.cdn.ireadabc.com/a053d5915bc3b6f0ec8a42912891c538_l.mp3"
},
"down": {
"type": "img",
"pic_url": "",
"text": "",
"audio_url": "",
"audioName": "next.mp3",
"image": "http://staging-teach.cdn.ireadabc.com/43c0b44f336365083a2c981836191241.png",
"audio": "http://staging-teach.cdn.ireadabc.com/a053d5915bc3b6f0ec8a42912891c538_l.mp3"
}
}
]
},
{
"options": [
{
"up": {
"type": "txt",
"pic_url": "",
"text": "apple",
"audio_url": "",
"audioName": "count.mp3",
"audio": "http://staging-teach.cdn.ireadabc.com/981ebff00a4717b1327b9dcd32b9ad2f_l.mp3"
},
"down": {
"type": "txt",
"pic_url": "",
"text": "phone",
"audio_url": "",
"audioName": "count.mp3",
"audio": "http://staging-teach.cdn.ireadabc.com/981ebff00a4717b1327b9dcd32b9ad2f_l.mp3"
}
},
{
"up": {
"type": "img",
"pic_url": "",
"text": "",
"audio_url": "",
"audioName": "right.mp3",
"image": "http://staging-teach.cdn.ireadabc.com/c62b5960641fd7cf29613cc45fb00cd6.png",
"audio": "http://staging-teach.cdn.ireadabc.com/5f4e4c72671607bb35d1ecd1d291f238_l.mp3"
},
"down": {
"type": "img",
"pic_url": "",
"text": "",
"audio_url": "",
"audioName": "right.mp3",
"image": "http://staging-teach.cdn.ireadabc.com/c527ed286707da4cf3d8fca57052e719.png",
"audio": "http://staging-teach.cdn.ireadabc.com/5f4e4c72671607bb35d1ecd1d291f238_l.mp3"
}
},
{
"up": {
"type": "txt",
"pic_url": "",
"text": "cardBg",
"audio_url": "",
"audioName": "count.mp3",
"audio": "http://staging-teach.cdn.ireadabc.com/981ebff00a4717b1327b9dcd32b9ad2f_l.mp3"
},
"down": {
"type": "img",
"pic_url": "",
"text": "",
"audio_url": "",
"audioName": "count.mp3",
"image": "http://staging-teach.cdn.ireadabc.com/a71f2b71e45ff2525714494f6edd624b.jpg",
"audio": "http://staging-teach.cdn.ireadabc.com/981ebff00a4717b1327b9dcd32b9ad2f_l.mp3"
}
}
]
}
]
}
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "7a04f018-0ec5-4a45-9b40-0c2a1bf09ca6",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "b54300af-b8e5-4b4e-aa2f-9ac1cef7b598", "uuid": "c07af431-0ac1-43e8-9255-065868857d5c",
"isPlugin": true, "isPlugin": true,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
...@@ -411,65 +411,15 @@ export function showTrebleFirework(baseNode, rabbonList) { ...@@ -411,65 +411,15 @@ export function showTrebleFirework(baseNode, rabbonList) {
showFireworks(right); showFireworks(right);
} }
export function httpHeadCall(requsetUrl: string, callback) {
let xhr = new XMLHttpRequest();
console.log("Status: Send Post Request to " + requsetUrl);
try {
xhr.onreadystatechange = () => {
try {
console.log('xhr.readyState: ', xhr.readyState);
if (xhr.readyState == 4) {
if ((xhr.status >= 200 && xhr.status < 400)) {
callback(true);
} else {
callback(false);
}
}
} catch (e) {
console.log(e)
}
};
xhr.open("HEAD", requsetUrl, true);
xhr.send();
xhr.timeout = 15000;
xhr.onerror = (e) => {
callback(false);
};
xhr.ontimeout = (e) => {
callback(false);
};
} catch (e) {
console.log("Send Get Request error: ", e);
}
}
export function onHomeworkFinish(data = "", callback = ()=>{}) {
const middleLayer = cc.find('middleLayer');
if (middleLayer) {
const middleLayerComponent = middleLayer.getComponent('middleLayer');
middleLayerComponent.onHomeworkFinish(callback, data);
} else {
console.log('onHomeworkFinish', JSON.stringify(data));
}
}
export function callMiddleLayerFunction(apiName: string, data: any, callback: Function) { export function onHomeworkFinish(data) {
const middleLayer = cc.find('middleLayer'); const middleLayer = cc.find('middleLayer');
if (middleLayer) { if (middleLayer) {
const middleLayerComponent = middleLayer.getComponent('middleLayer'); const middleLayerComponent = middleLayer.getComponent('middleLayer');
middleLayerComponent.callMiddleLayerFunction(apiName, data, callback); if (middleLayerComponent.role == 'student') {
} else { middleLayerComponent.onHomeworkFinish(() => { }, data);
console.log('callMiddleLayerFunction: ' + apiName);
} }
}
export function showTips(tips) {
const middleLayer = cc.find('middleLayer');
if (middleLayer) {
middleLayer.getComponent('middleLayer').showTips(tips);
} else { } else {
console.log(tips); console.log('onHomeworkFinish');
} }
} }
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "b13cfbb2-232e-45fb-838b-fe52c1d75ae9",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "8ba21262-178f-4fa5-afc9-2c1dd50ba3ab", "uuid": "09badd27-1b14-4524-b9d7-5ead4d0219b8",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "e1b4d971-9876-4832-803a-5a321964a78b", "uuid": "ef5cb124-bc86-42c9-b19d-2e62c87df4b4",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 1280, "width": 1920,
"height": 720, "height": 1080,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg": { "bg": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "8288e3d4-4c75-4b27-8f01-f7014417f4dd", "uuid": "687ed507-46bd-4acd-b28e-bb453874ad75",
"rawTextureUuid": "e1b4d971-9876-4832-803a-5a321964a78b", "rawTextureUuid": "ef5cb124-bc86-42c9-b19d-2e62c87df4b4",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 1280, "width": 1920,
"height": 720, "height": 1080,
"rawWidth": 1280, "rawWidth": 1920,
"rawHeight": 720, "rawHeight": 1080,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "efa5fa09-a4dd-4bfc-ab7e-17c19f85408f", "uuid": "f00ff74d-beb3-4f22-8d43-e1d4fd1cd63b",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 366, "width": 687,
"height": 336, "height": 504,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"1orange": { "bg1": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "43d1e79d-6de8-4dcb-b8ce-d767df7913aa", "uuid": "ddb64611-2d43-4f07-a7c1-a793b082661e",
"rawTextureUuid": "efa5fa09-a4dd-4bfc-ab7e-17c19f85408f", "rawTextureUuid": "f00ff74d-beb3-4f22-8d43-e1d4fd1cd63b",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": -0.5, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 1, "trimY": 0,
"width": 366, "width": 687,
"height": 335, "height": 504,
"rawWidth": 366, "rawWidth": 687,
"rawHeight": 336, "rawHeight": 504,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "d582359e-924e-4ee9-9964-1fc4bb417e71", "uuid": "54ecb024-b5b9-4cfa-8fb4-9d4b183462b0",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 61, "width": 668,
"height": 67, "height": 515,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"btn_right": { "bg2": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "e5a2dbaa-a677-4a32-90d7-a1b057d7fb59", "uuid": "9795711a-e888-40a8-a831-7d22715f4d55",
"rawTextureUuid": "d582359e-924e-4ee9-9964-1fc4bb417e71", "rawTextureUuid": "54ecb024-b5b9-4cfa-8fb4-9d4b183462b0",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": -0.5, "offsetX": -1.5,
"offsetY": 0.5, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 60, "width": 665,
"height": 66, "height": 515,
"rawWidth": 61, "rawWidth": 668,
"rawHeight": 67, "rawHeight": 515,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "dc3dbf79-8fd6-4e3c-83ae-3ce97a6a319a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 322,
"height": 92,
"platformSettings": {},
"subMetas": {
"bg_number": {
"ver": "1.0.4",
"uuid": "790be65f-7fa8-4af1-8e08-36abd399503f",
"rawTextureUuid": "dc3dbf79-8fd6-4e3c-83ae-3ce97a6a319a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 322,
"height": 92,
"rawWidth": 322,
"rawHeight": 92,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "b8f4228a-d45b-4bc0-ae9d-2a778630640c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 259,
"height": 366,
"platformSettings": {},
"subMetas": {
"card_back": {
"ver": "1.0.4",
"uuid": "39a3f521-4267-41d0-9a03-53ef3ef01a6e",
"rawTextureUuid": "b8f4228a-d45b-4bc0-ae9d-2a778630640c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 259,
"height": 366,
"rawWidth": 259,
"rawHeight": 366,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "af35cd2c-f671-47a5-a98a-46433c6b6125",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 277,
"height": 387,
"platformSettings": {},
"subMetas": {
"card_front": {
"ver": "1.0.4",
"uuid": "a49be1a6-32f8-4384-a86c-c9962abf7110",
"rawTextureUuid": "af35cd2c-f671-47a5-a98a-46433c6b6125",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 277,
"height": 387,
"rawWidth": 277,
"rawHeight": 387,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "f3468438-f087-4cd4-8808-0e26d74616f6",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 409,
"height": 407,
"platformSettings": {},
"subMetas": {
"light": {
"ver": "1.0.4",
"uuid": "bde0e6ac-f7dc-47bc-a50f-076241238f55",
"rawTextureUuid": "f3468438-f087-4cd4-8808-0e26d74616f6",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 409,
"height": 407,
"rawWidth": 409,
"rawHeight": 407,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "3bab3868-b923-4bcf-9e3f-6abd68f0857b",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "2dd8954b-aea4-4851-8d52-86ea07d4341e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1033,
"height": 802,
"platformSettings": {},
"subMetas": {
"bg_congratulation": {
"ver": "1.0.4",
"uuid": "8f4a9605-4dc2-4cf7-986e-464c9cdd1daf",
"rawTextureUuid": "2dd8954b-aea4-4851-8d52-86ea07d4341e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1033,
"height": 802,
"rawWidth": 1033,
"rawHeight": 802,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "e6bdba10-b98d-40cf-a993-41bb77a3222c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 315,
"height": 315,
"platformSettings": {},
"subMetas": {
"bg_countdown": {
"ver": "1.0.4",
"uuid": "a313d5db-4482-41d5-ae9b-f06ea90b4f88",
"rawTextureUuid": "e6bdba10-b98d-40cf-a993-41bb77a3222c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 315,
"height": 315,
"rawWidth": 315,
"rawHeight": 315,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "24a200d1-f944-4737-bc23-580f6c62eb35",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 228,
"height": 228,
"platformSettings": {},
"subMetas": {
"bg_record-big": {
"ver": "1.0.4",
"uuid": "e4496fc8-37ce-458c-8937-368d19ce25b6",
"rawTextureUuid": "24a200d1-f944-4737-bc23-580f6c62eb35",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -4,
"offsetY": 6,
"trimX": 10,
"trimY": 8,
"width": 200,
"height": 200,
"rawWidth": 228,
"rawHeight": 228,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "ee1cff1c-1b7b-48be-a38d-783ac5d7a7a4",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 362,
"height": 267,
"platformSettings": {},
"subMetas": {
"bg_settle": {
"ver": "1.0.4",
"uuid": "a1934d23-27a9-4104-b06b-524b3c45858d",
"rawTextureUuid": "ee1cff1c-1b7b-48be-a38d-783ac5d7a7a4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 362,
"height": 267,
"rawWidth": 362,
"rawHeight": 267,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "4c717038-abab-414e-8bb1-e7ba8f925793",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 403,
"height": 150,
"platformSettings": {},
"subMetas": {
"btn_restart": {
"ver": "1.0.4",
"uuid": "f31a7939-03ab-4f76-a329-1ac830b4fb90",
"rawTextureUuid": "4c717038-abab-414e-8bb1-e7ba8f925793",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 403,
"height": 150,
"rawWidth": 403,
"rawHeight": 150,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "853bd3e7-2ebe-4256-86d5-d5f7af140edf",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 131,
"height": 131,
"platformSettings": {},
"subMetas": {
"btn_return": {
"ver": "1.0.4",
"uuid": "783effa9-8fde-4d30-bb35-38dc3e278d94",
"rawTextureUuid": "853bd3e7-2ebe-4256-86d5-d5f7af140edf",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 131,
"height": 131,
"rawWidth": 131,
"rawHeight": 131,
"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.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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