Commit 82ad6a40 authored by 范雪寒's avatar 范雪寒

feat: app端

parent a70e61d2
No preview for this file type
...@@ -4,4 +4,7 @@ ...@@ -4,4 +4,7 @@
/publish/node_modules /publish/node_modules
/publish/publish/play /publish/publish/play
/publish/publish/form /publish/publish/form
/publish/publish/android
/publish/publish/ios
/publish/publish/*.zip /publish/publish/*.zip
/node_modules
\ No newline at end of file
...@@ -128,5 +128,8 @@ ...@@ -128,5 +128,8 @@
} }
} }
}, },
"defaultProject": "ng-template-generator" "defaultProject": "ng-template-generator",
} "cli": {
"analytics": false
}
}
\ No newline at end of file
This diff is collapsed.
...@@ -55,4 +55,4 @@ ...@@ -55,4 +55,4 @@
"tslint": "~5.18.0", "tslint": "~5.18.0",
"typescript": "~3.7.5" "typescript": "~3.7.5"
} }
} }
\ No newline at end of file
<div class="model-content"> <div class="model-content, border">
<div *ngFor="let question of item.questionList; let i = index">
<div style="padding: 10px;"> <div class="border">
<button style="color: red; width: 50px; float: right;" nz-button nzType="dashed" class="add-btn"
<div style="width: 300px;" align='center'> (click)="removeQuestion(i)">
<span>图1: </span> X
<app-upload-image-with-preview </button>
[picUrl]="item.pic_url" <span style="height: 30px; font-size: 18px;">第{{i+1}}题:</span>
(imageUploaded)="onImageUploadSuccess($event, 'pic_url')"> <br>
</app-upload-image-with-preview> <span style="height: 30px; font-size: 18px;">问题音频:</span>
<app-audio-recorder [audioUrl]="question.questionAudio" (audioUploaded)="onQuestionAuidoUploadSuccess($event, i)">
</app-audio-recorder>
<br>
<span style="height: 30px; font-size: 18px; float: left;">候选答案:</span>
<br><br>
<div *ngFor="let answer of question.answerList; let j = index">
<div class="border" style="width: 280px; float: left;">
<button style="color: red; width: 50px; float: right;" nz-button nzType="dashed" class="add-btn"
(click)="removeAnswer(i, j)">
X
</button>
<br>
<nz-radio-group style="margin-left: 30px; margin-bottom: 10px;" [ngModel]="answer.answerType"
(ngModelChange)="radioChange($event, i, j)">
<span nz-radio nzValue="img" style="height: 30px; font-size: 18px;">图片</span>
<span nz-radio nzValue="txt" style="height: 30px; font-size: 18px;">文本</span>
</nz-radio-group>
<div *ngIf="answer.answerType=='img'" style="width: 200px;">
<app-upload-image-with-preview [picUrl]="answer.answerImg"
(imageUploaded)="onAnswerImageUploadSuccess($event, i, j)">
</app-upload-image-with-preview>
</div>
<div *ngIf="answer.answerType=='txt'">
<input type="text" style="width: 200px;" nz-input [(ngModel)]="answer.answerTxt"
(blur)="save()">
</div>
<br>
<button *ngIf="answer.rightAnswer"
style="color: green; border-color: green; font-size: 18px; width: 90px; height: 50px;" nz-button
nzType="dashed">
&nbsp;
</button>
<button *ngIf="!answer.rightAnswer" style="font-size: 18px; width: 90px; height: 50px;" nz-button
nzType="dashed" (click)="setAnswerRight(i, j, true)">
&nbsp;
</button>
<button *ngIf="!answer.rightAnswer"
style="color: red; border-color: red; font-size: 18px; width: 90px; height: 50px; margin-left: 20px;"
nz-button nzType="dashed">
&nbsp;
</button>
<button *ngIf="answer.rightAnswer" style="font-size: 18px; width: 90px; height: 50px; margin-left: 20px;"
nz-button nzType="dashed" (click)="setAnswerRight(i, j, false)">
&nbsp;
</button>
<br>
<div *ngIf="answer.rightAnswer">
<span style="height: 30px; font-size: 18px;">音频:</span>
<app-audio-recorder [audioUrl]="answer.answerAudio" (audioUploaded)="onAnswerAuidoUploadSuccess($event, i, j)">
</app-audio-recorder>
</div>
</div>
</div>
<button style="width: 280px; height: 200px; float: left; margin: 20px;" nz-button nzType="dashed" class="add-btn"
(click)="addAnswer(i)">
Add Answer
</button>
<div style="clear:both;">&nbsp;</div>
</div> </div>
<div style="width: 300px; margin-top: 5px;" align='center'>
<span>图2: </span>
<app-upload-image-with-preview
[picUrl]="item.pic_url_2"
(imageUploaded)="onImageUploadSuccess($event, 'pic_url_2')">
</app-upload-image-with-preview>
</div>
<div style="width: 300px; margin-top: 15px;">
<span>文本: </span>
<input type="text" nz-input [(ngModel)]="item.text" (blur)="save()">
</div>
<div style="margin-top: 5px">
<span>音频: </span>
<app-audio-recorder
[audioUrl]="item.audio_url"
(audioUploaded)="onAudioUploadSuccess($event, 'audio_url')"
></app-audio-recorder>
</div>
</div> </div>
<button style="width: 100%; height: 100px; align-self: center;" nz-button nzType="dashed" class="add-btn" (click)="addQuestion()">
</div> Add
</button>
</div>
\ No newline at end of file
...@@ -10,7 +10,7 @@ import { JsonPipe } from '@angular/common'; ...@@ -10,7 +10,7 @@ import { JsonPipe } from '@angular/common';
export class FormComponent implements OnInit, OnChanges, OnDestroy { export class FormComponent implements OnInit, OnChanges, OnDestroy {
// 储存数据用 // 储存数据用
saveKey = "test_001"; saveKey = "dfzx_cocos_dqq";
// 储存对象 // 储存对象
item; item;
...@@ -18,24 +18,73 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -18,24 +18,73 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
} }
createShell() { addQuestion() {
this.item.wordList.push({ this.item.questionList.push({
word: '', questionAudio: '',
audio: '', speedLevel: 1,
backWord: '', rigthNumber: 5,
backWordAudio: '', answerList: []
}); });
this.save(); this.save();
} }
removeShell(idx) { removeQuestion(idx) {
this.item.wordList.splice(idx, 1); this.item.questionList.splice(idx, 1);
console.log('汪汪汪');
this.save();
}
addAnswer(idx) {
this.item.questionList[idx].answerList.push({
answerAudio: '',
answerTxt: '',
answerImg: '',
answerType: 'img',
rightAnswer: false
});
this.save();
}
removeAnswer(questionIdx, answerIdx) {
this.item.questionList[questionIdx].answerList.splice(answerIdx, 1);
this.save();
}
onAnswerAuidoUploadSuccess(e, questionIdx, answerIdx) {
this.item.questionList[questionIdx].answerList[answerIdx].answerAudio = e.url;
this.save();
}
onAnswerImageUploadSuccess(e, questionIdx, answerIdx) {
this.item.questionList[questionIdx].answerList[answerIdx].answerImg = e.url;
this.save();
}
removeAnswerImage(questionIdx, answerIdx) {
this.item.questionList[questionIdx].answerList[answerIdx].answerImg = '';
this.save();
}
setAnswerRight(questionIdx, answerIdx, right) {
this.item.questionList[questionIdx].answerList[answerIdx].rightAnswer = right;
this.save();
}
onQuestionAuidoUploadSuccess(e, questionIdx) {
this.item.questionList[questionIdx].questionAudio = e.url;
this.save();
}
radioChange(event, questionIdx, answerIdx) {
this.item.questionList[questionIdx].answerList[answerIdx].answerType = event;
this.save(); this.save();
} }
ngOnInit() { ngOnInit() {
this.item = {}; this.item = {
questionList: []
};
// 获取存储的数据 // 获取存储的数据
(<any>window).courseware.getData((data) => { (<any>window).courseware.getData((data) => {
...@@ -82,16 +131,6 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -82,16 +131,6 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
this.save(); this.save();
} }
onWordAudioUploadSuccess(e, idx) {
this.item.wordList[idx].audio = e.url;
this.save();
}
onBackWordAudioUploadSuccess(e, idx) {
this.item.wordList[idx].backWordAudio = e.url;
this.save();
}
/** /**
* 储存数据 * 储存数据
*/ */
...@@ -99,6 +138,8 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -99,6 +138,8 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
(<any>window).courseware.setData(this.item, null, this.saveKey); (<any>window).courseware.setData(this.item, null, this.saveKey);
this.refresh(); this.refresh();
this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges();
console.log('this.item = ' + JSON.stringify(this.item)); console.log('this.item = ' + JSON.stringify(this.item));
} }
......
{
"ver": "1.1.2",
"uuid": "305a01e0-2f17-4d9c-8344-4f7afa20af53",
"isBundle": true,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": true,
"android": true
},
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "cb9fa4ea-66ca-45af-ad31-e445c7b0ef32", "uuid": "dcdd29cc-cf8a-44d0-a649-9fc6fed9b5cd",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
{
"ver": "2.0.1",
"uuid": "f48aa8fc-dd6e-49ad-8b72-40bf901d9a67",
"downloadMode": 0,
"duration": 0.971833,
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "2.0.1", "ver": "2.0.1",
"uuid": "f0680ae0-c079-45ef-abd7-9e63d90b982b", "uuid": "0181b1e4-8035-4088-be16-cf6e2ef9496e",
"downloadMode": 0, "downloadMode": 0,
"duration": 0.130612, "duration": 0.130612,
"subMetas": {} "subMetas": {}
......
{
"ver": "2.0.1",
"uuid": "f09f60df-1444-493d-b370-1e0aade49adc",
"downloadMode": 0,
"duration": 4.04898,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "174b36d7-c27d-406a-a644-0cb3f9a88361",
"downloadMode": 0,
"duration": 0.548571,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "fdbbed58-de4a-4cc4-bb3f-6545af8ce922",
"downloadMode": 0,
"duration": 0.600816,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "cdbd6195-cae1-4059-92a9-c0e4125f780c",
"downloadMode": 0,
"duration": 2.115917,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "75ad4844-8b58-4bc3-ba71-96c7382a0466",
"downloadMode": 0,
"duration": 1.102625,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "688eefd5-14a6-42fe-8b27-f71c35999544",
"downloadMode": 0,
"duration": 1.776327,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "45d91d76-ca0d-47fd-8a67-6f51f198b7bc",
"downloadMode": 0,
"duration": 0.264,
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "0853721c-3f55-4eb2-873d-e3081cfadd4b", "uuid": "40c8d2a5-e0e9-4200-8c83-1d51ef8cb2e0",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
{
"__type__": "cc.AnimationClip",
"_name": "blink",
"_objFlags": 0,
"_native": "",
"_duration": 0.35,
"sample": 60,
"speed": 1,
"wrapMode": 2,
"curveData": {
"comps": {
"cc.Sprite": {
"spriteFrame": [
{
"frame": 0,
"value": {
"__uuid__": "077c7919-e017-49f8-8d8e-d028510282a7"
}
},
{
"frame": 0.08333333333333333,
"value": {
"__uuid__": "c21281bb-ff67-4cc1-95b7-674562361465"
}
},
{
"frame": 0.16666666666666666,
"value": {
"__uuid__": "f3d6086d-4af6-4ebd-9ca0-26bf51e72185"
}
},
{
"frame": 0.25,
"value": {
"__uuid__": "d0d8b389-ff17-4d17-8a46-96af5cece161"
}
},
{
"frame": 0.3333333333333333,
"value": {
"__uuid__": "077c7919-e017-49f8-8d8e-d028510282a7"
}
}
]
}
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.0",
"uuid": "83aaaa03-e0c9-43ce-881c-55ee6ffcae0f",
"subMetas": {}
}
\ No newline at end of file
{"name":"right","version":"5.5","armature":[{"name":"Armature","defaultActions":[{"gotoAndPlay":"newAnimation"}],"bone":[{"name":"root","transform":{}},{"name":"1","transform":{"x":0.5052,"y":-0.1067},"parent":"root"},{"name":"十字架","transform":{"x":0.9,"skY":90,"y":-14.4,"skX":90},"parent":"root"},{"name":"盾","transform":{"x":0.6,"skY":-90.2848,"y":-0.9,"skX":-90.2848},"length":60,"parent":"root"},{"name":"星4","transform":{"x":-89.75,"y":-67.25},"parent":"root"},{"name":"星2","transform":{"x":56.45,"skY":90,"y":-88.55,"skX":90},"parent":"root"},{"name":"星3","transform":{"x":86.8,"y":48.35},"parent":"root"},{"name":"星1","transform":{"x":-45.6,"skY":45,"y":41.45,"skX":45},"parent":"root"}],"aabb":{"x":-194,"height":294,"y":-128.60037857684097,"width":384},"ik":[],"slot":[{"name":"1","color":{},"displayIndex":5,"parent":"1"},{"name":"盾","color":{},"z":1,"parent":"盾"},{"name":"十字架","color":{},"z":2,"parent":"十字架"},{"name":"星4","color":{},"z":3,"parent":"星4"},{"name":"星3","color":{},"z":4,"parent":"星3"},{"name":"星2","color":{},"z":5,"parent":"星2"},{"name":"星1","color":{},"z":6,"parent":"星1"}],"skin":[{"name":"","slot":[{"name":"星2","display":[{"name":"1/星2","transform":{"x":-0.45,"skY":-90,"y":-2.05,"skX":-90},"type":"image","path":"1/星2"}]},{"name":"1","display":[{"name":"1/1","transform":{"x":-1.0052,"y":-18.9937},"type":"image","path":"1/1"},{"name":"1/2","transform":{"x":5.4948,"y":-18.4937},"type":"image","path":"1/2"},{"name":"1/3","transform":{"x":-0.5052,"y":-15.4937},"type":"image","path":"1/3"},{"name":"1/4","transform":{"x":-3.5052,"y":-7.9937},"type":"image","path":"1/4"},{"name":"1/5","transform":{"x":-2.0052,"y":-3.9937},"type":"image","path":"1/5"},{"name":"1/6","transform":{"x":-2.5052,"y":18.5063},"type":"image","path":"1/6"}]},{"name":"盾","display":[{"name":"1/盾","transform":{"x":9.088,"skY":90.2848,"y":2.4452,"skX":90.2848},"type":"image","path":"1/盾"}]},{"name":"星1","display":[{"name":"1/星1","transform":{"x":0.1061,"skY":-45,"y":-2.1567,"skX":-45},"type":"image","path":"1/星1"}]},{"name":"十字架","display":[{"name":"1/十字架","transform":{"x":-0.1,"skY":-90,"y":-1.6,"skX":-90},"type":"image","path":"1/十字架"}]},{"name":"星4","display":[{"name":"1/星4","transform":{"x":1.75,"y":-0.75},"type":"image","path":"1/星4"}]},{"name":"星3","display":[{"name":"1/星3","transform":{"x":2.2,"y":-0.85},"type":"image","path":"1/星3"}]}]}],"frameRate":24,"type":"Armature","animation":[{"name":"newAnimation","frame":[],"bone":[{"name":"root","rotateFrame":[],"translateFrame":[],"scaleFrame":[]},{"name":"1","rotateFrame":[],"translateFrame":[{"duration":5},{"tweenEasing":0,"duration":5},{"y":48.6907,"duration":8}],"scaleFrame":[{"duration":5},{"tweenEasing":0,"duration":5},{"x":0.85,"y":0.9,"duration":8}]},{"name":"十字架","rotateFrame":[],"translateFrame":[],"scaleFrame":[{"duration":7},{"tweenEasing":0,"x":1.7,"y":1.7,"duration":3},{"duration":8}]},{"name":"盾","rotateFrame":[],"translateFrame":[],"scaleFrame":[{"duration":4},{"tweenEasing":0,"x":2.33,"y":2.33,"duration":4},{"duration":10}]},{"name":"星4","rotateFrame":[{"duration":8},{"duration":3,"tweenEasing":0},{"duration":7,"rotate":78.8649}],"translateFrame":[{"duration":8},{"tweenEasing":0,"x":46.0909,"y":26.7655,"duration":3},{"x":8.8272,"y":-5.6116,"duration":7}],"scaleFrame":[{"duration":8},{"tweenEasing":0,"x":0.55,"y":0.55,"duration":3},{"duration":7}]},{"name":"星2","rotateFrame":[{"duration":8},{"duration":3,"tweenEasing":0},{"duration":7,"rotate":-264.8158}],"translateFrame":[{"duration":8},{"tweenEasing":0,"x":-13.2109,"y":35.1361,"duration":3},{"x":29.3149,"y":10.1086,"duration":7}],"scaleFrame":[]},{"name":"星3","rotateFrame":[{"duration":8},{"duration":3,"tweenEasing":0},{"duration":7,"rotate":-99.3708}],"translateFrame":[{"duration":8},{"tweenEasing":0,"x":-56.2596,"y":-29.4195,"duration":3},{"x":-14.0823,"y":-7.1109,"duration":7}],"scaleFrame":[]},{"name":"星1","rotateFrame":[{"duration":8},{"duration":3,"tweenEasing":0},{"duration":7,"rotate":-84.1009}],"translateFrame":[{"duration":8},{"tweenEasing":0,"x":19.1715,"y":-13.9429,"duration":3},{"x":-11.224,"y":12.5835,"duration":7}],"scaleFrame":[]}],"playTimes":0,"ffd":[],"ik":[],"slot":[{"name":"1","displayFrame":[{"duration":1},{"duration":1,"value":1},{"duration":1,"value":2},{"duration":1,"value":3},{"duration":1,"value":4},{"duration":13,"value":5}],"colorFrame":[{"duration":5},{"duration":1,"tweenEasing":0},{"duration":4,"tweenEasing":0},{"duration":8,"color":{"aM":0}}]},{"name":"盾","displayFrame":[{"duration":4,"value":-1},{"duration":14}],"colorFrame":[{"duration":4},{"duration":4,"color":{"aM":13},"tweenEasing":0},{"duration":8,"tweenEasing":0},{"duration":2,"color":{"aM":0}}]},{"name":"十字架","displayFrame":[{"duration":7,"value":-1},{"duration":3},{"duration":8}],"colorFrame":[{"duration":7},{"duration":3,"color":{"aM":35},"tweenEasing":0},{"duration":6,"tweenEasing":0},{"duration":2,"color":{"aM":0}}]},{"name":"星4","displayFrame":[{"duration":8,"value":-1},{"duration":10}],"colorFrame":[{"duration":8},{"duration":3,"color":{"aM":28},"tweenEasing":0},{"duration":7,"tweenEasing":0},{"duration":0,"color":{"aM":0}}]},{"name":"星3","displayFrame":[{"duration":8,"value":-1},{"duration":10}],"colorFrame":[{"duration":8},{"duration":3,"color":{"aM":26},"tweenEasing":0},{"duration":7,"tweenEasing":0},{"duration":0,"color":{"aM":0}}]},{"name":"星2","displayFrame":[{"duration":8,"value":-1},{"duration":10}],"colorFrame":[{"duration":8},{"duration":3,"color":{"aM":18},"tweenEasing":0},{"duration":7,"tweenEasing":0},{"duration":0,"color":{"aM":0}}]},{"name":"星1","displayFrame":[{"duration":8,"value":-1},{"duration":10}],"colorFrame":[{"duration":8},{"duration":3,"color":{"aM":28},"tweenEasing":0},{"duration":7,"tweenEasing":0},{"duration":0,"color":{"aM":0}}]}],"duration":18}]}],"frameRate":24,"isGlobal":0}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "f00ffee5-b8a0-43c3-9e12-2a460784cf96",
"subMetas": {}
}
\ No newline at end of file
{"name":"right","imagePath":"right_tex.png","SubTexture":[{"name":"1/5","x":405,"height":291,"y":1,"width":399},{"name":"1/2","x":387,"height":282,"y":583,"width":364},{"name":"1/1","x":1,"height":233,"y":601,"width":301},{"name":"1/3","x":1,"height":302,"y":1,"width":402},{"name":"1/6","x":1,"height":294,"y":305,"width":384},{"name":"1/4","x":405,"height":287,"y":294,"width":396},{"name":"1/盾","x":1,"height":126,"y":836,"width":126},{"name":"1/十字架","x":304,"height":79,"y":601,"width":79},{"name":"1/星4","x":304,"height":48,"y":682,"width":48},{"name":"1/星3","x":304,"height":39,"y":778,"width":40},{"name":"1/星2","x":304,"height":44,"y":732,"width":45},{"name":"1/星1","x":346,"height":34,"y":778,"width":36}],"height":1024,"width":1024}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "2e77da60-7917-4a9a-a12b-04361666f448",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "6d153e22-f912-4cdd-87e9-7710c982ba3a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1024,
"height": 1024,
"platformSettings": {},
"subMetas": {
"right_tex": {
"ver": "1.0.4",
"uuid": "0ded7aed-dcd3-46ad-a8dc-e82ea5f49780",
"rawTextureUuid": "6d153e22-f912-4cdd-87e9-7710c982ba3a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -109.5,
"offsetY": 30.5,
"trimX": 1,
"trimY": 1,
"width": 803,
"height": 961,
"rawWidth": 1024,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "20185448-a1ca-4de2-8b37-7bf6cdfccbae", "uuid": "1ffd43c5-1545-473c-8dc5-cc0e8f8fb935",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
{ {
"ver": "1.1.0", "ver": "1.1.0",
"uuid": "c551970e-b095-45f3-9f1d-25cde8b8deb1", "uuid": "68b79335-9901-4157-b5ae-be5a6745b1ad",
"subMetas": {} "subMetas": {}
} }
\ No newline at end of file
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "c35bb2f6-f24a-4850-ae44-643f2fdc7541", "uuid": "2f84b813-8106-4fb7-8526-1e0e3d5cc343",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
This diff is collapsed.
{ {
"ver": "1.2.9", "ver": "1.2.9",
"uuid": "57ea7c61-9b8b-498a-b024-c98ee9124beb", "uuid": "7d7fd49c-0439-4279-aa39-173d3404efdb",
"asyncLoadAssets": false, "asyncLoadAssets": false,
"autoReleaseAssets": true, "autoReleaseAssets": true,
"subMetas": {} "subMetas": {}
......
This diff is collapsed.
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "f4ede462-f8d7-4069-ba80-915611c058ca", "uuid": "4225e016-960f-4845-8c07-02d4b7f4d9c4",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "b0c008bc-cf92-463b-8360-0984e13c2e4d", "uuid": "6053a808-56fe-49ba-a794-df945959e686",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
export const defaultData = {
"questionList": [{
"questionAudio": "http://staging-teach.cdn.ireadabc.com/b44fa51172b19b555fda30717c773027.mp3",
"speedLevel": 1,
"rigthNumber": 5,
"answerList": [{
"answerAudio": "http://staging-teach.cdn.ireadabc.com/b44fa51172b19b555fda30717c773027.mp3",
"answerTxt": "cat",
"answerImg": "",
"answerType": "txt",
"rightAnswer": true
},
{
"answerAudio": "",
"answerTxt": "cettttttttttttttttt",
"answerImg": "",
"answerType": "txt",
"rightAnswer": false
},
{
"answerAudio": "http://staging-teach.cdn.ireadabc.com/b44fa51172b19b555fda30717c773027.mp3",
"answerTxt": "",
"answerImg": "http://staging-teach.cdn.ireadabc.com/8c6fef67a0095c2564e8df4b536fc540.png",
"answerType": "img",
"rightAnswer": true
},
{
"answerAudio": "",
"answerTxt": "cot",
"answerImg": "",
"answerType": "txt",
"rightAnswer": false
},
{
"answerAudio": "",
"answerTxt": "",
"answerImg": "http://staging-teach.cdn.ireadabc.com/3dc45b8d1403a1eae524ac5a48e5d673.png",
"answerType": "img",
"rightAnswer": false
}]
},
{
"questionAudio": "http://staging-teach.cdn.ireadabc.com/a6a5c388c636bc6d063946e91b4bd21a.mp3",
"speedLevel": 1,
"rigthNumber": 5,
"answerList": [{
"answerAudio": "http://staging-teach.cdn.ireadabc.com/a6a5c388c636bc6d063946e91b4bd21a.mp3",
"answerTxt": "egg",
"answerImg": "",
"answerType": "txt",
"rightAnswer": true
},
{
"answerAudio": "http://staging-teach.cdn.ireadabc.com/a6a5c388c636bc6d063946e91b4bd21a.mp3",
"answerTxt": "",
"answerImg": "http://staging-teach.cdn.ireadabc.com/7b315ba7227294d63933cd659d5372fb.png",
"answerType": "img",
"rightAnswer": true
},
{
"answerAudio": "",
"answerTxt": "agg",
"answerImg": "",
"answerType": "txt",
"rightAnswer": false
},
{
"answerAudio": "",
"answerTxt": "",
"answerImg": "http://staging-teach.cdn.ireadabc.com/8c6fef67a0095c2564e8df4b536fc540.png",
"answerType": "img",
"rightAnswer": false
}]
}]
}
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "e532586c-681c-4192-9cc0-98ca9959a29f",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
...@@ -46,6 +46,10 @@ export function exchangeNodePos(baseNode, targetNode) { ...@@ -46,6 +46,10 @@ export function exchangeNodePos(baseNode, targetNode) {
return baseNode.convertToNodeSpaceAR(targetNode._parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y))); return baseNode.convertToNodeSpaceAR(targetNode._parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y)));
} }
export function Between(a, b, c) {
return [a, b, c].sort()[1];
}
export function RandomInt(a, b = 0) { export function RandomInt(a, b = 0) {
let max = Math.max(a, b); let max = Math.max(a, b);
let min = Math.min(a, b); let min = Math.min(a, b);
...@@ -71,64 +75,91 @@ export function setSprNodeMaxLen(sprNode, maxW, maxH) { ...@@ -71,64 +75,91 @@ export function setSprNodeMaxLen(sprNode, maxW, maxH) {
} }
export function localPosTolocalPos(baseNode, targetNode) { export function localPosTolocalPos(baseNode, targetNode) {
const worldPos = targetNode.parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y)); const worldPos = targetNode.parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y));
const localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y)); const localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y));
return localPos; return localPos;
} }
export function worldPosToLocalPos(worldPos, baseNode) { export function worldPosToLocalPos(worldPos, baseNode) {
const localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y)); const localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y));
return localPos; return localPos;
} }
export function getScaleRateBy2Node(baseNode, targetNode, maxFlag = true) { export function getScaleRateBy2Node(baseNode, targetNode, maxFlag = true) {
const worldRect1 = targetNode.getBoundingBoxToWorld(); const worldRect1 = targetNode.getBoundingBoxToWorld();
const worldRect2 = baseNode.getBoundingBoxToWorld(); const worldRect2 = baseNode.getBoundingBoxToWorld();
const sx = worldRect1.width / worldRect2.width; const sx = worldRect1.width / worldRect2.width;
const sy = worldRect1.height / worldRect2.height; const sy = worldRect1.height / worldRect2.height;
if (maxFlag) { if (maxFlag) {
return Math.max(sx, sy); return Math.max(sx, sy);
} else { } else {
return Math.min(sx, sy); return Math.min(sx, sy);
} }
} }
export function getDistance (start, end){ export function getDistance(start, end) {
var pos = cc.v2(start.x - end.x, start.y - end.y); var pos = cc.v2(start.x - end.x, start.y - end.y);
var dis = Math.sqrt(pos.x*pos.x + pos.y*pos.y); var dis = Math.sqrt(pos.x * pos.x + pos.y * pos.y);
return dis; return dis;
} }
export function playAudioByUrl(audio_url, cb=null) { export function playAudioByUrl(audio_url, cb = null) {
if (audio_url) { if (audio_url) {
cc.assetManager.loadRemote(audio_url, (err, audioClip) => { cc.assetManager.loadRemote(audio_url, (err, audioClip) => {
const audioId = cc.audioEngine.play(audioClip, false, 0.8); const audioId = cc.audioEngine.play(audioClip, false, 0.8);
if (cb) { cc.audioEngine.setFinishCallback(audioId, () => {
cc.audioEngine.setFinishCallback(audioId, () => { if (cb && typeof cb == 'function') {
cb(); cb();
}); }
});
});
} else {
if (cb && typeof cb == 'function') {
cb();
}
}
}
export function playAudioByUrlSync(audio_url) {
return new Promise((resolve, reject) => {
try {
if (!audio_url) {
resolve();
return;
} }
}); cc.assetManager.loadRemote(audio_url, (err, audioClip) => {
} if (err) {
reject(err);
return;
}
const audioId = cc.audioEngine.play(audioClip, false, 0.8);
cc.audioEngine.setFinishCallback(audioId, () => {
resolve();
});
});
} catch (e) {
reject(e);
}
});
} }
export function btnClickAnima(btn, time=0.15, rate=1.05) { export function btnClickAnima(btn, time = 0.15, rate = 1.05) {
btn.tmpScale = btn.scale; btn.tmpScale = btn.scale;
btn.on(cc.Node.EventType.TOUCH_START, () => { btn.on(cc.Node.EventType.TOUCH_START, () => {
cc.tween(btn) cc.tween(btn)
.to(time / 2, {scale: btn.scale * rate}) .to(time / 2, { scale: btn.scale * rate })
.start() .start()
}) })
btn.on(cc.Node.EventType.TOUCH_CANCEL, () => { btn.on(cc.Node.EventType.TOUCH_CANCEL, () => {
cc.tween(btn) cc.tween(btn)
.to(time / 2, {scale: btn.tmpScale}) .to(time / 2, { scale: btn.tmpScale })
.start() .start()
}) })
btn.on(cc.Node.EventType.TOUCH_END, () => { btn.on(cc.Node.EventType.TOUCH_END, () => {
cc.tween(btn) cc.tween(btn)
.to(time / 2, {scale: btn.tmpScale}) .to(time / 2, { scale: btn.tmpScale })
.start() .start()
}) })
} }
...@@ -231,6 +262,7 @@ export async function showFireworks(fireworkSettings) { ...@@ -231,6 +262,7 @@ export async function showFireworks(fireworkSettings) {
rabbonNode.x = pos.x; rabbonNode.x = pos.x;
rabbonNode.y = pos.y; rabbonNode.y = pos.y;
rabbonNode.angle = 60 * Math.random() - 30; rabbonNode.angle = 60 * Math.random() - 30;
rabbonNode.zIndex = 1;
let node = cc.instantiate(nodeList[RandomInt(nodeList.length)]); let node = cc.instantiate(nodeList[RandomInt(nodeList.length)]);
node.parent = rabbonNode; node.parent = rabbonNode;
...@@ -348,6 +380,50 @@ export function onHomeworkFinish() { ...@@ -348,6 +380,50 @@ export function onHomeworkFinish() {
if (middleLayerComponent.role == 'student') { if (middleLayerComponent.role == 'student') {
middleLayerComponent.onHomeworkFinish(() => { }); middleLayerComponent.onHomeworkFinish(() => { });
} }
return; } else {
console.log('onHomeworkFinish');
}
}
export async function jelly(node, offset = 0.1) {
let sideX = 1;
if (node.scaleX < 0) {
sideX = -1;
} }
let sideY = 1;
if (node.scaleY < 0) {
sideY = -1;
}
return new Promise((resolve, reject) => {
try {
cc.tween(node)
.to(0.1, { scaleX: (1 - offset) * sideX, scaleY: (1 + offset) * sideY })
.to(0.1, { scaleX: (1 + offset) * sideX, scaleY: (1 - offset) * sideY })
.to(0.1, { scaleX: 1 * sideX, scaleY: 1 * sideY })
.call(resolve)
.start();
} catch (e) {
reject(e);
}
});
}
export function addBtnListener(node, cb, beforeJelly = null) {
const button = node.getComponent(cc.Button);
if (!button) {
node.addComponent(cc.Button);
}
node.on('click', async () => {
if (node.canNotClick) {
return;
}
node.canNotClick = true;
if (beforeJelly) {
beforeJelly();
}
await jelly(node);
await cb();
node.canNotClick = false;
});
} }
\ No newline at end of file
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "ade7af40-d56d-4087-bbc6-2888fef55353", "uuid": "78ada2a2-d787-4406-9436-760cb3fb4c04",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "8ba21262-178f-4fa5-afc9-2c1dd50ba3ab", "uuid": "948d80e8-2dab-4838-8434-f5d58c671c41",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "e1b4d971-9876-4832-803a-5a321964a78b", "uuid": "99ce2009-0728-47e8-94eb-2273d0f13d35",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
...@@ -11,10 +11,10 @@ ...@@ -11,10 +11,10 @@
"height": 720, "height": 720,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg": { "bg_bg": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "8288e3d4-4c75-4b27-8f01-f7014417f4dd", "uuid": "f9d9d756-d838-4d31-aba3-46e5ffc6e9b8",
"rawTextureUuid": "e1b4d971-9876-4832-803a-5a321964a78b", "rawTextureUuid": "99ce2009-0728-47e8-94eb-2273d0f13d35",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
......
{
"ver": "2.3.5",
"uuid": "c7b0492e-dd0d-4223-86a8-0293e459aa67",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 238,
"height": 238,
"platformSettings": {},
"subMetas": {
"bg_bottle": {
"ver": "1.0.4",
"uuid": "46a0ad96-7c37-485a-bd82-ab24c93c70a2",
"rawTextureUuid": "c7b0492e-dd0d-4223-86a8-0293e459aa67",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": 22.5,
"trimX": 47,
"trimY": 1,
"width": 145,
"height": 191,
"rawWidth": 238,
"rawHeight": 238,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "efa5fa09-a4dd-4bfc-ab7e-17c19f85408f", "uuid": "e9364737-c950-45ff-ac8e-e377931d2371",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 366, "width": 308,
"height": 336, "height": 171,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"1orange": { "bg_dizuo": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "43d1e79d-6de8-4dcb-b8ce-d767df7913aa", "uuid": "277770e3-f699-4696-b880-c8012c69eaf2",
"rawTextureUuid": "efa5fa09-a4dd-4bfc-ab7e-17c19f85408f", "rawTextureUuid": "e9364737-c950-45ff-ac8e-e377931d2371",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": -0.5, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 1, "trimY": 0,
"width": 366, "width": 308,
"height": 335, "height": 171,
"rawWidth": 366, "rawWidth": 308,
"rawHeight": 336, "rawHeight": 171,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "4adcb8b8-f7ea-4a79-a8f2-bee8b369466c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 36,
"height": 173,
"platformSettings": {},
"subMetas": {
"bg_fire": {
"ver": "1.0.4",
"uuid": "393ae96f-dcef-485f-8b6a-8e5b454cd677",
"rawTextureUuid": "4adcb8b8-f7ea-4a79-a8f2-bee8b369466c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 36,
"height": 173,
"rawWidth": 36,
"rawHeight": 173,
"borderTop": 46,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "18d07592-51a9-421e-8972-0f67b68d29e1", "uuid": "3f2796c6-3ed0-4a87-8b7e-8c9a3f22d085",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 144, "width": 361,
"height": 144, "height": 265,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"icon": { "bg_pic": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "6fbc30a8-3c49-44ae-8ba4-7f56f385b78a", "uuid": "56eaa174-9be9-4c47-bcb8-8db1a844cc8c",
"rawTextureUuid": "18d07592-51a9-421e-8972-0f67b68d29e1", "rawTextureUuid": "3f2796c6-3ed0-4a87-8b7e-8c9a3f22d085",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": -0.5, "offsetY": 0,
"trimX": 3, "trimX": 12,
"trimY": 2, "trimY": 0,
"width": 138, "width": 337,
"height": 141, "height": 265,
"rawWidth": 144, "rawWidth": 361,
"rawHeight": 144, "rawHeight": 265,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "5d12a3a4-637b-4967-8e7d-7d7608da8897",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1280,
"height": 101,
"platformSettings": {},
"subMetas": {
"bg_table": {
"ver": "1.0.4",
"uuid": "d84d33b6-b887-45d5-a2ae-67d11c2a667c",
"rawTextureUuid": "5d12a3a4-637b-4967-8e7d-7d7608da8897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1280,
"height": 101,
"rawWidth": 1280,
"rawHeight": 101,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "59ed4da8-5c8e-4211-aa83-7cfbd1f94bb0",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 238,
"height": 238,
"platformSettings": {},
"subMetas": {
"bg_water": {
"ver": "1.0.4",
"uuid": "a4a03ebc-3cd6-4904-b441-b012b4e6b71d",
"rawTextureUuid": "59ed4da8-5c8e-4211-aa83-7cfbd1f94bb0",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 1,
"offsetY": -17,
"trimX": 54,
"trimY": 86,
"width": 132,
"height": 100,
"rawWidth": 238,
"rawHeight": 238,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "c6787635-6414-4989-a33a-3dbd9494ebc2",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 361,
"height": 265,
"platformSettings": {},
"subMetas": {
"bg_word": {
"ver": "1.0.4",
"uuid": "e4116671-3caf-492e-8eeb-99b5356c14cd",
"rawTextureUuid": "c6787635-6414-4989-a33a-3dbd9494ebc2",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 51,
"width": 361,
"height": 163,
"rawWidth": 361,
"rawHeight": 265,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "9a79969a-0506-48d4-bc98-3c05d109b027", "uuid": "33c4c060-0ed8-427e-b11c-8b7e84a2226f",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 61, "width": 86,
"height": 67, "height": 92,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"btn_left": { "btn_laba": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "ce19457d-e8f3-4c38-ae3e-d4b99208ddb5", "uuid": "077c7919-e017-49f8-8d8e-d028510282a7",
"rawTextureUuid": "9a79969a-0506-48d4-bc98-3c05d109b027", "rawTextureUuid": "33c4c060-0ed8-427e-b11c-8b7e84a2226f",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 61, "width": 86,
"height": 67, "height": 92,
"rawWidth": 61, "rawWidth": 86,
"rawHeight": 67, "rawHeight": 92,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "49dde6ce-f5ad-41ca-8fad-6d5f823804d7",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 86,
"height": 92,
"platformSettings": {},
"subMetas": {
"btn_laba2": {
"ver": "1.0.4",
"uuid": "c21281bb-ff67-4cc1-95b7-674562361465",
"rawTextureUuid": "49dde6ce-f5ad-41ca-8fad-6d5f823804d7",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 86,
"height": 92,
"rawWidth": 86,
"rawHeight": 92,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "8e5e7741-f304-4092-97e2-cd60829506dc",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 86,
"height": 92,
"platformSettings": {},
"subMetas": {
"btn_laba3": {
"ver": "1.0.4",
"uuid": "f3d6086d-4af6-4ebd-9ca0-26bf51e72185",
"rawTextureUuid": "8e5e7741-f304-4092-97e2-cd60829506dc",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 86,
"height": 92,
"rawWidth": 86,
"rawHeight": 92,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "082136e2-03e1-45ec-bdd2-d50aee080cf0",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 86,
"height": 92,
"platformSettings": {},
"subMetas": {
"btn_laba4": {
"ver": "1.0.4",
"uuid": "d0d8b389-ff17-4d17-8a46-96af5cece161",
"rawTextureUuid": "082136e2-03e1-45ec-bdd2-d50aee080cf0",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 86,
"height": 92,
"rawWidth": 86,
"rawHeight": 92,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "71c66a26-5e99-473d-9a25-1081f8bc22fe",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 407,
"height": 179,
"platformSettings": {},
"subMetas": {
"btn_restart": {
"ver": "1.0.4",
"uuid": "6492780e-203a-462b-8000-5537deb9f79c",
"rawTextureUuid": "71c66a26-5e99-473d-9a25-1081f8bc22fe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 407,
"height": 179,
"rawWidth": 407,
"rawHeight": 179,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "4a0d3680-f6ef-4b6d-ac06-3bc31b5fca8e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 407,
"height": 179,
"platformSettings": {},
"subMetas": {
"btn_start": {
"ver": "1.0.4",
"uuid": "89ad9638-9dc1-4089-becb-b888dd43f062",
"rawTextureUuid": "4a0d3680-f6ef-4b6d-ac06-3bc31b5fca8e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 407,
"height": 179,
"rawWidth": 407,
"rawHeight": 179,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "2ff581d5-ec94-499c-be34-3d13be6b2bd4",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 278,
"height": 275,
"platformSettings": {},
"subMetas": {
"icon_bigstar": {
"ver": "1.0.4",
"uuid": "0e9a63a8-86de-4dd8-af76-e7ef31c6f934",
"rawTextureUuid": "2ff581d5-ec94-499c-be34-3d13be6b2bd4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 278,
"height": 275,
"rawWidth": 278,
"rawHeight": 275,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "80d71246-157a-4312-a9ed-c76f5b3fb46d",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 62,
"height": 69,
"platformSettings": {},
"subMetas": {
"icon_star": {
"ver": "1.0.4",
"uuid": "1464151d-e115-4a96-9acf-443859be76eb",
"rawTextureUuid": "80d71246-157a-4312-a9ed-c76f5b3fb46d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 62,
"height": 69,
"rawWidth": 62,
"rawHeight": 69,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "d582359e-924e-4ee9-9964-1fc4bb417e71", "uuid": "f76a3688-db48-45fa-a86c-095c48770a20",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 61, "width": 62,
"height": 67, "height": 69,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"btn_right": { "icon_stardi": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "e5a2dbaa-a677-4a32-90d7-a1b057d7fb59", "uuid": "0dc4b200-267c-4b62-84b2-bc11b1efa107",
"rawTextureUuid": "d582359e-924e-4ee9-9964-1fc4bb417e71", "rawTextureUuid": "f76a3688-db48-45fa-a86c-095c48770a20",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": -0.5, "offsetX": 0,
"offsetY": 0.5, "offsetY": 1.5,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 60, "width": 62,
"height": 66, "height": 66,
"rawWidth": 61, "rawWidth": 62,
"rawHeight": 67, "rawHeight": 69,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "afcdd4b4-7d30-4229-b7bc-549324e9a8f5",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 55,
"height": 76,
"platformSettings": {},
"subMetas": {
"彩带": {
"ver": "1.0.4",
"uuid": "fae2e4dd-cbd3-4a27-8506-c6a2b11da5c6",
"rawTextureUuid": "afcdd4b4-7d30-4229-b7bc-549324e9a8f5",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 55,
"height": 76,
"rawWidth": 55,
"rawHeight": 76,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "e8bd16b0-3804-45a9-a8ca-f52c02224f55",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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