Commit f8495214 authored by wangxin's avatar wangxin

beta 1

parent 3f6c5725
No preview for this file type
...@@ -128,5 +128,8 @@ ...@@ -128,5 +128,8 @@
} }
} }
}, },
"defaultProject": "ng-template-generator" "defaultProject": "ng-template-generator",
"cli": {
"analytics": "b31faf27-e43a-4540-93ed-be390c382046"
}
} }
\ No newline at end of file
<div class="model-content"> <div class="model-content">
<div style="padding: 10px">
<div style="padding: 10px;"> <div style="width: 300px; margin-top: 15px">
<span>请输入标题: </span>
<div style="width: 300px;" align='center'> <input type="text" nz-input [(ngModel)]="item.title" (blur)="save()" />
<span>图1: </span>
<app-upload-image-with-preview
[picUrl]="item.pic_url"
(imageUploaded)="onImageUploadSuccess($event, 'pic_url')">
</app-upload-image-with-preview>
</div> </div>
<div style="width: 300px; margin-top: 5px;" align='center'> <div style="margin-top: 5px">
<span>图2: </span> <span>标题音频: </span>
<app-upload-image-with-preview <app-audio-recorder
[picUrl]="item.pic_url_2" [audioUrl]="item.audio_title"
(imageUploaded)="onImageUploadSuccess($event, 'pic_url_2')"> (audioUploaded)="onAudioUploadSuccess($event, 'audio_title')"
</app-upload-image-with-preview> ></app-audio-recorder>
</div> </div>
<div style="width: 300px; margin-top: 15px;"> <div style="width: 300px; margin-top: 35px">
<span>文本: </span> <span>请输入问题: </span>
<input type="text" nz-input [(ngModel)]="item.text" (blur)="save()"> <input type="text" nz-input [(ngModel)]="item.question" (blur)="save()" />
</div> </div>
<div style="margin-top: 5px"> <div style="margin-top: 5px">
<span>音频: </span> <span>问题音频: </span>
<app-audio-recorder <app-audio-recorder
[audioUrl]="item.audio_url" [audioUrl]="item.audio_question"
(audioUploaded)="onAudioUploadSuccess($event, 'audio_url')" (audioUploaded)="onAudioUploadSuccess($event, 'audio_question')"
></app-audio-recorder> ></app-audio-recorder>
</div> </div>
<nz-radio-group
[(ngModel)]="answer"
name="radioValue"
id="radioValue"
(ngModelChange)="onSetAnswer()"
style="width: 80%"
>
<div *ngFor="let it of picArr; let i = index" style="padding: 0.5vw">
<div class="border" style="display: flex; align-items: center">
<div class="item-box" style="width: 30%">
<h5 style="padding-bottom: 1vw">选项-{{ i + 1 }}</h5>
<span style="padding-right: 10px"> 文字内容:</span>
<input type="text" nz-input [(ngModel)]="it.text" (blur)="save()" />
<br />
<br />
<div style="display: flex; align-items: center">
<span style="padding-right: 10px"> 图片:</span>
</div>
<app-upload-image-with-preview
style="width: 100%"
[picUrl]="it.pic_url"
(imageUploaded)="onImageUploadSuccessByItem($event, it)"
></app-upload-image-with-preview>
<div
style="display: flex; justify-items: center; padding-top: 10px"
>
<button
style="margin-left: 10px"
nz-button
nzType="danger"
(click)="deleteItem(it)"
>
<span>删除</span>
</button>
</div>
</div>
<!--中间部分-->
<div style="width: 30%; margin-left: 5%; padding: 1vw">
<div
style="display: flex; align-items: center; margin-bottom: 0.5vw"
>
<span style="width: 50px"> 音频: </span>
</div>
<app-audio-recorder
[audioUrl]="it.audio_url"
(audioUploaded)="onAudioUploadSuccessByItem($event, it)"
>
</app-audio-recorder>
</div>
<!-- 左边部分 -->
<div style="width: 30%; margin-left: 5%; padding: 1vw">
<div
style="display: flex; align-items: center; margin-bottom: 0.5vw"
>
<span style="width: 150px"> 设置为正确选项</span>
<label nz-radio [nzValue]="i" (blur)="save()"></label>
</div>
</div>
</div>
</div> </div>
<div nz-col nzSpan="8" class="add-btn-box" style="margin-top: 20px">
<button
style="margin: auto; width: 60%; height: 60%"
nz-button
nzType="dashed"
class="add-btn"
(click)="addPic()"
>
<em nz-icon nzType="plus-circle" nzTheme="outline"></em>
添加选项
</button>
</div>
</nz-radio-group>
</div>
</div> </div>
import { Component, EventEmitter, Input, OnDestroy, OnChanges, OnInit, Output, ApplicationRef, ChangeDetectorRef } from '@angular/core'; import {
import { JsonPipe } from '@angular/common'; Component,
EventEmitter,
Input,
OnDestroy,
OnChanges,
OnInit,
Output,
ApplicationRef,
ChangeDetectorRef,
} from "@angular/core";
import { JsonPipe } from "@angular/common";
@Component({ @Component({
selector: 'app-form', selector: "app-form",
templateUrl: './form.component.html', templateUrl: "./form.component.html",
styleUrls: ['./form.component.css'] styleUrls: ["./form.component.css"],
}) })
export class FormComponent implements OnInit, OnChanges, OnDestroy { export class FormComponent implements OnInit, OnChanges, OnDestroy {
// 储存数据用 // 储存数据用
saveKey = "test_001"; saveKey = "andy_et06";
// 储存对象 // 储存对象
item; item;
picArr = [];
answer;
constructor(private appRef: ApplicationRef, private changeDetectorRef: ChangeDetectorRef) { constructor(
private appRef: ApplicationRef,
} private changeDetectorRef: ChangeDetectorRef
) {}
createShell() { createShell() {
this.item.wordList.push({ this.item.wordList.push({
word: '', word: "",
audio: '', audio: "",
backWord: '', backWord: "",
backWordAudio: '', backWordAudio: "",
}); });
this.save(); this.save();
} }
...@@ -34,12 +45,11 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -34,12 +45,11 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
} }
ngOnInit() { ngOnInit() {
this.item = {}; this.item = {};
this.answer = 0;
// 获取存储的数据 // 获取存储的数据
(<any>window).courseware.getData((data) => { (<any>window).courseware.getData((data) => {
if (data) { if (data) {
this.item = data; this.item = data;
} }
...@@ -48,27 +58,28 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -48,27 +58,28 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
this.changeDetectorRef.markForCheck(); this.changeDetectorRef.markForCheck();
this.changeDetectorRef.detectChanges(); this.changeDetectorRef.detectChanges();
this.refresh(); this.refresh();
}, this.saveKey); }, this.saveKey);
} }
ngOnChanges() { ngOnChanges() {}
}
ngOnDestroy() { ngOnDestroy() {}
}
init() { init() {
if (this.item.options) {
console.log("picarr " + this.picArr);
this.picArr = this.item.options;
}
if (this.item.answer) {
this.answer = this.item.answer;
}
} }
/** /**
* 储存图片数据 * 储存图片数据
* @param e * @param e
*/ */
onImageUploadSuccess(e, key) { onImageUploadSuccess(e, key) {
this.item[key] = e.url; this.item[key] = e.url;
this.save(); this.save();
} }
...@@ -87,19 +98,69 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -87,19 +98,69 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
this.save(); this.save();
} }
onImageUploadSuccessByItem(e, item, id = null) {
if (id != null) {
item["pic_url_" + id] = e.url;
console.log("upload pic 1" + e.url);
} else {
item.pic_url = e.url;
console.log("upload pic 2" + e.url);
}
this.save();
console.log("this.item: ", this.picArr);
}
onAudioUploadSuccessByItem(e, item, id = null) {
if (id != null) {
item["audio_url_" + id] = e.url;
} else {
item.audio_url = e.url;
}
this.save();
}
onSetAnswer() {
this.save();
}
onBackWordAudioUploadSuccess(e, idx) { onBackWordAudioUploadSuccess(e, idx) {
this.item.wordList[idx].backWordAudio = e.url; this.item.wordList[idx].backWordAudio = e.url;
this.save(); this.save();
} }
deleteItem(data) {
const index = this.picArr.indexOf(data);
if (index !== -1) {
this.picArr.splice(index, 1);
}
this.save();
}
addPic() {
const data = {
pic_url: "",
audio_url: "",
text: "",
};
this.picArr.push(data);
this.save();
}
/** /**
* 储存数据 * 储存数据
*/ */
save() { save() {
this.item.answer = this.answer;
this.item.options = this.picArr;
(<any>window).courseware.setData(this.item, null, this.saveKey); (<any>window).courseware.setData(this.item, null, this.saveKey);
this.refresh(); this.refresh();
console.log('this.item = ' + JSON.stringify(this.item)); console.log("this.item = " + JSON.stringify(this.item));
} }
/** /**
...@@ -110,5 +171,4 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -110,5 +171,4 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
this.appRef.tick(); this.appRef.tick();
}, 1); }, 1);
} }
} }
This diff is collapsed.
{ {
"ver": "2.0.1", "ver": "2.0.1",
"uuid": "f0680ae0-c079-45ef-abd7-9e63d90b982b", "uuid": "82894da6-cdf9-4aa2-be54-0d5f3b8c4ff6",
"downloadMode": 0, "downloadMode": 0,
"duration": 0.130612, "duration": 1.854694,
"subMetas": {} "subMetas": {}
} }
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "8ea4585c-d8c0-4de1-96b6-64373d5783f5",
"downloadMode": 0,
"duration": 2.324917,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "527638c3-faf2-4a3e-9fa4-d5b9bfe38876",
"downloadMode": 0,
"duration": 0.556563,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "2ce69722-dd5c-4c59-8aab-030f9274292f",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "fcbe8002-5ede-48bd-b86c-b99cd5205db6",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "6e025b8d-882f-40cb-9001-aaa38dd2d067",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>angle</key>
<real>17</real>
<key>angleVariance</key>
<real>180</real>
<key>blendFuncDestination</key>
<integer>1</integer>
<key>blendFuncSource</key>
<integer>768</integer>
<key>duration</key>
<real>0.22</real>
<key>emitterType</key>
<real>0</real>
<key>finishColorAlpha</key>
<real>1</real>
<key>finishColorBlue</key>
<real>0</real>
<key>finishColorGreen</key>
<real>0</real>
<key>finishColorRed</key>
<real>0</real>
<key>finishColorVarianceAlpha</key>
<real>0</real>
<key>finishColorVarianceBlue</key>
<real>0</real>
<key>finishColorVarianceGreen</key>
<real>0</real>
<key>finishColorVarianceRed</key>
<real>0</real>
<key>finishParticleSize</key>
<real>-1</real>
<key>finishParticleSizeVariance</key>
<real>0</real>
<key>gravityx</key>
<real>-20</real>
<key>gravityy</key>
<real>420</real>
<key>maxParticles</key>
<real>191</real>
<key>maxRadius</key>
<real>0</real>
<key>maxRadiusVariance</key>
<real>0</real>
<key>minRadius</key>
<real>0</real>
<key>particleLifespan</key>
<real>0.47</real>
<key>particleLifespanVariance</key>
<real>0</real>
<key>radialAccelVariance</key>
<real>0</real>
<key>radialAcceleration</key>
<real>0</real>
<key>rotatePerSecond</key>
<real>0</real>
<key>rotatePerSecondVariance</key>
<real>0</real>
<key>rotationEnd</key>
<real>0</real>
<key>rotationEndVariance</key>
<real>0.0</real>
<key>rotationStart</key>
<real>0</real>
<key>rotationStartVariance</key>
<real>0</real>
<key>sourcePositionVariancex</key>
<real>0</real>
<key>sourcePositionVariancey</key>
<real>0</real>
<key>sourcePositionx</key>
<real>416</real>
<key>sourcePositiony</key>
<real>774</real>
<key>speed</key>
<real>480</real>
<key>speedVariance</key>
<real>20</real>
<key>startColorAlpha</key>
<real>0.89</real>
<key>startColorBlue</key>
<real>0.2</real>
<key>startColorGreen</key>
<real>0.4</real>
<key>startColorRed</key>
<real>1</real>
<key>startColorVarianceAlpha</key>
<real>0</real>
<key>startColorVarianceBlue</key>
<real>0</real>
<key>startColorVarianceGreen</key>
<real>0</real>
<key>startColorVarianceRed</key>
<real>0</real>
<key>startParticleSize</key>
<real>20</real>
<key>startParticleSizeVariance</key>
<real>41</real>
<key>tangentialAccelVariance</key>
<real>0</real>
<key>tangentialAcceleration</key>
<real>-700</real>
<key>textureFileName</key>
<string>particle_star.png</string>
<key>textureImageData</key>
<string></string>
</dict>
</plist>
{
"ver": "2.0.1",
"uuid": "fed3a7de-bed5-46e5-8d20-10530d6aea5c",
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "efa5fa09-a4dd-4bfc-ab7e-17c19f85408f", "uuid": "94f49649-eee2-4783-b25f-00329c370918",
"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": 37,
"height": 336, "height": 36,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"1orange": { "particle_star": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "43d1e79d-6de8-4dcb-b8ce-d767df7913aa", "uuid": "f530b049-279c-4f38-bf14-7921d575ef52",
"rawTextureUuid": "efa5fa09-a4dd-4bfc-ab7e-17c19f85408f", "rawTextureUuid": "94f49649-eee2-4783-b25f-00329c370918",
"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": 37,
"height": 335, "height": 36,
"rawWidth": 366, "rawWidth": 37,
"rawHeight": 336, "rawHeight": 36,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
{
"ver": "1.1.2",
"uuid": "ca27cc4e-5c3a-47d2-abac-c7adf92260b5",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.2.7",
"uuid": "46d02514-75e2-4973-9a0b-bc662330bfb3",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.2.7",
"uuid": "e4ef9fc9-937c-46a9-86a0-51a30401974e",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "particle_star",
"_objFlags": 0,
"_parent": null,
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
}
],
"_prefab": {
"__id__": 3
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.ParticleSystem",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_custom": true,
"_file": {
"__uuid__": "fed3a7de-bed5-46e5-8d20-10530d6aea5c"
},
"_spriteFrame": {
"__uuid__": "f530b049-279c-4f38-bf14-7921d575ef52"
},
"_texture": null,
"_stopped": true,
"playOnLoad": true,
"autoRemoveOnFinish": false,
"totalParticles": 191,
"duration": 0.22,
"emissionRate": 100,
"life": 0.47,
"lifeVar": 0,
"_startColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_startColorVar": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_endColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_endColorVar": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"angle": 17,
"angleVar": 180,
"startSize": 20,
"startSizeVar": 41,
"endSize": -1,
"endSizeVar": 0,
"startSpin": 0,
"startSpinVar": 0,
"endSpin": 0,
"endSpinVar": 0,
"sourcePos": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"posVar": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_positionType": 1,
"positionType": 1,
"emitterMode": 0,
"gravity": {
"__type__": "cc.Vec2",
"x": -20,
"y": 420
},
"speed": 280,
"speedVar": 20,
"tangentialAccel": -700,
"tangentialAccelVar": 0,
"radialAccel": 0,
"radialAccelVar": 0,
"rotationIsDir": false,
"startRadius": 0,
"startRadiusVar": 0,
"endRadius": 0,
"endRadiusVar": 0,
"rotatePerS": 0,
"rotatePerSVar": 0,
"_N$preview": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "49EmNiomZEf7rS3H5mSigY",
"sync": false
}
]
\ No newline at end of file
{
"ver": "1.2.7",
"uuid": "d64be458-35de-4d57-973d-cc6e7a5ec7cb",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
/**
* 选项
*/
cc.Class({
extends: cc.Component,
properties: {
title: {
default: null,
type: cc.Label,
},
pic: {
default: null,
type: cc.Sprite,
},
picSelected: {
default: null,
type: cc.Node,
},
soundCorrect: {
default: null,
type: cc.AudioClip,
},
soundWrong: {
default: null,
type: cc.AudioClip,
},
stars: {
default: null,
type: cc.Node,
},
_audioTitle: null,
_isPlaying: false,
_isAnswer: false,
_isDone: false,
_allowClick: true,
_count: 0,
},
onEnable() {
cc.game.on("DONE", this.setDone, this);
this._allowClick = true;
},
onDisable() {
cc.game.off("DONE", this.setDone, this);
},
setPic(pic_url) {
cc.assetManager.loadRemote(pic_url, (err, img) => {
var frame = new cc.SpriteFrame(img);
let frameSize = frame.getOriginalSize();
let targetWidth = 0;
if (this._count >= 4) {
targetWidth = 244;
} else {
targetWidth = 323;
}
// let scale = 1;
// if (frameSize.height > 180) {
// scale = 168 / frameSize.height;
// }
// this.pic.spriteFrame = frame;
// this.pic.node.width = frameSize.width * scale;
// this.pic.node.height = frameSize.height * scale;
let scale = 1;
scale = targetWidth / frameSize.width;
this.pic.spriteFrame = frame;
this.pic.node.width = frameSize.width * scale;
this.pic.node.height = frameSize.height * scale;
});
},
setTitle(title) {
this.title.string = title;
},
clickTitle() {
if (this._audioTitle != null && !this._isPlaying) {
this._isPlaying = true;
cc.assetManager.loadRemote(this._audioTitle, (err, audioClip) => {
const audioId = cc.audioEngine.play(audioClip, false);
cc.audioEngine.setFinishCallback(audioId, () => {
this._isPlaying = false;
});
});
}
},
clickPic() {
if (this._isDone || !this._allowClick) {
return;
}
this.picSelected.active = true;
if (this._isAnswer) {
cc.audioEngine.playEffect(this.soundCorrect);
this.stars.active = true;
cc.game.emit("DONE");
} else {
this._allowClick = false;
let id = cc.audioEngine.playEffect(this.soundWrong);
cc.audioEngine.setFinishCallback(id, () => {
this.picSelected.active = false;
this._allowClick = true;
});
}
},
setDone() {
this._isDone = true;
},
});
{
"ver": "1.0.8",
"uuid": "0e35c6a3-80df-4926-9ac5-6f9aef7c548e",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "47b22fe2-9fa9-4ed4-9172-dcd07e981533",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 738,
"height": 540,
"platformSettings": {},
"subMetas": {
"1-6@3x": {
"ver": "1.0.4",
"uuid": "2359cab7-72d3-46cd-bc33-a37eb03a072a",
"rawTextureUuid": "47b22fe2-9fa9-4ed4-9172-dcd07e981533",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 736,
"height": 540,
"rawWidth": 738,
"rawHeight": 540,
"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": "3c0013a9-2d3c-45cf-a33a-099e8b6d9e1c",
"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": 969,
"height": 67, "height": 540,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"btn_right": { "1-6@3x_2": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "e5a2dbaa-a677-4a32-90d7-a1b057d7fb59", "uuid": "78b30afb-9a6f-40f1-bf2e-cb58f835f140",
"rawTextureUuid": "d582359e-924e-4ee9-9964-1fc4bb417e71", "rawTextureUuid": "3c0013a9-2d3c-45cf-a33a-099e8b6d9e1c",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": -0.5, "offsetX": -0.5,
"offsetY": 0.5, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 60, "width": 968,
"height": 66, "height": 540,
"rawWidth": 61, "rawWidth": 969,
"rawHeight": 67, "rawHeight": 540,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "5c505b78-9409-4aec-ad50-2ea92f364453",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": true,
"genMipmaps": false,
"packable": true,
"width": 789,
"height": 588,
"platformSettings": {},
"subMetas": {
"1-6@3x_select": {
"ver": "1.0.4",
"uuid": "8676e03d-253c-47db-aee9-45e71a343f66",
"rawTextureUuid": "5c505b78-9409-4aec-ad50-2ea92f364453",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1,
"offsetY": 0,
"trimX": 6,
"trimY": 6,
"width": 775,
"height": 576,
"rawWidth": 789,
"rawHeight": 588,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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