mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
329 lines
No EOL
14 KiB
JavaScript
329 lines
No EOL
14 KiB
JavaScript
(function (lib, img, cjs) {
|
|
|
|
var p; // shortcut to reference prototypes
|
|
var rect; // used to reference frame bounds
|
|
|
|
// stage content:
|
|
(lib.waterfallRed_JSCC = function(mode,startPosition,loop) {
|
|
this.initialize(mode,startPosition,loop,{});
|
|
|
|
// base (mask)
|
|
var mask = new cjs.Shape();
|
|
mask._off = true;
|
|
mask.graphics.p("ACnU3IgkkAQhwrBkTl8QkYmDm6grIgkl0IBckhQNdCsHuInQH6IvBQN+IAPEEg");
|
|
mask.setTransform(103.4,134);
|
|
|
|
// W
|
|
this.instance = new lib.W_1();
|
|
this.instance.setTransform(116.1,183.8,0.753,0.753,0,37.2,-142.7,30.9,22.4);
|
|
|
|
// this.instance.mask = mask;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance).to({skewX:42.8,skewY:-137,x:125.6,y:231.4},6).to({skewX:49,skewY:-130.8,x:129.6,y:299.4},4).to({_off:true},1).wait(7));
|
|
|
|
// W
|
|
this.instance_1 = new lib.W_1();
|
|
this.instance_1.setTransform(-22,66.2,0.753,0.753,0,-27.4,152.5,30.9,22.4);
|
|
|
|
// this.instance_1.mask = mask;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_1).to({regX:31,skewX:4,skewY:184.1,x:60.5,y:104.2},9).to({regX:30.9,skewX:33.5,skewY:213.6,x:110.6,y:167.4},8).wait(1));
|
|
|
|
// Layer 53
|
|
this.instance_2 = new lib.W_4();
|
|
this.instance_2.setTransform(-24.1,26,1,1,0,-19.2,160.7,38.4,16.1);
|
|
this.instance_2._off = true;
|
|
|
|
// this.instance_2.mask = mask;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(11).to({_off:false},0).to({skewX:-7.3,skewY:172.5,x:52.1,y:45.6},3).to({regX:38.5,regY:16.3,skewX:-0.3,skewY:179.5,x:71.1,y:53.2},3).wait(1));
|
|
|
|
// Layer 7
|
|
this.instance_3 = new lib.W_4();
|
|
this.instance_3.setTransform(82.1,59.2,1,1,0,4.2,-175.7,38.5,16.2);
|
|
|
|
// this.instance_3.mask = mask;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_3).to({regY:16.3,skewX:27.7,skewY:-152.1,x:149.3,y:127.4},7).to({regX:38.2,regY:14,skewX:53.2,skewY:-126.6,x:192.3,y:216.4},7).to({regX:38.3,regY:13.9,skewX:59.6,skewY:-120.2,x:201.3,y:284.5,alpha:0},3).wait(1));
|
|
|
|
// Layer 52
|
|
this.instance_4 = new lib.W_3();
|
|
this.instance_4.setTransform(-25.1,25.8,1,1,0,-42.8,137.1,25.9,29.3);
|
|
this.instance_4._off = true;
|
|
|
|
// this.instance_4.mask = mask;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_4).wait(6).to({_off:false},0).to({scaleX:1,scaleY:1,skewX:-17.7,skewY:162.1,x:90.9,y:73.5},5).to({regY:29.4,scaleX:1,scaleY:1,skewX:-3,skewY:176.8,x:135,y:110.5},6).wait(1));
|
|
|
|
// Layer 6
|
|
this.instance_5 = new lib.W_3();
|
|
this.instance_5.setTransform(144,121.9,1,1,0,0,180,25.9,29.3);
|
|
|
|
// this.instance_5.mask = mask;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_5).to({skewX:18.7,skewY:198.8,x:183.5,y:229.2},7).to({skewX:25.7,skewY:205.8,x:196,y:287.4},7).to({_off:true},1).wait(3));
|
|
|
|
// Layer 51
|
|
this.instance_6 = new lib.W_2();
|
|
this.instance_6.setTransform(-10.1,27.4,1,1,0,-31.5,148.4,35.4,30.2);
|
|
this.instance_6._off = true;
|
|
|
|
// this.instance_6.mask = mask;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_6).wait(7).to({_off:false},0).to({regX:35.3,scaleX:1,scaleY:1,skewX:-14.9,skewY:164.9,x:70.6,y:61.5},5).to({regX:35.4,scaleX:1,scaleY:1,skewX:-1.6,skewY:178.2,x:110.9,y:95.1},5).wait(1));
|
|
|
|
// Layer 12
|
|
this.instance_7 = new lib.W_2();
|
|
this.instance_7.setTransform(121,103.5,1,1,0,1.3,-178.6,35.4,30.2);
|
|
|
|
// this.instance_7.mask = mask;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_7).to({regY:30.3,skewX:20,skewY:-159.8,x:167.6,y:204.4},7).to({regX:35.5,skewX:35.9,skewY:-143.9,x:181.4,y:276.3},7).to({regY:30.2,skewX:41.6,skewY:-138.2,x:188.4,y:311.4,alpha:0},3).wait(1));
|
|
|
|
// base
|
|
this.instance_8 = new lib.Waterfallred();
|
|
this.instance_8.setTransform(103.7,133.1,1,1,0,0,180,101.7,108.9);
|
|
this.instance_8.alpha = 0.801;
|
|
|
|
this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_8}]}).wait(18));
|
|
|
|
// base
|
|
this.instance_9 = new lib.Waterfall2();
|
|
this.instance_9.setTransform(103.7,133.1,1,1,0,0,180,101.7,108.9);
|
|
this.instance_9.alpha = 0.801;
|
|
|
|
this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_9}]}).wait(18));
|
|
|
|
// base (mask)
|
|
var mask_1 = new cjs.Shape();
|
|
mask_1._off = true;
|
|
mask_1.graphics.p("ACnU3IgkkAQhwrBkTl8QkYmDm6grIgkl0IBckhQNdCsHuInQH6IvBQN+IAPEEg");
|
|
mask_1.setTransform(103.4,134);
|
|
|
|
// Layer 50
|
|
this.instance_10 = new lib.W_2();
|
|
this.instance_10.setTransform(14.7,39.2,1,1,0,-25.7,154.2,35.4,30.1);
|
|
|
|
// this.instance_10.mask = mask_1;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_10).to({skewX:-10.9,skewY:168.9,x:63.7,y:62.1},4).to({skewX:10.6,skewY:190.7,x:129.9,y:129.1},7).to({regX:35.3,scaleX:1,scaleY:1,skewX:26.6,skewY:206.7,x:158.3,y:195.1},6).wait(1));
|
|
|
|
// Layer 42
|
|
this.instance_11 = new lib.W_2();
|
|
this.instance_11.setTransform(164,208.3,1,1,0,29.9,-150,35.3,30.1);
|
|
|
|
// this.instance_11.mask = mask_1;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_11).to({skewX:37.4,skewY:-142.4,x:170.9,y:274.4},4).to({x:175.9,y:308.4},5).to({_off:true},1).wait(8));
|
|
|
|
// Layer 49
|
|
this.instance_12 = new lib.W_2();
|
|
this.instance_12.setTransform(-9.3,53.1,1,1,0,-31.1,148.8,35.4,30.1);
|
|
this.instance_12._off = true;
|
|
|
|
// this.instance_12.mask = mask_1;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_12).wait(11).to({_off:false},0).to({skewX:-11.5,skewY:168.3,x:49.2,y:73.6},3).to({regY:30.2,skewX:-3.6,skewY:176.2,x:75.9,y:95},3).wait(1));
|
|
|
|
// Layer 5
|
|
this.instance_13 = new lib.W_2();
|
|
this.instance_13.setTransform(89.3,105.7,1,1,0,0,180,35.3,30.2);
|
|
|
|
// this.instance_13.mask = mask_1;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_13).to({regY:30.1,skewX:19.2,skewY:199.3,x:120.9,y:175.8},7).to({skewX:29.9,skewY:210,x:131.9,y:242.4},6).to({skewX:43.6,skewY:223.7,x:130.9,y:313.4,alpha:0},4).wait(1));
|
|
|
|
// W
|
|
this.instance_14 = new lib.W_1();
|
|
this.instance_14.setTransform(-27.4,34.7,1,1,0,-24.7,155.2,31,22.2);
|
|
this.instance_14.alpha = 0.238;
|
|
this.instance_14._off = true;
|
|
|
|
// this.instance_14.mask = mask_1;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_14).wait(14).to({_off:false},0).to({skewX:-17.9,skewY:161.9,x:13.6,y:46.2,alpha:1},3).wait(1));
|
|
|
|
// W
|
|
this.instance_15 = new lib.W_1();
|
|
this.instance_15.setTransform(145,223.3,1,1,0,38.3,-141.6,31,22.1);
|
|
|
|
// this.instance_15.mask = mask_1;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_15).to({skewX:49.8,skewY:-130,x:157,y:310.9},6).to({_off:true},1).wait(11));
|
|
|
|
// W
|
|
this.instance_16 = new lib.W_1();
|
|
this.instance_16.setTransform(32.6,56.2,1,1,0,-7.8,172.1,31,22.2);
|
|
|
|
// this.instance_16.mask = mask_1;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_16).to({regY:22.1,skewX:2.5,skewY:182.6,x:86.8,y:86.1},7).to({regY:22.2,skewX:29.1,skewY:209.2,x:122.8,y:147.3},7).to({regY:22.1,skewX:38.3,skewY:218.4,x:141.4,y:208.3},3).wait(1));
|
|
|
|
// W
|
|
this.instance_17 = new lib.W_1();
|
|
this.instance_17.setTransform(115.6,193.3,0.753,0.753,0,37.8,-142.1,30.9,22.3);
|
|
|
|
// this.instance_17.mask = mask_1;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_17).to({skewX:47.8,skewY:-132,x:131.2,y:301.5},6).to({_off:true},1).wait(11));
|
|
|
|
// W
|
|
this.instance_18 = new lib.W_1();
|
|
this.instance_18.setTransform(24.5,71.2,0.753,0.753,0,-15,164.9,30.8,22.4);
|
|
|
|
// this.instance_18.mask = mask_1;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_18).to({regX:30.9,skewX:-0.5,skewY:179.3,x:63.6,y:94.2},7).to({skewX:24.3,skewY:204.4,x:95.6,y:141.3},7).to({regY:22.3,skewX:37.8,skewY:217.9,x:112.1,y:183.3},3).wait(1));
|
|
|
|
// W
|
|
this.instance_19 = new lib.W_1();
|
|
this.instance_19.setTransform(13.6,31.4,1,1,0,-19,160.9,31.1,22.2);
|
|
|
|
// this.instance_19.mask = mask_1;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_19).to({regX:31,skewX:8.2,skewY:188.3,x:125.6,y:92.7},7).to({scaleX:1,scaleY:1,skewX:33.8,skewY:213.9,x:166.9,y:153.5},5).to({scaleX:1,scaleY:1,skewX:34.4,skewY:214.5,x:176.1,y:192.5},5).wait(1));
|
|
|
|
// W
|
|
this.instance_20 = new lib.W_1();
|
|
this.instance_20.setTransform(178.3,202.1,1,1,0,34.6,-145.3,31.1,22.3);
|
|
|
|
// this.instance_20.mask = mask_1;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_20).to({skewX:43.9,skewY:-135.9,x:196.8,y:297.3},7).to({regY:22.2,scaleX:1,scaleY:1,skewX:45.9,skewY:-133.9,x:198,y:314.2},2).to({_off:true},1).wait(8));
|
|
|
|
// W
|
|
this.instance_21 = new lib.W_1();
|
|
this.instance_21.setTransform(-11.3,41.5,1,1,0,-15.7,164.2,30.9,22.3);
|
|
this.instance_21._off = true;
|
|
|
|
// this.instance_21.mask = mask_1;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_21).wait(3).to({_off:false},0).to({scaleX:0.92,scaleY:0.94,skewX:14.2,skewY:194.3,x:88.9,y:98.5},8).to({regX:30.8,scaleX:0.99,scaleY:0.99,skewX:34.1,skewY:214.2,x:140.2,y:183.1},6).wait(1));
|
|
|
|
// W
|
|
this.instance_22 = new lib.W_1();
|
|
this.instance_22.setTransform(147.5,195.1,1,1,0,36.9,-143,30.9,22.3);
|
|
|
|
// this.instance_22.mask = mask_1;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_22).to({skewX:45.6,skewY:-134.2,x:160,y:277.7},7).to({regX:31,regY:22.2,scaleX:1,scaleY:1,skewX:49.7,skewY:-130.1,x:161,y:314.5},6).to({_off:true},1).wait(4));
|
|
|
|
// Layer 43
|
|
this.instance_23 = new lib.W_1();
|
|
this.instance_23.setTransform(2.5,37.8,1,1,0,-13.8,166.1,30.9,22.3);
|
|
this.instance_23._off = true;
|
|
|
|
// this.instance_23.mask = mask_1;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_23).wait(13).to({_off:false},0).to({regX:31,skewX:-3.1,skewY:176.7,x:61,y:67.9},4).wait(1));
|
|
|
|
// Layer 4
|
|
this.instance_24 = new lib.W_1();
|
|
this.instance_24.setTransform(80.5,77.9,1,1,0,0,180,31,22.3);
|
|
|
|
// this.instance_24.mask = mask_1;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_24).to({regX:30.9,skewX:27.4,skewY:207.5,x:131.6,y:153.5},7).to({regY:22.2,skewX:43.3,skewY:223.4,x:160.9,y:217.5},6).to({skewX:53,skewY:233.1,x:167.3,y:310.6,alpha:0},4).wait(1));
|
|
|
|
// Layer 57
|
|
this.instance_25 = new lib.W_1();
|
|
this.instance_25.setTransform(-4.2,35.8,1.091,1.006,0,-15.1,167.2,31,22.3);
|
|
this.instance_25._off = true;
|
|
|
|
// this.instance_25.mask = mask_1;
|
|
|
|
this.timeline.addTween(cjs.Tween.get(this.instance_25).wait(13).to({_off:false},0).to({regX:30.9,scaleX:1.1,scaleY:1,skewX:-3.4,skewY:177,x:60.1,y:65.9},4).wait(1));
|
|
|
|
}).prototype = p = new cjs.MovieClip();
|
|
p.nominalBounds = rect = new cjs.Rectangle(1.9,24.2,205,243.8);
|
|
p.frameBounds = [rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect, rect];
|
|
|
|
|
|
// symbols:
|
|
(lib.Waterfallred = function() {
|
|
this.initialize();
|
|
|
|
// Layer 1
|
|
this.shape = new cjs.Shape();
|
|
this.shape.graphics.f("#FF2A00").s().p("AvwO/QBPt/H6ovQHuomNeitIBbEhIgjF0Qm6ArkZGDQkTF8hvLCIglD/ItiAFg");
|
|
this.shape.setTransform(101,121.9);
|
|
|
|
this.addChild(this.shape);
|
|
}).prototype = p = new cjs.Container();
|
|
p.nominalBounds = rect = new cjs.Rectangle(-1.4,0,205,243.8);
|
|
p.frameBounds = [rect];
|
|
|
|
|
|
(lib.Waterfall2 = function() {
|
|
this.initialize();
|
|
|
|
// Layer 1
|
|
this.shape = new cjs.Shape();
|
|
this.shape.graphics.f("#FFFFFF").s().p("AvDPcIAAhMIADgHIACgHIADgIIACgHIAAgQIAAgOIAAgIIAAgHIAAgIIAAgIIAAgIIADgHIACgHIACgIIACgHIABgIIAAgIIAAgHIADgHIACgIIADgHIACgIIAAgIIAAgHIAAgHQAJgbAHgaIAUhLIAghwQAKglADgnIACgHIADgIIACgIIADgHIAAgIIAAgHIAAgHIAEgIIAEgHIAEgIIADgIIABgHIACgHIABgIIABgIIAAgHIACgIIADgHIACgHIADgIIACgIIAFgHIADgIIACgHIADgHIACgIIADgIIAEgIIAEgHIAEgHIADgHIAFgQIAFgPIACgHIAFgPIADgIIAFgIIACgHIADgHIACgIIADgHIACgIQAJgOAIgPQAGgMAHgMIAKgNIAIgOIACgIIAAgBQgIA2gLA4IgrDXQgRBXgDBYIgEAPIgNBEQgGAegEAeQgCASgBATQgfCGgJCJIgIB2IgCAIIhvAAIAAg4gAo4MgQAujYA1jWQAmiYAviXQAcgyAbgxQAfg7Adg9QANgNAIgRIALgXIAIgPIAHgPIADgHIACgIIANgPIAMgPIAFgHIAIgPIAFgIIADgIIACgHIAFgHIAFgIIADgHIAFgIIACgIIADgHIASgWQAPgRAJgUQAFgMAHgMQAHgKAJgKQATAWAcAGQATAFARgBQATgCASgEIAKgGIANgHIAHgHIAPgIIAKgHIAKgJIAIgHIAWgPIAKgHIAIgIIAFgIIAFgHIAKgIIAIgHIAOgIIAKgHIAIgIIAHgHIAGgIIATgPIAQgPIAPgPIAHgHIAXgPIAJgIQAFgDADgFIAFgHIAFgHIAKgIIAIgGIAKgJIAKgHIAMgIIAIgHIARgPIAIgIIAPgPIAHgHIASgIIAMgHIAKgIIAIgHIAKgIIAPgEIAKgDQA/gdA7ggQAhgTAegXIAegLIA9gcQAVgKATgOIAOgFIALgFIAPgHIAPgEIAKgEIAFgCIAJgFIALgHIAPgFIASgFIgeE4Qm6ArkYGDQkTF8hwLCIglD/ImXACIAzjyg");
|
|
this.shape.setTransform(106.4,139.3);
|
|
|
|
this.addChild(this.shape);
|
|
}).prototype = p = new cjs.Container();
|
|
p.nominalBounds = rect = new cjs.Rectangle(10,34.9,192.9,208.9);
|
|
p.frameBounds = [rect];
|
|
|
|
|
|
(lib.W_4 = function() {
|
|
this.initialize();
|
|
|
|
// Layer 1
|
|
this.shape = new cjs.Shape();
|
|
this.shape.graphics.f("#FFFFFF").s().p("Ah8gSQFgitiQCDQCLg9A1gQIAGgCQA0gPARADQAQACl1C5QigBaC+ijIjiB5QiBBFgRAAQgbAAD7irg");
|
|
this.shape.setTransform(41.8,15.3);
|
|
|
|
this.addChild(this.shape);
|
|
}).prototype = p = new cjs.Container();
|
|
p.nominalBounds = rect = new cjs.Rectangle(6.6,0,70.4,30.7);
|
|
p.frameBounds = [rect];
|
|
|
|
|
|
(lib.W_3 = function() {
|
|
this.initialize();
|
|
|
|
// Layer 1
|
|
this.shape = new cjs.Shape();
|
|
this.shape.graphics.f("#FFFFFF").s().p("ABAjiQi1E4Fzl6QAoANksEcQipD0g0ApQgJADgHAAQhTAAGGoHg");
|
|
this.shape.setTransform(25.9,29.3);
|
|
|
|
this.addChild(this.shape);
|
|
}).prototype = p = new cjs.Container();
|
|
p.nominalBounds = rect = new cjs.Rectangle(0,0,51.8,58.7);
|
|
p.frameBounds = [rect];
|
|
|
|
|
|
(lib.W_2 = function() {
|
|
this.initialize();
|
|
|
|
// Layer 1
|
|
this.shape = new cjs.Shape();
|
|
this.shape.graphics.f("#FFFFFF").s().p("AkDDfQAghsERj5QGNkOlJFUQCnhuhZBtQiPByhRBVQiSBwCNi2Qi1C+gkAAQgOAAAJgfg");
|
|
this.shape.setTransform(44,25.2);
|
|
|
|
this.addChild(this.shape);
|
|
}).prototype = p = new cjs.Container();
|
|
p.nominalBounds = rect = new cjs.Rectangle(17.7,-0.2,52.8,51);
|
|
p.frameBounds = [rect];
|
|
|
|
|
|
(lib.W_1 = function() {
|
|
this.initialize();
|
|
|
|
// Layer 1
|
|
this.shape = new cjs.Shape();
|
|
this.shape.graphics.f("#FFFFFF").s().p("AlKDdQCSjBF1jNQDkiDiACDIk1DfQkGDGgsAAQgOAAAKgXg");
|
|
this.shape.setTransform(33.1,22.4);
|
|
|
|
this.addChild(this.shape);
|
|
}).prototype = p = new cjs.Container();
|
|
p.nominalBounds = rect = new cjs.Rectangle(-0.4,-2,67.1,48.9);
|
|
p.frameBounds = [rect];
|
|
|
|
})(lib = lib||{}, images = images||{}, createjs = window.createjs||{});
|
|
var lib, images, createjs;
|
|
|
|
module.exports = lib; |