Commit 948c401a authored by Tt's avatar Tt

基础完成

parent 8a9e70fc
{
"ver": "2.0.1",
"uuid": "76bf06e0-4e03-458d-9a40-cbebbc63d6a1",
"downloadMode": 0,
"duration": 0.940417,
"subMetas": {}
}
\ No newline at end of file
......@@ -2,6 +2,6 @@
"ver": "2.0.1",
"uuid": "b10193a0-5d02-4884-9a04-36a14bb0a4ba",
"downloadMode": 0,
"duration": 2.220417,
"duration": 1.645714,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "972126eb-c084-4f1f-abad-4bceb99e94eb",
"downloadMode": 0,
"duration": 0.966531,
"subMetas": {}
}
\ No newline at end of file
......@@ -2,6 +2,6 @@
"ver": "2.0.1",
"uuid": "e87f6086-9efd-4adf-982c-bcddc6b1115e",
"downloadMode": 0,
"duration": 0.809796,
"duration": 0.277125,
"subMetas": {}
}
\ No newline at end of file
......@@ -2,6 +2,6 @@
"ver": "2.0.1",
"uuid": "5da8b129-4fec-4b5b-936a-336cb269d6fb",
"downloadMode": 0,
"duration": 1.906939,
"duration": 1.828583,
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
import { asyncDelay, onHomeworkFinish } from "../script/util";
import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent";
import pg from "./pg";
import map from "./map";
import pg from "./tool/pg";
import Game from "./tool/GameNS16"
import {
showFireworks,
} from '../script/utils';
......@@ -53,22 +53,64 @@ export default class NewClass extends MyCocosSceneComponent {
_cantouch = null;
initData() {
Game.getIns().init(this.data);
Game.getIns().reset();
this.log("test initData")
// 所有全局变量 默认都是null
this._cantouch = true;
}
private layout_start: cc.Node;
initView() {
this.log("test initView")
this.layout_start = pg.view.find(this, "layout_start");
let desc = pg.view.find(this.layout_start, 'desc');
pg.view.setString(desc, Game.getIns().question.text)
this.layout_start.active = true;
pg.audio.playAudioByUrl(Game.getIns().question.audio);
// this.log("test initView")
this.initTouzi();
this.initChess();
}
initEvent() {
pg.view.touchOn(pg.view.find(this.layout_start, 'btn_start'), this.onTouchStart, this);
this.log("test initEvent")
pg.event.on("game_start", () => { this.onGameStart() })
pg.event.on("speak_success", () => { this.onSpeakScueess() });
pg.event.on("speak_fail", () => { this.onSpeakFail() });
}
private showVs() {
let vs = cc.find("vs", this.node);
vs.active = true;
let player1 = cc.find("player1", vs);
let player2 = cc.find("player2", vs);
let icon_vs = cc.find("icon_vs", vs);
cc.tween(player1).delay(0.4).call(() => {
this.playLocalAudio("move");
}).to(0.5, { x: -270 }).start();
cc.tween(player2).delay(0.4).to(0.5, { x: 270 }).start();
cc.tween(icon_vs).delay(0.8).call(() => {
this.playLocalAudio("vs");
icon_vs.active = true;
}).to(0.3, { scale: 1 })
.delay(2)
.call(() => {
pg.event.emit("game_start");
vs.active = false;
}).start();
}
onTouchStart() {
this.layout_start.active = false;
cc.audioEngine.stopAllEffects();
this.playLocalAudio('btn');
this.showVs();
}
//-----------------------------流程------------------------------
private playerPoint: number;//
private robotPoint: number;//
......@@ -96,7 +138,7 @@ export default class NewClass extends MyCocosSceneComponent {
}
onSpeakFail() {
//回退到最后一个位置
let cell = map[this.playerPoint];
let cell = Game.getIns().getMap()[this.playerPoint];
this.jumpChess(cell, this.lastPointId).then(() => {
this.turnNext();
......@@ -113,7 +155,7 @@ export default class NewClass extends MyCocosSceneComponent {
//初始化棋子
this.chessPlayer = pg.view.find(this, "chess/chess_player");
this.chessRobot = pg.view.find(this, "chess/chess_robot");
let point = map[0];
let point = Game.getIns().getMap()[0];
this.chessPlayer.x = Number(point.yellow_x);
this.chessPlayer.y = Number(point.yellow_y);
this.chessRobot.x = Number(point.blue_x);
......@@ -122,7 +164,7 @@ export default class NewClass extends MyCocosSceneComponent {
getMovePoints(now, runNum) {
let points = [];
for (let i = now; i <= now + runNum; i++) {
let point = map[i];
let point = Game.getIns().getMap()[i];
if (!point) break;
points.push(point);
}
......@@ -150,7 +192,7 @@ export default class NewClass extends MyCocosSceneComponent {
}
jumpChess(cell, jumpId) {
return new Promise((resolve, reject) => {
let jumpCell = map[jumpId - 1];
let jumpCell = Game.getIns().getMap()[jumpId - 1];
let points = [cell, jumpCell];
if (this.turnRobot) {
this.chessRobot.getComponent("chess").run(points).then(() => {
......@@ -168,7 +210,7 @@ export default class NewClass extends MyCocosSceneComponent {
private runNum: number;
checkCell() {
if (this.turnRobot) {
let cell = map[this.robotPoint];
let cell = Game.getIns().getMap()[this.robotPoint];
let val = cell.value;
let type = Number(cell.type);
switch (type) {
......@@ -196,7 +238,7 @@ export default class NewClass extends MyCocosSceneComponent {
return
}
this.scheduleOnce(() => {
let cell = map[this.playerPoint];
let cell = Game.getIns().getMap()[this.playerPoint];
let val = cell.value;
let type = Number(cell.type);
switch (type) {
......
......@@ -7,7 +7,7 @@
const { ccclass, property } = cc._decorator;
import pg from "./pg";
import pg from "./tool/pg";
@ccclass
export default class NewClass extends cc.Component {
......
import pg from './pg'
import pg from '"./tool/pg"'
// [
// {
// "id": 1,
......
import pg from "./pg";
import pg from "./tool/pg";
const { ccclass, property } = cc._decorator;
@ccclass
......
......@@ -5,7 +5,7 @@
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
import pg from "./pg";
import pg from "./tool/pg";
const { ccclass, property } = cc._decorator;
......
import pg from "./pg";
import pg from "./tool/pg";
const { ccclass, property } = cc._decorator;
......
{
"ver": "1.1.2",
"uuid": "2ad7c879-f4f9-411a-92a9-7b8101f8791c",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
import map from "./map";
export class Item {
public audio;
public img;
public text;
public time;
public tip;
public id;
constructor(data, id) {
this.id = id;
this.audio = data.audio;
this.img = data.image;
this.text = data.text;
this.time = Number(data.time);
this.tip = data.tip;
}
}
class Role {
public score: number;
public error: number;
constructor() {
this.score = 0;
this.error = 0;
}
addScore(score: number = 1) {
this.score += score;
}
addError(score: number = 1) {
this.error += score;
}
}
export class Player extends Role {
constructor() {
super();
}
reset() {
this.score = 0;
this.error = 0;
}
}
export class Robot extends Role {
constructor() {
super();
}
reset() {
this.score = 0;
this.error = 0;
}
}
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 bgm: string;
constructor() {
this.start = false;
this.lists = [];
this.player = new Player();
this.robot = new Robot();
}
get len() {
return this.lists.length;
}
public singleGame: boolean;
public question: { text, audio };
public title: string;
public init(data) {
this.singleGame = !data.onlineFlg;
this.question = { text: data.questionText, audio: data.questionTextAudio };
this.title = data.title;
this.start = false;
this.lists = [];
this.bgm = data.bgAudio;
this.data = data.options;
}
public start: boolean;
public page: number;
reset() {
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.lists.forEach((item) => {
})
}
getMap() {
return map;
}
}
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "f095019b-bfef-462e-857d-7fd85edac1ba",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
......@@ -16,6 +16,7 @@ export default [
{ "id": "15", "yellow_x": "-130", "yellow_y": "-280", "blue_x": "-130", "blue_y": "-125", "type": "2", "value": "1" },
{ "id": "16", "yellow_x": "-270", "yellow_y": "-280", "blue_x": "-270", "blue_y": "-125", "type": "1", "value": "window" },
{ "id": "17", "yellow_x": "-410", "yellow_y": "-280", "blue_x": "-410", "blue_y": "-125", "type": "4", "value": "5" },
{ "id": "18", "yellow_x": "-550", "yellow_y": "-280", "blue_x": "-550", "blue_y": "-125", "type": "1", "value": "door" }, { "id": "19", "yellow_x": "-775", "yellow_y": "-280", "blue_x": "-600", "blue_y": "-125", "type": "1", "value": "blackboard" }, { "id": "20", "yellow_x": "-775", "yellow_y": "-55", "blue_x": "-600", "blue_y": "-55", "type": "1", "value": "window" }, { "id": "21", "yellow_x": "-775", "yellow_y": "80", "blue_x": "-600", "blue_y": "80", "type": "4", "value": "5" }, { "id": "22", "yellow_x": "-775", "yellow_y": "220", "blue_x": "-600", "blue_y": "220", "type": "2", "value": "3" }, { "id": "23", "yellow_x": "-775", "yellow_y": "365", "blue_x": "-600", "blue_y": "365", "type": "1", "value": "door" }, { "id": "24", "yellow_x": "-775", "yellow_y": "550", "blue_x": "-600", "blue_y": "420", "type": "2", "value": "5" }, { "id": "25", "yellow_x": "-550", "yellow_y": "550", "blue_x": "-550", "blue_y": "420", "type": "1", "value": "window" }, { "id": "26", "yellow_x": "-410", "yellow_y": "550", "blue_x": "-410", "blue_y": "420", "type": "4", "value": "5" }, { "id": "27", "yellow_x": "-270", "yellow_y": "550", "blue_x": "-270", "blue_y": "420", "type": "2", "value": "2" }, { "id": "28", "yellow_x": "-130", "yellow_y": "550", "blue_x": "-130", "blue_y": "420", "type": "1", "value": "door" }, { "id": "29", "yellow_x": "10", "yellow_y": "550", "blue_x": "10", "blue_y": "420", "type": "1", "value": "blackboard" }, { "id": "30", "yellow_x": "150", "yellow_y": "550", "blue_x": "150", "blue_y": "420", "type": "3", "value": "1" }, { "id": "31", "yellow_x": "290", "yellow_y": "550", "blue_x": "290", "blue_y": "420", "type": "1", "value": "window" }, { "id": "32", "yellow_x": "430", "yellow_y": "550", "blue_x": "430", "blue_y": "420", "type": "2", "value": "1" }, { "id": "33", "yellow_x": "570", "yellow_y": "550", "blue_x": "570", "blue_y": "420", "type": "4", "value": "5" }, { "id": "34", "yellow_x": "790", "yellow_y": "550", "blue_x": "630", "blue_y": "420", "type": "1", "value": "blackboard" }, { "id": "35", "yellow_x": "790", "yellow_y": "360", "blue_x": "630", "blue_y": "360", "type": "1", "value": "door" }, { "id": "36", "yellow_x": "790", "yellow_y": "215", "blue_x": "630", "blue_y": "215", "type": "2", "value": "3" }, { "id": "37", "yellow_x": "790", "yellow_y": "70", "blue_x": "630", "blue_y": "70", "type": "5", "value": "43" }, { "id": "38", "yellow_x": "790", "yellow_y": "-75", "blue_x": "630", "blue_y": "-75", "type": "3", "value": "1" }, { "id": "39", "yellow_x": "790", "yellow_y": "-220", "blue_x": "630", "blue_y": "-220", "type": "1", "value": "window" }, { "id": "40", "yellow_x": "790", "yellow_y": "-365", "blue_x": "630", "blue_y": "-365", "type": "2", "value": "1" }, { "id": "41", "yellow_x": "790", "yellow_y": "-550", "blue_x": "630", "blue_y": "-405", "type": "1", "value": "blackboard" }, { "id": "42", "yellow_x": "570", "yellow_y": "-550", "blue_x": "570", "blue_y": "-405", "type": "1", "value": "window" }, { "id": "43", "yellow_x": "430", "yellow_y": "-550", "blue_x": "430", "blue_y": "-405", "type": "2", "value": "2" }, { "id": "44", "yellow_x": "290", "yellow_y": "-550", "blue_x": "290", "blue_y": "-405", "type": "1", "value": "door" }, { "id": "45", "yellow_x": "150", "yellow_y": "-550", "blue_x": "150", "blue_y": "-405", "type": "4", "value": "5" }, { "id": "46", "yellow_x": "10", "yellow_y": "-550", "blue_x": "10", "blue_y": "-405", "type": "1", "value": "blackboard" }, { "id": "47", "yellow_x": "-130", "yellow_y": "-550", "blue_x": "-130", "blue_y": "-405", "type": "1", "value": "window" }, { "id": "48", "yellow_x": "-270", "yellow_y": "-550", "blue_x": "-270", "blue_y": "-405", "type": "1", "value": "door" }, { "id": "49", "yellow_x": "-410", "yellow_y": "-550", "blue_x": "-410", "blue_y": "-405", "type": "2", "value": "2" }, { "id": "50", "yellow_x": "-550", "yellow_y": "-550", "blue_x": "-550", "blue_y": "-405", "type": "1", "value": "blackboard" },
{ "id": "18", "yellow_x": "-550", "yellow_y": "-280", "blue_x": "-550", "blue_y": "-125", "type": "1", "value": "door" },
{ "id": "19", "yellow_x": "-775", "yellow_y": "-280", "blue_x": "-600", "blue_y": "-125", "type": "1", "value": "blackboard" }, { "id": "20", "yellow_x": "-775", "yellow_y": "-55", "blue_x": "-600", "blue_y": "-55", "type": "1", "value": "window" }, { "id": "21", "yellow_x": "-775", "yellow_y": "80", "blue_x": "-600", "blue_y": "80", "type": "4", "value": "5" }, { "id": "22", "yellow_x": "-775", "yellow_y": "220", "blue_x": "-600", "blue_y": "220", "type": "2", "value": "3" }, { "id": "23", "yellow_x": "-775", "yellow_y": "365", "blue_x": "-600", "blue_y": "365", "type": "1", "value": "door" }, { "id": "24", "yellow_x": "-775", "yellow_y": "550", "blue_x": "-600", "blue_y": "420", "type": "2", "value": "5" }, { "id": "25", "yellow_x": "-550", "yellow_y": "550", "blue_x": "-550", "blue_y": "420", "type": "1", "value": "window" }, { "id": "26", "yellow_x": "-410", "yellow_y": "550", "blue_x": "-410", "blue_y": "420", "type": "4", "value": "5" }, { "id": "27", "yellow_x": "-270", "yellow_y": "550", "blue_x": "-270", "blue_y": "420", "type": "2", "value": "2" }, { "id": "28", "yellow_x": "-130", "yellow_y": "550", "blue_x": "-130", "blue_y": "420", "type": "1", "value": "door" }, { "id": "29", "yellow_x": "10", "yellow_y": "550", "blue_x": "10", "blue_y": "420", "type": "1", "value": "blackboard" }, { "id": "30", "yellow_x": "150", "yellow_y": "550", "blue_x": "150", "blue_y": "420", "type": "3", "value": "1" }, { "id": "31", "yellow_x": "290", "yellow_y": "550", "blue_x": "290", "blue_y": "420", "type": "1", "value": "window" }, { "id": "32", "yellow_x": "430", "yellow_y": "550", "blue_x": "430", "blue_y": "420", "type": "2", "value": "1" }, { "id": "33", "yellow_x": "570", "yellow_y": "550", "blue_x": "570", "blue_y": "420", "type": "4", "value": "5" }, { "id": "34", "yellow_x": "790", "yellow_y": "550", "blue_x": "630", "blue_y": "420", "type": "1", "value": "blackboard" }, { "id": "35", "yellow_x": "790", "yellow_y": "360", "blue_x": "630", "blue_y": "360", "type": "1", "value": "door" }, { "id": "36", "yellow_x": "790", "yellow_y": "215", "blue_x": "630", "blue_y": "215", "type": "2", "value": "3" }, { "id": "37", "yellow_x": "790", "yellow_y": "70", "blue_x": "630", "blue_y": "70", "type": "5", "value": "43" }, { "id": "38", "yellow_x": "790", "yellow_y": "-75", "blue_x": "630", "blue_y": "-75", "type": "3", "value": "1" }, { "id": "39", "yellow_x": "790", "yellow_y": "-220", "blue_x": "630", "blue_y": "-220", "type": "1", "value": "window" }, { "id": "40", "yellow_x": "790", "yellow_y": "-365", "blue_x": "630", "blue_y": "-365", "type": "2", "value": "1" }, { "id": "41", "yellow_x": "790", "yellow_y": "-550", "blue_x": "630", "blue_y": "-405", "type": "1", "value": "blackboard" }, { "id": "42", "yellow_x": "570", "yellow_y": "-550", "blue_x": "570", "blue_y": "-405", "type": "1", "value": "window" }, { "id": "43", "yellow_x": "430", "yellow_y": "-550", "blue_x": "430", "blue_y": "-405", "type": "2", "value": "2" }, { "id": "44", "yellow_x": "290", "yellow_y": "-550", "blue_x": "290", "blue_y": "-405", "type": "1", "value": "door" }, { "id": "45", "yellow_x": "150", "yellow_y": "-550", "blue_x": "150", "blue_y": "-405", "type": "4", "value": "5" }, { "id": "46", "yellow_x": "10", "yellow_y": "-550", "blue_x": "10", "blue_y": "-405", "type": "1", "value": "blackboard" }, { "id": "47", "yellow_x": "-130", "yellow_y": "-550", "blue_x": "-130", "blue_y": "-405", "type": "1", "value": "window" }, { "id": "48", "yellow_x": "-270", "yellow_y": "-550", "blue_x": "-270", "blue_y": "-405", "type": "1", "value": "door" }, { "id": "49", "yellow_x": "-410", "yellow_y": "-550", "blue_x": "-410", "blue_y": "-405", "type": "2", "value": "2" }, { "id": "50", "yellow_x": "-550", "yellow_y": "-550", "blue_x": "-550", "blue_y": "-405", "type": "1", "value": "blackboard" },
{ "id": "51", "yellow_x": "-690", "yellow_y": "-490", "blue_x": "-690", "blue_y": "-490", "type": "100", "value": "0" }
]
\ No newline at end of file
......@@ -53,6 +53,9 @@ class Emitter {
}
return;
}
clear() {
this._callbacks = {};
}
emit(event, ...args) {
this._callbacks = this._callbacks || {};
// let args = [].slice.call(arguments, 1);
......@@ -85,7 +88,16 @@ let pg = {
w: function (str) {
cc.warn(str);
return null;
},
lLog: function (str) {
const node = cc.find('middleLayer', cc.director.getScene());
if (node) {
node.getComponent('middleLayer').log(str);
} else {
cc.log(str);
}
}
},
view: {
//---------------------节点管理------------------------------
......@@ -204,7 +216,7 @@ let pg = {
})
})
},
setNetImg(item, res) {
setNetImg(item, res, { w, h }) {
return new Promise((resolve, reject) => {
if (!item) return pg.logger.w("图片更换失败,传入了错误的item");
let node = item.node ? item.node : item;
......@@ -214,8 +226,6 @@ let pg = {
}
if (!node) return pg.logger.w("图片更换失败,传入了错误的item");
if (node.net_url == res) return;
let w = node.width;
let h = node.height;
node.active = false;//
pg.load.loadNetImg(res).then((texture: cc.Texture2D) => {
if (!cc.isValid(node)) return pg.logger.i("节点已销毁");
......@@ -227,8 +237,13 @@ let pg = {
node.net_url = res;
if (!cc.isValid(node)) return pg.logger.i("节点已销毁");
if (!node) return pg.logger.w("节点已销毁");
node.width = w;
node.height = h;
if (w && h) {
let scaleX = w / nw;
let scaleY = h / nh;
let scale = scaleX <= scaleY ? scaleX : scaleY;
node.width = nw * scale;
node.height = nh * scale;
}
node.active = true;
resolve({ w: nw, h: nh });
})
......@@ -326,6 +341,7 @@ let pg = {
skl.playAnimation(aniName, loop);
return skl;
},
clone(node: cc.Node) {
return cc.instantiate(node)
}
......@@ -379,6 +395,44 @@ let pg = {
});
})
},
loadDB(item, config) {
return new Promise((resolve, reject) => {
if (!config.png || !config.ske || !config.tex) {
return resolve('');
}
pg.load.loadNetRes(config.png).then((png: any) => {
pg.load.loadNetRes(config.ske).then((ske: any) => {
pg.load.loadNetRes(config.tex).then((tex: any) => {
var atlas = new dragonBones.DragonBonesAtlasAsset();
atlas.atlasJson = JSON.stringify(tex.json);
atlas.texture = png;
var asset = new dragonBones.DragonBonesAsset();
asset.dragonBonesJson = JSON.stringify(ske.json);
let dragonDisplay = item.getComponent(dragonBones.ArmatureDisplay);
dragonDisplay.dragonAtlasAsset = atlas;
dragonDisplay.dragonAsset = asset;
//设置
let defaultArmature = ske.json.armature[0];//aramture 所有的骨骼名称
dragonDisplay.armatureName = defaultArmature.name;
resolve(defaultArmature.animation[0].name);
})
})
})
});
},
loadNetRes: function (url) {
return new Promise((resolve, reject) => {
cc.assetManager.loadRemote(url, (err, info) => {
if (err) return resolve(pg.logger.w('loading loadRes warn-> ' + err));
resolve(info);
});
})
},
},
localStorage: {
//本地存储
......@@ -428,13 +482,68 @@ let pg = {
}
},
audio: {
playBgmByUrl(audio_url) {
return new Promise((resolve, reject) => {
if (!audio_url) return resolve(0);
cc.assetManager.loadRemote(audio_url, (err, audioClip: any) => {
const audioId = cc.audioEngine.playMusic(audioClip, true);
resolve(audioId);
});
});
},
playAudioByUrl(audio_url) {
return new Promise((resolve, reject) => {
if (!audio_url) return resolve(0);
cc.assetManager.loadRemote(audio_url, (err, audioClip: any) => {
const audioId = cc.audioEngine.playEffect(audioClip, false);
cc.audioEngine.setFinishCallback(audioId, () => { });
resolve(audioId);
});
});
},
playAudioByUrlThen(audio_url) {
return new Promise((resolve, reject) => {
if (!audio_url) return resolve(0);
cc.assetManager.loadRemote(audio_url, (err, audioClip: any) => {
if (err) {
pg.logger.lLog("err!!!!!!!!!!!!!!!!!!");
}
// pg.tips.showTips("playAudioByUrlThen")
const audioId = cc.audioEngine.playEffect(audioClip, false);
cc.audioEngine.setFinishCallback(audioId, () => {
resolve(audioId);
});
});
});
},
stopAudio(audioId) {
if (!audioId) return;
cc.audioEngine.stopEffect(audioId);
},
playAudio(audioClip, cb = null) {
if (audioClip) {
const audioId = cc.audioEngine.playEffect(audioClip, false);
if (cb) {
cc.audioEngine.setFinishCallback(audioId, () => {
cb();
});
}
return audioId;
}
},
playLocalAudio(audio: cc.Node) {
return new Promise((resolve, reject) => {
const id = cc.audioEngine.playEffect(audio.getComponent(cc.AudioSource).clip, false);
cc.audioEngine.setFinishCallback(id, () => {
resolve(id);
});
})
}
},
hw: {
playLocalAudio(audioName, loop = false) {
console.log("play audio->" + audioName);
const audio = cc.find(`Canvas/res/audio/${audioName}`).getComponent(cc.AudioSource);
return new Promise((resolve, reject) => {
const id = cc.audioEngine.playEffect(audio.clip, loop);
......@@ -442,6 +551,19 @@ let pg = {
})
}
},
event: Emitter.getInstance()
event: Emitter.getInstance(),
tips: {
showTips(str = "") {
if (!str || str == "") return;
let tips = cc.find("Canvas/tips");
let label = cc.find("Canvas/tips/label");
let touch = cc.find("Canvas/tips/touch");
tips.active = true;
label.getComponent(cc.Label).string = str;
touch.on(cc.Node.EventType.TOUCH_END, () => {
tips.active = false;
})
}
}
};
export default pg;
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "dcef5d00-e8d0-49a5-81dd-346aec8accfc",
"uuid": "050a1a5b-23ba-4414-95b3-e4f7d6678f99",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
......@@ -5,7 +5,7 @@
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
import pg from "./pg";
import pg from "./tool/pg";
const { ccclass, property } = cc._decorator;
......
assets/NS02/textures/bg_bg.png

10.2 KB | W: | H:

assets/NS02/textures/bg_bg.png

50.2 KB | W: | H:

assets/NS02/textures/bg_bg.png
assets/NS02/textures/bg_bg.png
assets/NS02/textures/bg_bg.png
assets/NS02/textures/bg_bg.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1920,
"height": 1200,
"width": 1334,
"height": 750,
"platformSettings": {},
"subMetas": {
"bg_bg": {
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1920,
"height": 1200,
"rawWidth": 1920,
"rawHeight": 1200,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "9796cebd-86fc-429e-bfff-691d300f63bd",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 405,
"height": 222,
"platformSettings": {},
"subMetas": {
"bg_comeon": {
"ver": "1.0.4",
"uuid": "72241610-59a2-4499-a509-dfa3f818f2ce",
"rawTextureUuid": "9796cebd-86fc-429e-bfff-691d300f63bd",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 405,
"height": 222,
"rawWidth": 405,
"rawHeight": 222,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "4574b1cb-d366-4a11-9f6e-a4746d03c715",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 862,
"height": 419,
"platformSettings": {},
"subMetas": {
"bg_di": {
"ver": "1.0.4",
"uuid": "40526b87-4a37-4a4b-abc8-722773ddb799",
"rawTextureUuid": "4574b1cb-d366-4a11-9f6e-a4746d03c715",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 862,
"height": 419,
"rawWidth": 862,
"rawHeight": 419,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/NS02/textures/bg_dice-bg.png

3.89 KB | W: | H:

assets/NS02/textures/bg_dice-bg.png

2.04 KB | W: | H:

assets/NS02/textures/bg_dice-bg.png
assets/NS02/textures/bg_dice-bg.png
assets/NS02/textures/bg_dice-bg.png
assets/NS02/textures/bg_dice-bg.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 350,
"height": 351,
"width": 135,
"height": 134,
"platformSettings": {},
"subMetas": {
"bg_dice-bg": {
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 350,
"height": 351,
"rawWidth": 350,
"rawHeight": 351,
"width": 135,
"height": 134,
"rawWidth": 135,
"rawHeight": 134,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
assets/NS02/textures/bg_goodjob.png

141 KB | W: | H:

assets/NS02/textures/bg_goodjob.png

52.5 KB | W: | H:

assets/NS02/textures/bg_goodjob.png
assets/NS02/textures/bg_goodjob.png
assets/NS02/textures/bg_goodjob.png
assets/NS02/textures/bg_goodjob.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 815,
"height": 488,
"width": 443,
"height": 332,
"platformSettings": {},
"subMetas": {
"bg_goodjob": {
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 815,
"height": 488,
"rawWidth": 815,
"rawHeight": 488,
"width": 443,
"height": 332,
"rawWidth": 443,
"rawHeight": 332,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "d574d21f-aef7-4cae-8bab-e783e7949878",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 697,
"height": 691,
"platformSettings": {},
"subMetas": {
"bg_light-big": {
"ver": "1.0.4",
"uuid": "feeff13e-b8ce-4a99-aa2b-8641d75f010b",
"rawTextureUuid": "d574d21f-aef7-4cae-8bab-e783e7949878",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 697,
"height": 691,
"rawWidth": 697,
"rawHeight": 691,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "ab1cb579-1a94-45d6-a403-6406f5ce059a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 317,
"height": 315,
"platformSettings": {},
"subMetas": {
"bg_light-small": {
"ver": "1.0.4",
"uuid": "438dc353-627d-4f18-8a5c-131e8366357e",
"rawTextureUuid": "ab1cb579-1a94-45d6-a403-6406f5ce059a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 317,
"height": 315,
"rawWidth": 317,
"rawHeight": 315,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "22c4e26d-5d9e-47c4-952c-11fc4b43c792",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1334,
"height": 157,
"platformSettings": {},
"subMetas": {
"bg_sky": {
"ver": "1.0.4",
"uuid": "cc4ad706-5af9-447a-85b4-22753d304bf5",
"rawTextureUuid": "22c4e26d-5d9e-47c4-952c-11fc4b43c792",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 157,
"rawWidth": 1334,
"rawHeight": 157,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "8a142917-9b2f-452d-93d7-61cfc0b8db98",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 590,
"height": 390,
"platformSettings": {},
"subMetas": {
"bg_tip": {
"ver": "1.0.4",
"uuid": "d75fbd23-9dcb-4c3f-8b16-d2558c5accc5",
"rawTextureUuid": "8a142917-9b2f-452d-93d7-61cfc0b8db98",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 590,
"height": 390,
"rawWidth": 590,
"rawHeight": 390,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/NS02/textures/bg_tryagain.png

59.1 KB | W: | H:

assets/NS02/textures/bg_tryagain.png

56.7 KB | W: | H:

assets/NS02/textures/bg_tryagain.png
assets/NS02/textures/bg_tryagain.png
assets/NS02/textures/bg_tryagain.png
assets/NS02/textures/bg_tryagain.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 803,
"height": 333,
"width": 345,
"height": 287,
"platformSettings": {},
"subMetas": {
"bg_tryagain": {
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 803,
"height": 333,
"rawWidth": 803,
"rawHeight": 333,
"width": 345,
"height": 287,
"rawWidth": 345,
"rawHeight": 287,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
assets/NS02/textures/bg_vs.png

161 KB | W: | H:

assets/NS02/textures/bg_vs.png

177 KB | W: | H:

assets/NS02/textures/bg_vs.png
assets/NS02/textures/bg_vs.png
assets/NS02/textures/bg_vs.png
assets/NS02/textures/bg_vs.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1920,
"height": 415,
"width": 1334,
"height": 441,
"platformSettings": {},
"subMetas": {
"bg_vs": {
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1920,
"height": 415,
"rawWidth": 1920,
"rawHeight": 415,
"width": 1334,
"height": 441,
"rawWidth": 1334,
"rawHeight": 441,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "dd640686-0e5b-435c-adad-5e4af1b0f783",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 106,
"height": 88,
"platformSettings": {},
"subMetas": {
"btn_audio-clock": {
"ver": "1.0.4",
"uuid": "9122355e-5464-4c2b-b880-0b6a6eb117ef",
"rawTextureUuid": "dd640686-0e5b-435c-adad-5e4af1b0f783",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 106,
"height": 88,
"rawWidth": 106,
"rawHeight": 88,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 229,
"height": 145,
"width": 279,
"height": 101,
"platformSettings": {},
"subMetas": {
"btn_audio-start": {
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 229,
"height": 145,
"rawWidth": 229,
"rawHeight": 145,
"width": 279,
"height": 101,
"rawWidth": 279,
"rawHeight": 101,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 229,
"height": 145,
"rawWidth": 229,
"rawHeight": 145,
"width": 279,
"height": 101,
"rawWidth": 279,
"rawHeight": 101,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
assets/NS02/textures/btn_dice-stop.png

10.2 KB | W: | H:

assets/NS02/textures/btn_dice-stop.png

3.26 KB | W: | H:

assets/NS02/textures/btn_dice-stop.png
assets/NS02/textures/btn_dice-stop.png
assets/NS02/textures/btn_dice-stop.png
assets/NS02/textures/btn_dice-stop.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 336,
"height": 154,
"width": 185,
"height": 79,
"platformSettings": {},
"subMetas": {
"btn_dice-stop": {
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 336,
"height": 154,
"rawWidth": 336,
"rawHeight": 154,
"width": 185,
"height": 79,
"rawWidth": 185,
"rawHeight": 79,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "2cd11775-27eb-4d07-b7a3-17c97fd07f4f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 92,
"height": 92,
"platformSettings": {},
"subMetas": {
"btn_laba": {
"ver": "1.0.4",
"uuid": "f1eb0593-55cb-4d7f-85b2-680e71116161",
"rawTextureUuid": "2cd11775-27eb-4d07-b7a3-17c97fd07f4f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 92,
"height": 92,
"rawWidth": 92,
"rawHeight": 92,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "cd4d6969-9e12-4d34-bc8b-5e27b83fd346",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 92,
"height": 92,
"platformSettings": {},
"subMetas": {
"btn_laba1": {
"ver": "1.0.4",
"uuid": "0e4c065f-4a60-4e1d-8e3b-2761c3e9414f",
"rawTextureUuid": "cd4d6969-9e12-4d34-bc8b-5e27b83fd346",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -17.5,
"offsetY": -1.5,
"trimX": 24,
"trimY": 36,
"width": 9,
"height": 23,
"rawWidth": 92,
"rawHeight": 92,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "0b88784f-b609-4c2a-8f44-a7d0c0aec616",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 92,
"height": 92,
"platformSettings": {},
"subMetas": {
"btn_laba2": {
"ver": "1.0.4",
"uuid": "9cb66959-4484-44e4-a246-27f14c30cdc9",
"rawTextureUuid": "0b88784f-b609-4c2a-8f44-a7d0c0aec616",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -25,
"offsetY": -0.5,
"trimX": 9,
"trimY": 32,
"width": 24,
"height": 29,
"rawWidth": 92,
"rawHeight": 92,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "b6cc8241-d1c2-4864-b471-1e4be690a22a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 92,
"height": 92,
"platformSettings": {},
"subMetas": {
"btn_music-off": {
"ver": "1.0.4",
"uuid": "66409c9d-b163-49fd-9fe8-825dfe156afe",
"rawTextureUuid": "b6cc8241-d1c2-4864-b471-1e4be690a22a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 92,
"height": 92,
"rawWidth": 92,
"rawHeight": 92,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "93e0dbb4-5bc3-4f57-a576-98179a45b740",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 92,
"height": 92,
"platformSettings": {},
"subMetas": {
"btn_music-on": {
"ver": "1.0.4",
"uuid": "e9257034-608d-4c19-8408-879d7eec76df",
"rawTextureUuid": "93e0dbb4-5bc3-4f57-a576-98179a45b740",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 92,
"height": 92,
"rawWidth": 92,
"rawHeight": 92,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/NS02/textures/btn_restart.png

14.4 KB | W: | H:

assets/NS02/textures/btn_restart.png

6.51 KB | W: | H:

assets/NS02/textures/btn_restart.png
assets/NS02/textures/btn_restart.png
assets/NS02/textures/btn_restart.png
assets/NS02/textures/btn_restart.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 485,
"height": 243,
"width": 312,
"height": 102,
"platformSettings": {},
"subMetas": {
"btn_restart": {
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 485,
"height": 243,
"rawWidth": 485,
"rawHeight": 243,
"width": 312,
"height": 102,
"rawWidth": 312,
"rawHeight": 102,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
assets/NS02/textures/btn_start.png

12.7 KB | W: | H:

assets/NS02/textures/btn_start.png

6.51 KB | W: | H:

assets/NS02/textures/btn_start.png
assets/NS02/textures/btn_start.png
assets/NS02/textures/btn_start.png
assets/NS02/textures/btn_start.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 485,
"height": 243,
"width": 312,
"height": 102,
"platformSettings": {},
"subMetas": {
"btn_start": {
......@@ -20,12 +20,12 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 39,
"trimX": 0,
"trimY": 0,
"width": 407,
"height": 243,
"rawWidth": 485,
"rawHeight": 243,
"width": 312,
"height": 102,
"rawWidth": 312,
"rawHeight": 102,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "da3a5c6e-cb5b-429a-8e82-d1c4e23559ee",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 84,
"height": 133,
"platformSettings": {},
"subMetas": {
"icon_arrow": {
"ver": "1.0.4",
"uuid": "3d5d54ca-a079-4c65-abd2-b505f6d0974f",
"rawTextureUuid": "da3a5c6e-cb5b-429a-8e82-d1c4e23559ee",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 84,
"height": 133,
"rawWidth": 84,
"rawHeight": 133,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/NS02/textures/icon_player.png

4.06 KB | W: | H:

assets/NS02/textures/icon_player.png

2.74 KB | W: | H:

assets/NS02/textures/icon_player.png
assets/NS02/textures/icon_player.png
assets/NS02/textures/icon_player.png
assets/NS02/textures/icon_player.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 102,
"height": 98,
"rawWidth": 102,
"rawHeight": 98,
"width": 39,
"height": 59,
"rawWidth": 39,
"rawHeight": 59,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "f558c208-15db-4dea-8ad6-7ee9576385eb",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 295,
"height": 295,
"platformSettings": {},
"subMetas": {
"icon_player1": {
"ver": "1.0.4",
"uuid": "25e1db33-a9ac-41b5-9dcb-13ead12acddb",
"rawTextureUuid": "f558c208-15db-4dea-8ad6-7ee9576385eb",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 295,
"height": 295,
"rawWidth": 295,
"rawHeight": 295,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d160debe-fa5d-4f8c-8bd5-dd5cde881028",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 295,
"height": 295,
"platformSettings": {},
"subMetas": {
"icon_player2": {
"ver": "1.0.4",
"uuid": "5616bbdc-b6e3-4810-933a-cd71066d9ac6",
"rawTextureUuid": "d160debe-fa5d-4f8c-8bd5-dd5cde881028",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 295,
"height": 295,
"rawWidth": 295,
"rawHeight": 295,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/NS02/textures/icon_robot.png

4.09 KB | W: | H:

assets/NS02/textures/icon_robot.png

2.7 KB | W: | H:

assets/NS02/textures/icon_robot.png
assets/NS02/textures/icon_robot.png
assets/NS02/textures/icon_robot.png
assets/NS02/textures/icon_robot.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 102,
"height": 98,
"width": 39,
"height": 59,
"platformSettings": {},
"subMetas": {
"icon_robot": {
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 102,
"height": 98,
"rawWidth": 102,
"rawHeight": 98,
"width": 39,
"height": 59,
"rawWidth": 39,
"rawHeight": 59,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "d8019915-290a-4629-9daa-074b3d3b8d8f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 197,
"height": 127,
"platformSettings": {},
"subMetas": {
"text_vs": {
"ver": "1.0.4",
"uuid": "40e6fc10-67a1-452d-992d-265d08a73736",
"rawTextureUuid": "d8019915-290a-4629-9daa-074b3d3b8d8f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 197,
"height": 127,
"rawWidth": 197,
"rawHeight": 127,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 61,
"height": 61,
"width": 135,
"height": 134,
"platformSettings": {},
"subMetas": {
"icon_1": {
......@@ -18,14 +18,14 @@
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 61,
"height": 61,
"rawWidth": 61,
"rawHeight": 61,
"offsetX": -0.5,
"offsetY": -1,
"trimX": 15,
"trimY": 16,
"width": 104,
"height": 104,
"rawWidth": 135,
"rawHeight": 134,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 61,
"height": 61,
"width": 135,
"height": 134,
"platformSettings": {},
"subMetas": {
"icon_2": {
......@@ -18,14 +18,14 @@
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 61,
"height": 61,
"rawWidth": 61,
"rawHeight": 61,
"offsetX": -0.5,
"offsetY": -1,
"trimX": 15,
"trimY": 16,
"width": 104,
"height": 104,
"rawWidth": 135,
"rawHeight": 134,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 61,
"height": 61,
"width": 135,
"height": 134,
"platformSettings": {},
"subMetas": {
"icon_3": {
......@@ -18,14 +18,14 @@
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 61,
"height": 61,
"rawWidth": 61,
"rawHeight": 61,
"offsetX": -0.5,
"offsetY": -1,
"trimX": 15,
"trimY": 16,
"width": 104,
"height": 104,
"rawWidth": 135,
"rawHeight": 134,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 61,
"height": 61,
"width": 135,
"height": 134,
"platformSettings": {},
"subMetas": {
"icon_4": {
......@@ -18,14 +18,14 @@
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 61,
"height": 61,
"rawWidth": 61,
"rawHeight": 61,
"offsetX": -0.5,
"offsetY": -1,
"trimX": 15,
"trimY": 16,
"width": 104,
"height": 104,
"rawWidth": 135,
"rawHeight": 134,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 61,
"height": 61,
"width": 135,
"height": 134,
"platformSettings": {},
"subMetas": {
"icon_5": {
......@@ -18,14 +18,14 @@
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 61,
"height": 61,
"rawWidth": 61,
"rawHeight": 61,
"offsetX": -0.5,
"offsetY": -1,
"trimX": 15,
"trimY": 16,
"width": 104,
"height": 104,
"rawWidth": 135,
"rawHeight": 134,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 61,
"height": 61,
"width": 135,
"height": 134,
"platformSettings": {},
"subMetas": {
"icon_6": {
......@@ -18,14 +18,14 @@
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 61,
"height": 61,
"rawWidth": 61,
"rawHeight": 61,
"offsetX": -0.5,
"offsetY": -1,
"trimX": 15,
"trimY": 16,
"width": 104,
"height": 104,
"rawWidth": 135,
"rawHeight": 134,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "9f0f7a29-83b6-40cd-8a98-09cc9da103bc",
"uuid": "ba26da39-74ee-4046-8437-3220af0f7be9",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 152,
"height": 203,
"width": 123,
"height": 123,
"platformSettings": {},
"subMetas": {
"icon_player-dice": {
"ver": "1.0.4",
"uuid": "aa0f6f43-c49a-4415-83df-8fa3add0b12b",
"rawTextureUuid": "9f0f7a29-83b6-40cd-8a98-09cc9da103bc",
"uuid": "557332be-622c-4f77-b502-8bd6b4f8f52c",
"rawTextureUuid": "ba26da39-74ee-4046-8437-3220af0f7be9",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 152,
"height": 203,
"rawWidth": 152,
"rawHeight": 203,
"width": 123,
"height": 123,
"rawWidth": 123,
"rawHeight": 123,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 152,
"height": 203,
"width": 123,
"height": 123,
"platformSettings": {},
"subMetas": {
"icon_player": {
......@@ -19,13 +19,13 @@
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -11,
"trimX": 0,
"trimY": 22,
"width": 152,
"height": 181,
"rawWidth": 152,
"rawHeight": 203,
"offsetY": 0,
"trimX": 12,
"trimY": 12,
"width": 99,
"height": 99,
"rawWidth": 123,
"rawHeight": 123,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 152,
"height": 191,
"width": 123,
"height": 123,
"platformSettings": {},
"subMetas": {
"icon_robot-dice": {
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 152,
"height": 191,
"rawWidth": 152,
"rawHeight": 191,
"width": 123,
"height": 123,
"rawWidth": 123,
"rawHeight": 123,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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