Commit a423628a authored by Tt's avatar Tt

游戏基础完成

parent 9fbe2096
This diff is collapsed.
import { asyncDelay, onHomeworkFinish } from "../script/util";
import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent";
import { Item, Part, Game } from "./model/game";
import pg from "./pg";
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.initEvent();
this.updateState(0);
}
_cantouch = null;
initData() {
Game.getIns().init(this.data);
}
initView() {
}
initEvent() {
let btn_start: cc.Node = pg.view.find(this, "btn_start");
let btn_stem: cc.Node = pg.view.find(this, "btn_stem");
pg.view.touchOn(btn_start, this.onBtnStart, this);
pg.view.touchOn(btn_stem, this.onBtnStem, this);
}
onBtnStart() {
//执行开始单个游戏开始
this.updateState(1);
}
updateState(state) {
switch (state) {
case 0:
this.updateWait();
break;
case 1:
this.initPartData();
this.updatePart();
break;
}
}
updateWait() {
let btn_start: any;
let panel_percent: cc.Node;
pg.view.visible(btn_start, true);
pg.view.visible(panel_percent, true);
this.updatePartPercent();
}
private part: Part;
initPartData() {
this.part = Game.getIns().part;
}
updatePart() {
pg.view.visible(pg.view.find(this, "btn_start"), false);
pg.view.visible(pg.view.find(this, "panel_gary"), false);
this.updateBtnStem();
this.updateList();
this.updatePerson();
}
updateBtnStem() {
let btn_stem: cc.Node = pg.view.find(this, "btn_stem");
pg.view.visible(btn_stem, true);
}
onBtnStem() {
//播放音效,允许后续操作。
}
updateList() {
pg.view.visible(pg.view.find(this, "layout_items"), true)
//根据partlist渲染svt内容
// let scroll = pg.view.find(this.shop, "scrollview");
// let svt = scroll.getComponent("svt");
// let list = kitchen.getListByType(this.shopType);
// svt.list = list;
// svt.updateItem = this.updateShopItems;
// svt.target = this;
// svt.addNum = 4;
// svt.flush();
}
updateShopItem(item, data: Item) {
// item.active = true;
// let growth = pg.view.find(item, "growth");
// let txt = pg.view.find(item, "txt");
// let name = pg.view.find(item, "name");
// let icon = pg.view.find(item, "icon");
// let discount = pg.view.find(item, "discount");
// let btn_buy = pg.view.find(item, "btn_buy");
// pg.view.setString(txt, `可增加 个成长值`)
// pg.view.setString(growth, data.growthValue)
// pg.view.setString(name, data.name)
// icon.getComponent(cc.Sprite).spriteFrame = this[data.icon];
// let dis = Math.round((1 - data.discount) * 100);
// if (dis > 0) {
// pg.view.setString(discount, `${dis}%`)
// pg.view.visible(pg.view.find(item, "bg_sale"), true);
// pg.view.visible(pg.view.find(item, "discount"), true);
// } else {
// pg.view.visible(pg.view.find(item, "bg_sale"), false);
// pg.view.visible(pg.view.find(item, "discount"), false);
// }
// pg.view.setString(pg.view.find(btn_buy, "num"), data.cost)
// pg.view.touchOn(btn_buy, this.onTouchShopItem, this);
// item.data = data;
}
updatePerson() {
let img_person: cc.Node = pg.view.find(this, "img_person");
img_person.active = true;
img_person.x = 0;
img_person.y = -300;
img_person.scale = 1;
img_person.on(cc.Node.EventType.TOUCH_MOVE, this.onImgPersonMove, this);
img_person.on(cc.Node.EventType.TOUCH_END, this.onImgPersonEnd, this);
}
onImgPersonMove(e) {
let currentTouch = e.currentTouch;
let pos = currentTouch.getLocation();
//移动效果
let img_person: cc.Node = pg.view.find(this, "img_person");
img_person.x = pos.x - (cc.winSize.width / 2);
//对比刷新items
let layout_items = pg.view.find(this, "layout_items");
let items = layout_items.children;
items.forEach(item => {
pg.view.visible(pg.view.find(item, "icon_arrow"), false);
})
let item = this.getItemByX(img_person.x);
pg.view.visible(pg.view.find(item, "icon_arrow"), true);
}
onImgPersonEnd(e) {
//结束判断
let item: Item = Game.getIns().part.getItemByX(e.x);
if (item.right) {
//处理正确
} else {
//处理错误
}
}
updateArrow(x) {
//根据x来确定哪一个箭头显示
let arrows = [-100, 0, 100, 200]
let nowId = 0;
let arrowX = arrows[nowId];
let img_arrow: cc.Node;
img_arrow.x = arrowX;
img_arrow.active = true;
}
updatePartPercent() {
let label_percent: cc.Node;
pg.view.setString(label_percent, `${Game.getIns().part.id + 1} / ${Game.getIns().list.length}`);
}
public getIdByX(x): number {
let layout_items = pg.view.find(this, "layout_items");
let items = layout_items.children;
let arr = [];
items.forEach(it => {
arr.push(it.x + it.width / 2);
})
arr.sort();
for (let i = 0; i < arr.length; i++) {
if (x <= arr[i]) {
return i;
}
}
return 3;
}
public getItemByX(x): cc.Node {
let layout_items = pg.view.find(this, "layout_items");
let items = layout_items.children;
items.sort((A, B) => {
return A.x - B.x;
})
return items[this.getIdByX(x)];
}
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);
});
})
}
}
{
"ver": "1.1.2",
"uuid": "93a9f04e-84ed-4b5f-99fd-17fcb6abe8ca",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
const ITEMS = [
{
id: 1001,
type: 1,//食物
name: "苹果",
icon: "icon_1",
growthValue: 10,
cost: 100,
discount: 0.8,
num: 3,
levelLimite: 1,
},
{
id: 1002,
type: 1,//食物
name: "香蕉",
icon: "icon_2",
growthValue: 15,
cost: 120,
discount: 1,
num: 5,
levelLimite: 2,
}, {
id: 1003,
type: 1,//食物
name: "面包",
icon: "icon_3",
growthValue: 20,
cost: 150,
discount: 1,
num: 8,
levelLimite: 1,
}, {
id: 1004,
type: 1,//食物
name: "胡萝卜",
icon: "icon_4",
growthValue: 30,
cost: 200,
discount: 1,
num: 9,
levelLimite: 1,
}, {
id: 1005,
type: 1,//食物
name: "奶酪",
icon: "icon_5",
growthValue: 40,
cost: 230,
discount: 1,
num: 13,
levelLimite: 1,
}, {
id: 1006,
type: 1,//食物
name: "橙子",
icon: "icon_6",
growthValue: 50,
cost: 270,
discount: 1,
num: 1,
levelLimite: 1,
}, {
id: 1007,
type: 1,//食物
name: "披萨",
icon: "icon_7",
growthValue: 90,
cost: 400,
discount: 1,
num: 0,
levelLimite: 1,
}, {
id: 1008,
type: 1,//食物
name: "西红柿",
icon: "icon_8",
growthValue: 100,
cost: 600,
discount: 1,
num: 0,
levelLimite: 1,
}
]
const LEVEL = {
level_1: {
growth: 100,
},
level_2: {
growth: 300,
},
level_3: {
growth: 600,
},
level_4: {
growth: 1000,
},
level_5: {
growth: 1500,
},
level_6: {
growth: 2100,
}
}
const USER = {
name: "小小香香",
coin: 100023,
level: 2,
growth: 30,
growthDaily: 0,
growthDailyMax: 100,
eatTime: new Date().getTime(),
useFurniture: [],
useClothes: [],
mood: "开心"
}
enum ITEM_TYPE {
FOOD = 1,
HOUSE = 2,
CLOTHES = 3
}
export { USER, LEVEL, ITEMS, ITEM_TYPE }
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "c7a342c3-a336-4d8a-aada-d97dc59c1ae2",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "d01a6cc2-496e-4b14-8f0c-81a799e3d4c5",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
export class Item {
public id: number;
public type: string;
public text: string;
public pic: string;
public right: boolean;
constructor(data: any, isRight: boolean) {
this.id = data.id;
this.type = data.type;
this.text = data.text;
this.pic = data.pic;
this.right = isRight;
}
}
export class Part {
public id: number;
public stemAudio: string;
public list: Array<Item>;
constructor(data) {
this.id = data.id;
this.stemAudio = data.stem.audio;
this.list = [];
data.right.forEach(r => {
this.list.push(new Item(r, true));
})
data.error.forEach(r => {
this.list.push(new Item(r, false));
})
}
public getIdByX(x): number {
let arrows = [];
if (this.list.length == 2) {
arrows = [0, 100]
} else if (this.list.length == 3) {
arrows = [0, 100, 200]
} else if (this.list.length == 4) {
arrows = [0, 100, 200, 300]
}
for (let i = 0; i < arrows.length; i++) {
if (x <= arrows[i]) {
return arrows[i];
}
}
}
getArrowXByX(x): number {
let id = this.getIdByX(x);
let arrows = [];
if (this.list.length == 2) {
arrows = [0, 100]
} else if (this.list.length == 3) {
arrows = [0, 100, 200]
} else if (this.list.length == 4) {
arrows = [0, 100, 200, 300]
}
return arrows[id];
}
getItemByX(x): Item {
let id = this.getIdByX(x);
return this.list[id];
}
}
export class Game {
private static instance: Game;
public static getIns() {
if (!Game.instance) Game.instance = new Game();
return Game.instance;
}
private _list: Array<any>;
private _current: number;
constructor() {
this._list = [];
this._current = 0;
}
public init(data) {
this.list = data.list;
}
public get part(): Part {
return this.list[this._current];
}
public set current(val) {
this._current = val;
}
public set list(val) {
this._list = val.map(li => {
return new Part(li);
// return li;
})
}
public get list() {
return this._list;
}
}
{
"ver": "1.0.8",
"uuid": "9f304a3f-aeab-458f-adb8-e741ae1b27b1",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
class Item {
public id: number;//id
public type: number;//商品类型
public name: string;//商品名称
public icon: string;//商品图片--可用type生成
public growthValue: number;//生长值
public cost: number;//费用
public discount: number;//折扣
public num: number;//拥有数量
public levelLimite: number;//等级限制
constructor(obj: any) {
this.id = obj.id;
this.type = obj.type;
this.name = obj.name;
this.icon = obj.icon;
this.growthValue = obj.growthValue;
this.cost = obj.cost;
this.discount = obj.discount;
this.num = obj.num;
this.levelLimite = obj.levelLimite;
}
}
export default Item;
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "37c492e3-1b92-4db5-b6be-802ecc1c0ecb",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
import Item from "./item"
class Kitchen {
private _list: Array<Item>
constructor() {
this._list = [];
}
use(id) {
this._list = this._list.map(li => {
if (li.id == id) li.num -= 1;
return li;
})
}
buy(id) {
this._list = this._list.map(li => {
if (li.id == id) li.num += 1;
return li;
})
}
getListByType(type: number) {
return this._list.filter(li => li.type == type)
}
parse(list: any) {
if (!list) return;
this._list = list.map(li => { return new Item(li); })
}
get list() {
return this._list;
}
}
let kitchen = new Kitchen();
export default kitchen;
{
"ver": "1.0.8",
"uuid": "1ab727dc-af13-4539-a98a-4ec85d8981c9",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
import Item from "./item"
class Shop {
public _list: Array<Item>
constructor() {
this._list = [];
}
parse(list: any) {
if (!list) return;
this._list = list.map(li => {
return new Item(li);
})
}
get list() {
return this._list;
}
}
export default Shop;
{
"ver": "1.0.8",
"uuid": "272bbc82-f59c-4e0c-bb1c-4bfb2f73d7eb",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
import { LEVEL } from "../config/config";
class User {
public name: string;
public coin: number;
public level: number;
public growth: number;//当前成长值
public growthDaily: number;
public growthDailyMax: number;
public eatTime: number;
public useFurniture: Array<number>;
public useClothes: Array<number>;
public mood: number;//0开心 1不开心
constructor() {
}
parse(data) {
this.name = data.name;
this.coin = data.coin;
this.level = data.level;
this.growth = data.growth;
this.growthDaily = data.growthDaily;
this.growthDailyMax = data.growthDailyMax;
this.eatTime = data.eatTime;
this.useFurniture = data.useFurniture;
this.useClothes = data.useClothes;
this.mood = 1;
}
isDailyMax() {
return this.growthDailyMax >= this.growthDaily
}
addGrowth(val) {
this.growth += val;
this.growthDaily += val;
user.mood = 0;
}
useCoin(val) {
this.coin -= val;
}
//当前等级成长值最大值
public get growthLevel(): number {
let max = 1;
for (let i = 1; i < 100; i++) {
let val = LEVEL[`level_${i}`].growth;
if (this.growth < val) {
max = val
break;
}
}
return max
}
}
let user = new User();
export default user;
// 游戏 : {
// 角色信息:{
// 名字
// 心情:开心|饥饿
// 金币
// 等级
// 成长值
// 每日成长值
// 每日成长值上限
// 上次吃东西的时间
// 当前使用的家具:[书柜,地毯,,,,,]对应的物品id
// 当前穿戴的服饰:[衣服,裤子,,,] 对应的物品id
// }
// 仓库:[
// {
// 物品id
// 物品类型
// 物品数量
// },
// {
// 物品id
// 物品类型
// 物品数量
// }
// ]
// 商城信息:[
// {
// 物品id
// 物品类型
// 名字
// 价格
// 特价
// 等级限制
// },
// ]
// 常量:{
// 物品列表:[
// 物品id
// 物品类型
// 名字
// 图片
// ]
// 等级经验表:{
// 等级
// 所需成长值
// 每日成长上限
// }
// }
// }
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "b09ecb5b-593a-4b9c-aaeb-67e8efc7ebd4",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "bb7f614f-8b91-48f3-a3d2-154872aa3a36",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
import pg from "../pg";
import { ITEMS, USER } from "../config/config"
import user from "../model/user";
import kitchen from "../model/kitchen";
//获取信息,购买物品,使用物品(吃东西),穿戴衣服/更换家具
class Api {
static askUser() {
return new Promise((resolve, reject) => {
pg.http.send("GET", "http://www.baidu.com", {}).then((data: any) => {
let userInfo = USER;
user.parse(userInfo);
let kitchenInfo = ITEMS;
kitchen.parse(kitchenInfo);
resolve('');
})
});
}
static askUseItem(data) {
return new Promise((resolve, reject) => {
pg.http.send("GET", "http://www.baidu.com", {}).then((data: any) => {
user.addGrowth(data.growthValue);
kitchen.use(data.id);
resolve('');
})
});
}
static askBuyItem(data) {
return new Promise((resolve, reject) => {
data.id;
data.type;
pg.http.send("GET", "http://www.baidu.com", {}).then((data: any) => {
user.useCoin(data.cost * data.discount);
kitchen.buy(data.id);
resolve('');
})
});
}
}
export default Api;
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "cc085a9d-0b38-4bde-a0eb-316c806a0a58",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.8",
"uuid": "48446c92-75f9-4d15-9738-0cc02e59714e",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
const { ccclass, property } = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
@property(cc.Node)
item: cc.Node = null;
@property
items: any = null;
@property
list: Array<any> = [];
@property
updateItem: any = null;
@property
target: any = null;
@property
addNum: number = 1;
@property
selector: any = null;
flush() {
//执行一次更新
this._updateScrollView();
}
onLoad() {
}
_updateScrollView() {
//如果有性能压力改成 顺序加载,并且在关闭的时候能自动检测停止加载
//在界面下方的所有节点自动的显示效果是隐藏效果。
let view = this.node.getChildByName("view");
let content = view.getChildByName("content");
//后面改成动态判断内部节点的方式而不是暴力移除
content.removeAllChildren();
let addNum = this.addNum || 1;
let list = this.list;
let items = this.items;
if (!items || items.length == 0) items = [this.item];
for (let i = 0; i < list.length; i += addNum) {
let datas = [list[i]];
for (let m = 1; m < addNum; m++) {
datas.push(list[i + m]);
}
let item = this._selectorCall(items, datas);
let itemClone = cc.instantiate(item);
itemClone.x = 0;
itemClone.y = 0;
content.addChild(itemClone);
itemClone.active = true;
this._updateItemCall(itemClone, datas);
}
}
_updateItemCall(itemClone, datas) {
this.updateItem && this.updateItem.call(this.target, itemClone, datas);
}
_selectorCall(items, datas) {
return items[0];
if (!this.selector) return items[0];
return this.selector(items, datas);
}
}
{
"ver": "1.0.8",
"uuid": "8db05ce3-c507-49f3-8c1f-25b05e0dab21",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
export const defaultData = {
"list":
[
{
"id": 0,
"stem": {
"audio": "http://staging-teach.cdn.ireadabc.com/f1ce89b2162d82214369265e47d3dda3.mp3"
},
"right":
[
{
"id": 1001,
"text": "文本1",
"pic": "http://staging-teach.cdn.ireadabc.com/b1deb28d10edd3f7172d2ba5fff53dc1.png",
"type": "pic"
}
],
"error":
[
{
"id": 2001, "text": "文本2", "pic": "", "type": "text"
},
{
"id": 2002, "text": "文本3", "pic": "http://staging-teach.cdn.ireadabc.com/12c164fe8bd626872e2a8f7ba6d88f7e.png", "type": "pic"
},
{
"id": 2003, "text": "文本4", "pic": "http://staging-teach.cdn.ireadabc.com/81f008a708cafed9caf1234e0af0d982.png", "type": "pic"
}
]
},
{ "id": 1, "stem": { "audio": "http://staging-teach.cdn.ireadabc.com/9bc9518c426d0e9a5e4a6b0614ddd195.mp3" }, "right": [{ "id": 1001, "text": "test1", "pic": "", "type": "text" }], "error": [{ "id": 2001, "text": "test2", "pic": "", "type": "text" }, { "id": 2003, "text": "", "pic": "http://staging-teach.cdn.ireadabc.com/d1c6cedd0ea8ba9a6a8ca8ad3886df49.png", "type": "pic" }] }, { "id": 2, "stem": { "audio": "http://staging-teach.cdn.ireadabc.com/2db9fa7c28a11fdbcecfa6a5b5e62319.mp3" }, "right": [{ "id": 1001, "text": "", "pic": "http://staging-teach.cdn.ireadabc.com/b1baffd430e9f5feefde0b1053b7a7e2.png", "type": "pic" }], "error": [{ "id": 2001, "text": "78755", "pic": "", "type": "text" }] }]
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "5302d9a8-a9c8-411d-8395-4fe4e32f0fd1",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "dfddf670-0640-4f26-b598-454f2e3822bc",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "df5dec7d-0470-46e3-a8b4-a400c2a68a04",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 792,
"height": 486,
"platformSettings": {},
"subMetas": {
"font": {
"ver": "1.0.4",
"uuid": "7a990977-f1fb-4764-8f81-3593df8de293",
"rawTextureUuid": "df5dec7d-0470-46e3-a8b4-a400c2a68a04",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 792,
"height": 486,
"rawWidth": 792,
"rawHeight": 486,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "48125488-5fb2-4b29-957e-fe0e131eb97f",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "b769ffc9-d791-4c0a-89f0-65d781ec104b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 441,
"height": 645,
"platformSettings": {},
"subMetas": {
"bg_board-down": {
"ver": "1.0.4",
"uuid": "2845cd9e-b1a5-49e0-88eb-7484bb02ac08",
"rawTextureUuid": "b769ffc9-d791-4c0a-89f0-65d781ec104b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 2,
"offsetY": -113.5,
"trimX": 45,
"trimY": 248,
"width": 355,
"height": 376,
"rawWidth": 441,
"rawHeight": 645,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "8847be39-1f4c-411f-89f2-f57050b8d5cd",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 441,
"height": 645,
"platformSettings": {},
"subMetas": {
"bg_board": {
"ver": "1.0.4",
"uuid": "fd03fc95-397a-4451-9e63-15af2a6b9b13",
"rawTextureUuid": "8847be39-1f4c-411f-89f2-f57050b8d5cd",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 441,
"height": 645,
"rawWidth": 441,
"rawHeight": 645,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "6c2bef74-5270-4607-a5e4-df2f9b224ca3",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1920,
"height": 442,
"platformSettings": {},
"subMetas": {
"bg_bottom": {
"ver": "1.0.4",
"uuid": "af27b97b-376e-46c0-a6da-1bbe1cf8b2dc",
"rawTextureUuid": "6c2bef74-5270-4607-a5e4-df2f9b224ca3",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1920,
"height": 442,
"rawWidth": 1920,
"rawHeight": 442,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "28276ea1-077f-4024-b16c-8dcda2ca4c35",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1920,
"height": 1200,
"platformSettings": {},
"subMetas": {
"bg_front": {
"ver": "1.0.4",
"uuid": "a6586de0-d5e4-4466-9243-a531d6a6ffb0",
"rawTextureUuid": "28276ea1-077f-4024-b16c-8dcda2ca4c35",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -153,
"trimX": 0,
"trimY": 306,
"width": 1920,
"height": 894,
"rawWidth": 1920,
"rawHeight": 1200,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "5216d6f4-8b51-4331-aa8f-c33e1431affc",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1920,
"height": 1200,
"platformSettings": {},
"subMetas": {
"bg_middle": {
"ver": "1.0.4",
"uuid": "65a7b724-7779-4ffc-930e-3256fd9e88b4",
"rawTextureUuid": "5216d6f4-8b51-4331-aa8f-c33e1431affc",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -20.5,
"trimX": 0,
"trimY": 41,
"width": 1920,
"height": 1159,
"rawWidth": 1920,
"rawHeight": 1200,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "481ab0c4-d0ea-425b-9237-69e4a8de7878",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 244,
"height": 94,
"platformSettings": {},
"subMetas": {
"bg_number": {
"ver": "1.0.4",
"uuid": "ecee248a-1b91-4727-8919-49fd9d1cf830",
"rawTextureUuid": "481ab0c4-d0ea-425b-9237-69e4a8de7878",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 244,
"height": 94,
"rawWidth": 244,
"rawHeight": 94,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "345b7119-2266-4125-b1a2-ad8980dbcf3a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 275,
"height": 590,
"platformSettings": {},
"subMetas": {
"bg_person": {
"ver": "1.0.4",
"uuid": "e0d32e17-0693-4127-a1d2-db974a72e430",
"rawTextureUuid": "345b7119-2266-4125-b1a2-ad8980dbcf3a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 275,
"height": 590,
"rawWidth": 275,
"rawHeight": 590,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "e668b287-0da8-44b5-ae5b-c8d96c36e2cb",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 113,
"height": 119,
"platformSettings": {},
"subMetas": {
"btn_audio": {
"ver": "1.0.4",
"uuid": "e2e83e94-ab72-4eff-929d-5748979d93bc",
"rawTextureUuid": "e668b287-0da8-44b5-ae5b-c8d96c36e2cb",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 113,
"height": 119,
"rawWidth": 113,
"rawHeight": 119,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "9f667bd8-4d02-4126-b079-6bc2edf88927",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 113,
"height": 119,
"platformSettings": {},
"subMetas": {
"btn_audio1": {
"ver": "1.0.4",
"uuid": "47ab506e-c976-43fc-9a13-0dfbeaa7f8d9",
"rawTextureUuid": "9f667bd8-4d02-4126-b079-6bc2edf88927",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 113,
"height": 119,
"rawWidth": 113,
"rawHeight": 119,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "b9a9ace9-192f-4f9b-89f6-ac220677f730",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 113,
"height": 119,
"platformSettings": {},
"subMetas": {
"btn_audio2": {
"ver": "1.0.4",
"uuid": "c293df43-e740-481e-b989-a401f221d771",
"rawTextureUuid": "b9a9ace9-192f-4f9b-89f6-ac220677f730",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 113,
"height": 119,
"rawWidth": 113,
"rawHeight": 119,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "28fd2ea9-3d7f-43a2-8ffd-36148b81fe41",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 113,
"height": 119,
"platformSettings": {},
"subMetas": {
"btn_audio3": {
"ver": "1.0.4",
"uuid": "1f958306-c882-4f7c-9e6a-a6201edc260a",
"rawTextureUuid": "28fd2ea9-3d7f-43a2-8ffd-36148b81fe41",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 113,
"height": 119,
"rawWidth": 113,
"rawHeight": 119,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "14b21b8b-4a3d-4c43-b687-997715a712b0",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 407,
"height": 202,
"platformSettings": {},
"subMetas": {
"btn_restart": {
"ver": "1.0.4",
"uuid": "881df23b-ca88-4a42-90c4-06c5ce681ec6",
"rawTextureUuid": "14b21b8b-4a3d-4c43-b687-997715a712b0",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 407,
"height": 202,
"rawWidth": 407,
"rawHeight": 202,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "547de387-f5bc-4c6c-8e87-b655657acfa0",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 112,
"height": 119,
"platformSettings": {},
"subMetas": {
"btn_return": {
"ver": "1.0.4",
"uuid": "c313647d-39bd-45de-aa56-732168b3a597",
"rawTextureUuid": "547de387-f5bc-4c6c-8e87-b655657acfa0",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 112,
"height": 119,
"rawWidth": 112,
"rawHeight": 119,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "4316580d-5714-47a6-b5ff-10cb6164388c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 407,
"height": 202,
"platformSettings": {},
"subMetas": {
"btn_start": {
"ver": "1.0.4",
"uuid": "2ef24b6a-5c0a-4594-9487-1694ca50710f",
"rawTextureUuid": "4316580d-5714-47a6-b5ff-10cb6164388c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 407,
"height": 202,
"rawWidth": 407,
"rawHeight": 202,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "5682da89-02cd-41a5-b70c-1a2f0b130da3",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 116,
"height": 206,
"platformSettings": {},
"subMetas": {
"icon_arrow": {
"ver": "1.0.4",
"uuid": "00b77f67-4249-4666-8f09-b1b2e116961c",
"rawTextureUuid": "5682da89-02cd-41a5-b70c-1a2f0b130da3",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 116,
"height": 206,
"rawWidth": 116,
"rawHeight": 206,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "e61f6d44-7674-4179-bd65-f4d720260830",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 97,
"height": 128,
"platformSettings": {},
"subMetas": {
"icon_hand": {
"ver": "1.0.4",
"uuid": "ba4b82bc-bdd5-4407-8e03-dac80f85bf3f",
"rawTextureUuid": "e61f6d44-7674-4179-bd65-f4d720260830",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 97,
"height": 128,
"rawWidth": 97,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "341e34c8-3761-4bb3-a7d3-29f06a825d59",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "2.3.5",
"uuid": "309bb516-9896-4245-85c7-61a354cb7dae",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1920,
"height": 1200,
"platformSettings": {},
"subMetas": {
"1": {
"ver": "1.0.4",
"uuid": "00f9f2bd-03e9-4cd6-b55f-5ccebf66afc8",
"rawTextureUuid": "309bb516-9896-4245-85c7-61a354cb7dae",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1920,
"height": 1200,
"rawWidth": 1920,
"rawHeight": 1200,
"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.
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