Files
Zos/Skills/@be/node_modules/jibo-anim-db-animations/timelines/emoji_basketball.js

397 lines
11 KiB
JavaScript

(function (PIXI, lib) {
var MovieClip = PIXI.animate.MovieClip;
var Sprite = PIXI.Sprite;
var fromFrame = PIXI.Texture.fromFrame;
var Graphics = PIXI.Graphics;
var shapes = PIXI.animate.ShapesCache;
var Graphic1 = MovieClip.extend(function (mode) {
MovieClip.call(this, { mode: mode, duration: 34, loop: false });
var instance1 = new Sprite(fromFrame("basketball-lines-masked1"))
.setTransform(-246.3, -247.45, 1.007, 1.007);
this.addTimedChild(instance1);
});
var Graphic2 = MovieClip.extend(function (mode) {
MovieClip.call(this, { mode: mode, duration: 34, loop: false });
var instance1 = new Graphics()
.drawCommands(shapes.emoji_basketball[0])
.setRenderable(false);
var instance3 = new Graphics()
.drawCommands(shapes.emoji_basketball[1])
.setRenderable(false);
var instance4 = new Graphics()
.drawCommands(shapes.emoji_basketball[2])
.setRenderable(false);
var instance5 = new Graphics()
.drawCommands(shapes.emoji_basketball[3])
.setRenderable(false);
var instance6 = new Graphics()
.drawCommands(shapes.emoji_basketball[4])
.setRenderable(false);
var instance7 = new Graphics()
.drawCommands(shapes.emoji_basketball[5])
.setRenderable(false);
var instance8 = new Graphics()
.drawCommands(shapes.emoji_basketball[6])
.setRenderable(false);
var instance9 = new Graphics()
.drawCommands(shapes.emoji_basketball[7])
.setRenderable(false);
var instance10 = new Graphics()
.drawCommands(shapes.emoji_basketball[8])
.setRenderable(false);
var instance11 = new Graphics()
.drawCommands(shapes.emoji_basketball[7])
.setRenderable(false);
var instance12 = new Graphics()
.drawCommands(shapes.emoji_basketball[6])
.setRenderable(false);
var instance13 = new Graphics()
.drawCommands(shapes.emoji_basketball[5])
.setRenderable(false);
var instance14 = new Graphics()
.drawCommands(shapes.emoji_basketball[4])
.setRenderable(false);
var instance15 = new Graphics()
.drawCommands(shapes.emoji_basketball[3])
.setRenderable(false);
var instance16 = new Graphics()
.drawCommands(shapes.emoji_basketball[2])
.setRenderable(false);
var instance17 = new Graphics()
.drawCommands(shapes.emoji_basketball[1])
.setRenderable(false);
var instance18 = new Graphics()
.drawCommands(shapes.emoji_basketball[0])
.setRenderable(false);
var instance2 = new Graphic1(MovieClip.SYNCHED);
this.addTimedChild(instance1, 0, 1)
.addTimedChild(instance3, 1, 1)
.addTimedChild(instance4, 2, 1)
.addTimedChild(instance5, 3, 1)
.addTimedChild(instance6, 4, 1)
.addTimedChild(instance7, 5, 1)
.addTimedChild(instance8, 6, 1)
.addTimedChild(instance9, 7, 1)
.addTimedChild(instance10, 8, 18)
.addTimedChild(instance11, 26, 1)
.addTimedChild(instance12, 27, 1)
.addTimedChild(instance13, 28, 1)
.addTimedChild(instance14, 29, 1)
.addTimedChild(instance15, 30, 1)
.addTimedChild(instance16, 31, 1)
.addTimedChild(instance17, 32, 1)
.addTimedChild(instance18, 33, 1)
.addTimedMask(instance2, {
"0": instance1,
"1": instance3,
"2": instance4,
"3": instance5,
"4": instance6,
"5": instance7,
"6": instance8,
"7": instance9,
"8": instance10,
"26": instance11,
"27": instance12,
"28": instance13,
"29": instance14,
"30": instance15,
"31": instance16,
"32": instance17,
"33": instance18
})
.addTimedChild(instance2, 0, 34, {
"0": {
x: 3.85,
y: -7.5
}
});
});
var Graphic3 = MovieClip.extend(function (mode) {
MovieClip.call(this, { mode: mode, duration: 37, loop: false });
var instance1 = new Sprite(fromFrame("basketball-ball1"))
.setTransform(-255.05, -255.1, 1.007, 1.007);
this.addTimedChild(instance1);
});
var Graphic4 = MovieClip.extend(function (mode) {
MovieClip.call(this, { mode: mode, duration: 37, loop: false });
var instance1 = new Graphic3(MovieClip.SYNCHED);
var instance2 = new Graphic2(MovieClip.SYNCHED);
this.addTimedChild(instance1, 0, 37, {
"0": {
y: -4.35
}
})
.addTimedChild(instance2, 2, 34, {
"2": {
x: 0.55,
y: -0.2
}
});
});
lib.emoji_basketball = MovieClip.extend(function () {
MovieClip.call(this, {
duration: 38,
framerate: 30,
loop: false
});
var instance1 = new Graphic4(MovieClip.SYNCHED);
this.addTimedChild(instance1, 0, 37, {
"0": {
x: 641.95,
y: 362.45,
sx: 0.608,
sy: 0.608,
r: -1.181,
a: 1
},
"1": {
x: 641.904,
y: 362.479,
sx: 0.623,
sy: 0.623,
r: -1.046
},
"2": {
x: 641.74,
y: 362.632,
sx: 0.68,
sy: 0.68,
r: -0.906
},
"3": {
x: 641.381,
y: 363.041,
sx: 0.792,
sy: 0.792,
r: -0.77
},
"4": {
x: 640.777,
y: 363.606,
sx: 0.945,
sy: 0.945,
r: -0.63
},
"5": {
x: 640.292,
y: 364.005,
sx: 1.073,
sy: 1.073,
r: -0.494
},
"6": {
x: 640.05,
y: 364.208,
sx: 1.14,
sy: 1.14,
r: -0.354
},
"7": {
x: 639.85,
y: 364.45,
sx: 1.159,
sy: 1.159,
r: -0.218
},
"8": {
x: 639.843,
y: 364.466,
sx: 1.157,
sy: 1.157,
r: -0.193
},
"9": {
x: 639.852,
y: 364.445,
sx: 1.149,
sy: 1.149,
r: -0.171
},
"10": {
x: 639.799,
y: 364.475,
sx: 1.134,
sy: 1.134,
r: -0.149
},
"11": {
x: 639.832,
y: 364.473,
sx: 1.111,
sy: 1.111,
r: -0.128
},
"12": {
x: 639.815,
y: 364.454,
sx: 1.08,
sy: 1.08,
r: -0.106
},
"13": {
x: 639.873,
y: 364.476,
sx: 1.048,
sy: 1.048,
r: -0.084
},
"14": {
x: 639.839,
y: 364.452,
sx: 1.021,
sy: 1.021,
r: -0.062
},
"15": {
x: 639.884,
y: 364.431,
sx: 1.004,
sy: 1.004,
r: -0.04
},
"16": {
x: 639.844,
y: 364.455,
sx: 0.995,
sy: 0.995,
r: -0.019
},
"17": {
x: 639.95,
y: 364.5,
sx: 0.993,
sy: 0.993,
r: 0
},
"23": {
x: 639.948,
y: 364.471,
sx: 0.995,
sy: 0.995,
r: 0.014
},
"24": {
x: 640.009,
y: 364.451,
sx: 1.005,
sy: 1.005,
r: 0.044
},
"25": {
x: 640.002,
y: 364.437,
sx: 1.025,
sy: 1.025,
r: 0.088
},
"26": {
x: 640,
y: 364.506,
sx: 1.05,
sy: 1.05,
r: 0.136
},
"27": {
x: 639.98,
y: 364.459,
sx: 1.07,
sy: 1.07,
r: 0.189
},
"28": {
x: 640.073,
y: 364.417,
sx: 1.079,
sy: 1.079,
r: 0.241
},
"29": {
x: 639.95,
y: 364.4,
sx: 1.083,
sy: 1.083,
r: 0.287
},
"30": {
x: 639.957,
y: 364.362,
sx: 1.068,
sy: 1.068,
r: 0.442,
a: 0.86
},
"31": {
x: 640.058,
y: 364.32,
sx: 1.019,
sy: 1.019,
r: 0.6,
a: 0.71
},
"32": {
x: 640.121,
y: 364.352,
sx: 0.923,
sy: 0.923,
r: 0.757,
a: 0.57
},
"33": {
x: 640.16,
y: 364.398,
sx: 0.792,
sy: 0.792,
r: 0.915,
a: 0.43
},
"34": {
x: 640.191,
y: 364.377,
sx: 0.681,
sy: 0.681,
r: 1.072,
a: 0.29
},
"35": {
x: 640.263,
y: 364.423,
sx: 0.623,
sy: 0.623,
r: 1.23,
a: 0.14
},
"36": {
x: 639.95,
y: 364.35,
sx: 0.607,
sy: 0.607,
r: 1.386,
a: 0
}
});
});
lib.emoji_basketball.assets = {
"emoji_basketball": "images/emoji_basketball.shapes.json",
"emoji_basketball_atlas_1": "images/emoji_basketball_atlas_1.json"
};
})(PIXI, lib = lib || {});
var lib;
if (typeof module !== 'undefined' && module.exports) {
module.exports = {
stage: lib.emoji_basketball,
background: 0x0,
width: 1280,
height: 720,
framerate: 30,
totalFrames: 38,
library: lib
};
}