Commit 23ce7b5e authored by wjf's avatar wjf

l

parent 771f27cc
......@@ -256,7 +256,11 @@ export default class MainBase extends eui.UILayer {
for (var i = 1; i <= 19; i++) {
RES.getResAsync("bubbleStar" + i + "_png")
}
for (var i = 1; i <= 11; i++) {
RES.getResAsync("hairballPiece" + i + "_png")
}
var arr = [
"hairballDisBg",
"brownBallFace",
"greyBallFace",
"eyeDownLeft",
......
......@@ -29,4 +29,87 @@ export class HairballGreyDisAni extends Ani {
this.recover();
})
}
}
\ No newline at end of file
}
/**
* 碎片位置参数
*/
const config = [
{
"name": "hairballPiece1",
"x": 5,
"y": 46,
"width": 33,
"height": 15
},
{
"name": "hairballPiece2",
"x": 32,
"y": 41,
"width": 36,
"height": 21
},
{
"name": "hairballPiece3",
"x": 0,
"y": 37,
"width": 36,
"height": 21
},
{
"name": "hairballPiece4",
"x": 30,
"y": 26,
"width": 41,
"height": 31
},
{
"name": "hairballPiece5",
"x": 1,
"y": 32,
"width": 42,
"height": 17
},
{
"name": "hairballPiece6",
"x": 33,
"y": 30,
"width": 34,
"height": 17
},
{
"name": "hairballPiece7",
"x": 1,
"y": 23,
"width": 47,
"height": 15
},
{
"name": "hairballPiece8",
"x": 33,
"y": 20,
"width": 38,
"height": 14
},
{
"name": "hairballPiece9",
"x": 2,
"y": 16,
"width": 41,
"height": 11
},
{
"name": "hairballPiece10",
"x": 31,
"y": 13,
"width": 39,
"height": 10
},
{
"name": "hairballPiece11",
"x": 5,
"y": 0,
"width": 65,
"height": 23
}
]
\ 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