Commit 60a60cac authored by wildfirecode's avatar wildfirecode

1

parent e99b2ca2
{"file":"candydie0.png","frames":{
"破碎兔_00012":{"x":663,"y":447,"w":184,"h":50,"offX":113,"offY":330,"sourceW":402,"sourceH":380},
"破碎兔_00011":{"x":240,"y":241,"w":219,"h":156,"offX":81,"offY":224,"sourceW":402,"sourceH":380},
"破碎兔_00010":{"x":469,"y":0,"w":235,"h":224,"offX":70,"offY":156,"sourceW":402,"sourceH":380},
"破碎兔_00009":{"x":0,"y":0,"w":238,"h":241,"offX":67,"offY":111,"sourceW":402,"sourceH":380},
"破碎兔_00008":{"x":240,"y":0,"w":227,"h":239,"offX":74,"offY":81,"sourceW":402,"sourceH":380},
"破碎兔_00007":{"x":706,"y":0,"w":207,"h":234,"offX":88,"offY":63,"sourceW":402,"sourceH":380},
"破碎兔_00006":{"x":469,"y":226,"w":192,"h":220,"offX":95,"offY":52,"sourceW":402,"sourceH":380},
"破碎兔_00005":{"x":663,"y":236,"w":177,"h":209,"offX":103,"offY":46,"sourceW":402,"sourceH":380},
"破碎兔_00004":{"x":842,"y":236,"w":175,"h":191,"offX":102,"offY":40,"sourceW":402,"sourceH":380},
"破碎兔_00003":{"x":0,"y":243,"w":166,"h":178,"offX":107,"offY":31,"sourceW":402,"sourceH":380},
"破碎兔_00002":{"x":168,"y":399,"w":147,"h":164,"offX":119,"offY":24,"sourceW":402,"sourceH":380},
"破碎兔_00001":{"x":0,"y":423,"w":135,"h":158,"offX":126,"offY":22,"sourceW":402,"sourceH":380},
"破碎兔_00000":{"x":317,"y":399,"w":134,"h":166,"offX":130,"offY":19,"sourceW":402,"sourceH":380}}}
\ No newline at end of file
{"file":"candydie1.png","frames":{
"破碎鸟_00012":{"x":557,"y":387,"w":52,"h":47,"offX":241,"offY":333,"sourceW":402,"sourceH":380},
"破碎鸟_00011":{"x":420,"y":222,"w":205,"h":163,"offX":91,"offY":217,"sourceW":402,"sourceH":380},
"破碎鸟_00010":{"x":441,"y":0,"w":204,"h":220,"offX":92,"offY":153,"sourceW":402,"sourceH":380},
"破碎鸟_00009":{"x":215,"y":0,"w":224,"h":201,"offX":77,"offY":110,"sourceW":402,"sourceH":380},
"破碎鸟_00008":{"x":647,"y":0,"w":220,"h":202,"offX":80,"offY":83,"sourceW":402,"sourceH":380},
"破碎鸟_00007":{"x":0,"y":0,"w":213,"h":217,"offX":85,"offY":63,"sourceW":402,"sourceH":380},
"破碎鸟_00006":{"x":215,"y":203,"w":203,"h":207,"offX":92,"offY":53,"sourceW":402,"sourceH":380},
"破碎鸟_00005":{"x":647,"y":204,"w":211,"h":186,"offX":80,"offY":50,"sourceW":402,"sourceH":380},
"破碎鸟_00004":{"x":0,"y":219,"w":187,"h":187,"offX":95,"offY":35,"sourceW":402,"sourceH":380},
"破碎鸟_00003":{"x":869,"y":0,"w":143,"h":194,"offX":122,"offY":30,"sourceW":402,"sourceH":380},
"破碎鸟_00002":{"x":869,"y":196,"w":142,"h":172,"offX":122,"offY":29,"sourceW":402,"sourceH":380},
"破碎鸟_00001":{"x":420,"y":387,"w":135,"h":155,"offX":127,"offY":20,"sourceW":402,"sourceH":380},
"破碎鸟_00000":{"x":860,"y":370,"w":126,"h":167,"offX":131,"offY":17,"sourceW":402,"sourceH":380}}}
\ No newline at end of file
{"file":"candydie2.png","frames":{
"破碎牛_00012":{"x":332,"y":402,"w":52,"h":47,"offX":240,"offY":333,"sourceW":402,"sourceH":380},
"破碎牛_00011":{"x":192,"y":238,"w":202,"h":162,"offX":93,"offY":218,"sourceW":402,"sourceH":380},
"破碎牛_00010":{"x":659,"y":0,"w":201,"h":226,"offX":94,"offY":154,"sourceW":402,"sourceH":380},
"破碎牛_00009":{"x":0,"y":0,"w":222,"h":232,"offX":79,"offY":112,"sourceW":402,"sourceH":380},
"破碎牛_00008":{"x":224,"y":0,"w":218,"h":236,"offX":81,"offY":84,"sourceW":402,"sourceH":380},
"破碎牛_00007":{"x":444,"y":0,"w":213,"h":231,"offX":86,"offY":64,"sourceW":402,"sourceH":380},
"破碎牛_00006":{"x":444,"y":233,"w":204,"h":221,"offX":92,"offY":53,"sourceW":402,"sourceH":380},
"破碎牛_00005":{"x":659,"y":228,"w":213,"h":213,"offX":80,"offY":50,"sourceW":402,"sourceH":380},
"破碎牛_00004":{"x":0,"y":234,"w":190,"h":200,"offX":93,"offY":34,"sourceW":402,"sourceH":380},
"破碎牛_00003":{"x":862,"y":0,"w":154,"h":194,"offX":120,"offY":29,"sourceW":402,"sourceH":380},
"破碎牛_00002":{"x":874,"y":196,"w":146,"h":173,"offX":120,"offY":28,"sourceW":402,"sourceH":380},
"破碎牛_00001":{"x":192,"y":402,"w":138,"h":158,"offX":125,"offY":18,"sourceW":402,"sourceH":380},
"破碎牛_00000":{"x":874,"y":371,"w":135,"h":170,"offX":129,"offY":16,"sourceW":402,"sourceH":380}}}
\ No newline at end of file
{"file":"candydie3.png","frames":{
"破碎狮子_00012":{"x":663,"y":443,"w":184,"h":51,"offX":111,"offY":329,"sourceW":402,"sourceH":380},
"破碎狮子_00011":{"x":239,"y":239,"w":219,"h":156,"offX":79,"offY":224,"sourceW":402,"sourceH":380},
"破碎狮子_00010":{"x":469,"y":0,"w":235,"h":223,"offX":68,"offY":157,"sourceW":402,"sourceH":380},
"破碎狮子_00009":{"x":0,"y":0,"w":237,"h":238,"offX":66,"offY":113,"sourceW":402,"sourceH":380},
"破碎狮子_00008":{"x":239,"y":0,"w":228,"h":237,"offX":73,"offY":83,"sourceW":402,"sourceH":380},
"破碎狮子_00007":{"x":706,"y":0,"w":208,"h":231,"offX":88,"offY":66,"sourceW":402,"sourceH":380},
"破碎狮子_00006":{"x":469,"y":225,"w":192,"h":220,"offX":96,"offY":54,"sourceW":402,"sourceH":380},
"破碎狮子_00005":{"x":663,"y":233,"w":177,"h":208,"offX":105,"offY":48,"sourceW":402,"sourceH":380},
"破碎狮子_00004":{"x":842,"y":233,"w":175,"h":191,"offX":104,"offY":40,"sourceW":402,"sourceH":380},
"破碎狮子_00003":{"x":0,"y":240,"w":166,"h":178,"offX":109,"offY":31,"sourceW":402,"sourceH":380},
"破碎狮子_00002":{"x":168,"y":397,"w":147,"h":165,"offX":121,"offY":23,"sourceW":402,"sourceH":380},
"破碎狮子_00001":{"x":0,"y":420,"w":135,"h":159,"offX":127,"offY":19,"sourceW":402,"sourceH":380},
"破碎狮子_00000":{"x":317,"y":397,"w":135,"h":167,"offX":130,"offY":16,"sourceW":402,"sourceH":380}}}
\ No newline at end of file
{"file":"candydie4.png","frames":{
"破碎猪_00012":{"x":664,"y":444,"w":184,"h":51,"offX":110,"offY":329,"sourceW":402,"sourceH":380},
"破碎猪_00011":{"x":240,"y":239,"w":220,"h":156,"offX":78,"offY":224,"sourceW":402,"sourceH":380},
"破碎猪_00010":{"x":469,"y":0,"w":234,"h":223,"offX":68,"offY":157,"sourceW":402,"sourceH":380},
"破碎猪_00009":{"x":0,"y":0,"w":238,"h":239,"offX":65,"offY":113,"sourceW":402,"sourceH":380},
"破碎猪_00008":{"x":240,"y":0,"w":227,"h":237,"offX":73,"offY":83,"sourceW":402,"sourceH":380},
"破碎猪_00007":{"x":705,"y":0,"w":208,"h":232,"offX":88,"offY":66,"sourceW":402,"sourceH":380},
"破碎猪_00006":{"x":469,"y":225,"w":193,"h":220,"offX":96,"offY":54,"sourceW":402,"sourceH":380},
"破碎猪_00005":{"x":664,"y":234,"w":177,"h":208,"offX":105,"offY":48,"sourceW":402,"sourceH":380},
"破碎猪_00004":{"x":843,"y":234,"w":176,"h":191,"offX":104,"offY":40,"sourceW":402,"sourceH":380},
"破碎猪_00003":{"x":0,"y":241,"w":165,"h":178,"offX":110,"offY":31,"sourceW":402,"sourceH":380},
"破碎猪_00002":{"x":167,"y":397,"w":147,"h":165,"offX":121,"offY":23,"sourceW":402,"sourceH":380},
"破碎猪_00001":{"x":0,"y":421,"w":134,"h":158,"offX":128,"offY":19,"sourceW":402,"sourceH":380},
"破碎猪_00000":{"x":316,"y":397,"w":135,"h":167,"offX":130,"offY":16,"sourceW":402,"sourceH":380}}}
\ No newline at end of file
{"file":"candydiebg.png","frames":{
"糖果消失光_00013":{"x":486,"y":0,"w":5,"h":5,"offX":0,"offY":0,"sourceW":220,"sourceH":220},
"糖果消失光_00012":{"x":95,"y":422,"w":88,"h":105,"offX":64,"offY":46,"sourceW":220,"sourceH":220},
"糖果消失光_00011":{"x":188,"y":342,"w":91,"h":106,"offX":63,"offY":45,"sourceW":220,"sourceH":220},
"糖果消失光_00010":{"x":0,"y":310,"w":93,"h":112,"offX":62,"offY":42,"sourceW":220,"sourceH":220},
"糖果消失光_00009":{"x":95,"y":310,"w":91,"h":110,"offX":62,"offY":42,"sourceW":220,"sourceH":220},
"糖果消失光_00008":{"x":355,"y":327,"w":91,"h":109,"offX":62,"offY":44,"sourceW":220,"sourceH":220},
"糖果消失光_00007":{"x":0,"y":191,"w":113,"h":117,"offX":54,"offY":44,"sourceW":220,"sourceH":220},
"糖果消失光_00006":{"x":355,"y":176,"w":150,"h":149,"offX":36,"offY":31,"sourceW":220,"sourceH":220},
"糖果消失光_00005":{"x":190,"y":0,"w":175,"h":174,"offX":24,"offY":19,"sourceW":220,"sourceH":220},
"糖果消失光_00004":{"x":367,"y":0,"w":117,"h":114,"offX":49,"offY":50,"sourceW":220,"sourceH":220},
"糖果消失光_00003":{"x":190,"y":176,"w":163,"h":164,"offX":24,"offY":25,"sourceW":220,"sourceH":220},
"糖果消失光_00002":{"x":0,"y":0,"w":188,"h":189,"offX":12,"offY":12,"sourceW":220,"sourceH":220},
"糖果消失光_00001":{"x":367,"y":116,"w":32,"h":33,"offX":93,"offY":87,"sourceW":220,"sourceH":220},
"糖果消失光_00000":{"x":401,"y":116,"w":28,"h":30,"offX":95,"offY":88,"sourceW":220,"sourceH":220}}}
\ No newline at end of file
{"file":"candydis0.png","frames":{
"兔子糖果_00011":{"x":145,"y":202,"w":80,"h":31,"offX":35,"offY":114,"sourceW":150,"sourceH":150},
"兔子糖果_00010":{"x":63,"y":176,"w":80,"h":31,"offX":35,"offY":114,"sourceW":150,"sourceH":150},
"兔子糖果_00009":{"x":148,"y":169,"w":80,"h":31,"offX":35,"offY":114,"sourceW":150,"sourceH":150},
"兔子糖果_00008":{"x":63,"y":142,"w":83,"h":32,"offX":34,"offY":114,"sourceW":150,"sourceH":150},
"兔子糖果_00007":{"x":154,"y":134,"w":86,"h":33,"offX":32,"offY":114,"sourceW":150,"sourceH":150},
"兔子糖果_00006":{"x":0,"y":74,"w":87,"h":48,"offX":32,"offY":99,"sourceW":150,"sourceH":150},
"兔子糖果_00005":{"x":0,"y":0,"w":85,"h":67,"offX":33,"offY":79,"sourceW":150,"sourceH":150},
"兔子糖果_00004":{"x":87,"y":0,"w":69,"h":72,"offX":37,"offY":66,"sourceW":150,"sourceH":150},
"兔子糖果_00003":{"x":0,"y":124,"w":61,"h":67,"offX":39,"offY":58,"sourceW":150,"sourceH":150},
"兔子糖果_00002":{"x":89,"y":74,"w":63,"h":66,"offX":41,"offY":53,"sourceW":150,"sourceH":150},
"兔子糖果_00001":{"x":158,"y":0,"w":65,"h":66,"offX":42,"offY":50,"sourceW":150,"sourceH":150},
"兔子糖果_00000":{"x":158,"y":68,"w":66,"h":64,"offX":43,"offY":50,"sourceW":150,"sourceH":150}}}
\ No newline at end of file
{"file":"candydis1.png","frames":{
"鸟糖果_00011":{"x":0,"y":208,"w":80,"h":31,"offX":35,"offY":114,"sourceW":150,"sourceH":150},
"鸟糖果_00010":{"x":167,"y":184,"w":80,"h":31,"offX":35,"offY":114,"sourceW":150,"sourceH":150},
"鸟糖果_00009":{"x":85,"y":184,"w":80,"h":31,"offX":35,"offY":114,"sourceW":150,"sourceH":150},
"鸟糖果_00008":{"x":0,"y":174,"w":83,"h":32,"offX":34,"offY":114,"sourceW":150,"sourceH":150},
"鸟糖果_00007":{"x":0,"y":139,"w":86,"h":33,"offX":32,"offY":114,"sourceW":150,"sourceH":150},
"鸟糖果_00006":{"x":159,"y":0,"w":87,"h":49,"offX":32,"offY":98,"sourceW":150,"sourceH":150},
"鸟糖果_00005":{"x":0,"y":0,"w":85,"h":68,"offX":33,"offY":78,"sourceW":150,"sourceH":150},
"鸟糖果_00004":{"x":87,"y":0,"w":70,"h":72,"offX":36,"offY":66,"sourceW":150,"sourceH":150},
"鸟糖果_00003":{"x":0,"y":70,"w":61,"h":66,"offX":39,"offY":59,"sourceW":150,"sourceH":150},
"鸟糖果_00002":{"x":128,"y":118,"w":61,"h":64,"offX":42,"offY":55,"sourceW":150,"sourceH":150},
"鸟糖果_00001":{"x":159,"y":51,"w":63,"h":65,"offX":43,"offY":52,"sourceW":150,"sourceH":150},
"鸟糖果_00000":{"x":63,"y":74,"w":63,"h":63,"offX":44,"offY":51,"sourceW":150,"sourceH":150}}}
\ No newline at end of file
{"file":"candydis2.png","frames":{
"牛糖果_00011":{"x":82,"y":223,"w":80,"h":30,"offX":35,"offY":114,"sourceW":150,"sourceH":150},
"牛糖果_00010":{"x":0,"y":210,"w":80,"h":31,"offX":35,"offY":114,"sourceW":150,"sourceH":150},
"牛糖果_00009":{"x":172,"y":190,"w":80,"h":31,"offX":35,"offY":114,"sourceW":150,"sourceH":150},
"牛糖果_00008":{"x":89,"y":190,"w":81,"h":31,"offX":35,"offY":114,"sourceW":150,"sourceH":150},
"牛糖果_00007":{"x":89,"y":155,"w":86,"h":33,"offX":32,"offY":114,"sourceW":150,"sourceH":150},
"牛糖果_00006":{"x":0,"y":154,"w":87,"h":54,"offX":32,"offY":93,"sourceW":150,"sourceH":150},
"牛糖果_00005":{"x":0,"y":0,"w":81,"h":71,"offX":35,"offY":74,"sourceW":150,"sourceH":150},
"牛糖果_00004":{"x":158,"y":0,"w":72,"h":77,"offX":36,"offY":62,"sourceW":150,"sourceH":150},
"牛糖果_00003":{"x":83,"y":0,"w":73,"h":76,"offX":36,"offY":56,"sourceW":150,"sourceH":150},
"牛糖果_00002":{"x":75,"y":78,"w":70,"h":74,"offX":39,"offY":52,"sourceW":150,"sourceH":150},
"牛糖果_00001":{"x":147,"y":79,"w":69,"h":74,"offX":41,"offY":48,"sourceW":150,"sourceH":150},
"牛糖果_00000":{"x":0,"y":73,"w":73,"h":73,"offX":39,"offY":46,"sourceW":150,"sourceH":150}}}
\ No newline at end of file
{"file":"candydis3.png","frames":{
"狮子糖果_00011":{"x":0,"y":218,"w":80,"h":30,"offX":35,"offY":114,"sourceW":150,"sourceH":150},
"狮子糖果_00010":{"x":165,"y":202,"w":80,"h":31,"offX":35,"offY":114,"sourceW":150,"sourceH":150},
"狮子糖果_00009":{"x":83,"y":202,"w":80,"h":31,"offX":35,"offY":114,"sourceW":150,"sourceH":150},
"狮子糖果_00008":{"x":0,"y":185,"w":81,"h":31,"offX":35,"offY":114,"sourceW":150,"sourceH":150},
"狮子糖果_00007":{"x":0,"y":150,"w":86,"h":33,"offX":32,"offY":114,"sourceW":150,"sourceH":150},
"狮子糖果_00006":{"x":135,"y":149,"w":87,"h":51,"offX":32,"offY":96,"sourceW":150,"sourceH":150},
"狮子糖果_00005":{"x":0,"y":0,"w":81,"h":69,"offX":35,"offY":76,"sourceW":150,"sourceH":150},
"狮子糖果_00004":{"x":83,"y":0,"w":70,"h":74,"offX":38,"offY":65,"sourceW":150,"sourceH":150},
"狮子糖果_00003":{"x":71,"y":76,"w":62,"h":72,"offX":41,"offY":60,"sourceW":150,"sourceH":150},
"狮子糖果_00002":{"x":155,"y":75,"w":64,"h":72,"offX":42,"offY":54,"sourceW":150,"sourceH":150},
"狮子糖果_00001":{"x":155,"y":0,"w":68,"h":73,"offX":41,"offY":49,"sourceW":150,"sourceH":150},
"狮子糖果_00000":{"x":0,"y":71,"w":69,"h":71,"offX":41,"offY":48,"sourceW":150,"sourceH":150}}}
\ No newline at end of file
{"file":"candydis4.png","frames":{
"猪糖果_00011":{"x":0,"y":220,"w":80,"h":31,"offX":35,"offY":114,"sourceW":150,"sourceH":150},
"猪糖果_00010":{"x":167,"y":207,"w":80,"h":31,"offX":35,"offY":114,"sourceW":150,"sourceH":150},
"猪糖果_00009":{"x":85,"y":207,"w":80,"h":31,"offX":35,"offY":114,"sourceW":150,"sourceH":150},
"猪糖果_00008":{"x":0,"y":186,"w":83,"h":32,"offX":34,"offY":114,"sourceW":150,"sourceH":150},
"猪糖果_00007":{"x":0,"y":151,"w":86,"h":33,"offX":32,"offY":114,"sourceW":150,"sourceH":150},
"猪糖果_00006":{"x":159,"y":0,"w":87,"h":55,"offX":32,"offY":92,"sourceW":150,"sourceH":150},
"猪糖果_00005":{"x":0,"y":0,"w":85,"h":74,"offX":33,"offY":72,"sourceW":150,"sourceH":150},
"猪糖果_00004":{"x":87,"y":0,"w":70,"h":78,"offX":36,"offY":60,"sourceW":150,"sourceH":150},
"猪糖果_00003":{"x":124,"y":133,"w":57,"h":72,"offX":37,"offY":53,"sourceW":150,"sourceH":150},
"猪糖果_00002":{"x":62,"y":80,"w":60,"h":69,"offX":38,"offY":50,"sourceW":150,"sourceH":150},
"猪糖果_00001":{"x":0,"y":76,"w":60,"h":73,"offX":40,"offY":46,"sourceW":150,"sourceH":150},
"猪糖果_00000":{"x":159,"y":57,"w":62,"h":74,"offX":40,"offY":45,"sourceW":150,"sourceH":150}}}
\ No newline at end of file
{"file":"candysub.png","frames":{
"数字减少星星_00015":{"x":186,"y":69,"w":5,"h":5,"offX":0,"offY":0,"sourceW":120,"sourceH":120},
"数字减少星星_00014":{"x":193,"y":69,"w":3,"h":4,"offX":56,"offY":58,"sourceW":120,"sourceH":120},
"数字减少星星_00013":{"x":97,"y":131,"w":20,"h":47,"offX":51,"offY":38,"sourceW":120,"sourceH":120},
"数字减少星星_00012":{"x":221,"y":125,"w":30,"h":51,"offX":50,"offY":37,"sourceW":120,"sourceH":120},
"数字减少星星_00011":{"x":178,"y":125,"w":41,"h":55,"offX":41,"offY":36,"sourceW":120,"sourceH":120},
"数字减少星星_00010":{"x":200,"y":66,"w":47,"h":57,"offX":37,"offY":35,"sourceW":120,"sourceH":120},
"数字减少星星_00009":{"x":200,"y":0,"w":54,"h":64,"offX":33,"offY":32,"sourceW":120,"sourceH":120},
"数字减少星星_00008":{"x":0,"y":68,"w":60,"h":67,"offX":28,"offY":29,"sourceW":120,"sourceH":120},
"数字减少星星_00007":{"x":136,"y":0,"w":62,"h":67,"offX":25,"offY":28,"sourceW":120,"sourceH":120},
"数字减少星星_00006":{"x":70,"y":0,"w":64,"h":66,"offX":24,"offY":28,"sourceW":120,"sourceH":120},
"数字减少星星_00005":{"x":0,"y":0,"w":68,"h":66,"offX":21,"offY":26,"sourceW":120,"sourceH":120},
"数字减少星星_00004":{"x":62,"y":68,"w":63,"h":61,"offX":22,"offY":27,"sourceW":120,"sourceH":120},
"数字减少星星_00003":{"x":127,"y":69,"w":57,"h":53,"offX":25,"offY":31,"sourceW":120,"sourceH":120},
"数字减少星星_00002":{"x":127,"y":124,"w":49,"h":47,"offX":30,"offY":34,"sourceW":120,"sourceH":120},
"数字减少星星_00001":{"x":62,"y":131,"w":33,"h":41,"offX":37,"offY":38,"sourceW":120,"sourceH":120},
"数字减少星星_00000":{"x":249,"y":66,"w":5,"h":5,"offX":0,"offY":0,"sourceW":120,"sourceH":120}}}
\ No newline at end of file
This diff is collapsed.
...@@ -8,6 +8,21 @@ import { ExmlPlugin2 } from "./ExmlPlugin2"; ...@@ -8,6 +8,21 @@ import { ExmlPlugin2 } from "./ExmlPlugin2";
export class MyExmlPlugin extends ExmlPlugin2 implements plugins.Command { export class MyExmlPlugin extends ExmlPlugin2 implements plugins.Command {
async onFile(file: plugins.File) { async onFile(file: plugins.File) {
const excludes = [ const excludes = [
'candydiebg.png',
'candysub.png',
'candydis0.png',
'candydis1.png',
'candydis2.png',
'candydis3.png',
'candydis4.png',
'candydie0.png',
'candydie1.png',
'candydie2.png',
'candydie3.png',
'candydie4.png',
'candynums.png', 'candynums.png',
'top1.png', 'top1.png',
'top2.png', 'top2.png',
......
import { Ani } from "../../class/Ani";
import { ImageAni } from "../../class/ImageAni";
//原点已是中心
export class EleDisAni extends Ani {
/**
* 图片
*/
showImage: ImageAni;
constructor() {
super();
this.aniName = "EleDisAni";
var arr = []
for (var i = 1; i <= 19; i++) {
arr.push("eleDis" + i + "_png");
}
this.showImage = new ImageAni(arr);
this.addChild(this.showImage)
}
play() {
//重置图片
this.showImage.currentFrame = 0;
this.showImage.source = this.showImage.sourceAll[0];
this.showImage.play(() => {
this.recover();
})
}
}
\ No newline at end of file
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