Commit 885ee0df authored by LikG21's avatar LikG21

feat(游戏)完整代码

parent a3f5ba9f
No preview for this file type
import { asyncDelay, onHomeworkFinish } from "../script/util";
import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent";
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() {
}
async onLoadEnd() {
// TODO 加载完成后的逻辑写在这里, 下面的代码仅供参考
this.initData();
this.initView();
this.initListener();
}
_cantouch = null;
initData() {
// 所有全局变量 默认都是null
this._cantouch = true;
}
initView() {
this.initBg();
this.initPic();
this.initBtn();
this.initIcon();
}
initBg() {
const bgNode = cc.find('Canvas/bg');
bgNode.scale = this._mapScaleMax;
}
pic1 = null;
pic2 = null;
initPic() {
const canvas = cc.find('Canvas');
const maxW = canvas.width * 0.7;
this.getSprNodeByUrl(this.data.pic_url, (sprNode) => {
const picNode1 = sprNode;
picNode1.scale = maxW / picNode1.width;
picNode1.baseX = picNode1.x;
canvas.addChild(picNode1);
this.pic1 = picNode1;
const labelNode = new cc.Node();
labelNode.color = cc.Color.YELLOW;
const label = labelNode.addComponent(cc.Label);
label.string = this.data.text;
label.fontSize = 60;
label.lineHeight = 60;
label.font = cc.find('Canvas/res/font/BRLNSDB').getComponent('cc.Label').font;
picNode1.addChild(labelNode);
});
this.getSprNodeByUrl(this.data.pic_url_2, (sprNode) => {
const picNode2 = sprNode;
picNode2.scale = maxW / picNode2.width;
canvas.addChild(picNode2);
picNode2.x = canvas.width;
picNode2.baseX = picNode2.x;
this.pic2 = picNode2;
const labelNode = new cc.Node();
const label = labelNode.addComponent(cc.RichText);
const size = 60
label.font = cc.find('Canvas/res/font/BRLNSDB').getComponent(cc.Label).font;
label.string = `<outline color=#751e00 width=4><size=${size}><color=#ffffff>${this.data.text}</color></size></outline>`
label.lineHeight = size;
picNode2.addChild(labelNode);
});
}
initIcon() {
const iconNode = this.getSprNode('icon');
iconNode.zIndex = 5;
iconNode.anchorX = 1;
iconNode.anchorY = 1;
iconNode.parent = cc.find('Canvas');
iconNode.x = iconNode.parent.width / 2 - 10;
iconNode.y = iconNode.parent.height / 2 - 10;
iconNode.on(cc.Node.EventType.TOUCH_START, () => {
this.playAudioByUrl(this.data.audio_url);
})
}
curPage = null;
initBtn() {
this.curPage = 0;
const bottomPart = cc.find('Canvas/bottomPart');
bottomPart.zIndex = 5; // 提高层级
bottomPart.x = bottomPart.parent.width / 2;
bottomPart.y = -bottomPart.parent.height / 2;
const leftBtnNode = bottomPart.getChildByName('btn_left');
//节点中添加了button组件 则可以添加click事件监听
leftBtnNode.on('click', () => {
if (!this._cantouch) {
return;
}
if (this.curPage == 0) {
return;
}
this.curPage = 0
this.leftMove();
this.playLocalAudio('btn');
})
const rightBtnNode = bottomPart.getChildByName('btn_right');
//节点中添加了button组件 则可以添加click事件监听
rightBtnNode.on('click', () => {
if (!this._cantouch) {
return;
}
if (this.curPage == 1) {
return;
}
this.curPage = 1
this.rightMove();
// 游戏结束时需要调用这个方法通知系统作业完成
onHomeworkFinish();
this.playLocalAudio('btn');
})
}
leftMove() {
this._cantouch = false;
const len = this.pic1.parent.width;
cc.tween(this.pic1)
.to(1, { x: this.pic1.baseX }, { easing: 'cubicInOut' })
.start();
cc.tween(this.pic2)
.to(1, { x: this.pic2.baseX }, { easing: 'cubicInOut' })
.call(() => {
this._cantouch = true;
})
.start();
}
rightMove() {
this._cantouch = false;
const len = this.pic1.parent.width;
cc.tween(this.pic1)
.to(1, { x: this.pic1.baseX - len }, { easing: 'cubicInOut' })
.start();
cc.tween(this.pic2)
.to(1, { x: this.pic2.baseX - len }, { easing: 'cubicInOut' })
.call(() => {
this._cantouch = true;
})
.start();
}
// update (dt) {},
initListener() {
}
playLocalAudio(audioName) {
const audio = cc.find(`Canvas/res/audio/${audioName}`).getComponent(cc.AudioSource);
return new Promise((resolve, reject) => {
const id = cc.audioEngine.playEffect(audio.clip, false);
cc.audioEngine.setFinishCallback(id, () => {
resolve(id);
});
})
}
}
export const defaultData = {
"pic_url": "http://staging-teach.cdn.ireadabc.com/ed94332a503c31e0908bd4c6923a2665.png",
"pic_url_2": "http://staging-teach.cdn.ireadabc.com/5fb60317ade0195d35ad8034d5370a7f.png",
"text": "This is a test label.",
"audio_url": "http://staging-teach.cdn.ireadabc.com/f47f1d7b5c160fe1c59500d180346240.mp3"
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "82ba83ef-8dc0-41b6-8f37-61aa30f9d4af",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "1e7e39d7-175f-4cf6-8390-ab09a21efaa9",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"frameRate":24,"name":"sdy","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"armatureName","aabb":{"x":-587,"y":-491,"width":1299,"height":460},"bone":[{"name":"root"},{"length":86,"name":"cloud-2","parent":"root","transform":{"x":59.15,"y":-367.1}},{"length":73,"name":"cloud-3","parent":"root","transform":{"x":596.2,"y":-172.45,"skX":1.8975,"skY":1.8975}},{"length":145,"name":"cloud-1","parent":"root","transform":{"x":-396.65,"y":-142.9}}],"slot":[{"name":"cloud-3","parent":"cloud-3"},{"name":"cloud-2","parent":"cloud-2"},{"name":"cloud-1","parent":"cloud-1"}],"skin":[{"slot":[{"name":"cloud-3","display":[{"name":"cloud-3","transform":{"x":12.63,"y":-5.47,"skX":-1.9,"skY":-1.9}}]},{"name":"cloud-2","display":[{"name":"cloud-2","transform":{"x":25.85,"y":-15.9}}]},{"name":"cloud-1","display":[{"name":"cloud-1","transform":{"x":34.15,"y":3.4}}]}]}],"animation":[{"duration":4800,"playTimes":0,"name":"newAnimation","bone":[{"name":"cloud-2","translateFrame":[{"duration":1464,"tweenEasing":0,"x":-2.34},{"duration":813,"tweenEasing":0,"x":-1284.95},{"duration":21,"tweenEasing":0,"x":-1284.95},{"duration":417,"tweenEasing":0,"x":1600.92},{"duration":2085,"tweenEasing":0,"x":1600.92},{"duration":0,"x":-2.34}]},{"name":"cloud-3","translateFrame":[{"duration":2090,"tweenEasing":0,"x":-71.29},{"duration":187,"tweenEasing":0,"x":-1743.5},{"duration":21,"tweenEasing":0,"x":-1743.5},{"duration":209,"tweenEasing":0,"x":1600.92},{"duration":2293,"tweenEasing":0,"x":1600.92},{"duration":0,"x":-71.29}]},{"name":"cloud-1","translateFrame":[{"duration":2277,"tweenEasing":0,"x":-71.29},{"duration":21,"tweenEasing":0,"x":-1743.5},{"duration":2502,"tweenEasing":0,"x":1600.92},{"duration":0,"x":-71.29}]}],"slot":[{"name":"cloud-3","colorFrame":[{"duration":2256,"tweenEasing":0},{"duration":21,"tweenEasing":0},{"duration":21,"tweenEasing":0,"value":{"aM":0}},{"duration":21,"tweenEasing":0,"value":{"aM":0}},{"duration":2481}]},{"name":"cloud-2","colorFrame":[{"duration":2256,"tweenEasing":0},{"duration":21,"tweenEasing":0},{"duration":21,"tweenEasing":0,"value":{"aM":0}},{"duration":21,"tweenEasing":0,"value":{"aM":0}},{"duration":2481}]},{"name":"cloud-1","colorFrame":[{"duration":2256,"tweenEasing":0},{"duration":21,"tweenEasing":0},{"duration":21,"tweenEasing":0,"value":{"aM":0}},{"duration":21,"tweenEasing":0,"value":{"aM":0}},{"duration":2481}]}]}],"defaultActions":[{"gotoAndPlay":"newAnimation"}],"canvas":{"y":-260,"width":1920,"height":521}}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "4b38a99a-ea33-4fa5-af21-87736649036e",
"subMetas": {}
}
\ No newline at end of file
{"imagePath":"sdy_tex.png","width":512,"height":1024,"name":"sdy","SubTexture":[{"width":206,"y":438,"height":111,"name":"cloud-3","x":1},{"width":434,"y":220,"height":216,"name":"cloud-2","x":1},{"width":449,"y":1,"height":217,"name":"cloud-1","x":1}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "bd6768af-351b-4e92-98c9-8e57034302a5",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "747740a6-9f00-4942-88c9-eadfe0e73aef",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 512,
"height": 1024,
"platformSettings": {},
"subMetas": {
"sdy_tex": {
"ver": "1.0.4",
"uuid": "c6089a6a-b693-4571-a3a5-8bd673473baa",
"rawTextureUuid": "747740a6-9f00-4942-88c9-eadfe0e73aef",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -30.5,
"offsetY": 237,
"trimX": 1,
"trimY": 1,
"width": 449,
"height": 548,
"rawWidth": 512,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "fa912cc9-47ec-4987-8798-2e432853a3aa",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "56ec52b1-ea8c-4e77-9ad2-152a7b04cddb",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "99481384-7524-4ecf-9623-d8466df57025",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "cafb4d03-522d-4674-879a-b8193c99d2b2",
"subMetas": {}
}
\ No newline at end of file
{"imagePath":"Excellent_tex.png","width":2048,"height":2048,"name":"Excellent","SubTexture":[{"width":161,"y":1849,"height":162,"name":"翅膀_左3","x":671},{"width":161,"y":1849,"height":162,"name":"翅膀_左2","x":508},{"width":160,"y":1849,"height":162,"name":"翅膀_左1","x":834},{"width":161,"y":604,"height":162,"name":"翅膀_右3","x":1864},{"width":161,"y":440,"height":162,"name":"翅膀_右2","x":1864},{"width":160,"y":723,"height":162,"name":"翅膀_右1","x":1532},{"width":391,"y":1,"height":437,"name":"菱形","x":1532},{"width":330,"y":440,"height":281,"name":"虎头Excellent","x":1532},{"width":505,"y":1849,"height":151,"name":"Excellent","x":1},{"width":45,"y":39,"height":30,"name":"糖1","x":2000},{"width":41,"y":1,"height":36,"name":"糖2","x":2000},{"width":39,"y":1,"height":61,"name":"糖3","x":1925},{"width":32,"y":1,"height":49,"name":"糖4","x":1966},{"width":19,"y":80,"height":25,"name":"糖5","x":1952},{"width":26,"y":52,"height":26,"name":"糖6","x":1966},{"width":20,"y":107,"height":24,"name":"糖7","x":2021},{"width":15,"y":80,"height":16,"name":"糖8","x":1973},{"width":15,"y":98,"height":16,"name":"糖9","x":1973},{"width":15,"y":91,"height":16,"name":"糖10","x":1925},{"width":25,"y":64,"height":25,"name":"糖11","x":1925},{"width":25,"y":80,"height":25,"name":"糖12","x":2021},{"width":25,"y":71,"height":25,"name":"糖13","x":1994},{"width":50,"y":2002,"height":27,"name":"糖14","x":1},{"width":862,"y":985,"height":862,"name":"光4","x":1},{"frameY":-74,"y":1,"frameWidth":1920,"frameX":-164,"frameHeight":1080,"width":1529,"height":982,"name":"光","x":1}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "14afe0ae-e556-497f-bf9e-0aab665b5693",
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "2.3.5",
"uuid": "2db45808-9651-4462-b6a2-cb9b013664ed",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 2048,
"platformSettings": {},
"subMetas": {
"Excellent_tex": {
"ver": "1.0.4",
"uuid": "d705d261-275e-4c27-aca0-d5e234e77f62",
"rawTextureUuid": "2db45808-9651-4462-b6a2-cb9b013664ed",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 9,
"trimX": 1,
"trimY": 1,
"width": 2045,
"height": 2028,
"rawWidth": 2048,
"rawHeight": 2048,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "a2b070a7-4df7-4591-91b7-bcb74ca2d828",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "c9cb8190-feb9-4295-a068-9669e36839ad",
"subMetas": {}
}
\ No newline at end of file
{"imagePath":"Good_tex.png","width":2048,"height":2048,"name":"Good","SubTexture":[{"width":161,"y":1849,"height":162,"name":"翅膀_左3","x":671},{"width":161,"y":604,"height":162,"name":"翅膀_左2","x":1861},{"width":160,"y":1849,"height":162,"name":"翅膀_左1","x":834},{"width":161,"y":1849,"height":162,"name":"翅膀_右3","x":508},{"width":161,"y":440,"height":162,"name":"翅膀_右2","x":1861},{"width":160,"y":722,"height":162,"name":"翅膀_右1","x":1532},{"width":391,"y":1,"height":437,"name":"菱形","x":1532},{"width":327,"y":440,"height":280,"name":"虎头Good_","x":1532},{"width":505,"y":1849,"height":151,"name":"Good_","x":1},{"width":45,"y":39,"height":30,"name":"糖1","x":2000},{"width":41,"y":1,"height":36,"name":"糖2","x":2000},{"width":39,"y":1,"height":61,"name":"糖3","x":1925},{"width":32,"y":1,"height":49,"name":"糖4","x":1966},{"width":19,"y":80,"height":25,"name":"糖5","x":1952},{"width":26,"y":52,"height":26,"name":"糖6","x":1966},{"width":20,"y":107,"height":24,"name":"糖7","x":2021},{"width":15,"y":80,"height":16,"name":"糖8","x":1973},{"width":15,"y":98,"height":16,"name":"糖9","x":1973},{"width":15,"y":91,"height":16,"name":"糖10","x":1925},{"width":25,"y":80,"height":25,"name":"糖11","x":2021},{"width":25,"y":71,"height":25,"name":"糖12","x":1994},{"width":25,"y":64,"height":25,"name":"糖13","x":1925},{"width":50,"y":2002,"height":27,"name":"糖14","x":1},{"width":862,"y":985,"height":862,"name":"光4","x":1},{"frameY":-74,"y":1,"frameWidth":1920,"frameX":-164,"frameHeight":1080,"width":1529,"height":982,"name":"光","x":1}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "0d2c601a-6231-45ad-9d1f-d5d51092137b",
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "2.3.5",
"uuid": "95c85916-c868-46a2-8d51-31d4f1a96c4a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 2048,
"platformSettings": {},
"subMetas": {
"Good_tex": {
"ver": "1.0.4",
"uuid": "b6ef27ca-bd13-41f2-80ed-6fa70a53ed8e",
"rawTextureUuid": "95c85916-c868-46a2-8d51-31d4f1a96c4a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 9,
"trimX": 1,
"trimY": 1,
"width": 2045,
"height": 2028,
"rawWidth": 2048,
"rawHeight": 2048,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "8c9909a4-3e62-490f-868c-0bac3ff42e93",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "ecd349c0-ad88-4ef1-ace6-27e9ead1d200",
"subMetas": {}
}
\ No newline at end of file
{"name":"lypc","imagePath":"lypc_tex.png","SubTexture":[{"name":"7","x":1,"height":69,"y":1,"width":11},{"name":"6","x":14,"height":45,"y":1,"width":11},{"name":"5","x":40,"height":27,"y":1,"width":11},{"name":"4","x":1,"height":47,"y":72,"width":11},{"name":"3","x":27,"height":27,"y":1,"width":11},{"name":"2","x":14,"height":38,"y":48,"width":11},{"name":"1","x":14,"height":28,"y":88,"width":11}],"height":128,"width":64}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "bfff0b42-e9cc-4302-8ce3-5e421411d054",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "53bc8d78-30ec-4d2a-9d04-5b6f6d9f9699",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 64,
"height": 128,
"platformSettings": {},
"subMetas": {
"lypc_tex": {
"ver": "1.0.4",
"uuid": "5bff2042-cef6-4236-9e63-4db54d4a3b07",
"rawTextureUuid": "53bc8d78-30ec-4d2a-9d04-5b6f6d9f9699",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -6,
"offsetY": 4,
"trimX": 1,
"trimY": 1,
"width": 50,
"height": 118,
"rawWidth": 64,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "33ffebb4-44c5-4715-812c-c216797584e9",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "b42b295e-67a2-4856-abff-b0f11377e257",
"subMetas": {}
}
\ No newline at end of file
{"imagePath":"Try_again_tex.png","width":2048,"height":2048,"name":"Try_again","SubTexture":[{"width":161,"y":1849,"height":162,"name":"翅膀_左3","x":671},{"width":161,"y":440,"height":162,"name":"翅膀_左2","x":1865},{"width":160,"y":717,"height":162,"name":"翅膀_左1","x":1532},{"width":161,"y":604,"height":162,"name":"翅膀_右3","x":1865},{"width":161,"y":1849,"height":162,"name":"翅膀_右2","x":508},{"width":160,"y":1849,"height":162,"name":"翅膀_右1","x":834},{"width":391,"y":1,"height":437,"name":"菱形","x":1532},{"width":331,"y":440,"height":275,"name":"虎头Try_again","x":1532},{"width":505,"y":1849,"height":151,"name":"Try_again","x":1},{"width":45,"y":39,"height":30,"name":"糖1","x":2000},{"width":41,"y":1,"height":36,"name":"糖2","x":2000},{"width":39,"y":1,"height":61,"name":"糖3","x":1925},{"width":32,"y":1,"height":49,"name":"糖4","x":1966},{"width":19,"y":80,"height":25,"name":"糖5","x":1952},{"width":26,"y":52,"height":26,"name":"糖6","x":1966},{"width":20,"y":107,"height":24,"name":"糖7","x":2021},{"width":15,"y":91,"height":16,"name":"糖8","x":1925},{"width":15,"y":98,"height":16,"name":"糖9","x":1973},{"width":15,"y":80,"height":16,"name":"糖10","x":1973},{"width":25,"y":80,"height":25,"name":"糖11","x":2021},{"width":25,"y":71,"height":25,"name":"糖12","x":1994},{"width":25,"y":64,"height":25,"name":"糖13","x":1925},{"width":50,"y":2002,"height":27,"name":"糖14","x":1},{"width":862,"y":985,"height":862,"name":"光4","x":1},{"frameY":-74,"y":1,"frameWidth":1920,"frameX":-164,"frameHeight":1080,"width":1529,"height":982,"name":"光","x":1}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "1281c03b-70f7-44b4-8cd7-be6328cc711e",
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "2.3.5",
"uuid": "75678f20-f6cf-4ad9-befa-e281f31a9164",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 2048,
"platformSettings": {},
"subMetas": {
"Try_again_tex": {
"ver": "1.0.4",
"uuid": "e7290793-aaa6-4c91-be52-22ec5fc6746b",
"rawTextureUuid": "75678f20-f6cf-4ad9-befa-e281f31a9164",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 9,
"trimX": 1,
"trimY": 1,
"width": 2045,
"height": 2028,
"rawWidth": 2048,
"rawHeight": 2048,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "11e832db-90f0-4e9f-9e25-ccb938b565fd",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "674f97a3-1898-4235-9473-17c357c39605",
"downloadMode": 0,
"duration": 1.8137,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "bafa4c84-01c2-4d6c-8343-745066eed098",
"downloadMode": 0,
"duration": 1.097125,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "78f18bf7-e329-4386-aaee-1b6737fe5a03",
"downloadMode": 0,
"duration": 1.071,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "3796b67a-a501-40dc-a1b1-8ea234651d9e",
"downloadMode": 0,
"duration": 1.1755,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "01078612-c23a-46cf-a530-a74f52f2b98a",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "img_voice",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 5
},
{
"__id__": 8
}
],
"_active": false,
"_components": [
{
"__id__": 11
},
{
"__id__": 12
}
],
"_prefab": {
"__id__": 13
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "p1",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
}
],
"_prefab": {
"__id__": 4
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 106,
"height": 106
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5d6944d6-a8e5-4fb1-8a51-398599119594"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "b2AVtPfI1H8rsYBg+57NsK",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "p3",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 6
}
],
"_prefab": {
"__id__": 7
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 106,
"height": 106
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "422c2578-4308-4ecb-b662-e6f8ac2f7012"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "28xDtc6+BJ74MCN73DdTk4",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "p2",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
}
],
"_prefab": {
"__id__": 10
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 106,
"height": 106
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d1a502ee-14cf-4c20-95e9-e8132e334e85"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "3bzotBPcdH6KRt6Og7x6F9",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": 960,
"_right": 0,
"_top": 540,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "f6509JnLAlKfZ9VLFWlQcNk",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "",
"sync": false
}
]
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "d649146b-22ea-4f4f-ae01-ceb7f495bfdc",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "0b87ca13-07e1-4237-ab3b-7f27c69deb2d",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "814fa0b9-b4b3-44e1-8c22-a25e65bc8ccc",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "35fbe4f1-249e-4263-90a1-de923c148363",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "b4ac88a3-938b-460f-841e-8f69789677bc",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "7e3797a2-f356-4139-aeb8-94997ef212ce",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
// pg.event.emit('img_voice_play_voice_start')
// pg.event.emit('img_voice_play_voice_end')
import pg from "../../scene/pg_hy06_danxuan";
const { ccclass, property } = cc._decorator;
@ccclass
export default class ImgVoice extends cc.Component {
private img_npc_voice: cc.Node;
onLoad() {
this.initView();
this.initEvent();
}
initView() {
this.img_npc_voice = this.node;
}
initEvent() {
pg.event.on('img_voice_play_voice_start', () => {
this.playVoiceStart();
})
pg.event.on('img_voice_play_voice_end', () => {
this.playVoiceEnd();
})
}
private playVoiceCount: number;
playVoiceStart() {
if (this.playVoiceCount > 0) return;
this.playVoiceCount = 0;
this.schedule(this.playVoiceRunning, 0.3)
}
playVoiceRunning() {
this.playVoiceCount++;
let p1 = this.img_npc_voice.getChildByName('p1')
let p2 = this.img_npc_voice.getChildByName('p2')
let p3 = this.img_npc_voice.getChildByName('p3')
p1.active = this.playVoiceCount % 3 == 0;
p2.active = this.playVoiceCount % 3 == 1;
p3.active = this.playVoiceCount % 3 == 2;
}
playVoiceEnd() {
this.unschedule(this.playVoiceRunning)
this.playVoiceCount = 0;
let p1 = this.img_npc_voice.getChildByName('p1')
let p2 = this.img_npc_voice.getChildByName('p2')
let p3 = this.img_npc_voice.getChildByName('p3')
p1.active = true;
p2.active = false;
p3.active = false;
}
}
{
"ver": "1.0.8",
"uuid": "f6509267-2c09-4a7d-9f55-2c55a541c364",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
// pg.event.emit('npc_voice_play_voice_start')
// pg.event.emit('npc_voice_play_voice_end')
import pg from "../../scene/pg_hy06_danxuan";
const { ccclass, property } = cc._decorator;
@ccclass
export default class LayerBack extends cc.Component {
private btn_back: cc.Node;
private img_npc_voice: cc.Node;
onLoad() {
this.initView();
this.initEvent();
}
initView() {
this.btn_back = pg.view.find(this, 'btn_back')
this.img_npc_voice = pg.view.find(this, 'img_npc_voice')
}
initEvent() {
pg.view.touchOn(this.btn_back, this.onTouchBack, this)
pg.event.on('npc_voice_play_voice_start', () => {
this.playVoiceStart();
})
pg.event.on('npc_voice_play_voice_end', () => {
this.playVoiceEnd();
})
}
private playVoiceCount: number;
playVoiceStart() {
if (this.playVoiceCount > 0) return;
this.playVoiceCount = 0;
this.schedule(this.playVoiceRunning, 0.3)
}
playVoiceRunning() {
this.playVoiceCount++;
let p1 = this.img_npc_voice.getChildByName('p1')
let p2 = this.img_npc_voice.getChildByName('p2')
let p3 = this.img_npc_voice.getChildByName('p3')
p1.active = this.playVoiceCount % 3 == 0;
p2.active = this.playVoiceCount % 3 == 1;
p3.active = this.playVoiceCount % 3 == 2;
}
playVoiceEnd() {
this.unschedule(this.playVoiceRunning)
this.playVoiceCount = 0;
let p1 = this.img_npc_voice.getChildByName('p1')
let p2 = this.img_npc_voice.getChildByName('p2')
let p3 = this.img_npc_voice.getChildByName('p3')
p1.active = true;
p2.active = false;
p3.active = false;
}
onTouchBack() {
alert('back')
}
}
{
"ver": "1.0.8",
"uuid": "7ab718ad-47f8-49cf-8822-085a39c85075",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
import pg from "../../scene/pg_hy06_danxuan";
const { ccclass, property } = cc._decorator;
let win: any = window;
let courseware = win.courseware;
@ccclass
export default class LayerRecord extends cc.Component {
private layout_record: cc.Node;
onLoad() {
this.layout_record = pg.view.find(this, 'layout_record')
let AniNode = pg.view.find(this.layout_record, 'AniNode');
AniNode.active = false;
let btn_play = pg.view.find(this.layout_record, 'btn_play');
btn_play.active = false;
this.initEvent();
pg.event.emit('layer_record_setting', {
letter: 'test',
targetTime: 10
})
}
private letter: string;
private targetTime: number;
initEvent() {
pg.event.on('layer_record_setting', (data) => {
this.letter = data.letter
this.targetTime = data.targetTime
})
let btn_record = pg.view.find(this.layout_record, 'btn_record');
btn_record.on(cc.Node.EventType.TOUCH_START, this.onTouchRecord, this);
btn_record.on(cc.Node.EventType.TOUCH_END, this.onTouchRecordEnd, this);
}
showVoiceWhite() {
let voice_white = pg.view.find(this.layout_record, 'voice_white');
cc.tween(voice_white).set({ scale: 1, opacity: 255 }).to(1, { scale: 1.5, opacity: 0 }).delay(0.5).union().repeatForever().start();
}
private startTime: number;
showTimeStart() {
if (!this.targetTime) return;
let nowTime = new Date().getTime();
this.startTime = nowTime;
}
showTimeUpdate() {
if (!this.startTime) return;
let nowTime = new Date().getTime();
let subTime = (nowTime - this.startTime) / 1000;
let percent = 1 - (subTime / this.targetTime);
percent = Math.max(percent, 0)
let record_time = pg.view.find(this.layout_record, 'record_time');
record_time.getComponent(cc.Sprite).fillRange = percent;
if (percent == 0) {
this.showTimeEnd();
}
}
showTimeEnd() {
this.startTime = null;
let record_time = pg.view.find(this.layout_record, 'record_time');
record_time.getComponent(cc.Sprite).fillRange = 0;
}
protected update(dt: number): void {
this.showTimeUpdate();
}
//按钮触发,使用的方法
async onTouchRecord() {
let AniNode = pg.view.find(this.layout_record, 'AniNode');
AniNode.active = true;
this.showTimeStart();
cc.audioEngine.stopAllEffects();
courseware && courseware.startTest(this.letter); //开始录音
}
async onTouchRecordEnd() {
let AniNode = pg.view.find(this.layout_record, 'AniNode');
AniNode.active = false;
this.showTimeEnd();
let testData = {
"dtLastResponse": "2021-09-17 13:36:26:109",
"refText": "I haven't found anything out about him yet.",
"recordId": "6144295213f0a2200000ed93",
"eof": 1,
"result": {
"pronunciation": 25,
"resource_version": "3.1.0",
"fluency": 60,
"rhythm": 90,
"kernel_version": "5.2.4",
"overall": 25,//75
"integrity": 100,
"duration": "6.779",
"rear_tone": "fall",
"speed": 96,
},
"tokenId": "6144295408558b08dd000001",
"applicationId": "154838659000009e"
}
if (!courseware) return this.recrodEnd(testData)
courseware && courseware.stopTest((data) => {
data = JSON.parse(data);
this.recrodEnd(data);
}); //结束录音
}
async recrodEnd(data) {
let score = data.result.overall;
pg.event.emit('layer_record_score', score);
}
}
{
"ver": "1.0.8",
"uuid": "4d901cdd-437a-4627-bc0b-7297b145ad52",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
// pg.event.on('layer_right_show_excellent_end', () => {
// alert('test')
// })
// pg.event.emit('layer_right_show_excellent')
// pg.event.on('layer_right_show_good_end', () => {
// alert('test')
// })
// pg.event.emit('layer_right_show_good')
// pg.event.on('layer_right_show_tryagain_end', () => {
// alert('test')
// })
// pg.event.emit('layer_right_show_tryagain')
import pg from "../../scene/pg_hy06_danxuan";
const { ccclass, property } = cc._decorator;
@ccclass
export default class LayerRight extends cc.Component {
onLoad() {
this.initData();
this.initEvent();
}
initData() {
}
initEvent() {
pg.event.on('layer_right_show_excellent', () => {
this.showExcellent();
// pg.event.emit('layer_right_show_excellent_end');
})
pg.event.on('layer_right_show_good', () => {
this.showGood();
// pg.event.emit('layer_right_show_good_end');
})
pg.event.on('layer_right_show_tryagain', () => {
this.showTryagain();
// pg.event.emit('layer_right_show_tryagain_end');
})
}
showExcellent() {
this.playLocalAudio('ani')
this.scheduleOnce(() => {
this.playLocalAudio('excellent')
}, 0.2)
let layout_excellent = pg.view.find(this, 'layout_excellent');
let layout_good = pg.view.find(this, 'layout_good');
let layout_tryagain = pg.view.find(this, 'layout_tryagain');
layout_excellent.active = true;
layout_good.active = false;
layout_tryagain.active = false;
let aniNode = pg.view.find(layout_excellent, 'AniNode');
pg.view.playDBAnimation(aniNode, 'newAnimation', 0)
pg.view.addEventDBAnimation(aniNode, () => {
layout_excellent.active = false;
pg.event.emit('layer_right_show_excellent_end');
}, this)
}
showGood() {
this.playLocalAudio('ani')
this.scheduleOnce(() => {
this.playLocalAudio('good')
}, 0.2)
let layout_excellent = pg.view.find(this, 'layout_excellent');
let layout_good = pg.view.find(this, 'layout_good');
let layout_tryagain = pg.view.find(this, 'layout_tryagain');
layout_excellent.active = false;
layout_good.active = true;
layout_tryagain.active = false;
let aniNode = pg.view.find(layout_good, 'AniNode');
pg.view.playDBAnimation(aniNode, 'newAnimation', 1)
pg.view.addEventDBAnimation(aniNode, () => {
layout_good.active = false;
pg.event.emit('layer_right_show_good_end');
}, this)
}
showTryagain() {
this.playLocalAudio('ani')
this.scheduleOnce(() => {
this.playLocalAudio('tryagain')
}, 0.2)
let layout_excellent = pg.view.find(this, 'layout_excellent');
let layout_good = pg.view.find(this, 'layout_good');
let layout_tryagain = pg.view.find(this, 'layout_tryagain');
layout_excellent.active = false;
layout_good.active = false;
layout_tryagain.active = true;
let aniNode = pg.view.find(layout_tryagain, 'AniNode');
pg.view.playDBAnimation(aniNode, 'newAnimation', 1)
pg.view.addEventDBAnimation(aniNode, () => {
layout_tryagain.active = false;
pg.event.emit('layer_right_show_tryagain_end');
}, this)
}
playLocalAudio(audioName, loop = false) {
console.log("play audio->" + audioName);
const audio = pg.view.find(this, `voice/${audioName}`).getComponent(cc.AudioSource);
return new Promise((resolve, reject) => {
const id = cc.audioEngine.playEffect(audio.clip, loop);
resolve(id);
})
}
}
{
"ver": "1.0.8",
"uuid": "6f117342-0f2f-412a-b20d-14d56e7ce85a",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "d5263721-07b2-4167-bf2b-376c99d8f04d",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "d1d55630-4512-4f78-8346-b1004ac24fce",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d3006e79-2315-4059-8aee-8e7a4d56121f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 202,
"height": 117,
"platformSettings": {},
"subMetas": {
"back_hy06_danxuan": {
"ver": "1.0.4",
"uuid": "92327074-92fd-4d4a-a8aa-32f7ed514ab1",
"rawTextureUuid": "d3006e79-2315-4059-8aee-8e7a4d56121f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -6.5,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 189,
"height": 117,
"rawWidth": 202,
"rawHeight": 117,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "9284c5cf-e853-4736-a1c9-230d395fbdbf",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "836deb81-aab1-46ff-ad8a-a58986968f66",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 15,
"height": 16,
"platformSettings": {},
"subMetas": {
"i10_hy06_danxuan": {
"ver": "1.0.4",
"uuid": "045d2d5b-3dd4-4d14-9c48-d2653a121ff3",
"rawTextureUuid": "836deb81-aab1-46ff-ad8a-a58986968f66",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 15,
"height": 16,
"rawWidth": 15,
"rawHeight": 16,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "2c3a0728-5d75-4ff1-ad2b-27138f7c708e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 25,
"height": 25,
"platformSettings": {},
"subMetas": {
"i11_hy06_danxuan": {
"ver": "1.0.4",
"uuid": "30588365-43b3-44d3-ba68-7ed363a12cd8",
"rawTextureUuid": "2c3a0728-5d75-4ff1-ad2b-27138f7c708e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 25,
"height": 25,
"rawWidth": 25,
"rawHeight": 25,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "cb1b8647-8a92-472e-8425-7b61f8198987",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 32,
"height": 49,
"platformSettings": {},
"subMetas": {
"i12_hy06_danxuan": {
"ver": "1.0.4",
"uuid": "39024710-3326-4a35-945b-9838ed3a664d",
"rawTextureUuid": "cb1b8647-8a92-472e-8425-7b61f8198987",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 32,
"height": 49,
"rawWidth": 32,
"rawHeight": 49,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "3a4c01ad-8bf9-4479-ab00-f37810e0ace7",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 26,
"height": 26,
"platformSettings": {},
"subMetas": {
"i13_hy06_danxuan": {
"ver": "1.0.4",
"uuid": "32da9db5-0f38-4fe9-a829-cc72a7c493cb",
"rawTextureUuid": "3a4c01ad-8bf9-4479-ab00-f37810e0ace7",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 26,
"height": 26,
"rawWidth": 26,
"rawHeight": 26,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "5f83a256-61a4-4a7b-a0a3-a7d68a01aa89",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 20,
"height": 24,
"platformSettings": {},
"subMetas": {
"i14_hy06_danxuan": {
"ver": "1.0.4",
"uuid": "8080ed25-725a-496d-ba84-a05b9d9c81b5",
"rawTextureUuid": "5f83a256-61a4-4a7b-a0a3-a7d68a01aa89",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 20,
"height": 24,
"rawWidth": 20,
"rawHeight": 24,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "bfe2d72f-fe2a-46b9-babb-d484e2726840",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 25,
"height": 25,
"platformSettings": {},
"subMetas": {
"i1_hy06_danxuan": {
"ver": "1.0.4",
"uuid": "26b83f5f-b0d0-49cf-a4b7-41ab49eb3c63",
"rawTextureUuid": "bfe2d72f-fe2a-46b9-babb-d484e2726840",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 25,
"height": 25,
"rawWidth": 25,
"rawHeight": 25,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "5389cb80-61f0-4937-afe0-d1e5d09ad019",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 50,
"height": 27,
"platformSettings": {},
"subMetas": {
"i2_hy06_danxuan": {
"ver": "1.0.4",
"uuid": "97f011d3-cfcf-478c-a647-3f9a6e7277d2",
"rawTextureUuid": "5389cb80-61f0-4937-afe0-d1e5d09ad019",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 50,
"height": 27,
"rawWidth": 50,
"rawHeight": 27,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "8d31c083-8767-440c-bcff-3354f6ca6292",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 15,
"height": 16,
"platformSettings": {},
"subMetas": {
"i3_hy06_danxuan": {
"ver": "1.0.4",
"uuid": "16a8d0b6-9087-4746-8600-0051ffaf398a",
"rawTextureUuid": "8d31c083-8767-440c-bcff-3354f6ca6292",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 15,
"height": 16,
"rawWidth": 15,
"rawHeight": 16,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d88afec7-becf-4616-b7eb-e3309075d561",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 45,
"height": 30,
"platformSettings": {},
"subMetas": {
"i4_hy06_danxuan": {
"ver": "1.0.4",
"uuid": "2f2e8df2-e4fb-43c8-a57b-9607f9e5bb04",
"rawTextureUuid": "d88afec7-becf-4616-b7eb-e3309075d561",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 45,
"height": 30,
"rawWidth": 45,
"rawHeight": 30,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "21e9d54b-7bc1-4009-b2b5-cc7827fea153",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 25,
"height": 25,
"platformSettings": {},
"subMetas": {
"i5_hy06_danxuan": {
"ver": "1.0.4",
"uuid": "7a164a82-4c71-4f0a-8f23-3b5241b8377d",
"rawTextureUuid": "21e9d54b-7bc1-4009-b2b5-cc7827fea153",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 25,
"height": 25,
"rawWidth": 25,
"rawHeight": 25,
"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.
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