Commit 83a2d5dd authored by Li MingZhe's avatar Li MingZhe

feat:教师版演示

parent cb1367da
No preview for this file type
This diff is collapsed.
......@@ -55,4 +55,4 @@
"tslint": "~5.18.0",
"typescript": "~3.7.5"
}
}
\ No newline at end of file
}
<div class="model-content">
<div style="padding: 10px;">
<h2> 此模版无需表单配置 </h2>
<!--
<div style="width: 300px;" align='center'>
<span>图1: </span>
<app-upload-image-with-preview
......@@ -29,7 +31,7 @@
[audioUrl]="item.audio_url"
(audioUploaded)="onAudioUploadSuccess($event, 'audio_url')"
></app-audio-recorder>
</div>
</div> -->
</div>
......
This diff is collapsed.
{
"ver": "1.1.2",
"uuid": "09dcf263-fd77-4a8e-babe-7b886b8fc360",
"isBundle": true,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": true,
"android": true
},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "cb9fa4ea-66ca-45af-ad31-e445c7b0ef32",
"uuid": "9e5d8a4b-66e7-47fb-8946-eac98db3384a",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{
"ver": "1.1.2",
"uuid": "20185448-a1ca-4de2-8b37-7bf6cdfccbae",
"uuid": "331239c1-c61f-4e5a-bfc6-3e27e33637a5",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{"name":"clamphands","isGlobal":0,"version":"5.5","armature":[{"name":"Armature","defaultActions":[{"gotoAndPlay":"clamphands"}],"slot":[{"name":"左耳朵","color":{},"parent":"左耳朵"},{"name":"右耳朵","color":{},"z":1,"parent":"右耳朵"},{"name":"头发","color":{},"z":2,"parent":"root"},{"name":"领子","color":{},"z":3,"parent":"root"},{"name":"头","color":{},"z":4,"parent":"头"},{"name":"嘴","color":{},"z":5,"parent":"嘴"},{"name":"眼珠","color":{},"z":6,"parent":"眼珠"},{"name":"鼓掌1","displayIndex":1,"color":{},"z":7,"parent":"root"},{"name":"3","color":{},"z":8,"parent":"3"},{"name":"2","color":{},"z":9,"parent":"2"},{"name":"1","color":{},"z":10,"parent":"1"}],"bone":[{"name":"root","transform":{}},{"name":"2","transform":{"x":56.55,"y":55.75},"parent":"root"},{"name":"3","transform":{"x":-60.65,"y":53.35},"parent":"root"},{"name":"1","transform":{"x":-52.35,"y":86.2},"parent":"root"},{"name":"头","transform":{"x":9.45,"y":50.75,"skX":-88.7916,"skY":-88.7916},"length":64,"parent":"root"},{"name":"左耳朵","transform":{"x":145.045,"y":93.0672,"skX":168.3957,"skY":168.3957},"length":73,"parent":"头"},{"name":"眼珠","transform":{"x":70.7557,"y":-55.0044},"parent":"头"},{"name":"右耳朵","transform":{"x":142.8387,"y":-132.4418,"skX":-171.5985,"skY":-171.5985},"length":82,"parent":"头"},{"name":"嘴","transform":{"x":24.92,"y":5.4257,"skX":-1.2084,"skY":-1.2084},"parent":"头"}],"aabb":{"x":-198.5000000000001,"height":454.00000000000006,"y":-227.00000000000006,"width":397.00000000000034},"ik":[],"frameRate":24,"animation":[{"name":"clamphands","frame":[],"ik":[],"duration":32,"slot":[{"name":"左耳朵","colorFrame":[],"displayFrame":[]},{"name":"右耳朵","colorFrame":[],"displayFrame":[]},{"name":"头发","colorFrame":[],"displayFrame":[]},{"name":"领子","colorFrame":[],"displayFrame":[]},{"name":"头","colorFrame":[],"displayFrame":[]},{"name":"嘴","colorFrame":[],"displayFrame":[{"value":1,"duration":6},{"duration":18},{"duration":6},{"duration":2}]},{"name":"眼珠","colorFrame":[],"displayFrame":[]},{"name":"鼓掌1","colorFrame":[],"displayFrame":[{"value":1,"duration":2},{"duration":8},{"value":1,"duration":6},{"duration":10},{"value":1,"duration":6},{"duration":0}]},{"name":"3","colorFrame":[{"color":{"aM":0},"duration":2,"tweenEasing":0},{"duration":6,"tweenEasing":0},{"color":{"aM":0},"duration":6},{"color":{"aM":0},"duration":2,"tweenEasing":0},{"duration":8,"tweenEasing":0},{"color":{"aM":0},"duration":8}],"displayFrame":[]},{"name":"2","colorFrame":[{"color":{"aM":0},"duration":2,"tweenEasing":0},{"duration":6,"tweenEasing":0},{"color":{"aM":0},"duration":6},{"color":{"aM":0},"duration":2,"tweenEasing":0},{"duration":8,"tweenEasing":0},{"color":{"aM":0},"duration":8}],"displayFrame":[]},{"name":"1","colorFrame":[{"color":{"aM":0},"duration":2,"tweenEasing":0},{"duration":6,"tweenEasing":0},{"color":{"aM":0},"duration":6},{"color":{"aM":0},"duration":2,"tweenEasing":0},{"duration":8,"tweenEasing":0},{"color":{"aM":0},"duration":8}],"displayFrame":[]}],"bone":[{"name":"root","scaleFrame":[],"translateFrame":[],"rotateFrame":[]},{"name":"头","scaleFrame":[],"translateFrame":[],"rotateFrame":[{"duration":6,"curve":[0.5,0,1,1]},{"rotate":-2.6752,"duration":12,"curve":[0,0,0.5,1]},{"rotate":3.504,"duration":10,"tweenEasing":0},{"duration":4}]},{"name":"眼珠","scaleFrame":[],"translateFrame":[{"duration":10,"tweenEasing":0},{"x":4.7098,"duration":12,"tweenEasing":0,"y":9.1865},{"x":4.7098,"duration":8,"tweenEasing":0,"y":9.1865},{"duration":2}],"rotateFrame":[]},{"name":"右耳朵","scaleFrame":[],"translateFrame":[],"rotateFrame":[{"duration":6,"curve":[0,0,0.5,1]},{"rotate":4.7444,"duration":12,"curve":[0.5,0,1,1]},{"rotate":-4.865,"duration":6,"curve":[0,0,0.23799126637554585,0.9356314668289714]},{"duration":8}]},{"name":"左耳朵","scaleFrame":[],"translateFrame":[],"rotateFrame":[{"duration":6,"curve":[0,0,0.5,1]},{"rotate":5.8973,"duration":12,"curve":[0.5,0,1,1]},{"rotate":-1.2857,"duration":6,"curve":[0,0,0.5,1]},{"rotate":1.7328,"duration":8}]},{"name":"3","scaleFrame":[],"translateFrame":[{"x":20.323,"duration":2,"tweenEasing":0,"y":9.6122},{"x":15.3796,"duration":12,"y":5.7673},{"x":20.323,"duration":2,"tweenEasing":0,"y":9.6122},{"x":15.3796,"duration":16,"y":5.7673}],"rotateFrame":[]},{"name":"2","scaleFrame":[],"translateFrame":[{"x":-11.8093,"duration":2,"tweenEasing":0,"y":6.042},{"x":-12.386,"duration":12,"y":-0.0549},{"x":-11.8093,"duration":2,"tweenEasing":0,"y":6.042},{"x":-12.386,"duration":16,"y":-0.0549}],"rotateFrame":[]},{"name":"1","scaleFrame":[],"translateFrame":[{"x":16.176,"duration":2,"tweenEasing":0,"y":14.281},{"x":6.0145,"duration":12,"y":19.4991},{"x":16.176,"duration":2,"tweenEasing":0,"y":14.281},{"x":6.0145,"duration":16,"y":19.4991}],"rotateFrame":[]},{"name":"嘴","scaleFrame":[{"duration":4,"tweenEasing":0},{"duration":2,"tweenEasing":0,"y":1.26},{"x":0.8,"duration":8,"tweenEasing":0},{"x":1.2,"duration":10,"tweenEasing":0,"y":1.2},{"x":0.8,"duration":6,"tweenEasing":0},{"x":0.8,"duration":2}],"translateFrame":[],"rotateFrame":[]}],"playTimes":0,"ffd":[]}],"type":"Armature","skin":[{"name":"","slot":[{"name":"2","display":[{"name":"鼓掌/2","transform":{"x":-1.55,"y":-0.75},"type":"image","path":"鼓掌/2"}]},{"name":"头发","display":[{"name":"鼓掌/头发","transform":{"x":10,"y":55.5},"type":"image","path":"鼓掌/头发"}]},{"name":"领子","display":[{"name":"鼓掌/领子","transform":{"x":10.5,"y":62},"type":"image","path":"鼓掌/领子"}]},{"name":"3","display":[{"name":"鼓掌/3","transform":{"x":-0.35,"y":-2.85},"type":"image","path":"鼓掌/3"}]},{"name":"眼珠","display":[{"name":"鼓掌/眼珠","transform":{"x":6.862,"y":47.9159,"skX":88.7916,"skY":88.7916},"type":"image","path":"鼓掌/眼珠"}]},{"name":"嘴","display":[{"name":"鼓掌/嘴","transform":{"x":-0.05,"y":-3.4,"skX":90,"skY":90},"type":"image","path":"鼓掌/嘴"},{"name":"鼓掌/嘴2","transform":{"x":1.45,"y":-3.4,"skX":90,"skY":90},"type":"image","path":"鼓掌/嘴2"}]},{"name":"鼓掌1","display":[{"name":"鼓掌/鼓掌1","transform":{"x":4.5,"y":145},"type":"image","path":"鼓掌/鼓掌1"},{"name":"鼓掌/鼓掌2","transform":{"x":6,"y":136.5},"type":"image","path":"鼓掌/鼓掌2"}]},{"name":"头","display":[{"name":"鼓掌/头","transform":{"x":129.9058,"y":-17.6935,"skX":88.7916,"skY":88.7916},"type":"image","path":"鼓掌/头"}]},{"name":"左耳朵","display":[{"name":"鼓掌/左耳朵","transform":{"x":119.009,"y":-20.8112,"skX":-79.6041,"skY":-79.6041},"type":"image","path":"鼓掌/左耳朵"}]},{"name":"右耳朵","display":[{"name":"鼓掌/右耳朵","transform":{"x":71.4971,"y":15.8366,"skX":-99.6099,"skY":-99.6099},"type":"image","path":"鼓掌/右耳朵"}]},{"name":"1","display":[{"name":"鼓掌/1","transform":{"x":-0.15,"y":1.3},"type":"image","path":"鼓掌/1"}]}]}]}],"frameRate":24}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "2359e737-1b95-48c9-85dd-0e8c9186f1b5",
"subMetas": {}
}
\ No newline at end of file
{"name":"clamphands","SubTexture":[{"name":"鼓掌/左耳朵","x":248,"height":110,"y":464,"width":102},{"name":"鼓掌/右耳朵","x":307,"height":192,"y":1,"width":102},{"name":"鼓掌/头发","x":307,"height":29,"y":259,"width":63},{"name":"鼓掌/领子","x":352,"height":52,"y":464,"width":132},{"name":"鼓掌/头","x":1,"height":295,"y":1,"width":304},{"name":"鼓掌/嘴","x":372,"height":22,"y":259,"width":37},{"name":"鼓掌/嘴2","x":444,"height":7,"y":280,"width":33},{"name":"鼓掌/眼珠","x":307,"height":62,"y":195,"width":137},{"name":"鼓掌/鼓掌2","x":1,"height":181,"y":298,"width":245},{"name":"鼓掌/鼓掌1","x":248,"height":164,"y":298,"width":236},{"name":"鼓掌/3","x":444,"height":19,"y":259,"width":31},{"name":"鼓掌/2","x":411,"height":22,"y":259,"width":31},{"name":"鼓掌/1","x":477,"height":15,"y":259,"width":14}],"imagePath":"clamphands_tex.png","height":1024,"width":512}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "ff065237-bf2c-43c3-b8b2-ff75beafba3d",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "8fd96ebd-9c66-4c70-8fe7-96ce6a9500a1",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 512,
"height": 1024,
"platformSettings": {},
"subMetas": {
"clamphands_tex": {
"ver": "1.0.4",
"uuid": "49d6149b-1d58-486d-9b6d-4bb0acf30434",
"rawTextureUuid": "8fd96ebd-9c66-4c70-8fe7-96ce6a9500a1",
"trimType": "custom",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 512,
"height": 1024,
"rawWidth": 512,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "0853721c-3f55-4eb2-873d-e3081cfadd4b",
"uuid": "0d100ecf-a4ac-455e-85b7-d64ee2c2349d",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "ebbe8efd-ae97-40be-8a32-6b389329aceb",
"subMetas": {}
}
\ No newline at end of file
{"name":"ip","SubTexture":[{"name":"走路/阴影","x":626,"frameWidth":187,"height":38,"y":1896,"frameHeight":391,"frameX":-15,"frameY":-353,"width":172},{"name":"走路/19","x":480,"height":372,"y":376,"width":147},{"name":"走路/5","x":775,"height":372,"y":1,"width":147},{"name":"走路/9","x":327,"height":377,"y":382,"width":151},{"name":"走路/17","x":626,"height":372,"y":1,"width":147},{"name":"走路/1","x":1,"height":379,"y":1527,"width":164},{"name":"走路/16","x":641,"height":374,"y":749,"width":144},{"name":"走路/15","x":174,"height":377,"y":382,"width":151},{"name":"走路/8","x":480,"height":376,"y":1527,"width":144},{"name":"走路/23","x":169,"height":379,"y":1146,"width":163},{"name":"走路/14","x":171,"height":378,"y":764,"width":160},{"name":"走路/7","x":477,"height":373,"y":1,"width":147},{"name":"走路/2","x":333,"height":377,"y":764,"width":153},{"name":"走路/4","x":626,"height":373,"y":1521,"width":144},{"name":"走路/11","x":1,"height":379,"y":1,"width":172},{"name":"走路/20","x":497,"height":375,"y":1144,"width":144},{"name":"走路/站立","x":629,"height":372,"y":375,"width":147},{"name":"走路/12","x":1,"height":380,"y":382,"width":171},{"name":"走路/10","x":334,"height":379,"y":1146,"width":161},{"name":"走路/3","x":333,"height":375,"y":1527,"width":145},{"name":"走路/22","x":488,"height":378,"y":764,"width":151},{"name":"走路/6","x":175,"height":372,"y":1,"width":149},{"name":"走路/13","x":1,"height":379,"y":1146,"width":166},{"name":"走路/24","x":1,"height":380,"y":764,"width":168},{"name":"走路/25","x":167,"height":379,"y":1527,"width":164},{"name":"走路/18","x":326,"height":371,"y":1,"width":149},{"name":"走路/21","x":643,"height":377,"y":1125,"width":141},{"name":"走路/眼6","x":525,"height":51,"y":1905,"width":30},{"name":"走路/眼1","x":493,"height":51,"y":1905,"width":30},{"name":"走路/眼4","x":365,"height":51,"y":1904,"width":30},{"name":"走路/眼5","x":429,"height":51,"y":1904,"width":30},{"name":"走路/眼10","x":1,"height":49,"y":1957,"width":29},{"name":"走路/眼3","x":557,"height":51,"y":1905,"width":30},{"name":"走路/眼7","x":397,"height":51,"y":1904,"width":30},{"name":"走路/眼8","x":589,"height":51,"y":1905,"width":30},{"name":"走路/眼9","x":333,"height":51,"y":1904,"width":30},{"name":"走路/眼2","x":461,"height":51,"y":1905,"width":30},{"name":"走路/嘴13","x":35,"height":13,"y":1923,"width":15},{"name":"走路/嘴8","x":18,"height":13,"y":1908,"width":15},{"name":"走路/嘴11","x":677,"height":13,"y":1504,"width":15},{"name":"走路/嘴5","x":1,"height":13,"y":1908,"width":15},{"name":"走路/嘴6","x":18,"height":13,"y":1923,"width":15},{"name":"走路/嘴12","x":694,"height":13,"y":1504,"width":15},{"name":"走路/嘴14","x":660,"height":13,"y":1504,"width":15},{"name":"走路/嘴15","x":35,"height":13,"y":1908,"width":15},{"name":"走路/嘴2","x":1,"height":13,"y":1938,"width":15},{"name":"走路/嘴3","x":35,"height":13,"y":1938,"width":15},{"name":"走路/嘴9","x":1,"height":13,"y":1923,"width":15},{"name":"走路/嘴4","x":711,"height":13,"y":1504,"width":15},{"name":"走路/嘴10","x":18,"height":13,"y":1938,"width":15},{"name":"走路/嘴7","x":643,"height":13,"y":1504,"width":15}],"imagePath":"ip_tex.png","height":2048,"width":2048}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "c67c38f8-c0b0-443f-8848-cfe45bdf639f",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "35d81069-c39e-4000-a242-26ac21c798f7",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": true,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 2048,
"platformSettings": {},
"subMetas": {
"ip_tex": {
"ver": "1.0.4",
"uuid": "f0f329ce-20d4-4a11-8dba-cdd6fb4c1383",
"rawTextureUuid": "35d81069-c39e-4000-a242-26ac21c798f7",
"trimType": "custom",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 2048,
"height": 2048,
"rawWidth": 2048,
"rawHeight": 2048,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "992d5d5c-0463-4681-b890-bd58bd06935f",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "efa5fa09-a4dd-4bfc-ab7e-17c19f85408f",
"uuid": "8dc1f168-b7c6-4141-bc0c-88419ecc87c7",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 366,
"height": 336,
"width": 75,
"height": 78,
"platformSettings": {},
"subMetas": {
"1orange": {
"btn_laba1": {
"ver": "1.0.4",
"uuid": "43d1e79d-6de8-4dcb-b8ce-d767df7913aa",
"rawTextureUuid": "efa5fa09-a4dd-4bfc-ab7e-17c19f85408f",
"trimType": "auto",
"uuid": "0db4ccee-8722-4627-87ee-91c5b99976c3",
"rawTextureUuid": "8dc1f168-b7c6-4141-bc0c-88419ecc87c7",
"trimType": "custom",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -0.5,
"offsetY": 0,
"trimX": 0,
"trimY": 1,
"width": 366,
"height": 335,
"rawWidth": 366,
"rawHeight": 336,
"trimY": 0,
"width": 75,
"height": 78,
"rawWidth": 75,
"rawHeight": 78,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "27261741-cff0-4f96-8a14-291246364e57",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 75,
"height": 78,
"platformSettings": {},
"subMetas": {
"btn_laba2": {
"ver": "1.0.4",
"uuid": "b7c9cd4e-f7e7-4ad1-8a31-6d185ef65e70",
"rawTextureUuid": "27261741-cff0-4f96-8a14-291246364e57",
"trimType": "custom",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 75,
"height": 78,
"rawWidth": 75,
"rawHeight": 78,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "b8c03705-d68e-44ed-b3c2-aa29c9b6824c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 75,
"height": 78,
"platformSettings": {},
"subMetas": {
"btn_laba3": {
"ver": "1.0.4",
"uuid": "940b6f80-89a6-40d6-a0f0-2dabbc74841b",
"rawTextureUuid": "b8c03705-d68e-44ed-b3c2-aa29c9b6824c",
"trimType": "custom",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 75,
"height": 78,
"rawWidth": 75,
"rawHeight": 78,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"__type__": "cc.AnimationClip",
"_name": "sound_1",
"_objFlags": 0,
"_native": "",
"_duration": 0.26666666666666666,
"sample": 60,
"speed": 1,
"wrapMode": 2,
"curveData": {
"comps": {
"cc.Sprite": {
"spriteFrame": [
{
"frame": 0,
"value": {
"__uuid__": "940b6f80-89a6-40d6-a0f0-2dabbc74841b"
}
},
{
"frame": 0.08333333333333333,
"value": {
"__uuid__": "0db4ccee-8722-4627-87ee-91c5b99976c3"
}
},
{
"frame": 0.16666666666666666,
"value": {
"__uuid__": "b7c9cd4e-f7e7-4ad1-8a31-6d185ef65e70"
}
},
{
"frame": 0.25,
"value": {
"__uuid__": "940b6f80-89a6-40d6-a0f0-2dabbc74841b"
}
}
]
}
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.0",
"uuid": "e6193375-b098-4484-b85a-35ac66b2aa02",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "892ff52a-178d-4a9e-874c-b17a22eae615",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "8e212162-27ef-4fb6-aca7-dbf993cd2efc",
"downloadMode": 0,
"duration": 1.157333,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "75aafb45-0bfa-473b-a4c9-6ef89db1b28b",
"downloadMode": 0,
"duration": 1.229333,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "77bd59e5-a0e7-4ac2-8d2c-5e5f19335bb1",
"downloadMode": 0,
"duration": 60.081633,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "f699dd44-3dad-475b-a6b3-3093a9479ac9",
"downloadMode": 0,
"duration": 1.7487,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "f0680ae0-c079-45ef-abd7-9e63d90b982b",
"uuid": "ccf7168f-271b-4d1c-aa3c-b8e3004f2ae5",
"downloadMode": 0,
"duration": 0.130612,
"subMetas": {}
......
{
"ver": "1.1.2",
"uuid": "23385234-6108-4080-8d7b-2da17bfdb291",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "d3ed2455-a3a8-4221-bcb3-c5bb1d611928",
"downloadMode": 0,
"duration": 0.888163,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "9bb58a52-9eeb-4d15-8c51-5ca3932f4203",
"downloadMode": 0,
"duration": 0.914286,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "afa18de0-4dac-4eb3-ac13-a247babe7182",
"downloadMode": 0,
"duration": 1.149388,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "c5833795-89a2-4660-88e1-b10e4334adfd",
"downloadMode": 0,
"duration": 1.018776,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "c08ff9c2-e699-43df-8150-4f7729becad5",
"downloadMode": 0,
"duration": 0.992653,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "f0d5e152-b0d8-4b61-be16-1eb87c98999d",
"downloadMode": 0,
"duration": 1.097143,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "07d84ed5-6bd6-45b1-be78-22e4c8748925",
"downloadMode": 0,
"duration": 1.07102,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "87103831-eb26-4033-88a3-a8d466e034ea",
"downloadMode": 0,
"duration": 1.149388,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "31ac1b36-813a-464b-9d16-f7450763a5a2",
"downloadMode": 0,
"duration": 1.358367,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "598b2538-a22e-4dfe-93b2-a32810a72cd8",
"downloadMode": 0,
"duration": 4.04898,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "014ef09b-626b-4d21-832d-c0c75cde4dfb",
"downloadMode": 0,
"duration": 0.522449,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "769f7bbe-e798-45f7-9640-f94a49be780e",
"downloadMode": 0,
"duration": 3.057313,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "8b5c4568-24af-4ff4-9dee-1ed1c792a699",
"downloadMode": 0,
"duration": 1.724082,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "432aa9de-6b77-446c-ba9e-a02dfb995033",
"downloadMode": 0,
"duration": 1.205333,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "47fc5dc2-3d26-478f-8468-b638626a43c0",
"downloadMode": 0,
"duration": 0.10449,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "32046d82-02c1-4a24-a5c9-3a5976c79128",
"downloadMode": 0,
"duration": 0.365714,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "c6198237-52b3-4ba0-bed7-08b3a2ff6c2c",
"downloadMode": 0,
"duration": 1.877333,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "fb361bcf-9f58-4eeb-97d6-9f22c496e747",
"downloadMode": 0,
"duration": 1.949333,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "e94d7053-69bc-42f3-9220-50d57a368900",
"downloadMode": 0,
"duration": 1.925333,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "8ecf4f74-b379-4a17-9f23-3eef13e36f84",
"downloadMode": 0,
"duration": 2.638367,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "beb3e44c-ec16-46a7-a5e2-2e1bde28a3fb",
"downloadMode": 0,
"duration": 7.325333,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "ec68d674-94e3-4b0b-a40c-1335ef5f9af5",
"downloadMode": 0,
"duration": 50.050612,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "594e4460-4dbe-46ff-bb38-9768e64ee359",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "c35bb2f6-f24a-4850-ae44-643f2fdc7541",
"uuid": "f9ff87df-13c3-4529-838a-93336988cede",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
This diff is collapsed.
{
"ver": "1.2.9",
"uuid": "57ea7c61-9b8b-498a-b024-c98ee9124beb",
"ver": "1.2.7",
"uuid": "5e0a03aa-9b9e-4076-b508-7dbf209bb115",
"asyncLoadAssets": false,
"autoReleaseAssets": true,
"subMetas": {}
......
{
"ver": "1.1.2",
"uuid": "b0c008bc-cf92-463b-8360-0984e13c2e4d",
"uuid": "0bdf31a9-a3f4-41ec-aa7c-f93ebd2f6505",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
This diff is collapsed.
{
"ver": "1.0.8",
"uuid": "b54300af-b8e5-4b4e-aa2f-9ac1cef7b598",
"uuid": "e2e0dcb5-f556-4545-b84a-3e9fb09c0a68",
"isPlugin": true,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
This diff is collapsed.
{
"ver": "1.0.8",
"uuid": "f4ede462-f8d7-4069-ba80-915611c058ca",
"uuid": "1e6c56e6-cdbe-42c3-bb46-53eea9c9bf93",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
......@@ -70,72 +70,9 @@ export function setSprNodeMaxLen(sprNode, maxW, maxH) {
sprNode.scale = Math.round(s * 1000) / 1000;
}
export function localPosTolocalPos(baseNode, targetNode) {
const worldPos = targetNode.parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y));
const localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y));
return localPos;
}
export function worldPosToLocalPos(worldPos, baseNode) {
const localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y));
return localPos;
}
export function getScaleRateBy2Node(baseNode, targetNode, maxFlag = true) {
const worldRect1 = targetNode.getBoundingBoxToWorld();
const worldRect2 = baseNode.getBoundingBoxToWorld();
const sx = worldRect1.width / worldRect2.width;
const sy = worldRect1.height / worldRect2.height;
if (maxFlag) {
return Math.max(sx, sy);
} else {
return Math.min(sx, sy);
}
}
export function getDistance (start, end){
var pos = cc.v2(start.x - end.x, start.y - end.y);
var dis = Math.sqrt(pos.x*pos.x + pos.y*pos.y);
return dis;
}
export function playAudioByUrl(audio_url, cb=null) {
if (audio_url) {
cc.assetManager.loadRemote(audio_url, (err, audioClip) => {
const audioId = cc.audioEngine.play(audioClip, false, 0.8);
if (cb) {
cc.audioEngine.setFinishCallback(audioId, () => {
cb();
});
}
});
}
}
export function btnClickAnima(btn, time=0.15, rate=1.05) {
btn.tmpScale = btn.scale;
btn.on(cc.Node.EventType.TOUCH_START, () => {
cc.tween(btn)
.to(time / 2, {scale: btn.scale * rate})
.start()
})
btn.on(cc.Node.EventType.TOUCH_CANCEL, () => {
cc.tween(btn)
.to(time / 2, {scale: btn.tmpScale})
.start()
})
btn.on(cc.Node.EventType.TOUCH_END, () => {
cc.tween(btn)
.to(time / 2, {scale: btn.tmpScale})
.start()
})
}
export function getSpriteFrimeByUrl(url, cb) {
cc.loader.load({ url }, (err, img) => {
cc.loader.load({url}, (err, img) => {
const spriteFrame = new cc.SpriteFrame(img)
if (cb) {
cb(spriteFrame);
......@@ -163,17 +100,31 @@ export function getSprNodeByUrl(url, cb) {
export function playAudio(audioClip, cb = null) {
if (audioClip) {
export function playAudio(audioClip, cb=null) {
if (audioClip) {
const audioId = cc.audioEngine.playEffect(audioClip, false, 0.8);
if (cb) {
cc.audioEngine.setFinishCallback(audioId, () => {
cb();
});
}
}
return audioId;
}
}
export function playAudioByUrl(audio_url, cb=null) {
if (audio_url) {
cc.assetManager.loadRemote(audio_url, (err, audioClip) => {
playAudio(audioClip, cb);
});
}
}
export async function asyncDelay(time) {
return new Promise((resolve, reject) => {
try {
......@@ -341,14 +292,48 @@ export function showTrebleFirework(baseNode, rabbonList) {
showFireworks(right);
}
export function onHomeworkFinish() {
const middleLayer = cc.find('middleLayer');
if (middleLayer) {
const middleLayerComponent = middleLayer.getComponent('middleLayer');
if (middleLayerComponent.role == 'student') {
middleLayerComponent.onHomeworkFinish(() => { });
}
} else {
console.log('onHomeworkFinish');
export function delayCall(time, cb) {
return cc.tween({})
.delay(time)
.call(() => {
if (cb) {
cb();
}
})
.start();
}
export function removeFromArr(arr, item) {
const index = arr.indexOf(item);
if (index != -1) {
arr.splice(index, 1);
return true;
}
return false;
}
export function showBtnAnima(btn) {
const baseS = btn.scale;
cc.tween(btn)
.to(0.05, {scale: 0.9 * baseS})
.to(0.05, {scale: 1 * baseS})
.call(() => {
})
.start();
}
export function jellyShake(node) {
const baseS = node.scale;
const time = 1;
cc.tween(node)
.to(time / 5 / 2, {scaleX: baseS * 0.8, scaleY: baseS * 1.2}, {easing: "sineInOut"})
.to(time / 5, {scaleX: baseS * 1.1, scaleY: baseS * 0.9}, {easing: "sineInOut"})
.to(time / 5, {scaleX: baseS * 0.95, scaleY: baseS * 1.15}, {easing: "sineInOut"})
.to(time / 5, {scaleX: baseS * 1.02, scaleY: baseS * 0.98}, {easing: "sineInOut"})
.to(time / 5, {scaleX: baseS * 1, scaleY: baseS * 1}, {easing: "sineInOut"})
.start();
}
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "ade7af40-d56d-4087-bbc6-2888fef55353",
"uuid": "25ccf041-bdf3-4b6a-8683-c24e4c39fed4",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
......
{
"ver": "1.1.2",
"uuid": "2582562a-54bb-483a-8483-727d57c6c974",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "3e7aef3c-ce67-41c0-903b-852ce2a8aaee",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 29,
"height": 29,
"platformSettings": {},
"subMetas": {
"Img_paper": {
"ver": "1.0.4",
"uuid": "10c256ec-f58e-48ba-b848-84c63f5099fd",
"rawTextureUuid": "3e7aef3c-ce67-41c0-903b-852ce2a8aaee",
"trimType": "custom",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 29,
"height": 29,
"rawWidth": 29,
"rawHeight": 29,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment