Commit 6d61c73a authored by huoshizhe's avatar huoshizhe

feat: complete

parent 427421e8
/publish/form
/publish/play
/publish/*.zip
<div class="model-content">
<div *ngFor="let round of item.roundList; let i = index">
<div class="border" style="float: left; ">
<span style="float: left; height: 30px; font-size: 18px;">单词音频:</span>
<app-audio-recorder style="float: left;" [audioUrl]=" round.audio"
(audioUploaded)="onRoundAudioUploadSuccess($event, i)">
</app-audio-recorder>
<br>
<br>
<div *ngFor="let question of round.questionList; let j = index">
<div class="border" style="float: left; width: 520px; height: 270px;">
<span style="float: left; height: 30px; font-size: 18px;">正确字母:</span>
<input style="float: left; width: 150px;" type="text" nz-input [(ngModel)]="question.rightWord"
(blur)="save()">
<br><br>
<span style="float: left; height: 30px; font-size: 18px;">正确字母音频:</span>
<app-audio-recorder style="float: left;" [audioUrl]=" question.rightAudio"
(audioUploaded)="onQuestionAudioUploadSuccess($event, i, j)">
</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 class="border" style=" width: 520px; height: 120px;">
<span style="height: 30px; font-size: 18px;">单词音频:</span>
<br>
<app-audio-recorder [audioUrl]=" item.audio" (audioUploaded)="onAudioUploadSuccess($event)">
</app-audio-recorder>
</div>
<div class="border" style="width: 520px;">
<span style="height: 30px; font-size: 18px;">正确字母:</span>
<div>
<div *ngFor="let rightWord of rightWordList; let i = index">
<div style="padding: 2px;">
<input style="width: 150px;" type="text" nz-input [(ngModel)]="rightWord.word" (blur)="saveWordList()">
<button style="margin-left: 10px; height: 32px; color: red;" nz-button nzType="dashed" class="add-btn"
(click)="removeRightWord(i)">
<i nz-icon nzType="minus-circle" nzTheme="outline"></i>
删除字母
</button>
</div>
</div>
<div class="border" style="float: left; width: 520px; height: 90px;">
<div style="float: left; width:100%; height: 100%;" nz-col nzSpan="8" class="add-btn-box">
<button style=" margin: auto; width: 100%; height: 100%;" nz-button nzType="dashed" class="add-btn"
(click)="addQuestion(i)">
<i nz-icon nzType="plus-circle" nzTheme="outline"></i>
增加字母
</div>
<div *ngIf="(rightWordList.length + wrongWordList.length < 5)">
<button style="margin-left: 2px; margin-top: 2px; height: 32px;" nz-button nzType="dashed" class="add-btn"
(click)="addRightWord()">
<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>
</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 class="border" style="float: left; ">
<div style="float: left; width: 560px; height: 100px; padding: 20px;" nz-col nzSpan="8" class="add-btn-box">
<button style=" margin: auto; width: 100%; height: 100%;" nz-button nzType="dashed" class="add-btn"
(click)="addRound()">
<div *ngIf="(rightWordList.length + wrongWordList.length < 5)">
<button style="margin-left: 2px; margin-top: 2px; height: 32px;" nz-button nzType="dashed" class="add-btn"
(click)="addWrongWord()">
<i nz-icon nzType="plus-circle" nzTheme="outline"></i>
增加单词
添加<span style="color: #ff0000;">错误</span>的字母
</button>
</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>
......@@ -2,7 +2,6 @@ import { Component, EventEmitter, Input, OnDestroy, OnChanges, OnInit, Output, A
import { JsonPipe } from '@angular/common';
@Component({
selector: 'app-form',
templateUrl: './form.component.html',
......@@ -11,47 +10,47 @@ import { JsonPipe } from '@angular/common';
export class FormComponent implements OnInit, OnChanges, OnDestroy {
// 储存数据用
saveKey = "tyzdc_001";
saveKey = "choose_cake";
// 储存对象
item;
rightWordList = [];
wrongWordList = [];
constructor(private appRef: ApplicationRef, private changeDetectorRef: ChangeDetectorRef) {
}
addRound() {
this.item.roundList.push({
audio: '',
questionList: []
});
addRightWord() {
this.item.rightWordList.push('');
this.loadWordList();
this.save();
}
removeRound(roundIdx) {
this.item.roundList.splice(roundIdx, 1);
removeRightWord(idx) {
this.item.rightWordList.splice(idx, 1);
this.loadWordList();
this.save();
}
addQuestion(roundIdx) {
this.item.roundList[roundIdx].questionList.push({
rightAudio: '',
rightWord: '',
wrongWordList: ['', ''],
wrongAudioList: ['', '']
})
addWrongWord() {
this.item.wrongWordList.push('');
this.loadWordList();
this.save();
}
removeQuestion(roundIdx, questionIdx) {
this.item.roundList[roundIdx].questionList.splice(questionIdx, 1);
removeWrongWord(idx) {
this.item.wrongWordList.splice(idx, 1);
this.loadWordList();
this.save();
}
ngOnInit() {
// this.item = {};
this.item = {
roundList: []
audio: '',
rightWordList: [],
wrongWordList: []
};
// 获取存储的数据
......@@ -61,17 +60,38 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
this.item = data;
}
this.loadWordList();
this.init();
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
this.refresh();
}, 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() {
}
......@@ -100,23 +120,8 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
* 储存音频数据
* @param e
*/
onAudioUploadSuccess(e, key) {
this.item[key] = 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;
onAudioUploadSuccess(e) {
this.item.audio = e.url;
this.save();
}
......@@ -137,5 +142,4 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
}, 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({
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;
// }
// },
word: ''
},
// LIFE-CYCLE CALLBACKS:
// 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) {},
......
{
"ver": "1.0.8",
"uuid": "94a7b9b9-6939-44a7-85cf-15336952b997",
"uuid": "d3f9b657-2be4-431e-be60-9513c14d1e83",
"isPlugin": false,
"loadPluginInWeb": 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",
"uuid": "ec03214c-4419-4127-8e8f-39df8d2c3146",
"uuid": "f93248fa-db14-4916-ad05-b3521a3499ba",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
......
......@@ -13,7 +13,7 @@
},
{
"__type__": "cc.Node",
"_name": "TmpPreFab",
"_name": "NodeStar",
"_objFlags": 0,
"_parent": null,
"_children": [],
......@@ -36,8 +36,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 172,
"height": 161
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -74,13 +74,35 @@
"_id": ""
},
{
"__type__": "94a7bm5aTlEp4XPFTNpUrmX",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_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": ""
},
{
......@@ -89,9 +111,9 @@
"__id__": 1
},
"asset": {
"__uuid__": "ec03214c-4419-4127-8e8f-39df8d2c3146"
"__id__": 0
},
"fileId": "17t3fETWZIALDkDA1OlUg9",
"fileId": "3brlLxIhJLcpwIWaEeQ3d+",
"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
{
"ver": "1.2.7",
"uuid": "57ea7c61-9b8b-498a-b024-c98ee9124beb",
"uuid": "593bde28-c094-4198-abe7-126ebfd5509b",
"asyncLoadAssets": false,
"autoReleaseAssets": true,
"subMetas": {}
......
This diff is collapsed.
{
"ver": "1.0.8",
"uuid": "b94c98f7-9fd1-4e2e-93ab-63fb884898a4",
"uuid": "2692af73-3bb3-44c3-8597-04d92adc6663",
"isPlugin": false,
"loadPluginInWeb": 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({
default: null,
type: cc.AudioClip
},
星星: {
: {
default: null,
type: cc.AudioClip
},
爆炸: {
default: null,
type: cc.AudioClip
},
眩晕: {
星星: {
default: null,
type: cc.AudioClip
},
: {
正确: {
default: null,
type: cc.AudioClip
},
移动: {
落地: {
default: null,
type: cc.AudioClip
},
结束: {
错误: {
default: null,
type: cc.AudioClip
},
点击: {
: {
default: null,
type: cc.AudioClip
},
......
module.exports = {
roundList: [{
audio: 'ball',
questionList: [{
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'],
}]
}],
audio: 'e.mp3',
rightWordList: ['ee', 'ea'],
wrongWordList: ['a', 'ao', 'ai']
}
......@@ -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) {
return new Promise((resolve, reject) => {
node.getComponent(dragonBones.ArmatureDisplay)
......
......@@ -26,10 +26,10 @@
"height": 1036,
"rawWidth": 1280,
"rawHeight": 1036,
"borderTop": 0,
"borderTop": 141,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"borderLeft": 387,
"borderRight": 462,
"subMetas": {}
}
}
......
......@@ -28,8 +28,8 @@
"rawHeight": 656,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"borderLeft": 455,
"borderRight": 425,
"subMetas": {}
}
}
......
{
"title": "play",
"packageName": "org.cocos2d.demo",
"startScene": "57ea7c61-9b8b-498a-b024-c98ee9124beb",
"startScene": "593bde28-c094-4198-abe7-126ebfd5509b",
"excludeScenes": [],
"includeSDKBox": false,
"orientation": {
......@@ -11,7 +11,7 @@
"upsideDown": false
},
"webOrientation": "auto",
"inlineSpriteFrames": true,
"inlineSpriteFrames": false,
"inlineSpriteFrames_native": true,
"mainCompressionType": "default",
"mainIsRemote": false,
......
......@@ -31,5 +31,6 @@
"live": {
"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