Commit 6d61c73a authored by huoshizhe's avatar huoshizhe

feat: complete

parent 427421e8
/publish/form
/publish/play
/publish/*.zip
<div class="model-content"> <div class="model-content">
<div *ngFor="let round of item.roundList; let i = index"> <div class="border" style=" width: 520px; height: 120px;">
<div class="border" style="float: left; "> <span style="height: 30px; font-size: 18px;">单词音频:</span>
<span style="float: left; height: 30px; font-size: 18px;">单词音频:</span> <br>
<app-audio-recorder style="float: left;" [audioUrl]=" round.audio" <app-audio-recorder [audioUrl]=" item.audio" (audioUploaded)="onAudioUploadSuccess($event)">
(audioUploaded)="onRoundAudioUploadSuccess($event, i)"> </app-audio-recorder>
</app-audio-recorder> </div>
<br> <div class="border" style="width: 520px;">
<br> <span style="height: 30px; font-size: 18px;">正确字母:</span>
<div *ngFor="let question of round.questionList; let j = index"> <div>
<div class="border" style="float: left; width: 520px; height: 270px;"> <div *ngFor="let rightWord of rightWordList; let i = index">
<span style="float: left; height: 30px; font-size: 18px;">正确字母:</span> <div style="padding: 2px;">
<input style="float: left; width: 150px;" type="text" nz-input [(ngModel)]="question.rightWord" <input style="width: 150px;" type="text" nz-input [(ngModel)]="rightWord.word" (blur)="saveWordList()">
(blur)="save()"> <button style="margin-left: 10px; height: 32px; color: red;" nz-button nzType="dashed" class="add-btn"
<br><br> (click)="removeRightWord(i)">
<span style="float: left; height: 30px; font-size: 18px;">正确字母音频:</span> <i nz-icon nzType="minus-circle" nzTheme="outline"></i>
<app-audio-recorder style="float: left;" [audioUrl]=" question.rightAudio" 删除字母
(audioUploaded)="onQuestionAudioUploadSuccess($event, i, j)"> </button>
</app-audio-recorder>
<br><br>
<span style="float: left; height: 30px; font-size: 18px;">错误字母:</span>
<div style="float: left; ">
<input style="float: left; width: 70px;" type="text" nz-input [(ngModel)]="question.wrongWordList[0]"
(blur)="save()">
<app-audio-recorder style="float: left;" [audioUrl]="question.wrongAudioList[0]"
(audioUploaded)="onQuestionWrongAudioUploadSuccess($event, i, j, 0)">
</app-audio-recorder>
<br><br>
<input style="float: left; width: 70px;" type="text" nz-input [(ngModel)]="question.wrongWordList[1]"
(blur)="save()">
<app-audio-recorder style="float: left;" [audioUrl]="question.wrongAudioList[1]"
(audioUploaded)="onQuestionWrongAudioUploadSuccess($event, i, j, 1)">
</app-audio-recorder>
</div>
<br><br><br><br>
<div style="float: left; width: 480px; height: 40px;" nz-col nzSpan="8" class="add-btn-box">
<button style="margin: auto; width: 100%; height: 100%; color: red;" nz-button nzType="dashed"
class="add-btn" (click)="removeQuestion(i, j)">
<i nz-icon nzType="minus-circle" nzTheme="outline"></i>
删除字母
</button>
</div>
</div> </div>
</div> </div>
<div class="border" style="float: left; width: 520px; height: 90px;"> </div>
<div style="float: left; width:100%; height: 100%;" nz-col nzSpan="8" class="add-btn-box"> <div *ngIf="(rightWordList.length + wrongWordList.length < 5)">
<button style=" margin: auto; width: 100%; height: 100%;" nz-button nzType="dashed" class="add-btn" <button style="margin-left: 2px; margin-top: 2px; height: 32px;" nz-button nzType="dashed" class="add-btn"
(click)="addQuestion(i)"> (click)="addRightWord()">
<i nz-icon nzType="plus-circle" nzTheme="outline"></i> <i nz-icon nzType="plus-circle" nzTheme="outline"></i>
增加字母 添加<span style="color: #44bb44;">正确</span>的字母
</button>
</div>
</div>
<div class="border" style="width: 520px;">
<span style="height: 30px; font-size: 18px;">错误字母:</span>
<div>
<div *ngFor="let wrongWord of wrongWordList; let i = index">
<div style="padding: 2px;">
<input style="width: 150px;" type="text" nz-input [(ngModel)]="wrongWord.word" (blur)="saveWordList()">
<button style="margin-left: 10px; height: 32px; color: red;" nz-button nzType="dashed" class="add-btn"
(click)="removeWrongWord(i)">
<i nz-icon nzType="minus-circle" nzTheme="outline"></i>
删除字母
</button> </button>
</div> </div>
</div> </div>
<br><br>
<div style="float: left; width: 560px; height: 50px;" nz-col nzSpan="8" class="add-btn-box">
<button style=" margin: auto; width: 100%; height: 100%; color: red;" nz-button nzType="dashed" class="add-btn"
(click)="removeRound(i)">
<i nz-icon nzType="minus-circle" nzTheme="outline"></i>
删除单词
</button>
</div>
</div> </div>
</div> <div *ngIf="(rightWordList.length + wrongWordList.length < 5)">
<div class="border" style="float: left; "> <button style="margin-left: 2px; margin-top: 2px; height: 32px;" nz-button nzType="dashed" class="add-btn"
<div style="float: left; width: 560px; height: 100px; padding: 20px;" nz-col nzSpan="8" class="add-btn-box"> (click)="addWrongWord()">
<button style=" margin: auto; width: 100%; height: 100%;" nz-button nzType="dashed" class="add-btn"
(click)="addRound()">
<i nz-icon nzType="plus-circle" nzTheme="outline"></i> <i nz-icon nzType="plus-circle" nzTheme="outline"></i>
增加单词 添加<span style="color: #ff0000;">错误</span>的字母
</button> </button>
</div> </div>
</div> </div>
<!-- <div style="position: absolute; left: 200px; top: 100px; width: 800px;">
<input type="text" nz-input [(ngModel)]="item.text" (blur)="save()">
<app-upload-image-with-preview
[picUrl]="item.pic_url"
(imageUploaded)="onImageUploadSuccess($event, 'pic_url')"
></app-upload-image-with-preview>
<app-audio-recorder
[audioUrl]="item.audio_url"
(audioUploaded)="onAudioUploadSuccess($event, 'audio_url')"
></app-audio-recorder>
<app-custom-hot-zone></app-custom-hot-zone>
<app-upload-video></app-upload-video>
<app-lesson-title-config></app-lesson-title-config>
</div> -->
</div> </div>
...@@ -2,7 +2,6 @@ import { Component, EventEmitter, Input, OnDestroy, OnChanges, OnInit, Output, A ...@@ -2,7 +2,6 @@ import { Component, EventEmitter, Input, OnDestroy, OnChanges, OnInit, Output, A
import { JsonPipe } from '@angular/common'; import { JsonPipe } from '@angular/common';
@Component({ @Component({
selector: 'app-form', selector: 'app-form',
templateUrl: './form.component.html', templateUrl: './form.component.html',
...@@ -11,47 +10,47 @@ import { JsonPipe } from '@angular/common'; ...@@ -11,47 +10,47 @@ import { JsonPipe } from '@angular/common';
export class FormComponent implements OnInit, OnChanges, OnDestroy { export class FormComponent implements OnInit, OnChanges, OnDestroy {
// 储存数据用 // 储存数据用
saveKey = "tyzdc_001"; saveKey = "choose_cake";
// 储存对象 // 储存对象
item; item;
rightWordList = [];
wrongWordList = [];
constructor(private appRef: ApplicationRef, private changeDetectorRef: ChangeDetectorRef) { constructor(private appRef: ApplicationRef, private changeDetectorRef: ChangeDetectorRef) {
} }
addRound() { addRightWord() {
this.item.roundList.push({ this.item.rightWordList.push('');
audio: '', this.loadWordList();
questionList: []
});
this.save(); this.save();
} }
removeRound(roundIdx) { removeRightWord(idx) {
this.item.roundList.splice(roundIdx, 1); this.item.rightWordList.splice(idx, 1);
this.loadWordList();
this.save(); this.save();
} }
addQuestion(roundIdx) { addWrongWord() {
this.item.roundList[roundIdx].questionList.push({ this.item.wrongWordList.push('');
rightAudio: '', this.loadWordList();
rightWord: '',
wrongWordList: ['', ''],
wrongAudioList: ['', '']
})
this.save(); this.save();
} }
removeQuestion(roundIdx, questionIdx) { removeWrongWord(idx) {
this.item.roundList[roundIdx].questionList.splice(questionIdx, 1); this.item.wrongWordList.splice(idx, 1);
this.loadWordList();
this.save(); this.save();
} }
ngOnInit() { ngOnInit() {
// this.item = {};
this.item = { this.item = {
roundList: [] audio: '',
rightWordList: [],
wrongWordList: []
}; };
// 获取存储的数据 // 获取存储的数据
...@@ -61,17 +60,38 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -61,17 +60,38 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
this.item = data; this.item = data;
} }
this.loadWordList();
this.init(); this.init();
this.changeDetectorRef.markForCheck(); this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges(); this.changeDetectorRef.detectChanges();
this.refresh(); this.refresh();
}, this.saveKey); }, this.saveKey);
console.log('this.item = ' + JSON.stringify(this.item));
} }
loadWordList() {
this.rightWordList = [];
this.wrongWordList = [];
if (this.item.rightWordList.length > 0) {
this.rightWordList = this.item.rightWordList.map(data => { return { word: data } });
}
if (this.item.wrongWordList.length > 0) {
this.wrongWordList = this.item.wrongWordList.map(data => { return { word: data } });
}
}
saveWordList() {
this.item.rightWordList = [];
this.item.wrongWordList = [];
if (this.rightWordList.length > 0) {
this.item.rightWordList = this.rightWordList.map(data => data.word);
}
if (this.wrongWordList.length > 0) {
this.item.wrongWordList = this.wrongWordList.map(data => data.word);
}
this.save();
}
ngOnChanges() { ngOnChanges() {
} }
...@@ -100,23 +120,8 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -100,23 +120,8 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
* 储存音频数据 * 储存音频数据
* @param e * @param e
*/ */
onAudioUploadSuccess(e, key) { onAudioUploadSuccess(e) {
this.item[key] = e.url; this.item.audio = e.url;
this.save();
}
onRoundAudioUploadSuccess(e, idx) {
this.item.roundList[idx].audio = e.url;
this.save();
}
onQuestionAudioUploadSuccess(e, roundIdx, questionIdx) {
this.item.roundList[roundIdx].questionList[questionIdx].rightAudio = e.url;
this.save();
}
onQuestionWrongAudioUploadSuccess(e, roundIdx, questionIdx, wrongIdx) {
this.item.roundList[roundIdx].questionList[questionIdx].wrongAudioList[wrongIdx] = e.url;
this.save(); this.save();
} }
...@@ -137,5 +142,4 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -137,5 +142,4 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
}, 1); }, 1);
} }
} }
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "85deaa14-328d-42e5-b5cf-5202d038869a",
"downloadMode": 0,
"duration": 32.109833,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "e46d9e5e-eef8-4f73-ab0f-473b4a8e7646",
"downloadMode": 0,
"duration": 2.45551,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "67f28764-6d1d-4c7a-90e0-766def00432c",
"downloadMode": 0,
"duration": 4.04898,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "0e14b66a-152b-499e-a885-425f393c3a4d",
"downloadMode": 0,
"duration": 0.888163,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "574f867b-df73-4d18-a79c-5b91d93615e4",
"downloadMode": 0,
"duration": 0.653063,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "a2fd7b04-387e-42cd-8222-40b566cc7f40",
"downloadMode": 0,
"duration": 0.809796,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "25efc7de-07bb-442f-89d8-3fe9f7bf152e",
"downloadMode": 0,
"duration": 0.522449,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "292ac931-d47a-4da2-9d50-d9a37181e036",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"frameRate":24,"name":"back","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"Armature","aabb":{"x":-67.5,"y":-150.06,"width":129,"height":256.56},"bone":[{"name":"root","transform":{"x":-0.25,"y":4.6}},{"length":50,"name":"身体","parent":"root","transform":{"x":-2.5,"y":48.8,"skX":-90,"skY":-90}},{"length":102,"name":"头","parent":"身体","transform":{"x":64.35,"y":5.5,"skX":-1.5338,"skY":-1.5338}},{"length":26,"name":"右手","parent":"身体","transform":{"x":34.95,"y":45.85,"skX":152.7218,"skY":152.7218}},{"length":30,"name":"左手","parent":"身体","transform":{"x":39.05,"y":-46.5,"skX":-148.7938,"skY":-148.7938}},{"length":26,"name":"左脚","parent":"身体","transform":{"x":-2.7,"y":-17.8,"skX":-177.1055,"skY":-177.1055}},{"length":27,"name":"右脚","parent":"身体","transform":{"x":0.7,"y":14.4,"skX":175.7135,"skY":175.7135}},{"length":11,"name":"嘴","parent":"头","transform":{"x":21.2817,"y":-0.8981,"skX":0.7735,"skY":0.7735,"scX":0.9935}},{"name":"眼镜","parent":"头","transform":{"x":63.1477,"y":-25.2187}}],"slot":[{"name":"影子","parent":"root"},{"name":"头","parent":"头"},{"name":"右手","parent":"右手"},{"name":"左手","parent":"左手"},{"name":"左脚","parent":"左脚"},{"name":"右脚","parent":"右脚"},{"name":"身体","parent":"身体"}],"skin":[{"slot":[{"name":"身体","display":[{"name":"人正面/身体","transform":{"x":34.05,"y":0.25,"skX":90,"skY":90},"path":"身体"}]},{"name":"左手","display":[{"name":"人正面/左手","transform":{"x":14.75,"y":-10.4,"skX":-121.21,"skY":-121.21}}]},{"name":"影子","display":[{"name":"影子","transform":{"x":-2,"y":77.9}}]},{"name":"右脚","display":[{"name":"人正面/右脚","transform":{"x":18.46,"y":-3.48,"skX":-85.71,"skY":-85.71},"path":"右脚"}]},{"name":"右手","display":[{"name":"人正面/右手","transform":{"x":11.85,"y":7.35,"skX":-62.72,"skY":-62.72}}]},{"name":"左脚","display":[{"name":"人正面/左脚","transform":{"x":14.41,"y":2.73,"skX":-92.89,"skY":-92.89},"path":"左脚"}]},{"name":"头","display":[{"name":"人正面/头","transform":{"x":66.17,"y":-1.53,"skX":91.53,"skY":91.53},"path":"头"}]}]}],"animation":[{"duration":32,"playTimes":0,"name":"back","bone":[{"name":"头","rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":16,"tweenEasing":0,"rotate":-3.15},{"duration":8,"tweenEasing":0,"rotate":2.77},{"duration":0}]},{"name":"右手","rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":12.24},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":7.47},{"duration":0}],"scaleFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":0.75},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":1.15},{"duration":0}]},{"name":"左手","rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":-8.09},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":-1.19},{"duration":0}],"scaleFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":1.1},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":0.75},{"duration":0}]},{"name":"左脚","rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":-8.02},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":2.45},{"duration":0}],"scaleFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":0.75},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":1.15},{"duration":0}]},{"name":"右脚","rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":-1.71},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":3.02},{"duration":0}],"scaleFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":1.15},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":0.75},{"duration":0}]},{"name":"嘴","scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0,"x":0.79,"y":0.92},{"duration":12}]}]}],"defaultActions":[{"gotoAndPlay":"back"}]}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "ceb74bc8-b6f9-4974-9204-55960db2e5bc",
"subMetas": {}
}
\ No newline at end of file
{"imagePath":"back_tex.png","width":256,"height":256,"name":"back","SubTexture":[{"width":124,"y":149,"height":48,"name":"影子","x":101},{"width":101,"y":1,"height":146,"name":"头","x":1},{"width":39,"y":64,"height":61,"name":"人正面/右手","x":104},{"width":39,"y":1,"height":61,"name":"人正面/左手","x":104},{"width":28,"y":1,"height":36,"name":"左脚","x":227},{"width":27,"y":39,"height":35,"name":"右脚","x":227},{"width":98,"y":149,"height":91,"name":"身体","x":1}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "7170c08e-d215-4dd7-b840-bd3fc5bf68c8",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "b8f0d78f-5685-45f1-99df-a440492a8ae9",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 256,
"height": 256,
"platformSettings": {},
"subMetas": {
"back_tex": {
"ver": "1.0.4",
"uuid": "3d7ff1f8-440c-4c32-8546-ee88bda06c78",
"rawTextureUuid": "b8f0d78f-5685-45f1-99df-a440492a8ae9",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 7.5,
"trimX": 1,
"trimY": 1,
"width": 254,
"height": 239,
"rawWidth": 256,
"rawHeight": 256,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "e3c49aa9-9758-4dfa-93c3-340e6e8a8833",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"frameRate":24,"name":"heads","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"Armature","aabb":{"x":-67.5,"y":-152.15,"width":129,"height":258.65},"bone":[{"name":"root","transform":{"x":-0.25,"y":4.6}},{"length":50,"name":"身体","parent":"root","transform":{"x":-2.5,"y":48.8,"skX":-90,"skY":-90}},{"length":102,"name":"头","parent":"身体","transform":{"x":64.35,"y":5.5,"skX":-1.5338,"skY":-1.5338}},{"length":26,"name":"右手","parent":"身体","transform":{"x":34.95,"y":45.85,"skX":152.7218,"skY":152.7218}},{"length":30,"name":"左手","parent":"身体","transform":{"x":39.05,"y":-46.5,"skX":-148.7938,"skY":-148.7938}},{"length":26,"name":"左脚","parent":"身体","transform":{"x":-2.7,"y":-17.8,"skX":-177.1055,"skY":-177.1055}},{"length":27,"name":"右脚","parent":"身体","transform":{"x":0.7,"y":14.4,"skX":175.7135,"skY":175.7135}},{"length":15,"name":"天线","parent":"头","transform":{"x":108.8659,"y":0.8644,"skX":1.5338,"skY":1.5338}},{"name":"线","parent":"头","transform":{"x":66.2303,"y":7.2254}},{"length":11,"name":"嘴","parent":"头","transform":{"x":21.2817,"y":-0.8981,"skX":0.7735,"skY":0.7735,"scX":0.9935}},{"name":"眼镜","parent":"头","transform":{"x":63.1477,"y":-25.2187}}],"slot":[{"name":"影子","parent":"root"},{"name":"头","parent":"头"},{"name":"嘴","parent":"嘴"},{"name":"眼镜","parent":"眼镜"},{"name":"右手","parent":"右手"},{"name":"左手","parent":"左手"},{"name":"左脚","parent":"左脚"},{"name":"右脚","parent":"右脚"},{"name":"身体","parent":"身体"},{"name":"线","parent":"线"},{"name":"天线","parent":"天线"}],"skin":[{"slot":[{"name":"左手","display":[{"name":"人正面/左手","transform":{"x":14.75,"y":-10.4,"skX":-121.21,"skY":-121.21}}]},{"name":"影子","display":[{"name":"影子","transform":{"x":-2,"y":77.9}}]},{"name":"眼镜","display":[{"name":"人正面/眼镜","transform":{"x":2.6,"y":24.23,"skX":91.53,"skY":91.53}}]},{"name":"身体","display":[{"name":"人正面/身体","transform":{"x":34.05,"y":0.25,"skX":90,"skY":90}}]},{"name":"右脚","display":[{"name":"人正面/右脚","transform":{"x":18.46,"y":-3.48,"skX":-85.71,"skY":-85.71}}]},{"name":"右手","display":[{"name":"人正面/右手","transform":{"x":11.85,"y":7.35,"skX":-62.72,"skY":-62.72}}]},{"name":"天线","display":[{"name":"人正面/天线","transform":{"x":13.85,"y":0.8,"skX":90,"skY":90}}]},{"name":"线","display":[{"name":"人正面/线","transform":{"x":0.02,"y":-8.2,"skX":91.53,"skY":91.53}}]},{"name":"嘴","display":[{"name":"人正面/嘴","transform":{"x":8.02,"y":-1.18,"skX":90.76,"skY":90.77,"scY":1.0065}}]},{"name":"头","display":[{"name":"人正面/头","transform":{"x":55.78,"y":-2.26,"skX":91.53,"skY":91.53}}]},{"name":"左脚","display":[{"name":"人正面/左脚","transform":{"x":14.41,"y":2.73,"skX":-92.89,"skY":-92.89}}]}]}],"animation":[{"duration":32,"playTimes":0,"name":"heads","bone":[{"name":"头","rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":16,"tweenEasing":0,"rotate":-3.15},{"duration":8,"tweenEasing":0,"rotate":2.77},{"duration":0}]},{"name":"右手","rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":12.24},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":7.47},{"duration":0}],"scaleFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":0.75},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":1.15},{"duration":0}]},{"name":"左手","rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":-8.09},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":-1.19},{"duration":0}],"scaleFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":1.1},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":0.75},{"duration":0}]},{"name":"左脚","rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":-8.02},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":2.45},{"duration":0}],"scaleFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":0.75},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":1.15},{"duration":0}]},{"name":"右脚","rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":-1.71},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":3.02},{"duration":0}],"scaleFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":1.15},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":0.75},{"duration":0}]},{"name":"线","scaleFrame":[{"duration":4,"tweenEasing":0},{"duration":4,"tweenEasing":0,"x":0.1},{"duration":24}]},{"name":"嘴","scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0,"x":0.79,"y":0.92},{"duration":12}]}]}],"defaultActions":[{"gotoAndPlay":"heads"}]}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "14c00352-28bc-4568-b0ae-a77023bb1777",
"subMetas": {}
}
\ No newline at end of file
{"imagePath":"heads_tex.png","width":256,"height":256,"name":"heads","SubTexture":[{"width":124,"y":124,"height":48,"name":"影子","x":101},{"width":99,"y":1,"height":121,"name":"人正面/头","x":1},{"width":61,"y":217,"height":24,"name":"人正面/嘴","x":1},{"width":73,"y":174,"height":43,"name":"人正面/眼镜","x":101},{"width":39,"y":174,"height":61,"name":"人正面/右手","x":176},{"width":39,"y":1,"height":61,"name":"人正面/左手","x":102},{"width":29,"y":174,"height":39,"name":"人正面/左脚","x":217},{"width":28,"y":215,"height":40,"name":"人正面/右脚","x":217},{"width":98,"y":124,"height":91,"name":"人正面/身体","x":1},{"width":41,"y":243,"height":10,"name":"人正面/线","x":1},{"width":24,"y":217,"height":37,"name":"人正面/天线","x":64}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "6e110538-4036-409f-96df-c5bd7dfd55c0",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "f6ceb1d3-73e6-494f-ba48-568e1043f190",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 256,
"height": 256,
"platformSettings": {},
"subMetas": {
"heads_tex": {
"ver": "1.0.4",
"uuid": "5fd390d4-228f-44af-a5fd-e5baec292232",
"rawTextureUuid": "f6ceb1d3-73e6-494f-ba48-568e1043f190",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -4.5,
"offsetY": 0,
"trimX": 1,
"trimY": 1,
"width": 245,
"height": 254,
"rawWidth": 256,
"rawHeight": 256,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "7441fc9b-00b3-4fbb-bc8d-c3b4ed900da8",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"frameRate":24,"name":"left","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"Armature","aabb":{"x":-67,"y":-137,"width":124,"height":254.5},"bone":[{"name":"root"},{"length":41,"name":"身体","parent":"root","transform":{"x":-1.5,"y":73,"skX":-88.6113,"skY":-88.6113}},{"length":10,"name":"围巾","parent":"身体","transform":{"x":49.1004,"y":-2.6407,"skX":-4.0031,"skY":-4.0031}},{"length":57,"name":"头","parent":"身体","transform":{"x":69.8731,"y":-8.1458,"skX":-1.3887,"skY":-1.3887}},{"length":27,"name":"手臂","parent":"身体","transform":{"x":44.8135,"y":-16.4909,"skX":166.2159,"skY":166.2159}},{"length":23,"name":"左脚","parent":"身体","transform":{"x":-11.4209,"y":-0.7234,"skX":176.2104,"skY":176.2104}},{"length":23,"name":"bone","parent":"身体","transform":{"x":-3.786,"y":-13.2982,"skX":179.7532,"skY":179.7532}},{"name":"形状_12","parent":"围巾","transform":{"x":-1.5648,"y":-41.3644}},{"length":10,"name":"嘴","parent":"头","transform":{"x":20.35,"y":-28.3}}],"slot":[{"name":"阴影","parent":"root"},{"name":"头","parent":"头"},{"name":"嘴","parent":"嘴"},{"name":"右脚","parent":"bone"},{"name":"左脚","parent":"左脚"},{"name":"身体","parent":"身体"},{"name":"形状_12","parent":"形状_12"},{"name":"围巾","parent":"围巾"},{"name":"手臂","parent":"手臂"},{"displayIndex":-1,"name":"手臂1","parent":"root"}],"skin":[{"slot":[{"name":"形状_12","display":[{"name":"人物侧面1/形状_12","transform":{"x":-1.75,"y":1.12,"skX":92.96,"skY":92.96}}]},{"name":"左脚","display":[{"name":"人物侧面1/左脚","transform":{"x":10.4,"y":4.94,"skX":-87.25,"skY":-87.25}}]},{"name":"阴影","display":[{"name":"人物侧面1/阴影","transform":{"x":-5,"y":93.5,"skX":0.35,"skY":0.35},"path":"影子"}]},{"name":"身体","display":[{"name":"人物侧面1/身体","transform":{"x":25.31,"y":-8.12,"skX":88.96,"skY":88.96}}]},{"name":"围巾","display":[{"name":"人物侧面1/围巾","transform":{"x":15.04,"y":-3.87,"skX":92.96,"skY":92.96}}]},{"name":"嘴","display":[{"name":"人物侧面1/嘴","transform":{"x":5.6,"y":5.25,"skX":90.35,"skY":90.35}}]},{"name":"头","display":[{"name":"人物侧面1/头","transform":{"x":66.95,"y":1.95,"skX":90.35,"skY":90.35}}]},{"name":"手臂","display":[{"name":"人物侧面1/手臂","transform":{"x":23.66,"y":2.74,"skX":-77.26,"skY":-77.26}}]},{"name":"右脚","display":[{"name":"人物侧面1/右脚","transform":{"x":8.1,"y":2.95,"skX":-90.79,"skY":-90.79}}]},{"name":"手臂1"}]}],"animation":[{"duration":32,"playTimes":0,"name":"left","bone":[{"name":"手臂","rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":36.36},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":-38.98},{"duration":0}]},{"name":"左脚","translateFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":0.34,"y":14.2},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":-0.37,"y":-15.39},{"duration":0}],"rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":-13.61},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":17.58},{"duration":0}]},{"name":"bone","translateFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":-0.17,"y":-6.95},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":0.47,"y":19.26},{"duration":0}],"rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":12.62},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":-15.57},{"duration":0}]}]}],"defaultActions":[{"gotoAndPlay":"left"}]}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "9abcdc4b-b6c6-4011-bc94-ae98201872d2",
"subMetas": {}
}
\ No newline at end of file
{"imagePath":"left_tex.png","width":256,"height":256,"name":"left","SubTexture":[{"width":124,"y":149,"height":48,"name":"影子","x":1},{"width":92,"y":1,"height":146,"name":"人物侧面1/头","x":1},{"width":22,"y":110,"height":22,"name":"人物侧面1/嘴","x":95},{"width":30,"y":1,"height":39,"name":"人物侧面1/右脚","x":185},{"width":30,"y":110,"height":38,"name":"人物侧面1/左脚","x":127},{"width":88,"y":1,"height":65,"name":"人物侧面1/身体","x":95},{"width":12,"y":42,"height":24,"name":"人物侧面1/形状_12","x":185},{"width":87,"y":68,"height":40,"name":"人物侧面1/围巾","x":95},{"width":21,"y":68,"height":57,"name":"人物侧面1/手臂","x":184}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "f2160fb6-2065-4491-bd7e-ecc779068c19",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "206eb8b3-dc39-41b6-866b-32b00d80a27f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 256,
"height": 256,
"platformSettings": {},
"subMetas": {
"left_tex": {
"ver": "1.0.4",
"uuid": "0b75f9d9-bdb2-4ae7-98e2-8257c18a103a",
"rawTextureUuid": "206eb8b3-dc39-41b6-866b-32b00d80a27f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -20,
"offsetY": 29,
"trimX": 1,
"trimY": 1,
"width": 214,
"height": 196,
"rawWidth": 256,
"rawHeight": 256,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "9eb37c09-dc4a-4568-955f-98f5eb9a51b7",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"frameRate":24,"name":"right","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"Armature","aabb":{"x":-67,"y":-136.62,"width":124,"height":254.12},"bone":[{"name":"root"},{"length":41,"name":"身体","parent":"root","transform":{"x":-1.5,"y":73,"skX":-88.6113,"skY":-88.6113,"scY":-1}},{"length":10,"name":"围巾","parent":"身体","transform":{"x":49.1004,"y":-2.6407,"skX":-4.0031,"skY":-4.0031}},{"length":57,"name":"头","parent":"身体","transform":{"x":69.8731,"y":-8.1458,"skX":-1.3887,"skY":-1.3887}},{"length":27,"name":"手臂","parent":"身体","transform":{"x":44.8135,"y":-16.4909,"skX":166.2159,"skY":166.2159}},{"length":23,"name":"左脚","parent":"身体","transform":{"x":-11.4209,"y":-0.7234,"skX":176.2104,"skY":176.2104}},{"length":23,"name":"bone","parent":"身体","transform":{"x":-3.786,"y":-13.2982,"skX":179.7532,"skY":179.7532}},{"length":10,"name":"嘴","parent":"头","transform":{"x":20.35,"y":-28.3}}],"slot":[{"name":"阴影","parent":"root"},{"name":"头","parent":"头"},{"name":"嘴","parent":"嘴"},{"name":"右脚","parent":"bone"},{"name":"左脚","parent":"左脚"},{"name":"身体","parent":"身体"},{"name":"围巾","parent":"围巾"},{"name":"手臂","parent":"手臂"},{"displayIndex":-1,"name":"手臂1","parent":"root"}],"skin":[{"slot":[{"name":"左脚","display":[{"name":"人物侧面1/左脚","transform":{"x":10.4,"y":4.94,"skX":-87.25,"skY":-87.25}}]},{"name":"头","display":[{"name":"人物侧面1/头","transform":{"x":66.95,"y":1.95,"skX":90.35,"skY":90.35}}]},{"name":"右脚","display":[{"name":"人物侧面1/右脚","transform":{"x":8.1,"y":2.95,"skX":-90.79,"skY":-90.79}}]},{"name":"嘴","display":[{"name":"人物侧面1/嘴","transform":{"x":5.6,"y":5.25,"skX":90.35,"skY":90.35}}]},{"name":"阴影","display":[{"name":"人物侧面1/阴影","transform":{"x":-5,"y":93.5,"skX":0.35,"skY":0.35},"path":"影子"}]},{"name":"手臂","display":[{"name":"人物侧面1/手臂","transform":{"x":23.66,"y":2.74,"skX":-77.26,"skY":-77.26}}]},{"name":"围巾","display":[{"name":"人物侧面1/围巾","transform":{"x":15.04,"y":-3.87,"skX":92.96,"skY":92.96}}]},{"name":"身体","display":[{"name":"人物侧面1/身体","transform":{"x":25.31,"y":-8.12,"skX":88.96,"skY":88.96}}]}]}],"animation":[{"duration":32,"playTimes":0,"name":"right","bone":[{"name":"手臂","rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":36.36},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":-38.98},{"duration":0}]},{"name":"左脚","translateFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":0.34,"y":14.2},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":-0.37,"y":-15.39},{"duration":0}],"rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":-13.61},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":17.58},{"duration":0}]},{"name":"bone","translateFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":-0.17,"y":-6.95},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":0.47,"y":19.26},{"duration":0}],"rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":12.62},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":-15.57},{"duration":0}]}]}],"defaultActions":[{"gotoAndPlay":"right"}]}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "d2fac6e6-f3e3-47bf-b8cd-0bb0001b80e7",
"subMetas": {}
}
\ No newline at end of file
{"imagePath":"right_tex.png","width":256,"height":256,"name":"right","SubTexture":[{"width":124,"y":149,"height":48,"name":"影子","x":1},{"width":92,"y":1,"height":146,"name":"人物侧面1/头","x":1},{"width":22,"y":110,"height":22,"name":"人物侧面1/嘴","x":95},{"width":30,"y":1,"height":39,"name":"人物侧面1/右脚","x":185},{"width":30,"y":110,"height":38,"name":"人物侧面1/左脚","x":127},{"width":88,"y":1,"height":65,"name":"人物侧面1/身体","x":95},{"width":87,"y":68,"height":40,"name":"人物侧面1/围巾","x":95},{"width":21,"y":68,"height":57,"name":"人物侧面1/手臂","x":184}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "75b9b182-32c6-4a4f-9a0a-e38015e515a4",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "48ff6bc9-1fec-4fe5-9c82-707f9d1c7ad1",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 256,
"height": 256,
"platformSettings": {},
"subMetas": {
"right_tex": {
"ver": "1.0.4",
"uuid": "e9662119-e93f-4dc1-ab1e-2530218f0b09",
"rawTextureUuid": "48ff6bc9-1fec-4fe5-9c82-707f9d1c7ad1",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -20,
"offsetY": 29,
"trimX": 1,
"trimY": 1,
"width": 214,
"height": 196,
"rawWidth": 256,
"rawHeight": 256,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "aa39f13b-1ba2-4984-b8e9-61b83c768319",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"frameRate":24,"name":"npcright","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"Armature","aabb":{"x":-126,"y":-189,"width":307,"height":270},"bone":[{"name":"root"},{"name":"bone","parent":"root","transform":{"x":126.2978,"y":-30.8829}},{"length":13,"name":"发条","parent":"root","transform":{"x":-86.25,"y":-153.3,"skX":-148.6484,"skY":-148.6484}},{"length":1,"name":"右眼珠","parent":"root","transform":{"x":-10.9,"y":-136.1,"skX":-90,"skY":-90}},{"name":"左眼珠","parent":"root","transform":{"x":94.15,"y":-134.8}},{"name":"椭圆_2","parent":"root","transform":{"x":168.9,"y":-138}},{"length":55,"name":"右手","parent":"root","transform":{"x":136.05,"y":-81.95,"skX":65.4895,"skY":65.4895}},{"length":27,"name":"分针","parent":"root","transform":{"x":34.5483,"y":-70.648,"skX":90,"skY":90}},{"length":1,"name":"嘴","parent":"root","transform":{"x":55.3,"y":24.25,"skX":90,"skY":90}}],"slot":[{"name":"发条","parent":"发条"},{"name":"棍子","parent":"root"},{"name":"椭圆_2","parent":"椭圆_2"},{"name":"嘴","parent":"嘴"},{"name":"分针","parent":"分针"},{"name":"时针","parent":"root"},{"name":"椭圆_4","parent":"root"},{"displayIndex":1,"name":"右眼珠","parent":"右眼珠"},{"name":"左眼珠","parent":"左眼珠"},{"displayIndex":-1,"name":"挤眼","parent":"root"},{"name":"左手","parent":"root"},{"displayIndex":1,"name":"右手","parent":"右手"},{"name":"吃","parent":"bone"}],"skin":[{"slot":[{"name":"发条","display":[{"name":"npc错误/发条","transform":{"x":4.59,"y":-2.56,"skX":148.54,"skY":148.54}}]},{"name":"棍子","display":[{"name":"npc错误/棍子","transform":{"x":-50.5,"y":-129.5,"skX":-0.11,"skY":-0.11}}]},{"name":"左手","display":[{"name":"npc错误/左手","transform":{"x":-95,"y":-23.5,"skX":-0.11,"skY":-0.11}}]},{"name":"左眼珠","display":[{"name":"npc错误/左眼珠","transform":{"x":-0.15,"y":-3.7,"skX":-0.11,"skY":-0.11}},{"name":"npc错误/挤眼","transform":{"x":-58.15,"y":-3.2,"skX":-0.11,"skY":-0.11}}]},{"name":"椭圆_4","display":[{"name":"npc错误/椭圆_4","transform":{"x":34.5,"y":-71,"skX":-0.11,"skY":-0.11}}]},{"name":"嘴","display":[{"name":"npc错误/嘴","transform":{"x":-7.75,"y":19.8,"skX":-90.11,"skY":-90.11}},{"name":"npc错误/嘴2","transform":{"x":-7.75,"y":19.8,"skX":-90.11,"skY":-90.11}},{"name":"npc错误/嘴3","transform":{"x":-7.75,"y":19.8,"skX":-90.11,"skY":-90.11}},{"name":"npc错误/嘴4","transform":{"x":-7.75,"y":19.8,"skX":-90.11,"skY":-90.11}}]},{"name":"右手","display":[{"name":"npc错误/右手","transform":{"x":51.9,"y":33.65,"skX":-66.97,"skY":-66.97}},{"name":"右手2","transform":{"x":21.28,"y":50.1,"skX":-66.86,"skY":-66.86}}]},{"name":"椭圆_2","display":[{"name":"npc错误/椭圆_2","transform":{"x":-134.4,"y":90,"skX":-0.11,"skY":-0.11}}]},{"name":"吃","display":[{"name":"npc错误/吃","transform":{"x":-87.8,"y":42.88,"skX":-0.11,"skY":-0.11}}]},{"name":"右眼珠","display":[{"name":"npc错误/右眼珠","transform":{"x":2.4,"y":-0.1,"skX":89.89,"skY":89.89}},{"name":"笑","transform":{"x":3.65,"y":46.92,"skX":90,"skY":90}}]},{"name":"时针","display":[{"name":"npc错误/时针","transform":{"x":34,"y":-85.5,"skX":-0.11,"skY":-0.11}}]},{"name":"分针","display":[{"name":"npc错误/分针","transform":{"x":19.15,"y":0.55,"skX":-90.11,"skY":-90.11}}]}]}],"animation":[{"duration":64,"playTimes":0,"name":"npcright","frame":[{"duration":38},{"duration":0,"sound":"right"}],"bone":[{"name":"bone","translateFrame":[{"duration":6},{"duration":6,"x":-178.49,"y":85.05},{"duration":6},{"duration":6,"x":-178.49,"y":85.05},{"duration":6},{"duration":6,"x":-178.49,"y":85.05},{"duration":28}],"rotateFrame":[{"duration":6},{"duration":6,"rotate":175.72},{"duration":6},{"duration":6,"rotate":175.72},{"duration":6},{"duration":6,"rotate":175.72},{"duration":28}]},{"name":"发条","scaleFrame":[{"duration":14,"tweenEasing":0},{"duration":14,"tweenEasing":0,"y":-1},{"duration":10},{"duration":4,"tweenEasing":0},{"duration":4,"tweenEasing":0,"y":-1},{"duration":4,"tweenEasing":0},{"duration":14,"y":-1}]},{"name":"右眼珠","translateFrame":[{"duration":10,"tweenEasing":0},{"duration":4,"tweenEasing":0,"x":-13.22,"y":9.25},{"duration":14,"tweenEasing":0,"x":-13.22,"y":9.25},{"duration":6,"tweenEasing":0,"x":-13.22,"y":-6.61},{"duration":4,"x":-13.22,"y":-6.61},{"duration":26,"x":-0.17,"y":-0.4}]},{"name":"左眼珠","translateFrame":[{"duration":10,"tweenEasing":0},{"duration":4,"tweenEasing":0,"x":-13.55,"y":7.93},{"duration":14,"tweenEasing":0,"x":-13.55,"y":7.93},{"duration":36,"x":-13.55,"y":-5.95}]},{"name":"右手","translateFrame":[{"duration":44},{"duration":9,"tweenEasing":0},{"duration":2,"tweenEasing":0,"x":-8.7,"y":9.84},{"duration":9,"x":8.32,"y":11.91}],"rotateFrame":[{"duration":44},{"duration":9,"tweenEasing":0},{"duration":2,"tweenEasing":0,"rotate":23.18},{"duration":9,"rotate":-4.44}]},{"name":"分针","rotateFrame":[{"duration":42},{"duration":8,"tweenEasing":0},{"duration":6,"rotate":179.84},{"duration":8,"tweenEasing":0,"clockwise":1,"rotate":179.84},{"duration":0,"rotate":0.02}]},{"name":"嘴","scaleFrame":[{"duration":42},{"duration":4,"tweenEasing":0},{"duration":4,"tweenEasing":0,"x":0.8},{"duration":4,"tweenEasing":0},{"duration":4,"tweenEasing":0,"x":0.8},{"duration":6}]}],"slot":[{"name":"嘴","displayFrame":[{"duration":2},{"duration":2,"value":1},{"duration":2,"value":2},{"duration":2,"value":3},{"duration":2,"value":2},{"duration":2,"value":1},{"duration":2},{"duration":2,"value":1},{"duration":2,"value":2},{"duration":2,"value":3},{"duration":2,"value":2},{"duration":2,"value":1},{"duration":2},{"duration":2,"value":1},{"duration":2,"value":2},{"duration":2,"value":3},{"duration":2,"value":2},{"duration":3,"value":1},{},{"duration":2,"value":1},{"duration":2,"value":2},{"duration":22,"value":3}]},{"name":"右眼珠","displayFrame":[{"duration":38},{"duration":26,"value":1}]},{"name":"左眼珠","colorFrame":[{"duration":38},{"duration":26,"value":{"aM":0}}]},{"name":"右手","displayFrame":[{"duration":38},{"duration":17,"value":1},{"duration":9}]},{"name":"吃","displayFrame":[{"duration":40},{"duration":24,"value":-1}]}]}],"defaultActions":[{"gotoAndPlay":"npcright"}]}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "95260556-092e-4b03-8182-800daa918f36",
"subMetas": {}
}
\ No newline at end of file
{"imagePath":"npcright_tex.png","width":512,"height":1024,"name":"npcright","SubTexture":[{"width":61,"y":244,"height":71,"name":"npc错误/发条","x":439},{"width":79,"y":443,"height":61,"name":"npc错误/棍子","x":401},{"width":293,"y":1,"height":258,"name":"npc错误/椭圆_2","x":1},{"width":209,"y":163,"height":79,"name":"npc错误/嘴2","x":296},{"width":209,"y":82,"height":79,"name":"npc错误/嘴4","x":296},{"width":209,"y":261,"height":79,"name":"npc错误/嘴","x":228},{"width":209,"y":1,"height":79,"name":"npc错误/嘴3","x":296},{"frameY":-1,"y":395,"frameWidth":12,"frameHeight":45,"width":9,"height":43,"name":"npc错误/分针","frameX":-2,"x":465},{"frameY":-1,"y":395,"frameWidth":12,"frameHeight":31,"width":9,"height":29,"name":"npc错误/时针","frameX":-2,"x":476},{"frameY":-1,"y":426,"frameWidth":15,"frameHeight":16,"width":13,"height":13,"name":"npc错误/椭圆_4","frameX":-1,"x":476},{"width":28,"y":356,"height":37,"name":"npc错误/右眼珠","x":465},{"width":142,"y":409,"height":17,"name":"笑","x":1},{"width":28,"y":317,"height":37,"name":"npc错误/左眼珠","x":465},{"width":132,"y":379,"height":28,"name":"npc错误/挤眼","x":1},{"width":62,"y":443,"height":137,"name":"npc错误/左手","x":337},{"width":107,"y":342,"height":144,"name":"npc错误/右手","x":228},{"width":126,"y":342,"height":99,"name":"右手2","x":337},{"width":225,"y":261,"height":116,"name":"npc错误/吃","x":1}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "6305fecc-8f32-4199-b0cb-7c97543d40f8",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "bc388088-b8b6-4c4f-bd02-cbc7a70a6708",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 512,
"height": 1024,
"platformSettings": {},
"subMetas": {
"npcright_tex": {
"ver": "1.0.4",
"uuid": "867b5002-734b-4d02-8873-e9eebd506b44",
"rawTextureUuid": "bc388088-b8b6-4c4f-bd02-cbc7a70a6708",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -3,
"offsetY": 221.5,
"trimX": 1,
"trimY": 1,
"width": 504,
"height": 579,
"rawWidth": 512,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "93e29b15-d615-4524-b05b-88cbac02fea5",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"frameRate":24,"name":"npcwwrong","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"Armature","aabb":{"x":-170,"y":-189,"width":414,"height":270},"bone":[{"name":"root"},{"name":"形状_1_拷贝_2","parent":"root","transform":{"x":196.7,"y":-56.7}},{"name":"bone","parent":"root","transform":{"x":126.2978,"y":-30.8829}},{"length":13,"name":"发条","parent":"root","transform":{"x":-86.25,"y":-153.3,"skX":-148.6484,"skY":-148.6484}},{"length":1,"name":"右眼珠","parent":"root","transform":{"x":-10.9,"y":-136.1,"skX":-90,"skY":-90}},{"name":"左眼珠","parent":"root","transform":{"x":94.15,"y":-134.8}},{"name":"形状_1_拷贝","parent":"root","transform":{"x":-152,"y":-61.1}},{"name":"椭圆_2","parent":"root","transform":{"x":168.9,"y":-138}},{"name":"挤眼","parent":"root","transform":{"x":-22.1913,"y":-144.3373}},{"length":58,"name":"左手","parent":"root","transform":{"x":-71.3,"y":-81.2,"skX":135,"skY":135}},{"length":47,"name":"右手","parent":"root","transform":{"x":136.85,"y":-81.2,"skX":45.6333,"skY":45.6333}}],"slot":[{"name":"发条","parent":"发条"},{"name":"棍子","parent":"root"},{"name":"椭圆_2","parent":"椭圆_2"},{"name":"嘴","parent":"root"},{"name":"分针","parent":"root"},{"name":"时针","parent":"root"},{"name":"椭圆_4","parent":"root"},{"name":"右眼珠","parent":"右眼珠"},{"name":"左眼珠","parent":"左眼珠"},{"displayIndex":-1,"name":"挤眼","parent":"root"},{"name":"左手","parent":"左手"},{"name":"右手","parent":"右手"},{"name":"吃","parent":"bone"},{"name":"形状_1_拷贝","parent":"形状_1_拷贝"},{"name":"形状_1_拷贝_2","parent":"形状_1_拷贝_2"},{"name":"npc错误/挤眼","parent":"挤眼"}],"skin":[{"slot":[{"name":"npc错误/挤眼","display":[{"name":"npc错误/挤眼","transform":{"x":58.5,"y":7.91}}]},{"name":"左眼珠","display":[{"name":"npc错误/左眼珠","transform":{"x":-0.15,"y":-3.7,"skX":-0.11,"skY":-0.11}},{"name":"npc错误/挤眼","transform":{"x":-58.15,"y":-3.2,"skX":-0.11,"skY":-0.11}}]},{"name":"棍子","display":[{"name":"npc错误/棍子","transform":{"x":-50.5,"y":-129.5,"skX":-0.11,"skY":-0.11}}]},{"name":"左手","display":[{"name":"npc错误/左手","transform":{"x":57.56,"y":-24.04,"skX":-135.11,"skY":-135.11}},{"name":"npc错误/左手2","transform":{"x":68.17,"y":-13.44,"skX":-135.11,"skY":-135.11}}]},{"name":"嘴","display":[{"name":"npc错误/嘴","transform":{"x":35.5,"y":16.5,"skX":-0.11,"skY":-0.11}},{"name":"npc错误/嘴2","transform":{"x":35.5,"y":16.5,"skX":-0.11,"skY":-0.11}},{"name":"npc错误/嘴3","transform":{"x":35.5,"y":16.5,"skX":-0.11,"skY":-0.11}},{"name":"npc错误/嘴4","transform":{"x":35.5,"y":16.5,"skX":-0.11,"skY":-0.11}}]},{"name":"发条","display":[{"name":"npc错误/发条","transform":{"x":4.59,"y":-2.56,"skX":148.54,"skY":148.54}}]},{"name":"椭圆_2","display":[{"name":"npc错误/椭圆_2","transform":{"x":-134.4,"y":90,"skX":-0.11,"skY":-0.11}}]},{"name":"时针","display":[{"name":"npc错误/时针","transform":{"x":34,"y":-85.5,"skX":-0.11,"skY":-0.11}}]},{"name":"形状_1_拷贝_2","display":[{"name":"npc错误/形状_1_拷贝_2","transform":{"x":13.3,"y":-2.3,"skX":-0.11,"skY":-0.11}}]},{"name":"右眼珠","display":[{"name":"npc错误/右眼珠","transform":{"x":2.4,"y":-0.1,"skX":89.89,"skY":89.89}}]},{"name":"吃","display":[{"name":"npc错误/吃","transform":{"x":-87.8,"y":42.88,"skX":-0.11,"skY":-0.11}}]},{"name":"右手","display":[{"name":"npc错误/右手","transform":{"x":35.1,"y":50.21,"skX":-45.74,"skY":-45.74}},{"name":"npc错误/右手2","transform":{"x":72.12,"y":8.78,"skX":-45.74,"skY":-45.74}}]},{"name":"分针","display":[{"name":"npc错误/分针","transform":{"x":34,"y":-51.5,"skX":-0.11,"skY":-0.11}}]},{"name":"形状_1_拷贝","display":[{"name":"npc错误/形状_1_拷贝","transform":{"x":16,"y":2.1,"skX":-0.11,"skY":-0.11}}]},{"name":"椭圆_4","display":[{"name":"npc错误/椭圆_4","transform":{"x":34.5,"y":-71,"skX":-0.11,"skY":-0.11}}]}]}],"animation":[{"duration":62,"playTimes":0,"name":"npcwrong","frame":[{"duration":42},{"duration":0,"sound":"wrong"}],"bone":[{"name":"形状_1_拷贝_2","translateFrame":[{"duration":38},{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"x":11.78,"y":-6.82},{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"x":11.78,"y":-6.82},{"duration":0}]},{"name":"bone","translateFrame":[{"duration":6},{"duration":6,"x":-178.49,"y":85.05},{"duration":6},{"duration":6,"x":-178.49,"y":85.05},{"duration":6},{"duration":32,"x":-178.49,"y":85.05}],"rotateFrame":[{"duration":6},{"duration":6,"rotate":175.72},{"duration":6},{"duration":6,"rotate":175.72},{"duration":6},{"duration":32,"rotate":175.72}]},{"name":"发条","scaleFrame":[{"duration":14,"tweenEasing":0},{"duration":14,"tweenEasing":0,"y":-1},{"duration":34}]},{"name":"右眼珠","translateFrame":[{"duration":10,"tweenEasing":0},{"duration":4,"tweenEasing":0,"x":-13.22,"y":9.25},{"duration":14,"tweenEasing":0,"x":-13.22,"y":9.25},{"duration":34,"x":-13.22,"y":-6.61}]},{"name":"左眼珠","translateFrame":[{"duration":10,"tweenEasing":0},{"duration":4,"tweenEasing":0,"x":-13.55,"y":7.93},{"duration":14,"tweenEasing":0,"x":-13.55,"y":7.93},{"duration":34,"x":-13.55,"y":-5.95}]},{"name":"形状_1_拷贝","translateFrame":[{"duration":38},{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"x":-9.24,"y":-9.24},{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"x":-9.24,"y":-9.24},{"duration":0}]},{"name":"挤眼","scaleFrame":[{"duration":38},{"duration":4,"tweenEasing":0},{"duration":4,"tweenEasing":0,"y":0.7},{"duration":4,"tweenEasing":0},{"duration":4,"tweenEasing":0,"y":0.7},{"duration":8}]},{"name":"左手","rotateFrame":[{"duration":38},{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"rotate":10.69},{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"rotate":10.69},{"duration":0}]},{"name":"右手","rotateFrame":[{"duration":38},{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"rotate":-7.42},{"duration":6,"tweenEasing":0},{"duration":6,"tweenEasing":0,"rotate":-7.42},{"duration":0}]}],"slot":[{"name":"嘴","displayFrame":[{"duration":2},{"duration":2,"value":1},{"duration":2,"value":2},{"duration":2,"value":3},{"duration":2,"value":2},{"duration":2,"value":1},{"duration":2},{"duration":2,"value":1},{"duration":2,"value":2},{"duration":2,"value":3},{"duration":2,"value":2},{"duration":2,"value":1},{"duration":2},{"duration":2,"value":1},{"duration":2,"value":2},{"duration":2,"value":3},{"duration":2,"value":2},{"duration":2,"value":1},{"duration":26}]},{"name":"右眼珠","colorFrame":[{"duration":38},{"duration":24,"value":{"aM":0}}]},{"name":"左眼珠","colorFrame":[{"duration":38},{"duration":24,"value":{"aM":0}}]},{"name":"左手","displayFrame":[{"duration":38},{"duration":24,"value":1}]},{"name":"右手","displayFrame":[{"duration":38},{"duration":24,"value":1}]},{"name":"吃","displayFrame":[{"duration":38},{"duration":24,"value":-1}]},{"name":"形状_1_拷贝","colorFrame":[{"duration":38,"value":{"aM":0}},{"duration":24}]},{"name":"形状_1_拷贝_2","colorFrame":[{"duration":38,"value":{"aM":0}},{"duration":24}]},{"name":"npc错误/挤眼","colorFrame":[{"duration":38,"value":{"aM":0}},{"duration":24}]}]}],"defaultActions":[{"gotoAndPlay":"npcwrong"}]}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "64411651-af1c-41b0-a5c6-f5adaefca24f",
"subMetas": {}
}
\ No newline at end of file
{"imagePath":"npcwwrong_tex.png","width":512,"height":1024,"name":"npcwwrong","SubTexture":[{"width":61,"y":383,"height":71,"name":"npc错误/发条","x":445},{"width":79,"y":379,"height":61,"name":"npc错误/棍子","x":1},{"width":293,"y":1,"height":258,"name":"npc错误/椭圆_2","x":1},{"width":209,"y":1,"height":79,"name":"npc错误/嘴3","x":296},{"width":209,"y":261,"height":79,"name":"npc错误/嘴","x":228},{"width":209,"y":163,"height":79,"name":"npc错误/嘴4","x":296},{"width":209,"y":82,"height":79,"name":"npc错误/嘴2","x":296},{"frameY":-1,"y":495,"frameWidth":12,"frameHeight":45,"width":9,"height":43,"name":"npc错误/分针","frameX":-2,"x":445},{"frameY":-1,"y":495,"frameWidth":12,"frameHeight":31,"width":9,"height":29,"name":"npc错误/时针","frameX":-2,"x":456},{"frameY":-1,"y":244,"frameWidth":15,"frameHeight":16,"width":13,"height":13,"name":"npc错误/椭圆_4","frameX":-1,"x":296},{"width":28,"y":456,"height":37,"name":"npc错误/右眼珠","x":475},{"width":28,"y":456,"height":37,"name":"npc错误/左眼珠","x":445},{"width":132,"y":379,"height":28,"name":"npc错误/挤眼","x":82},{"width":62,"y":244,"height":137,"name":"npc错误/左手","x":445},{"width":106,"y":477,"height":133,"name":"npc错误/左手2","x":337},{"width":107,"y":342,"height":144,"name":"npc错误/右手","x":228},{"width":106,"y":342,"height":133,"name":"npc错误/右手2","x":337},{"width":225,"y":261,"height":116,"name":"npc错误/吃","x":1},{"width":68,"y":409,"height":44,"name":"npc错误/形状_1_拷贝","x":152},{"width":68,"y":409,"height":44,"name":"npc错误/形状_1_拷贝_2","x":82}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "7572c259-082f-4011-b331-054a28064433",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "548dc40d-f9d4-40ab-a3ba-6bc8713afa7f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 512,
"height": 1024,
"platformSettings": {},
"subMetas": {
"npcwwrong_tex": {
"ver": "1.0.4",
"uuid": "b9fdc1d6-e35b-4f4a-9967-ec3c93ea88c7",
"rawTextureUuid": "548dc40d-f9d4-40ab-a3ba-6bc8713afa7f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -2,
"offsetY": 206.5,
"trimX": 1,
"trimY": 1,
"width": 506,
"height": 609,
"rawWidth": 512,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "44a9b73c-f1f6-4a68-b4a2-5577cc33786b",
"subMetas": {}
}
\ No newline at end of file
...@@ -9,29 +9,24 @@ cc.Class({ ...@@ -9,29 +9,24 @@ cc.Class({
extends: cc.Component, extends: cc.Component,
properties: { properties: {
// foo: { word: ''
// // ATTRIBUTES:
// default: null, // The default value will be used only when the component attaching
// // to a node for the first time
// type: cc.SpriteFrame, // optional, default is typeof default
// serializable: true, // optional, default is true
// },
// bar: {
// get () {
// return this._bar;
// },
// set (value) {
// this._bar = value;
// }
// },
}, },
// LIFE-CYCLE CALLBACKS: // LIFE-CYCLE CALLBACKS:
// onLoad () {}, // onLoad () {},
start () { start() {
this.updateWord();
},
setWord(str) {
this.word = str;
this.updateWord();
},
updateWord() {
this.node.getChildByName('Label').getComponent(cc.Label).string = this.word;
}, },
// update (dt) {}, // update (dt) {},
......
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "94a7b9b9-6939-44a7-85cf-15336952b997", "uuid": "d3f9b657-2be4-431e-be60-9513c14d1e83",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "Cake",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 5
},
{
"__id__": 6
},
{
"__id__": 7
}
],
"_prefab": {
"__id__": 8
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 203,
"height": 197
},
"_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": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
}
],
"_prefab": {
"__id__": 4
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 57,
"g": 93,
"b": 110,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 146.4,
"height": 153.72
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
27.858,
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.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_useOriginalSize": false,
"_string": "ab",
"_N$string": "ab",
"_fontSize": 122,
"_lineHeight": 122,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "44a9b73c-f1f6-4a68-b4a2-5577cc33786b"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "f93248fa-db14-4916-ad05-b3521a3499ba"
},
"fileId": "b1HPzV5yBK9b3xr2xz7AU+",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "85630f7a-521c-4e04-9741-482a9558dae4"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "d3f9bZXK+RDHr5glRPBTR6D",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"word": "",
"_id": ""
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "f93248fa-db14-4916-ad05-b3521a3499ba"
},
"fileId": "d9yeRBXEFHzaEOvSSk+9Aq",
"sync": false
}
]
\ No newline at end of file
{ {
"ver": "1.2.7", "ver": "1.2.7",
"uuid": "ec03214c-4419-4127-8e8f-39df8d2c3146", "uuid": "f93248fa-db14-4916-ad05-b3521a3499ba",
"optimizationPolicy": "AUTO", "optimizationPolicy": "AUTO",
"asyncLoadAssets": false, "asyncLoadAssets": false,
"readonly": false, "readonly": false,
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "TmpPreFab", "_name": "NodeStar",
"_objFlags": 0, "_objFlags": 0,
"_parent": null, "_parent": null,
"_children": [], "_children": [],
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 172,
"height": 0 "height": 161
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -74,13 +74,35 @@ ...@@ -74,13 +74,35 @@
"_id": "" "_id": ""
}, },
{ {
"__type__": "94a7bm5aTlEp4XPFTNpUrmX", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 1 "__id__": 1
}, },
"_enabled": true, "_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d7e927c0-76db-4a48-b164-a7c3401e1213"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "" "_id": ""
}, },
{ {
...@@ -89,9 +111,9 @@ ...@@ -89,9 +111,9 @@
"__id__": 1 "__id__": 1
}, },
"asset": { "asset": {
"__uuid__": "ec03214c-4419-4127-8e8f-39df8d2c3146" "__id__": 0
}, },
"fileId": "17t3fETWZIALDkDA1OlUg9", "fileId": "3brlLxIhJLcpwIWaEeQ3d+",
"sync": false "sync": false
} }
] ]
\ No newline at end of file
{
"ver": "1.2.7",
"uuid": "7d502ef5-bef8-4a16-807b-832129d27a56",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"autoReleaseAssets": true, "autoReleaseAssets": true,
"_id": "57ea7c61-9b8b-498a-b024-c98ee9124beb" "_id": "593bde28-c094-4198-abe7-126ebfd5509b"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -84,37 +84,49 @@ ...@@ -84,37 +84,49 @@
"__id__": 11 "__id__": 11
}, },
{ {
"__id__": 14 "__id__": 13
}, },
{ {
"__id__": 16 "__id__": 15
}, },
{ {
"__id__": 18 "__id__": 18
}, },
{ {
"__id__": 21 "__id__": 29
}, },
{ {
"__id__": 23 "__id__": 31
}, },
{ {
"__id__": 25 "__id__": 33
}, },
{ {
"__id__": 27 "__id__": 36
},
{
"__id__": 42
},
{
"__id__": 45
},
{
"__id__": 48
},
{
"__id__": 55
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 29 "__id__": 66
}, },
{ {
"__id__": 30 "__id__": 67
}, },
{ {
"__id__": 31 "__id__": 68
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -167,7 +179,7 @@ ...@@ -167,7 +179,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg_door", "_name": "MusicNode",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
...@@ -190,8 +202,8 @@ ...@@ -190,8 +202,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 335, "width": 0,
"height": 263 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -203,7 +215,7 @@ ...@@ -203,7 +215,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
384.562, 0,
0, 0,
0, 0,
0, 0,
...@@ -225,43 +237,42 @@ ...@@ -225,43 +237,42 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "0e2Y5zzG1DGJY2gkjgRo+j" "_id": "01tWWyylJD75AxsHImvveL"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "193f7Pj1dtKzIc1hLupu+6E",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 3 "__id__": 3
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "bgm": {
{ "__uuid__": "85deaa14-328d-42e5-b5cf-5202d038869a"
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6d51f49a-fa69-47fd-9322-94661e3167ac"
}, },
"_type": 0, "吃": {
"_sizeMode": 1, "__uuid__": "e46d9e5e-eef8-4f73-ab0f-473b4a8e7646"
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
}, },
"_fillStart": 0, "星星": {
"_fillRange": 0, "__uuid__": "67f28764-6d1d-4c7a-90e0-766def00432c"
"_isTrimmedMode": true, },
"_atlas": null, "正确": {
"_id": "28k57Q/FNHmZdSeeQcoClE" "__uuid__": "0e14b66a-152b-499e-a885-425f393c3a4d"
},
"落地": {
"__uuid__": "574f867b-df73-4d18-a79c-5b91d93615e4"
},
"错误": {
"__uuid__": "a2fd7b04-387e-42cd-8222-40b566cc7f40"
},
"门": {
"__uuid__": "25efc7de-07bb-442f-89d8-3fe9f7bf152e"
},
"_id": "12yMp9MwtOIqHXSbmcNAaN"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg_wheel3", "_name": "Main Camera",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
...@@ -284,8 +295,8 @@ ...@@ -284,8 +295,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 300, "width": 960,
"height": 293 "height": 640
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -297,8 +308,8 @@ ...@@ -297,8 +308,8 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
372.607,
0, 0,
509.52063365780083,
0, 0,
0, 0,
0, 0,
...@@ -319,43 +330,47 @@ ...@@ -319,43 +330,47 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "fbzFUaqEpLl7SVWjkpJWwm" "_id": "b9B9UyXEFGn75OuricxgdK"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Camera",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 5 "__id__": 5
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_cullingMask": 4294967295,
{ "_clearFlags": 7,
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" "_backgroundColor": {
} "__type__": "cc.Color",
], "r": 0,
"_srcBlendFactor": 770, "g": 0,
"_dstBlendFactor": 771, "b": 0,
"_spriteFrame": { "a": 255
"__uuid__": "4f91f71e-fca4-44a6-b569-2cd52587c71d"
}, },
"_type": 0, "_depth": -1,
"_sizeMode": 2, "_zoomRatio": 1,
"_fillType": 0, "_targetTexture": null,
"_fillCenter": { "_fov": 60,
"__type__": "cc.Vec2", "_orthoSize": 10,
"_nearClip": 1,
"_farClip": 4096,
"_ortho": true,
"_rect": {
"__type__": "cc.Rect",
"x": 0, "x": 0,
"y": 0 "y": 0,
"width": 1,
"height": 1
}, },
"_fillStart": 0, "_renderStages": 1,
"_fillRange": 0, "_alignWithScreen": true,
"_isTrimmedMode": false, "_id": "65wECq7qFLf5ylC3vC6zNi"
"_atlas": null,
"_id": "d7ByDCl0NMzKGlMXrOzOws"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg_wheel2", "_name": "NodeDoor",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
...@@ -378,8 +393,8 @@ ...@@ -378,8 +393,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 300, "width": 335,
"height": 293 "height": 263
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -391,7 +406,7 @@ ...@@ -391,7 +406,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
372.607, 384.562,
0, 0,
0, 0,
0, 0,
...@@ -413,7 +428,7 @@ ...@@ -413,7 +428,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "0fBCWa+BtEeaWQVE5mTmfS" "_id": "f4v9eKzy5Bz5X7GkFG5iX9"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -431,10 +446,10 @@ ...@@ -431,10 +446,10 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "0b206cd4-d278-48a6-acba-3605aaae737b" "__uuid__": "6d51f49a-fa69-47fd-9322-94661e3167ac"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 2, "_sizeMode": 1,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -443,13 +458,13 @@ ...@@ -443,13 +458,13 @@
}, },
"_fillStart": 0, "_fillStart": 0,
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": false, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "f78T7JcZFIYoCBGezFOvG9" "_id": "560oW/h6hA/LaN3OX2jKKx"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg_wheel1", "_name": "NodeWheel3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
...@@ -507,7 +522,7 @@ ...@@ -507,7 +522,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "6aq67sQ0lOg7Mqn22bxTrm" "_id": "3eTkHVtcdIXqGAPXIEe2Xr"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -525,7 +540,7 @@ ...@@ -525,7 +540,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "64dd34ec-2196-4eab-ab74-ff6d0c78419a" "__uuid__": "4f91f71e-fca4-44a6-b569-2cd52587c71d"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 2, "_sizeMode": 2,
...@@ -539,11 +554,11 @@ ...@@ -539,11 +554,11 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": false, "_isTrimmedMode": false,
"_atlas": null, "_atlas": null,
"_id": "bd1KEt2CZK2IH+4HojNDxb" "_id": "a1ek9aw9NOBrFNqEX8B2JZ"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg_bg", "_name": "NodeWheel2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
...@@ -553,9 +568,6 @@ ...@@ -553,9 +568,6 @@
"_components": [ "_components": [
{ {
"__id__": 12 "__id__": 12
},
{
"__id__": 13
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -569,20 +581,20 @@ ...@@ -569,20 +581,20 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1280, "width": 300,
"height": 1036 "height": 293
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0, "x": 0.5,
"y": 0 "y": 0.5
}, },
"_trs": { "_trs": {
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-640, 0,
-360, 372.607,
0, 0,
0, 0,
0, 0,
...@@ -604,7 +616,7 @@ ...@@ -604,7 +616,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "771yJJa/1ARLKm8VUPxgGv" "_id": "a4fQXOh/tFSaed7t2gOVOR"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -622,10 +634,10 @@ ...@@ -622,10 +634,10 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "f4c4ae47-c805-43de-8dda-07c899c1836a" "__uuid__": "0b206cd4-d278-48a6-acba-3605aaae737b"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 2,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -634,40 +646,13 @@ ...@@ -634,40 +646,13 @@
}, },
"_fillStart": 0, "_fillStart": 0,
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": false,
"_atlas": null, "_atlas": null,
"_id": "f9v0F+sJlJ17SMW2djb8Wu" "_id": "08GNW+WvBHip102B9Yy7ij"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 12,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "f3MOaxudRCRIszSZsJ2ve7"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg_doorleft", "_name": "NodeWheel1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
...@@ -676,7 +661,7 @@ ...@@ -676,7 +661,7 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 15 "__id__": 14
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -690,12 +675,12 @@ ...@@ -690,12 +675,12 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 148, "width": 300,
"height": 143 "height": 293
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 1, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_trs": { "_trs": {
...@@ -703,7 +688,7 @@ ...@@ -703,7 +688,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
0, 372.607,
0, 0,
0, 0,
0, 0,
...@@ -725,14 +710,14 @@ ...@@ -725,14 +710,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "21o3JkGvJDx4hg4kc3KXog" "_id": "03WOcxK4ZASo0p3x+plHZY"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 14 "__id__": 13
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -743,10 +728,10 @@ ...@@ -743,10 +728,10 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "5b25d99c-f2e4-4794-9d11-e43caa39991d" "__uuid__": "64dd34ec-2196-4eab-ab74-ff6d0c78419a"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 2,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -755,13 +740,13 @@ ...@@ -755,13 +740,13 @@
}, },
"_fillStart": 0, "_fillStart": 0,
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": false,
"_atlas": null, "_atlas": null,
"_id": "e8JN+lloxNu5TyjSM8nq1w" "_id": "d5vi/ujuRAP4LJuj9ciYXI"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg_doorright", "_name": "NodeBg",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
...@@ -769,6 +754,9 @@ ...@@ -769,6 +754,9 @@
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 16
},
{ {
"__id__": 17 "__id__": 17
} }
...@@ -784,20 +772,20 @@ ...@@ -784,20 +772,20 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 148, "width": 1280,
"height": 143 "height": 1036
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0, "x": 0,
"y": 0.5 "y": 0
}, },
"_trs": { "_trs": {
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, -640,
0, -360,
0, 0,
0, 0,
0, 0,
...@@ -819,14 +807,14 @@ ...@@ -819,14 +807,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "3eLc01Qr9LdKkKSk8H+GgG" "_id": "88aOZOpAFKSI4/4cLqQ2bF"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 16 "__id__": 15
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -837,10 +825,10 @@ ...@@ -837,10 +825,10 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "468575bc-2d7d-4705-98b4-f532466c5da5" "__uuid__": "f4c4ae47-c805-43de-8dda-07c899c1836a"
}, },
"_type": 0, "_type": 1,
"_sizeMode": 1, "_sizeMode": 0,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -851,25 +839,61 @@ ...@@ -851,25 +839,61 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "7drM1X4tZMKZRDBM7C36ys" "_id": "d91H9Qd6FApJ0GrW5qR5B+"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 44,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1280,
"_originalHeight": 0,
"_id": "22Dg3gitNN3oGhwQytA/Be"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg_desk", "_name": "NodeCharacter",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
}, },
"_children": [], "_children": [
"_active": true,
"_components": [
{ {
"__id__": 19 "__id__": 19
}, },
{ {
"__id__": 20 "__id__": 21
},
{
"__id__": 23
},
{
"__id__": 25
},
{
"__id__": 27
} }
], ],
"_active": true,
"_components": [],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -881,8 +905,8 @@ ...@@ -881,8 +905,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1280, "width": 0,
"height": 656 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -894,7 +918,7 @@ ...@@ -894,7 +918,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
-32, -256,
0, 0,
0, 0,
0, 0,
...@@ -916,25 +940,1927 @@ ...@@ -916,25 +940,1927 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "08Z5D28VxJE4S9wFuSJ9lE" "_id": "8ei66sky5MqINlBEDEpihR"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Node",
"_name": "", "_name": "NodeCharacterUp",
"_objFlags": 0, "_objFlags": 0,
"node": { "_parent": {
"__id__": 18 "__id__": 18
}, },
"_enabled": true, "_children": [],
"_materials": [ "_active": false,
"_components": [
{ {
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" "__id__": 20
} }
], ],
"_srcBlendFactor": 770, "_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 129,
"height": 256.56
},
"_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": "daqkzNhMBKgZLOmbP5x/6Z"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "ceb74bc8-b6f9-4974-9204-55960db2e5bc#7170c08e-d215-4dd7-b840-bd3fc5bf68c8",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "ceb74bc8-b6f9-4974-9204-55960db2e5bc"
},
"_N$dragonAtlasAsset": {
"__uuid__": "7170c08e-d215-4dd7-b840-bd3fc5bf68c8"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "10AceZGi9E2KUimyphUdSL"
},
{
"__type__": "cc.Node",
"_name": "NodeCharacterDown",
"_objFlags": 0,
"_parent": {
"__id__": 18
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 22
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 129,
"height": 258.65
},
"_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": "2baFRL5jhLUKEdbRnhJg/Z"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "14c00352-28bc-4568-b0ae-a77023bb1777#6e110538-4036-409f-96df-c5bd7dfd55c0",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "14c00352-28bc-4568-b0ae-a77023bb1777"
},
"_N$dragonAtlasAsset": {
"__uuid__": "6e110538-4036-409f-96df-c5bd7dfd55c0"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "84IFZhYYZAS5wXcZvYlktm"
},
{
"__type__": "cc.Node",
"_name": "NodeCharacterLeft",
"_objFlags": 0,
"_parent": {
"__id__": 18
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 24
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 124,
"height": 254.5
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
10,
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": "ae0xqNutNLWZ84sBEbxEus"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "9abcdc4b-b6c6-4011-bc94-ae98201872d2#f2160fb6-2065-4491-bd7e-ecc779068c19",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "9abcdc4b-b6c6-4011-bc94-ae98201872d2"
},
"_N$dragonAtlasAsset": {
"__uuid__": "f2160fb6-2065-4491-bd7e-ecc779068c19"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "332CpBoJFG2b3juteySnmM"
},
{
"__type__": "cc.Node",
"_name": "NodeCharacterRight",
"_objFlags": 0,
"_parent": {
"__id__": 18
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 26
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 124,
"height": 254.12
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
10,
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": "8fgD2Wdc9EQo/CyfTjCp83"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 25
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "d2fac6e6-f3e3-47bf-b8cd-0bb0001b80e7#75b9b182-32c6-4a4f-9a0a-e38015e515a4",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "d2fac6e6-f3e3-47bf-b8cd-0bb0001b80e7"
},
"_N$dragonAtlasAsset": {
"__uuid__": "75b9b182-32c6-4a4f-9a0a-e38015e515a4"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "daTtw1jmxAyag7LZfof/7/"
},
{
"__type__": "cc.Node",
"_name": "NodeCharacterFront",
"_objFlags": 0,
"_parent": {
"__id__": 18
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 28
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 129,
"height": 258.65
},
"_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": "a8iIfhiUJMhKCAyJROX7O+"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 27
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "14c00352-28bc-4568-b0ae-a77023bb1777#6e110538-4036-409f-96df-c5bd7dfd55c0",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "14c00352-28bc-4568-b0ae-a77023bb1777"
},
"_N$dragonAtlasAsset": {
"__uuid__": "6e110538-4036-409f-96df-c5bd7dfd55c0"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "029PfORY5AJJicAPbpvTwA"
},
{
"__type__": "cc.Node",
"_name": "NodeDoorLeft",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 30
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 148,
"height": 143
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 1,
"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": "90N2b6EgxFkYWXcjvT+VQS"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5b25d99c-f2e4-4794-9d11-e43caa39991d"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "3dx9GDZgFL8YPURdbv1GsJ"
},
{
"__type__": "cc.Node",
"_name": "NodeDoorRight",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 32
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 148,
"height": 143
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"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": "30h0Yof6FL/5VXhoNeb5aR"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "468575bc-2d7d-4705-98b4-f532466c5da5"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "03pZb2RxRMaIOrKcs5L2K1"
},
{
"__type__": "cc.Node",
"_name": "NodeDesk",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 34
},
{
"__id__": 35
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 656
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-32,
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": "d64fruZZpAaZ4xrWkc+77A"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f8fa3da4-32ef-42c2-a8e4-63ad64e51d3b"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "f5WbrOhjNJrpW3pb3xtunc"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 44,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1280,
"_originalHeight": 0,
"_id": "53+rlQIzVPjoED5lTG4CWm"
},
{
"__type__": "cc.Node",
"_name": "NodeDeskMask",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 37
}
],
"_active": true,
"_components": [
{
"__id__": 40
},
{
"__id__": 41
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 360
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-180,
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": "d3WEKxx1xDOrwGZ93SuPIy"
},
{
"__type__": "cc.Node",
"_name": "NodeDeskFront",
"_objFlags": 0,
"_parent": {
"__id__": 36
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 38
},
{
"__id__": 39
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 656
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
148,
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": "4ac5OIepdLDLBGvpLHaejM"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 37
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f8fa3da4-32ef-42c2-a8e4-63ad64e51d3b"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "165m6Gd4FM0pE8IWzjppl5"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 37
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 44,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1280,
"_originalHeight": 0,
"_id": "30DUMNmE9AyoKxABMVDgWg"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 36
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 0,
"_segments": 64,
"_N$alphaThreshold": 0.1,
"_N$inverted": false,
"_id": "e9Vyh8x/hFN4cUna1makpx"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 36
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 44,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1280,
"_originalHeight": 0,
"_id": "224N2kOg1CFpZrO1NctJ6Q"
},
{
"__type__": "cc.Node",
"_name": "BtnStart",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 43
},
{
"__id__": 44
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 279,
"height": 118
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-183.063,
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": "11qNuFbhFFnb53Yn4ojJtc"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5d281ede-83ea-4620-9882-adb9f364da52"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "88LoVVsz9ACqzTS+sPOmji"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "7dkdZ8GnFE+owwLPIjD+Zf"
},
{
"__type__": "cc.Node",
"_name": "BtnRestart",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 46
},
{
"__id__": 47
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 398,
"height": 118
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
75.732,
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": "bbYOHVMZtAOofyfJG9fr3d"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "fbeb24c6-8b83-4088-bc9d-dcdf5d072f59"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "dfo9iINX5I96dA278Z5iC3"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "9fWQivxa9CQqCREMNdiWvl"
},
{
"__type__": "cc.Node",
"_name": "NodeNpc",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 49
},
{
"__id__": 51
},
{
"__id__": 53
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_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": [
-15,
200,
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": "1cOMJGpABIbq8BrH7XR0Pw"
},
{
"__type__": "cc.Node",
"_name": "NodeNpcNormal",
"_objFlags": 0,
"_parent": {
"__id__": 48
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 50
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 307,
"height": 269.99
},
"_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": "8a7RjBOJFI7JStOFDb5PsX"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 49
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "normal",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "36fcd770-72fc-401d-8b02-fc665c69e7da#9ee61a3f-539c-4776-8179-92ff6cda9df4",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "36fcd770-72fc-401d-8b02-fc665c69e7da"
},
"_N$dragonAtlasAsset": {
"__uuid__": "9ee61a3f-539c-4776-8179-92ff6cda9df4"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "d0TDLgGTVI142BgVxkFJqS"
},
{
"__type__": "cc.Node",
"_name": "NodeNpcWrong",
"_objFlags": 0,
"_parent": {
"__id__": 48
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 52
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 414,
"height": 270
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-22.691,
-49.3,
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": "76M6TvyAVF36HJi6pxJ8RH"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "64411651-af1c-41b0-a5c6-f5adaefca24f#7572c259-082f-4011-b331-054a28064433",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "64411651-af1c-41b0-a5c6-f5adaefca24f"
},
"_N$dragonAtlasAsset": {
"__uuid__": "7572c259-082f-4011-b331-054a28064433"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "efZbcreK5Om69kkf3pSZb3"
},
{
"__type__": "cc.Node",
"_name": "NodeNpcRight",
"_objFlags": 0,
"_parent": {
"__id__": 48
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 54
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 307,
"height": 270
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-22.247,
-48.885,
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": "40gsq+eBpII7OMw3VpEL0Q"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "95260556-092e-4b03-8182-800daa918f36#6305fecc-8f32-4199-b0cb-7c97543d40f8",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "95260556-092e-4b03-8182-800daa918f36"
},
"_N$dragonAtlasAsset": {
"__uuid__": "6305fecc-8f32-4199-b0cb-7c97543d40f8"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "60u+UPFq9GR71M3Np/088B"
},
{
"__type__": "cc.Node",
"_name": "PosNodeBase",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 56
},
{
"__id__": 58
},
{
"__id__": 60
},
{
"__id__": 62
},
{
"__id__": 64
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 0,
"_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": "65BfxxKUNJ6IFmh61nf0jT"
},
{
"__type__": "cc.Node",
"_name": "CakePosNode_0",
"_objFlags": 0,
"_parent": {
"__id__": 55
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 57
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 203,
"height": 197
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-443.372,
5.342,
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": "4eBXxD0odCTJSRJ6FldsRK"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 56
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "f8fa3da4-32ef-42c2-a8e4-63ad64e51d3b" "__uuid__": "85630f7a-521c-4e04-9741-482a9558dae4"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -948,47 +2874,20 @@ ...@@ -948,47 +2874,20 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "d1XISOd5pKl69UDZQLCPlT" "_id": "a7i3CHwY9KdYfCOv6F+fWC"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 4,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "26GjXBKpBPVZGr2xOjxNab"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "Main Camera", "_name": "CakePosNode_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 55
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 22 "__id__": 59
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1002,8 +2901,8 @@ ...@@ -1002,8 +2901,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 960, "width": 203,
"height": 640 "height": 197
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1014,10 +2913,10 @@ ...@@ -1014,10 +2913,10 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-299.142,
-190.97,
0, 0,
0, 0,
511.82101363660325,
0,
0, 0,
0, 0,
1, 1,
...@@ -1037,56 +2936,52 @@ ...@@ -1037,56 +2936,52 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "e1WoFrQ79G7r4ZuQE3HlNb" "_id": "2de5BeIQZBIpYDmBxa/giQ"
}, },
{ {
"__type__": "cc.Camera", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 21 "__id__": 58
}, },
"_enabled": true, "_enabled": true,
"_cullingMask": 4294967295, "_materials": [
"_clearFlags": 7, {
"_backgroundColor": { "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__type__": "cc.Color", }
"r": 0, ],
"g": 0, "_srcBlendFactor": 770,
"b": 0, "_dstBlendFactor": 771,
"a": 255 "_spriteFrame": {
"__uuid__": "85630f7a-521c-4e04-9741-482a9558dae4"
}, },
"_depth": -1, "_type": 0,
"_zoomRatio": 1, "_sizeMode": 1,
"_targetTexture": null, "_fillType": 0,
"_fov": 60, "_fillCenter": {
"_orthoSize": 10, "__type__": "cc.Vec2",
"_nearClip": 1,
"_farClip": 4096,
"_ortho": true,
"_rect": {
"__type__": "cc.Rect",
"x": 0, "x": 0,
"y": 0, "y": 0
"width": 1,
"height": 1
}, },
"_renderStages": 1, "_fillStart": 0,
"_alignWithScreen": true, "_fillRange": 0,
"_id": "81GN3uXINKVLeW4+iKSlim" "_isTrimmedMode": true,
"_atlas": null,
"_id": "0aahlZbKhNVaT97l812cba"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "MusicNode", "_name": "CakePosNode_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 55
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 24 "__id__": 61
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1100,8 +2995,8 @@ ...@@ -1100,8 +2995,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 203,
"height": 0 "height": 197
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1112,8 +3007,8 @@ ...@@ -1112,8 +3007,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, -18.696,
0, -232.369,
0, 0,
0, 0,
0, 0,
...@@ -1135,38 +3030,52 @@ ...@@ -1135,38 +3030,52 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "7dvmSP3MpJ9JVrZdBKlFPg" "_id": "b4cGBcM/9CCI52KX3XFgsF"
}, },
{ {
"__type__": "193f7Pj1dtKzIc1hLupu+6E", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 23 "__id__": 60
}, },
"_enabled": true, "_enabled": true,
"bgm": null, "_materials": [
"星星": null, {
"爆炸": null, "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"眩晕": null, }
"砸": null, ],
"移动": null, "_srcBlendFactor": 770,
"结束": null, "_dstBlendFactor": 771,
"点击": null, "_spriteFrame": {
"_id": "12RCIBo/VE/qimm3KlDYPO" "__uuid__": "85630f7a-521c-4e04-9741-482a9558dae4"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "25WG1/DwxKL4g/jew/rfgg"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "btn_start", "_name": "CakePosNode_3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 55
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 26 "__id__": 63
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1180,8 +3089,8 @@ ...@@ -1180,8 +3089,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 279, "width": 203,
"height": 118 "height": 197
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1192,8 +3101,8 @@ ...@@ -1192,8 +3101,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 268.427,
-183.063, -209.667,
0, 0,
0, 0,
0, 0,
...@@ -1215,14 +3124,14 @@ ...@@ -1215,14 +3124,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "7fkgMd8yFHD6u94C+uTBPZ" "_id": "9cML2FCItMT6UzInG+Lal2"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 25 "__id__": 62
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1233,7 +3142,7 @@ ...@@ -1233,7 +3142,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "5d281ede-83ea-4620-9882-adb9f364da52" "__uuid__": "85630f7a-521c-4e04-9741-482a9558dae4"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -1247,20 +3156,20 @@ ...@@ -1247,20 +3156,20 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "fek+lDNeNPe5giMV8jAfBA" "_id": "d6qwpN+j1CV62uoPWPxzVA"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "New Node", "_name": "CakePosNode_4",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 55
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 28 "__id__": 65
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1274,8 +3183,8 @@ ...@@ -1274,8 +3183,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 307, "width": 203,
"height": 269.99 "height": 197
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1286,8 +3195,8 @@ ...@@ -1286,8 +3195,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 454.056,
201.129, -45.405,
0, 0,
0, 0,
0, 0,
...@@ -1309,14 +3218,14 @@ ...@@ -1309,14 +3218,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "62nUg7W0ZArZmBGv9m8/hT" "_id": "eeuL9G5CVF64i76U6uqnbI"
}, },
{ {
"__type__": "dragonBones.ArmatureDisplay", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 27 "__id__": 64
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1324,32 +3233,24 @@ ...@@ -1324,32 +3233,24 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
} }
], ],
"_armatureName": "Armature", "_srcBlendFactor": 770,
"_animationName": "", "_dstBlendFactor": 771,
"_preCacheMode": 0, "_spriteFrame": {
"_cacheMode": 0, "__uuid__": "85630f7a-521c-4e04-9741-482a9558dae4"
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "36fcd770-72fc-401d-8b02-fc665c69e7da#9ee61a3f-539c-4776-8179-92ff6cda9df4",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "36fcd770-72fc-401d-8b02-fc665c69e7da"
}, },
"_N$dragonAtlasAsset": { "_type": 0,
"__uuid__": "9ee61a3f-539c-4776-8179-92ff6cda9df4" "_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
}, },
"_N$_defaultArmatureIndex": 0, "_fillStart": 0,
"_N$_animationIndex": 0, "_fillRange": 0,
"_N$_defaultCacheMode": 0, "_isTrimmedMode": true,
"_N$timeScale": 1, "_atlas": null,
"_N$debugBones": false, "_id": "bcdDDjSzZLtaebcHJ7sCFK"
"_N$enableBatch": false,
"_id": "92DoqIGkNPPqWPwl08+55E"
}, },
{ {
"__type__": "cc.Canvas", "__type__": "cc.Canvas",
...@@ -1378,10 +3279,10 @@ ...@@ -1378,10 +3279,10 @@
"_enabled": true, "_enabled": true,
"alignMode": 1, "alignMode": 1,
"_target": null, "_target": null,
"_alignFlags": 45, "_alignFlags": 18,
"_left": 0, "_left": 640,
"_right": 0, "_right": 0,
"_top": 0, "_top": 360,
"_bottom": 0, "_bottom": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
...@@ -1396,13 +3297,19 @@ ...@@ -1396,13 +3297,19 @@
"_id": "29zXboiXFBKoIV4PQ2liTe" "_id": "29zXboiXFBKoIV4PQ2liTe"
}, },
{ {
"__type__": "b94c9j3n9FOLpOrY/uISJik", "__type__": "2692a9zO7NEw4WXBNkq3GZj",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 2 "__id__": 2
}, },
"_enabled": true, "_enabled": true,
"_id": "267A85TkVOKKVTUUoX8JjJ" "cakePrefab": {
"__uuid__": "f93248fa-db14-4916-ad05-b3521a3499ba"
},
"starPrefab": {
"__uuid__": "7d502ef5-bef8-4a16-807b-832129d27a56"
},
"_id": "6a81xTwFJH6a+545y7lGW1"
} }
] ]
\ No newline at end of file
{ {
"ver": "1.2.7", "ver": "1.2.7",
"uuid": "57ea7c61-9b8b-498a-b024-c98ee9124beb", "uuid": "593bde28-c094-4198-abe7-126ebfd5509b",
"asyncLoadAssets": false, "asyncLoadAssets": false,
"autoReleaseAssets": true, "autoReleaseAssets": true,
"subMetas": {} "subMetas": {}
......
// Learn cc.Class:
// - https://docs.cocos.com/creator/manual/en/scripting/class.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
const defaultData = require('../script/defaultData');
import {
exchangeNodePos,
asyncTweenTo,
asyncTweenBy,
asyncPlayDragonBoneAnimation,
randomSortByArr,
asyncPlayEffectByUrl,
RandomInt
} from '../script/utils';
cc.Class({
extends: cc.Component,
properties: {
cakePrefab: {
type: cc.Prefab,
default: null,
},
starPrefab: {
type: cc.Prefab,
default: null,
},
},
ctor() {
this._imageResList = [];
this._audioResList = [];
this._status = {
selectedRightWordList: [],
canCharacterWalk: false
}
},
start() {
this.data = defaultData;
this.getData((data) => {
if (data) {
this.data = data;
}
this.preloadItem();
});
this.initListeners();
},
getData(func) {
if (window && window.courseware) {
window.courseware.getData(func, 'choose_cake');
} else {
func(defaultData);
}
},
_imageResList: null,
_audioResList: null,
preloadItem() {
this.addPreloadImage();
this.addPreloadAudio();
this.preload();
},
addPreloadImage() { },
addPreloadAudio() {
this._audioResList.push({ url: this.data.audio });
},
preload() {
const preloadArr = this._imageResList.concat(this._audioResList);
cc.assetManager.loadAny(preloadArr, null, null, (err, data) => {
this.hideAirClassLoading();
});
if (preloadArr.length == 0) {
this.hideAirClassLoading();
}
},
hideAirClassLoading() {
if (window && window["air"]) {
window["air"].hideAirClassLoading();
}
console.log('hideAirClassLoading');
},
initListeners() {
const btnStart = cc.find('Canvas/BtnStart');
btnStart.on('click', () => {
cc.tween(btnStart)
.to(0.3, { scale: 3, opacity: 0 })
.call(() => {
btnStart.active = false;
this.gameStart();
})
.start();
});
const btnRestart = cc.find('Canvas/BtnRestart');
btnRestart.on('click', () => {
cc.tween(btnRestart)
.to(0.3, { scale: 3, opacity: 0 })
.call(() => {
btnRestart.active = false;
cc.audioEngine.stopAll();
cc.director.loadScene('choose_cake');
})
.start();
});
const nodeDesk = cc.find('Canvas/NodeDesk');
nodeDesk.on('touchstart', (event) => {
this.onTouchDeskStart({
x: event.getLocationX() - nodeDesk.width * nodeDesk.anchorX,
y: event.getLocationY() - nodeDesk.height * nodeDesk.anchorY
})
});
},
onTouchDeskStart(pos) {
if (this._status.canCharacterWalk) {
this.characterWalk({ x: pos.x, y: pos.y + 50 });
}
},
characterWalk(pos, speed = 1) {
return new Promise((resolve, reject) => {
const nodeCharacter = cc.find('Canvas/NodeCharacter');
nodeCharacter.stopAllActions();
var walkVec = cc.v2(nodeCharacter.x - pos.x, nodeCharacter.y - pos.y);
const time = walkVec.mag() / 300;
const nodeCharacterUp = cc.find('Canvas/NodeCharacter/NodeCharacterUp');
const nodeCharacterDown = cc.find('Canvas/NodeCharacter/NodeCharacterDown');
const nodeCharacterLeft = cc.find('Canvas/NodeCharacter/NodeCharacterLeft');
const nodeCharacterRight = cc.find('Canvas/NodeCharacter/NodeCharacterRight');
const nodeCharacterFront = cc.find('Canvas/NodeCharacter/NodeCharacterFront');
nodeCharacterUp.active = false;
nodeCharacterDown.active = false;
nodeCharacterLeft.active = false;
nodeCharacterRight.active = false;
nodeCharacterFront.active = false;
if (walkVec.x >= walkVec.y && walkVec.x >= -walkVec.y) {
nodeCharacterLeft.active = true;
asyncPlayDragonBoneAnimation(nodeCharacterLeft, 'left', -1);
}
if (walkVec.x < walkVec.y && walkVec.x < -walkVec.y) {
nodeCharacterRight.active = true;
asyncPlayDragonBoneAnimation(nodeCharacterRight, 'right', -1);
}
if (walkVec.x >= walkVec.y && walkVec.x < -walkVec.y) {
nodeCharacterUp.active = true;
asyncPlayDragonBoneAnimation(nodeCharacterUp, 'back', -1);
}
if (walkVec.x < walkVec.y && walkVec.x >= -walkVec.y) {
nodeCharacterDown.active = true;
asyncPlayDragonBoneAnimation(nodeCharacterDown, 'heads', -1);
}
cc.tween(nodeCharacter)
.to(time * speed, { x: pos.x, y: pos.y })
.call(() => {
nodeCharacterUp.active = false;
nodeCharacterLeft.active = false;
nodeCharacterRight.active = false;
nodeCharacterDown.active = false
nodeCharacterFront.active = true;
resolve();
})
.start();
});
},
gameStart() {
this.playEffect('bgm', true, 0.5);
this.showCakes();
this.showCharacter();
},
async showCharacter() {
await this.openDeskDoor();
await this.riseCharacter();
await this.closeDeskDoor();
this._status.canCharacterWalk = true;
asyncPlayEffectByUrl(this.data.audio);
},
async showCakes() {
const { rightWordList, wrongWordList } = this.data;
let wordList = randomSortByArr([...rightWordList, ...wrongWordList]);
wordList.forEach((data, idx) => {
let cakeNode = cc.instantiate(this.cakePrefab);
cakeNode.getComponent('Cake').setWord(data);
cakeNode.zIndex = 12;
cakeNode.opacity = 0;
cakeNode.y = 500;
cakeNode.parent = this.node;
cakeNode.name = `CakeNode_${idx}`;
const posNode = cc.find(`Canvas/PosNodeBase/CakePosNode_${idx}`);
const targetPos = exchangeNodePos(cakeNode.parent, posNode);
cakeNode.on('click', () => {
this.onClickCake(idx);
});
cc.tween(cakeNode)
.to(0.1 * idx, { opacity: 255 })
.to(0.5, { x: targetPos.x, y: targetPos.y }, { easing: 'cubicIn' })
.start();
});
},
async onClickCake(idx) {
if (!this._status.canCharacterWalk) {
return;
}
const cakeNode = cc.find(`Canvas/CakeNode_${idx}`);
this._status.canCharacterWalk = false;
await this.characterWalk(cakeNode.getPosition());
await asyncTweenBy(cakeNode, 0.7, { y: 100 });
this.characterGetCake(cakeNode);
await this.characterWalk({ x: 0, y: 50 });
this.characterReleaseCake(cakeNode);
if (this.checkCake(cakeNode)) {
await this.npcPlayAnimRight(cakeNode);
} else {
await this.npcPlayAnimWrong(cakeNode, idx);
}
if (this.checkOver()) {
this.showOver();
return;
}
asyncPlayEffectByUrl(this.data.audio);
this._status.canCharacterWalk = true;
},
characterGetCake(cakeNode) {
cakeNode.parent = cc.find('Canvas/NodeCharacter');
cakeNode.x = 0;
cakeNode.y = 100;
},
characterReleaseCake(cakeNode) {
const pos = exchangeNodePos(cakeNode.parent, this.node);
cakeNode.parent = this.node;
cakeNode.x = pos.x;
cakeNode.y = pos.y + 200;
},
checkCake(cakeNode) {
const word = cakeNode.getComponent('Cake').word;
if (this.data.rightWordList.findIndex(data => data == word) == -1) {
return false;
}
this._status.selectedRightWordList.push(word);
return true;
},
checkOver() {
return this._status.selectedRightWordList.length == this.data.rightWordList.length;
},
async showOver() {
this.hideNpc();
await this.hideCakes();
await this.showStars();
await this.moveCamera();
await this.openDoor();
await this.characterMoveOut();
await this.showRestartBtn();
},
hideNpc() {
const nodeNpc = cc.find('Canvas/NodeNpc');
cc.tween(nodeNpc)
.to(1, { y: nodeNpc.y + 100, opacity: 0 })
.start();
},
hideCakes() {
for (let i = 0; i < 5; i++) {
const cakeNode = cc.find(`Canvas/CakeNode_${i}`)
if (!cakeNode) {
continue;
}
cc.tween(cakeNode)
.to(1, { y: cakeNode.y + 100, opacity: 0 })
.start();
}
},
showStars() {
this.playEffect('星星');
for (let index = 0; index < 70; index++) {
let starNode = cc.instantiate(this.starPrefab);
starNode.x = RandomInt(-640, 640);
starNode.y = RandomInt(360, 1800);
starNode.parent = this.node;
starNode.zIndex = 20;
cc.tween(starNode)
.by(1, { y: -300, angle: 360 })
.repeatForever()
.start();
cc.tween(starNode)
.delay(1 + Math.random() * 3)
.to(1, { opacity: 0 })
.start();
}
},
moveCamera() {
const camera = cc.find('Canvas/Main Camera');
cc.tween(camera)
.delay(2)
.by(1, { y: 1036 - 720 })
.start();
},
openDoor() {
const delayTime = 2;
const nodeDoor = cc.find('Canvas/NodeDoor');
const nodeWheel1 = cc.find('Canvas/NodeWheel1');
const nodeWheel2 = cc.find('Canvas/NodeWheel2');
const nodeWheel3 = cc.find('Canvas/NodeWheel3');
cc.tween(nodeWheel1)
.delay(delayTime)
.call(() => {
this.playEffect('');
})
.by(1, { x: 200 })
.start();
cc.tween(nodeWheel2)
.delay(delayTime)
.by(1, { x: -200 })
.start();
cc.tween(nodeWheel3)
.delay(delayTime)
.by(1, { y: -200 })
.start();
cc.tween(nodeDoor)
.delay(delayTime)
.by(1, { y: 300 })
.start();
},
async characterMoveOut() {
await this.characterWalk({ x: 0, y: 360 }, 4);
const nodeCharacter = cc.find('Canvas/NodeCharacter');
const nodeCharacterUp = cc.find('Canvas/NodeCharacter/NodeCharacterUp');
const nodeCharacterDown = cc.find('Canvas/NodeCharacter/NodeCharacterDown');
const nodeCharacterLeft = cc.find('Canvas/NodeCharacter/NodeCharacterLeft');
const nodeCharacterRight = cc.find('Canvas/NodeCharacter/NodeCharacterRight');
const nodeCharacterFront = cc.find('Canvas/NodeCharacter/NodeCharacterFront');
nodeCharacterUp.active = true;
nodeCharacterFront.active = false;
cc.tween(nodeCharacter)
.to(1, { opacity: 0 })
.start();
},
showRestartBtn() {
const btnRestart = cc.find('Canvas/BtnRestart');
btnRestart.active = true;
},
async npcPlayAnimRight(cakeNode) {
this.playEffect('');
const nodeNpcNormal = cc.find('Canvas/NodeNpc/NodeNpcNormal');
const nodeNpcRight = cc.find('Canvas/NodeNpc/NodeNpcRight');
nodeNpcNormal.active = false;
nodeNpcRight.active = true;
cakeNode.zIndex = 0;
cc.tween(cakeNode)
.to(0.1, { scale: 0.7 })
.to(1, { scale: 0 })
.call(() => {
this.playEffect('正确');
})
.start();
await asyncPlayDragonBoneAnimation(nodeNpcRight, 'npcright', 1);
nodeNpcNormal.active = true;
nodeNpcRight.active = false;
},
async npcPlayAnimWrong(cakeNode, idx) {
this.playEffect('');
const nodeNpcNormal = cc.find('Canvas/NodeNpc/NodeNpcNormal');
const nodeNpcWrong = cc.find('Canvas/NodeNpc/NodeNpcWrong');
nodeNpcNormal.active = false;
nodeNpcWrong.active = true;
cakeNode.zIndex = 0;
const posNode = cc.find(`Canvas/PosNodeBase/CakePosNode_${idx}`);
cc.tween(cakeNode)
.to(0.1, { scale: 0.7 })
.delay(1.5)
.call(() => {
this.playEffect('错误');
})
.to(0.5, { x: posNode.x, y: posNode.y, scale: 1 }, { easing: 'cubicOut' })
.call(() => {
this.playEffect('落地');
})
.start();
await asyncPlayDragonBoneAnimation(nodeNpcWrong, 'npcwrong', 1);
cakeNode.zIndex = 12;
nodeNpcNormal.active = true;
nodeNpcWrong.active = false;
},
openDeskDoor() {
return new Promise((resolve, reject) => {
const nodeDoorLeft = cc.find('Canvas/NodeDoorLeft');
cc.tween(nodeDoorLeft)
.to(0.5, { x: -150 })
.start();
const nodeDoorRight = cc.find('Canvas/NodeDoorRight');
cc.tween(nodeDoorRight)
.to(0.5, { x: 150 })
.call(resolve)
.start();
});
},
closeDeskDoor() {
return new Promise((resolve, reject) => {
const nodeDoorLeft = cc.find('Canvas/NodeDoorLeft');
cc.tween(nodeDoorLeft)
.to(0.5, { x: 0 })
.start();
const nodeDoorRight = cc.find('Canvas/NodeDoorRight');
cc.tween(nodeDoorRight)
.to(0.5, { x: 0 })
.call(resolve)
.start();
});
},
riseCharacter() {
return new Promise((resolve, reject) => {
const nodeDeskMask = cc.find('Canvas/NodeDeskMask');
nodeDeskMask.zIndex = 11;
const nodeCharacter = cc.find('Canvas/NodeCharacter');
nodeCharacter.zIndex = 10;
cc.tween(nodeCharacter)
.to(1, { y: 75 })
.call(() => {
nodeDeskMask.zIndex = 0;
resolve();
})
.start();
});
},
playEffect(name, loop, volume) {
let musicComponent = cc.find('Canvas/MusicNode').getComponent('MusicNode');
musicComponent.playEffect(name, loop, volume);
}
// update (dt) {},
});
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "b94c98f7-9fd1-4e2e-93ab-63fb884898a4", "uuid": "2692af73-3bb3-44c3-8597-04d92adc6663",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
// Learn cc.Class:
// - https://docs.cocos.com/creator/manual/en/scripting/class.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
cc.Class({
extends: cc.Component,
properties: {
// foo: {
// // ATTRIBUTES:
// default: null, // The default value will be used only when the component attaching
// // to a node for the first time
// type: cc.SpriteFrame, // optional, default is typeof default
// serializable: true, // optional, default is true
// },
// bar: {
// get () {
// return this._bar;
// },
// set (value) {
// this._bar = value;
// }
// },
},
// LIFE-CYCLE CALLBACKS:
// onLoad () {},
start () {
},
// update (dt) {},
});
...@@ -28,31 +28,27 @@ cc.Class({ ...@@ -28,31 +28,27 @@ cc.Class({
default: null, default: null,
type: cc.AudioClip type: cc.AudioClip
}, },
星星: { : {
default: null, default: null,
type: cc.AudioClip type: cc.AudioClip
}, },
爆炸: { 星星: {
default: null,
type: cc.AudioClip
},
眩晕: {
default: null, default: null,
type: cc.AudioClip type: cc.AudioClip
}, },
: { 正确: {
default: null, default: null,
type: cc.AudioClip type: cc.AudioClip
}, },
移动: { 落地: {
default: null, default: null,
type: cc.AudioClip type: cc.AudioClip
}, },
结束: { 错误: {
default: null, default: null,
type: cc.AudioClip type: cc.AudioClip
}, },
点击: { : {
default: null, default: null,
type: cc.AudioClip type: cc.AudioClip
}, },
......
module.exports = { module.exports = {
roundList: [{ audio: 'e.mp3',
audio: 'ball', rightWordList: ['ee', 'ea'],
questionList: [{ wrongWordList: ['a', 'ao', 'ai']
rightAudio: 'b',
rightWord: 'b',
wrongWordList: ['p', 'd'],
wrongAudioList: ['p.mp3', 'd.mp3'],
}, {
rightAudio: 'a',
rightWord: 'all',
wrongWordList: ['ao', 'arl'],
wrongAudioList: ['ao.mp3', 'arl.mp3'],
}]
}, {
audio: 'banana',
questionList: [{
rightAudio: 'baa',
rightWord: 'ba',
wrongWordList: ['pa', 'da'],
wrongAudioList: ['pa.mp3', 'da.mp3'],
}, {
rightAudio: 'na',
rightWord: 'na',
wrongWordList: ['ma', 'ha'],
wrongAudioList: ['ma.mp3', 'ha.mp3'],
}, {
rightAudio: 'na',
rightWord: 'na',
wrongWordList: ['ma', 'ha'],
wrongAudioList: ['ma.mp3', 'ha.mp3'],
}]
}],
} }
...@@ -74,6 +74,17 @@ export async function asyncTweenTo(node, duration, obj, ease = undefined) { ...@@ -74,6 +74,17 @@ export async function asyncTweenTo(node, duration, obj, ease = undefined) {
}); });
} }
export async function asyncTweenBy(node, duration, obj, ease = undefined) {
return new Promise((resolve, reject) => {
cc.tween(node)
.by(duration, obj, ease)
.call(() => {
resolve();
})
.start();
});
}
export async function asyncPlayDragonBoneAnimation(node, animationName, time = 1) { export async function asyncPlayDragonBoneAnimation(node, animationName, time = 1) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
node.getComponent(dragonBones.ArmatureDisplay) node.getComponent(dragonBones.ArmatureDisplay)
......
...@@ -26,10 +26,10 @@ ...@@ -26,10 +26,10 @@
"height": 1036, "height": 1036,
"rawWidth": 1280, "rawWidth": 1280,
"rawHeight": 1036, "rawHeight": 1036,
"borderTop": 0, "borderTop": 141,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 387,
"borderRight": 0, "borderRight": 462,
"subMetas": {} "subMetas": {}
} }
} }
......
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
"rawHeight": 656, "rawHeight": 656,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 455,
"borderRight": 0, "borderRight": 425,
"subMetas": {} "subMetas": {}
} }
} }
......
{ {
"title": "play", "title": "play",
"packageName": "org.cocos2d.demo", "packageName": "org.cocos2d.demo",
"startScene": "57ea7c61-9b8b-498a-b024-c98ee9124beb", "startScene": "593bde28-c094-4198-abe7-126ebfd5509b",
"excludeScenes": [], "excludeScenes": [],
"includeSDKBox": false, "includeSDKBox": false,
"orientation": { "orientation": {
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"upsideDown": false "upsideDown": false
}, },
"webOrientation": "auto", "webOrientation": "auto",
"inlineSpriteFrames": true, "inlineSpriteFrames": false,
"inlineSpriteFrames_native": true, "inlineSpriteFrames_native": true,
"mainCompressionType": "default", "mainCompressionType": "default",
"mainIsRemote": false, "mainIsRemote": false,
......
...@@ -31,5 +31,6 @@ ...@@ -31,5 +31,6 @@
"live": { "live": {
"enable": false "enable": false
} }
} },
"last-module-event-record-time": 1597132321142
} }
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