STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/23348731?noj=FRM23348731-22DC" width="1" height="1"></div>

Planet Protector.swf

This is the info page for
Flash #31165

(Click the ID number above for more basic data on this flash file.)


Text
PLANET PROTECTOR

by...

Galactic Games!

visit to play more great games

loading

loading.

loading..

loading...

Start

Start

<p align="center"></p>

duplication controls

Use the A and D keys to move

Use the mouse and left click button to aim
and shoot

Bullet recoil spins your planet

Don't get hit. Don't let your planet shrink.
Good luck.

<p align="center"></p>

Exit

T

I

H

E

R

W

U

O

Y

you survived...

<p align="center"><font face="Tw Cen MT" size="96" color="#000000" letterSpacing="1.000000" kerning="0"><b>68</b></font></p>

seconds

try again?

Click here to play more games!

PLANET DESTROYED

you survived...

<p align="center"><font face="Tw Cen MT" size="96" color="#000000" letterSpacing="1.000000" kerning="0"><b>68</b></font></p>

seconds

ActionScript [AS1/AS2]

Frame 1
_root.kongregateServices.connect(); function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } __com_mochibot__("2d94aff7", this, 10301, true);
Frame 2
Mouse.show(); stop();
Instance of Symbol 29 MovieClip in Frame 2
onClipEvent (enterFrame) { if (_root._framesloaded == _root._totalframes) { this.gotoAndStop(9); } }
Frame 3
stop(); timer = 0; Mouse.hide(); stop(); item1go = false; item2go = false; item3go = false; comet1 = false; comet2 = false; comet3 = false; comet4 = false; comet5 = false; comet6 = false; comet7 = false; comet8 = false; comet9 = false;
Instance of Symbol 32 MovieClip "timer" in Frame 3
onClipEvent (load) { timetown = 0; mini = 0; } onClipEvent (enterFrame) { _root.timer = timetown; mini++; if (mini == 25) { timetown++; mini = 0; } }
Instance of Symbol 34 MovieClip in Frame 3
onClipEvent (enterFrame) { this._x = _root.rolf._x; this._y = _root.rolf._y; aimDifx = _root._xmouse - _root.rolf._x; aimDify = _root._ymouse - _root.rolf._y; aimAngle = Math.atan2(aimDify, aimDifx); aimAngle = (aimAngle / Math.PI) * 180; this._rotation = aimAngle + 90; }
Instance of Symbol 36 MovieClip "planet" in Frame 3
onClipEvent (load) { mass = 150; sizediff = 0; sizespeed = 0; this._visible = false; } onClipEvent (enterFrame) { sizediff = ((mass * 2) - this._width) / 10; sizespeed = sizespeed + sizediff; sizespeed = sizespeed * 0.8; this._width = this._width + sizespeed; this._height = this._width; if (Key.isDown(17)) { this._width = this._width - 1; this._height = this._height - 1; } if (mass <= 65) { _root.planetgraphic.play(); } else { _root.planetgraphic.gotoAndStop(1); } if (mass <= 30) { _root.gotoAndStop("dead"); } }
Instance of Symbol 38 MovieClip "rolf" in Frame 3
onClipEvent (load) { mrotation = 180; active = true; friction = 0.85; speed = 0; xjumpspeed = 0; yjumpspeed = 0; jump = false; jumpheight = 60; attract = jumpheight; count = 1; leftallow = true; rightallow = true; } onClipEvent (enterFrame) { mrotation = mrotation + _root.vars.speed; if (mrotation > 360) { mrotation = 0; } if (mrotation < 0) { mrotation = 360; } accel = (1 - ((_root.planet._width / 1000) + 0.33)) * 1.3; if (accel <= 0.12) { accel = 0.12; } this._rotation = mrotation - 180; dist = _root.planet._width / 2; if (Key.isDown(65) && (leftallow == true)) { left = true; facedir = 1; } else { left = false; } if (Key.isDown(68) && (rightallow == true)) { right = true; facedir = 2; } else { right = false; } if (active) { if (left) { if (jump == false) { this.gotoAndStop(3); } if (jump == true) { speed = speed - (accel / 2); rightallow = false; } else { speed = speed - accel; rightallow = true; } } if (right) { if (jump == false) { this.gotoAndStop(2); } if (jump == true) { speed = speed + (accel / 2); leftallow = false; } else { speed = speed + accel; leftallow = true; } } speed = speed * friction; mrotation = mrotation + speed; delta_x = this._x - _root.planet._x; delta_y = this._y - _root.planet._y; dx = dist * Math.sin((mrotation * Math.PI) / 180); dy = dist * Math.cos((mrotation * Math.PI) / 180); this._x = this._x + ((_root.planet._x - this._x) - dx); this._y = this._y + ((_root.planet._y - this._y) + dy); } }
Instance of Symbol 40 MovieClip "bullet" in Frame 3
onClipEvent (load) { if (_name != "bullet") { mass = 0.1; xspeed = _root._xmouse - _root.rolf._x; yspeed = _root._ymouse - _root.rolf._y; gunHeight = 6; gunPoint = _root.rolf._rotation; angle = ((gunPoint / 360) * 2) * Math.PI; xComponent = gunHeight * Math.sin(angle); yComponent = gunHeight * Math.cos(angle); this._x = xComponent + _root.rolf._x; this._y = (-yComponent) + _root.rolf._y; thingyjoe = (xspeed * xspeed) + (yspeed * yspeed); thingyjoe = Math.sqrt(thingyjoe); if ((_root.rolf.mrotation < 90) || (_root.rolf.mrotation > 270)) { _root.vars.speed = _root.vars.speed + (xspeed / 1000); } else { _root.vars.speed = _root.vars.speed - (xspeed / 1000); } if (_root.rolf.mrotation > 180) { _root.vars.speed = _root.vars.speed - (yspeed / 1000); } else { _root.vars.speed = _root.vars.speed + (yspeed / 1000); } collisionision_angle = 0; magnitude_1 = 0; magnitude_2 = 0; direction_1 = 0; direction_2 = 0; new_xspeed_1 = 0; new_yspeed_1 = 0; new_xspeed_2 = 0; new_yspeed_2 = 0; final_xspeed_1 = 0; final_xspeed_2 = 0; final_yspeed_1 = 0; final_yspeed_2 = 0; go = 0; } } onClipEvent (enterFrame) { go++; if (_root.planet.hitTest(this._x, this._y, true) && (go >= 2)) { this.removeMovieClip(); this.unloadMovie(); } if (_name != "bullet") { if (_root.item.hitTest(this._x, this._y, true)) { _root.planet.mass = _root.planet.mass + 20; _root.sizeup.play(); _root.item.startover(); } if (_root.item2.hitTest(this._x, this._y, true)) { _root.planet.mass = _root.planet.mass - 20; _root.item2.startover(); } if (_root.item4.hitTest(this._x, this._y, true)) { _root.thingy.resetme(); _root.thingy2.resetme(); _root.thingy3.resetme(); _root.thingy4.resetme(); _root.thingy5.resetme(); _root.thingy6.resetme(); _root.thingy7.resetme(); _root.thingy8.resetme(); _root.thingy9.resetme(); _root.item4.startover(); _root.item3.startover(); _root.item2.startover(); _root.item.startover(); _root.bomb.play(); _root.white.play(); } if (_root.thingy.hitTest(this._x, this._y, true)) { dx = _root.thingy._x - this._x; dy = _root.thingy._y - this._y; collisionision_angle = Math.atan2(dy, dx); magnitude_1 = Math.sqrt((_root.thingy.xspeed * _root.thingy.xspeed) + (_root.thingy.yspeed * _root.thingy.yspeed)); magnitude_2 = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)); direction_1 = Math.atan2(_root.thingy.yspeed, _root.thingy.xspeed); direction_2 = Math.atan2(yspeed, xspeed); new_xspeed_1 = magnitude_1 * Math.cos(direction_1 - collisionision_angle); new_yspeed_1 = magnitude_1 * Math.sin(direction_1 - collisionision_angle); new_xspeed_2 = magnitude_2 * Math.cos(direction_2 - collisionision_angle); new_yspeed_2 = magnitude_2 * Math.sin(direction_2 - collisionision_angle); final_xspeed_1 = (((_root.thingy.mass - mass) * new_xspeed_1) + ((mass + mass) * new_xspeed_2)) / (_root.thingy.mass + mass); final_xspeed_2 = (((_root.thingy.mass + _root.thingy.mass) * new_xspeed_1) + ((mass - _root.thingy.mass) * new_xspeed_2)) / (_root.thingy.mass + mass); final_yspeed_1 = new_yspeed_1; final_yspeed_2 = new_yspeed_2; _root.thingy.xspeed = (Math.cos(collisionision_angle) * final_xspeed_1) + (Math.cos(collisionision_angle + (Math.PI/2)) * final_yspeed_1); _root.thingy.yspeed = (Math.sin(collisionision_angle) * final_xspeed_1) + (Math.sin(collisionision_angle + (Math.PI/2)) * final_yspeed_1); xspeed = (Math.cos(collisionision_angle) * final_xspeed_2) + (Math.cos(collisionision_angle + (Math.PI/2)) * final_yspeed_2); yspeed = (Math.sin(collisionision_angle) * final_xspeed_2) + (Math.sin(collisionision_angle + (Math.PI/2)) * final_yspeed_2); this.removeMovieClip(); this.unloadMovie(); } if (_root.thingy2.hitTest(this._x, this._y, true)) { dx = _root.thingy2._x - this._x; dy = _root.thingy2._y - this._y; collisionision_angle = Math.atan2(dy, dx); magnitude_1 = Math.sqrt((_root.thingy2.xspeed * _root.thingy2.xspeed) + (_root.thingy2.yspeed * _root.thingy2.yspeed)); magnitude_2 = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)); direction_1 = Math.atan2(_root.thingy2.yspeed, _root.thingy2.xspeed); direction_2 = Math.atan2(yspeed, xspeed); new_xspeed_1 = magnitude_1 * Math.cos(direction_1 - collisionision_angle); new_yspeed_1 = magnitude_1 * Math.sin(direction_1 - collisionision_angle); new_xspeed_2 = magnitude_2 * Math.cos(direction_2 - collisionision_angle); new_yspeed_2 = magnitude_2 * Math.sin(direction_2 - collisionision_angle); final_xspeed_1 = (((_root.thingy2.mass - mass) * new_xspeed_1) + ((mass + mass) * new_xspeed_2)) / (_root.thingy2.mass + mass); final_xspeed_2 = (((_root.thingy2.mass + _root.thingy2.mass) * new_xspeed_1) + ((mass - _root.thingy2.mass) * new_xspeed_2)) / (_root.thingy2.mass + mass); final_yspeed_1 = new_yspeed_1; final_yspeed_2 = new_yspeed_2; _root.thingy2.xspeed = (Math.cos(collisionision_angle) * final_xspeed_1) + (Math.cos(collisionision_angle + (Math.PI/2)) * final_yspeed_1); _root.thingy2.yspeed = (Math.sin(collisionision_angle) * final_xspeed_1) + (Math.sin(collisionision_angle + (Math.PI/2)) * final_yspeed_1); xspeed = (Math.cos(collisionision_angle) * final_xspeed_2) + (Math.cos(collisionision_angle + (Math.PI/2)) * final_yspeed_2); yspeed = (Math.sin(collisionision_angle) * final_xspeed_2) + (Math.sin(collisionision_angle + (Math.PI/2)) * final_yspeed_2); this.removeMovieClip(); this.unloadMovie(); } if (_root.thingy3.hitTest(this._x, this._y, true)) { dx = _root.thingy3._x - this._x; dy = _root.thingy3._y - this._y; collisionision_angle = Math.atan2(dy, dx); magnitude_1 = Math.sqrt((_root.thingy3.xspeed * _root.thingy3.xspeed) + (_root.thingy3.yspeed * _root.thingy3.yspeed)); magnitude_2 = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)); direction_1 = Math.atan2(_root.thingy3.yspeed, _root.thingy3.xspeed); direction_2 = Math.atan2(yspeed, xspeed); new_xspeed_1 = magnitude_1 * Math.cos(direction_1 - collisionision_angle); new_yspeed_1 = magnitude_1 * Math.sin(direction_1 - collisionision_angle); new_xspeed_2 = magnitude_2 * Math.cos(direction_2 - collisionision_angle); new_yspeed_2 = magnitude_2 * Math.sin(direction_2 - collisionision_angle); final_xspeed_1 = (((_root.thingy3.mass - mass) * new_xspeed_1) + ((mass + mass) * new_xspeed_2)) / (_root.thingy3.mass + mass); final_xspeed_2 = (((_root.thingy3.mass + _root.thingy3.mass) * new_xspeed_1) + ((mass - _root.thingy3.mass) * new_xspeed_2)) / (_root.thingy3.mass + mass); final_yspeed_1 = new_yspeed_1; final_yspeed_2 = new_yspeed_2; _root.thingy3.xspeed = (Math.cos(collisionision_angle) * final_xspeed_1) + (Math.cos(collisionision_angle + (Math.PI/2)) * final_yspeed_1); _root.thingy3.yspeed = (Math.sin(collisionision_angle) * final_xspeed_1) + (Math.sin(collisionision_angle + (Math.PI/2)) * final_yspeed_1); xspeed = (Math.cos(collisionision_angle) * final_xspeed_2) + (Math.cos(collisionision_angle + (Math.PI/2)) * final_yspeed_2); yspeed = (Math.sin(collisionision_angle) * final_xspeed_2) + (Math.sin(collisionision_angle + (Math.PI/2)) * final_yspeed_2); this.removeMovieClip(); this.unloadMovie(); } if (_root.thingy4.hitTest(this._x, this._y, true)) { dx = _root.thingy4._x - this._x; dy = _root.thingy4._y - this._y; collisionision_angle = Math.atan2(dy, dx); magnitude_1 = Math.sqrt((_root.thingy4.xspeed * _root.thingy4.xspeed) + (_root.thingy4.yspeed * _root.thingy4.yspeed)); magnitude_2 = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)); direction_1 = Math.atan2(_root.thingy4.yspeed, _root.thingy4.xspeed); direction_2 = Math.atan2(yspeed, xspeed); new_xspeed_1 = magnitude_1 * Math.cos(direction_1 - collisionision_angle); new_yspeed_1 = magnitude_1 * Math.sin(direction_1 - collisionision_angle); new_xspeed_2 = magnitude_2 * Math.cos(direction_2 - collisionision_angle); new_yspeed_2 = magnitude_2 * Math.sin(direction_2 - collisionision_angle); final_xspeed_1 = (((_root.thingy4.mass - mass) * new_xspeed_1) + ((mass + mass) * new_xspeed_2)) / (_root.thingy4.mass + mass); final_xspeed_2 = (((_root.thingy4.mass + _root.thingy4.mass) * new_xspeed_1) + ((mass - _root.thingy4.mass) * new_xspeed_2)) / (_root.thingy4.mass + mass); final_yspeed_1 = new_yspeed_1; final_yspeed_2 = new_yspeed_2; _root.thingy4.xspeed = (Math.cos(collisionision_angle) * final_xspeed_1) + (Math.cos(collisionision_angle + (Math.PI/2)) * final_yspeed_1); _root.thingy4.yspeed = (Math.sin(collisionision_angle) * final_xspeed_1) + (Math.sin(collisionision_angle + (Math.PI/2)) * final_yspeed_1); xspeed = (Math.cos(collisionision_angle) * final_xspeed_2) + (Math.cos(collisionision_angle + (Math.PI/2)) * final_yspeed_2); yspeed = (Math.sin(collisionision_angle) * final_xspeed_2) + (Math.sin(collisionision_angle + (Math.PI/2)) * final_yspeed_2); this.removeMovieClip(); this.unloadMovie(); } if (_root.thingy5.hitTest(this._x, this._y, true)) { dx = _root.thingy5._x - this._x; dy = _root.thingy5._y - this._y; collisionision_angle = Math.atan2(dy, dx); magnitude_1 = Math.sqrt((_root.thingy5.xspeed * _root.thingy5.xspeed) + (_root.thingy5.yspeed * _root.thingy5.yspeed)); magnitude_2 = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)); direction_1 = Math.atan2(_root.thingy5.yspeed, _root.thingy5.xspeed); direction_2 = Math.atan2(yspeed, xspeed); new_xspeed_1 = magnitude_1 * Math.cos(direction_1 - collisionision_angle); new_yspeed_1 = magnitude_1 * Math.sin(direction_1 - collisionision_angle); new_xspeed_2 = magnitude_2 * Math.cos(direction_2 - collisionision_angle); new_yspeed_2 = magnitude_2 * Math.sin(direction_2 - collisionision_angle); final_xspeed_1 = (((_root.thingy5.mass - mass) * new_xspeed_1) + ((mass + mass) * new_xspeed_2)) / (_root.thingy5.mass + mass); final_xspeed_2 = (((_root.thingy5.mass + _root.thingy5.mass) * new_xspeed_1) + ((mass - _root.thingy5.mass) * new_xspeed_2)) / (_root.thingy5.mass + mass); final_yspeed_1 = new_yspeed_1; final_yspeed_2 = new_yspeed_2; _root.thingy5.xspeed = (Math.cos(collisionision_angle) * final_xspeed_1) + (Math.cos(collisionision_angle + (Math.PI/2)) * final_yspeed_1); _root.thingy5.yspeed = (Math.sin(collisionision_angle) * final_xspeed_1) + (Math.sin(collisionision_angle + (Math.PI/2)) * final_yspeed_1); xspeed = (Math.cos(collisionision_angle) * final_xspeed_2) + (Math.cos(collisionision_angle + (Math.PI/2)) * final_yspeed_2); yspeed = (Math.sin(collisionision_angle) * final_xspeed_2) + (Math.sin(collisionision_angle + (Math.PI/2)) * final_yspeed_2); this.removeMovieClip(); this.unloadMovie(); } if (_root.thingy6.hitTest(this._x, this._y, true)) { dx = _root.thingy6._x - this._x; dy = _root.thingy6._y - this._y; collisionision_angle = Math.atan2(dy, dx); magnitude_1 = Math.sqrt((_root.thingy6.xspeed * _root.thingy6.xspeed) + (_root.thingy6.yspeed * _root.thingy6.yspeed)); magnitude_2 = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)); direction_1 = Math.atan2(_root.thingy6.yspeed, _root.thingy6.xspeed); direction_2 = Math.atan2(yspeed, xspeed); new_xspeed_1 = magnitude_1 * Math.cos(direction_1 - collisionision_angle); new_yspeed_1 = magnitude_1 * Math.sin(direction_1 - collisionision_angle); new_xspeed_2 = magnitude_2 * Math.cos(direction_2 - collisionision_angle); new_yspeed_2 = magnitude_2 * Math.sin(direction_2 - collisionision_angle); final_xspeed_1 = (((_root.thingy6.mass - mass) * new_xspeed_1) + ((mass + mass) * new_xspeed_2)) / (_root.thingy6.mass + mass); final_xspeed_2 = (((_root.thingy6.mass + _root.thingy6.mass) * new_xspeed_1) + ((mass - _root.thingy6.mass) * new_xspeed_2)) / (_root.thingy6.mass + mass); final_yspeed_1 = new_yspeed_1; final_yspeed_2 = new_yspeed_2; _root.thingy6.xspeed = (Math.cos(collisionision_angle) * final_xspeed_1) + (Math.cos(collisionision_angle + (Math.PI/2)) * final_yspeed_1); _root.thingy6.yspeed = (Math.sin(collisionision_angle) * final_xspeed_1) + (Math.sin(collisionision_angle + (Math.PI/2)) * final_yspeed_1); xspeed = (Math.cos(collisionision_angle) * final_xspeed_2) + (Math.cos(collisionision_angle + (Math.PI/2)) * final_yspeed_2); yspeed = (Math.sin(collisionision_angle) * final_xspeed_2) + (Math.sin(collisionision_angle + (Math.PI/2)) * final_yspeed_2); this.removeMovieClip(); this.unloadMovie(); } if (_root.thingy7.hitTest(this._x, this._y, true)) { dx = _root.thingy7._x - this._x; dy = _root.thingy7._y - this._y; collisionision_angle = Math.atan2(dy, dx); magnitude_1 = Math.sqrt((_root.thingy7.xspeed * _root.thingy7.xspeed) + (_root.thingy7.yspeed * _root.thingy7.yspeed)); magnitude_2 = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)); direction_1 = Math.atan2(_root.thingy7.yspeed, _root.thingy7.xspeed); direction_2 = Math.atan2(yspeed, xspeed); new_xspeed_1 = magnitude_1 * Math.cos(direction_1 - collisionision_angle); new_yspeed_1 = magnitude_1 * Math.sin(direction_1 - collisionision_angle); new_xspeed_2 = magnitude_2 * Math.cos(direction_2 - collisionision_angle); new_yspeed_2 = magnitude_2 * Math.sin(direction_2 - collisionision_angle); final_xspeed_1 = (((_root.thingy7.mass - mass) * new_xspeed_1) + ((mass + mass) * new_xspeed_2)) / (_root.thingy7.mass + mass); final_xspeed_2 = (((_root.thingy7.mass + _root.thingy7.mass) * new_xspeed_1) + ((mass - _root.thingy7.mass) * new_xspeed_2)) / (_root.thingy7.mass + mass); final_yspeed_1 = new_yspeed_1; final_yspeed_2 = new_yspeed_2; _root.thingy7.xspeed = (Math.cos(collisionision_angle) * final_xspeed_1) + (Math.cos(collisionision_angle + (Math.PI/2)) * final_yspeed_1); _root.thingy7.yspeed = (Math.sin(collisionision_angle) * final_xspeed_1) + (Math.sin(collisionision_angle + (Math.PI/2)) * final_yspeed_1); xspeed = (Math.cos(collisionision_angle) * final_xspeed_2) + (Math.cos(collisionision_angle + (Math.PI/2)) * final_yspeed_2); yspeed = (Math.sin(collisionision_angle) * final_xspeed_2) + (Math.sin(collisionision_angle + (Math.PI/2)) * final_yspeed_2); this.removeMovieClip(); this.unloadMovie(); } if (_root.thingy8.hitTest(this._x, this._y, true)) { dx = _root.thingy8._x - this._x; dy = _root.thingy8._y - this._y; collisionision_angle = Math.atan2(dy, dx); magnitude_1 = Math.sqrt((_root.thingy8.xspeed * _root.thingy8.xspeed) + (_root.thingy8.yspeed * _root.thingy8.yspeed)); magnitude_2 = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)); direction_1 = Math.atan2(_root.thingy8.yspeed, _root.thingy8.xspeed); direction_2 = Math.atan2(yspeed, xspeed); new_xspeed_1 = magnitude_1 * Math.cos(direction_1 - collisionision_angle); new_yspeed_1 = magnitude_1 * Math.sin(direction_1 - collisionision_angle); new_xspeed_2 = magnitude_2 * Math.cos(direction_2 - collisionision_angle); new_yspeed_2 = magnitude_2 * Math.sin(direction_2 - collisionision_angle); final_xspeed_1 = (((_root.thingy8.mass - mass) * new_xspeed_1) + ((mass + mass) * new_xspeed_2)) / (_root.thingy8.mass + mass); final_xspeed_2 = (((_root.thingy8.mass + _root.thingy8.mass) * new_xspeed_1) + ((mass - _root.thingy8.mass) * new_xspeed_2)) / (_root.thingy8.mass + mass); final_yspeed_1 = new_yspeed_1; final_yspeed_2 = new_yspeed_2; _root.thingy8.xspeed = (Math.cos(collisionision_angle) * final_xspeed_1) + (Math.cos(collisionision_angle + (Math.PI/2)) * final_yspeed_1); _root.thingy8.yspeed = (Math.sin(collisionision_angle) * final_xspeed_1) + (Math.sin(collisionision_angle + (Math.PI/2)) * final_yspeed_1); xspeed = (Math.cos(collisionision_angle) * final_xspeed_2) + (Math.cos(collisionision_angle + (Math.PI/2)) * final_yspeed_2); yspeed = (Math.sin(collisionision_angle) * final_xspeed_2) + (Math.sin(collisionision_angle + (Math.PI/2)) * final_yspeed_2); this.removeMovieClip(); this.unloadMovie(); } if (_root.thingy9.hitTest(this._x, this._y, true)) { dx = _root.thingy9._x - this._x; dy = _root.thingy9._y - this._y; collisionision_angle = Math.atan2(dy, dx); magnitude_1 = Math.sqrt((_root.thingy9.xspeed * _root.thingy9.xspeed) + (_root.thingy9.yspeed * _root.thingy9.yspeed)); magnitude_2 = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)); direction_1 = Math.atan2(_root.thingy9.yspeed, _root.thingy9.xspeed); direction_2 = Math.atan2(yspeed, xspeed); new_xspeed_1 = magnitude_1 * Math.cos(direction_1 - collisionision_angle); new_yspeed_1 = magnitude_1 * Math.sin(direction_1 - collisionision_angle); new_xspeed_2 = magnitude_2 * Math.cos(direction_2 - collisionision_angle); new_yspeed_2 = magnitude_2 * Math.sin(direction_2 - collisionision_angle); final_xspeed_1 = (((_root.thingy9.mass - mass) * new_xspeed_1) + ((mass + mass) * new_xspeed_2)) / (_root.thingy9.mass + mass); final_xspeed_2 = (((_root.thingy9.mass + _root.thingy9.mass) * new_xspeed_1) + ((mass - _root.thingy9.mass) * new_xspeed_2)) / (_root.thingy9.mass + mass); final_yspeed_1 = new_yspeed_1; final_yspeed_2 = new_yspeed_2; _root.thingy9.xspeed = (Math.cos(collisionision_angle) * final_xspeed_1) + (Math.cos(collisionision_angle + (Math.PI/2)) * final_yspeed_1); _root.thingy9.yspeed = (Math.sin(collisionision_angle) * final_xspeed_1) + (Math.sin(collisionision_angle + (Math.PI/2)) * final_yspeed_1); xspeed = (Math.cos(collisionision_angle) * final_xspeed_2) + (Math.cos(collisionision_angle + (Math.PI/2)) * final_yspeed_2); yspeed = (Math.sin(collisionision_angle) * final_xspeed_2) + (Math.sin(collisionision_angle + (Math.PI/2)) * final_yspeed_2); this.removeMovieClip(); this.unloadMovie(); } if ((((this._x > (_root.camera._x + (_root.camera._width / 2))) || (this._x < (_root.camera._x - (_root.camera._width / 2)))) || (this._y < (_root.camera._y - (_root.camera._height / 2)))) || (this._y > (_root.camera._y + (_root.camera._height / 2)))) { removeMovieClip(this); } this._x = this._x + (xspeed / 10); this._y = this._y + (yspeed / 10); } }
Instance of Symbol 45 MovieClip "thingy" in Frame 3
onClipEvent (load) { function resetme() { mass = random(200) + 20; maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; this._width = mass; this._height = mass; xspeed = dx / 500; yspeed = dy / 500; } mass = random(200) + 20; maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dxr = 0; dyr = 0; distrolf = 0; this._width = mass; this._height = mass; xspeed = dx / 1000; yspeed = dy / 1000; dist = (dx * dx) + (dy * dy); dothis = false; } onClipEvent (enterFrame) { if (_root.comet1 == true) { dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dist = (dx * dx) + (dy * dy); dist = Math.sqrt(dist); dxr = _root.rolf._x - this._x; dyr = _root.rolf._y - this._y; distrolf = (dxr * dxr) + (dyr * dyr); distrolf = Math.sqrt(distrolf); if (dist > (_root.camera._width * 2)) { resetme(); } if (dist < ((_root.planet._width / 2) + (this._width / 2))) { _root.planet.mass = _root.planet.mass - (mass / 10); _root.impact.play(); _root.lastx = this._x; _root.lasty = this._y; duplicateMovieClip (_root.light_ray, "poop" + random(243423), random(344465575) + 1000); duplicateMovieClip (_root.light_ray2, "poop" + random(2434323), random(344465575) + 100450); _root.lastx = this._x; _root.lasty = this._y; duplicateMovieClip (_root.light_ray, "poop" + random(243423), random(344465575) + 1000); duplicateMovieClip (_root.light_ray2, "poop" + random(2434323), random(344465575) + 100450); resetme(); } if (distrolf < (15 + (this._width / 2))) { _root.nextFrame(); } this._y = this._y + yspeed; this._x = this._x + xspeed; } }
Instance of Symbol 47 MovieClip "item" in Frame 3
onClipEvent (load) { function startover() { maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dxr = 0; dyr = 0; distrolf = 0; xspeed = dx / 500; yspeed = dy / 500; dist = (dx * dx) + (dy * dy); dothis = false; } mass = 20; startover(); } onClipEvent (enterFrame) { dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dist = (dx * dx) + (dy * dy); dist = Math.sqrt(dist); dxr = _root.rolf._x - this._x; dyr = _root.rolf._y - this._y; distrolf = (dxr * dxr) + (dyr * dyr); distrolf = Math.sqrt(distrolf); if (dist < ((_root.planet._width / 2) + (this._width / 2))) { startover(); } if (distrolf < (15 + (this._width / 2))) { } this._y = this._y + yspeed; this._x = this._x + xspeed; }
Instance of Symbol 50 MovieClip "vars" in Frame 3
onClipEvent (load) { poop = 0; speed = 0; fric = 0.95; accel = 0; count = 0; } onClipEvent (enterFrame) { speed = speed * fric; thingy = random(10000); if (thingy == 1) { _root.item1go = true; } if (thingy == 2) { _root.item2go = true; } if (thingy == 3) { _root.item3go = true; } if (thingy == 4) { _root.item4go = true; } if (thingy == 4) { poop = random(3); } count++; if (count >= 1) { _root.comet1 = true; } if (count >= 50) { _root.comet2 = true; } if (count >= 100) { _root.comet3 = true; } if (count >= 400) { _root.comet4 = true; } if (count >= 700) { _root.comet5 = true; } if (count >= 1000) { _root.comet6 = true; } if (count >= 1200) { _root.comet7 = true; } if (count >= 1400) { _root.comet8 = true; } if (count >= 1000) { _root.comet9 = true; } }
Instance of Symbol 45 MovieClip "thingy2" in Frame 3
onClipEvent (load) { function resetme() { mass = random(200) + 20; maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; this._width = mass; this._height = mass; xspeed = dx / 500; yspeed = dy / 500; } mass = random(200) + 20; maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dxr = 0; dyr = 0; distrolf = 0; this._width = mass; this._height = mass; xspeed = dx / 1000; yspeed = dy / 1000; dist = (dx * dx) + (dy * dy); dothis = false; } onClipEvent (enterFrame) { if (_root.comet2 == true) { dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dist = (dx * dx) + (dy * dy); dist = Math.sqrt(dist); dxr = _root.rolf._x - this._x; dyr = _root.rolf._y - this._y; distrolf = (dxr * dxr) + (dyr * dyr); distrolf = Math.sqrt(distrolf); if (dist > (_root.camera._width * 2)) { resetme(); } if (dist < ((_root.planet._width / 2) + (this._width / 2))) { _root.planet.mass = _root.planet.mass - (mass / 10); _root.impact.play(); _root.lastx = this._x; _root.lasty = this._y; duplicateMovieClip (_root.light_ray, "poop" + random(243423), random(344465575) + 1000); duplicateMovieClip (_root.light_ray2, "poop" + random(2434323), random(344465575) + 100450); resetme(); } if (distrolf < (15 + (this._width / 2))) { _root.nextFrame(); } this._y = this._y + yspeed; this._x = this._x + xspeed; } }
Instance of Symbol 45 MovieClip "thingy3" in Frame 3
onClipEvent (load) { function resetme() { mass = random(200) + 20; maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; this._width = mass; this._height = mass; xspeed = dx / 500; yspeed = dy / 500; } mass = random(200) + 20; maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dxr = 0; dyr = 0; distrolf = 0; this._width = mass; this._height = mass; xspeed = dx / 1000; yspeed = dy / 1000; dist = (dx * dx) + (dy * dy); dothis = false; } onClipEvent (enterFrame) { if (_root.comet3 == true) { dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dist = (dx * dx) + (dy * dy); dist = Math.sqrt(dist); dxr = _root.rolf._x - this._x; dyr = _root.rolf._y - this._y; distrolf = (dxr * dxr) + (dyr * dyr); distrolf = Math.sqrt(distrolf); if (dist > (_root.camera._width * 2)) { resetme(); } if (dist < ((_root.planet._width / 2) + (this._width / 2))) { _root.planet.mass = _root.planet.mass - (mass / 10); _root.impact.play(); _root.lastx = this._x; _root.lasty = this._y; duplicateMovieClip (_root.light_ray, "poop" + random(243423), random(344465575) + 1000); duplicateMovieClip (_root.light_ray2, "poop" + random(2434323), random(344465575) + 100450); resetme(); } if (distrolf < (15 + (this._width / 2))) { _root.nextFrame(); } this._y = this._y + yspeed; this._x = this._x + xspeed; } }
Instance of Symbol 53 MovieClip "planetgraphic" in Frame 3
onClipEvent (enterFrame) { this._x = _root.planet._x; this._y = _root.planet._y; this._rotation = this._rotation + _root.vars.speed; if (_width != _root.planet._width) { oldrot = this._rotation; this._rotation = 0; this._width = _root.planet._width; this._height = _root.planet._height; this._rotation = oldrot; } }
Instance of Symbol 45 MovieClip "thingy4" in Frame 3
onClipEvent (load) { function resetme() { mass = random(200) + 20; maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; this._width = mass; this._height = mass; xspeed = dx / 500; yspeed = dy / 500; } mass = random(200) + 20; maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dxr = 0; dyr = 0; distrolf = 0; this._width = mass; this._height = mass; xspeed = dx / 1000; yspeed = dy / 1000; dist = (dx * dx) + (dy * dy); dothis = false; } onClipEvent (enterFrame) { if (_root.comet4 == true) { dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dist = (dx * dx) + (dy * dy); dist = Math.sqrt(dist); dxr = _root.rolf._x - this._x; dyr = _root.rolf._y - this._y; distrolf = (dxr * dxr) + (dyr * dyr); distrolf = Math.sqrt(distrolf); if (dist > (_root.camera._width * 2)) { resetme(); } if (dist < ((_root.planet._width / 2) + (this._width / 2))) { _root.planet.mass = _root.planet.mass - (mass / 10); _root.impact.play(); _root.lastx = this._x; _root.lasty = this._y; duplicateMovieClip (_root.light_ray, "poop" + random(243423), random(344465575) + 1000); duplicateMovieClip (_root.light_ray2, "poop" + random(2434323), random(344465575) + 100450); resetme(); } if (distrolf < (15 + (this._width / 2))) { _root.nextFrame(); } this._y = this._y + yspeed; this._x = this._x + xspeed; } }
Instance of Symbol 45 MovieClip "thingy6" in Frame 3
onClipEvent (load) { function resetme() { mass = random(200) + 20; maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; this._width = mass; this._height = mass; xspeed = dx / 500; yspeed = dy / 500; } mass = random(200) + 20; maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dxr = 0; dyr = 0; distrolf = 0; this._width = mass; this._height = mass; xspeed = dx / 1000; yspeed = dy / 1000; dist = (dx * dx) + (dy * dy); dothis = false; } onClipEvent (enterFrame) { if (_root.comet6 == true) { dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dist = (dx * dx) + (dy * dy); dist = Math.sqrt(dist); dxr = _root.rolf._x - this._x; dyr = _root.rolf._y - this._y; distrolf = (dxr * dxr) + (dyr * dyr); distrolf = Math.sqrt(distrolf); if (dist > (_root.camera._width * 2)) { resetme(); } if (dist < ((_root.planet._width / 2) + (this._width / 2))) { _root.planet.mass = _root.planet.mass - (mass / 10); _root.impact.play(); _root.lastx = this._x; _root.lasty = this._y; duplicateMovieClip (_root.light_ray, "poop" + random(243423), random(344465575) + 1000); duplicateMovieClip (_root.light_ray2, "poop" + random(2434323), random(344465575) + 100450); resetme(); } if (distrolf < (15 + (this._width / 2))) { _root.nextFrame(); } this._y = this._y + yspeed; this._x = this._x + xspeed; } }
Instance of Symbol 45 MovieClip "thingy5" in Frame 3
onClipEvent (load) { function resetme() { mass = random(200) + 20; maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; this._width = mass; this._height = mass; xspeed = dx / 500; yspeed = dy / 500; } mass = random(200) + 20; maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dxr = 0; dyr = 0; distrolf = 0; this._width = mass; this._height = mass; xspeed = dx / 1000; yspeed = dy / 1000; dist = (dx * dx) + (dy * dy); dothis = false; } onClipEvent (enterFrame) { if (_root.comet5 == true) { dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dist = (dx * dx) + (dy * dy); dist = Math.sqrt(dist); dxr = _root.rolf._x - this._x; dyr = _root.rolf._y - this._y; distrolf = (dxr * dxr) + (dyr * dyr); distrolf = Math.sqrt(distrolf); if (dist > (_root.camera._width * 2)) { resetme(); } if (dist < ((_root.planet._width / 2) + (this._width / 2))) { _root.planet.mass = _root.planet.mass - (mass / 10); _root.impact.play(); _root.lastx = this._x; _root.lasty = this._y; duplicateMovieClip (_root.light_ray, "poop" + random(243423), random(344465575) + 1000); duplicateMovieClip (_root.light_ray2, "poop" + random(2434323), random(344465575) + 100450); resetme(); } if (distrolf < (15 + (this._width / 2))) { _root.nextFrame(); } this._y = this._y + yspeed; this._x = this._x + xspeed; } }
Instance of Symbol 45 MovieClip "thingy7" in Frame 3
onClipEvent (load) { function resetme() { mass = random(200) + 20; maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; this._width = mass; this._height = mass; xspeed = dx / 500; yspeed = dy / 500; } mass = random(200) + 20; maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dxr = 0; dyr = 0; distrolf = 0; this._width = mass; this._height = mass; xspeed = dx / 1000; yspeed = dy / 1000; dist = (dx * dx) + (dy * dy); dothis = false; } onClipEvent (enterFrame) { if (_root.comet7 == true) { dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dist = (dx * dx) + (dy * dy); dist = Math.sqrt(dist); dxr = _root.rolf._x - this._x; dyr = _root.rolf._y - this._y; distrolf = (dxr * dxr) + (dyr * dyr); distrolf = Math.sqrt(distrolf); if (dist > (_root.camera._width * 2)) { resetme(); } if (dist < ((_root.planet._width / 2) + (this._width / 2))) { _root.planet.mass = _root.planet.mass - (mass / 10); _root.impact.play(); _root.lastx = this._x; _root.lasty = this._y; duplicateMovieClip (_root.light_ray, "poop" + random(243423), random(344465575) + 1000); duplicateMovieClip (_root.light_ray2, "poop" + random(2434323), random(344465575) + 100450); resetme(); } if (distrolf < (15 + (this._width / 2))) { _root.nextFrame(); } this._y = this._y + yspeed; this._x = this._x + xspeed; } }
Instance of Symbol 55 MovieClip in Frame 3
onClipEvent (load) { xspeed = 0; yspeed = 0; shotCount = 0; shotTimer = 0; shotInterval = 2.5; fire = false; _root.onMouseDown = function () { fire = true; }; _root.onMouseUp = function () { fire = false; }; } onClipEvent (load) { function __f_mouseUp(eventObj) { fire = false; } this.addEventListener("mouseUp", __f_mouseUp); } onClipEvent (enterFrame) { if ((fire == true) && (shotTimer <= 0)) { shotCount = shotCount + 1; duplicateMovieClip (_root.bullet, "bullet" + shotCount, (shotCount % 100) + 1100); shotTimer = shotInterval; } shotTimer = shotTimer - 1; this._x = _root._xmouse; this._y = _root._ymouse; }
Instance of Symbol 57 MovieClip "item2" in Frame 3
onClipEvent (load) { function startover() { maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dxr = 0; dyr = 0; distrolf = 0; xspeed = dx / 500; yspeed = dy / 500; dist = (dx * dx) + (dy * dy); dothis = false; } mass = 20; startover(); } onClipEvent (enterFrame) { dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dist = (dx * dx) + (dy * dy); dist = Math.sqrt(dist); dxr = _root.rolf._x - this._x; dyr = _root.rolf._y - this._y; distrolf = (dxr * dxr) + (dyr * dyr); distrolf = Math.sqrt(distrolf); if (dist < ((_root.planet._width / 2) + (this._width / 2))) { startover(); } if (distrolf < (15 + (this._width / 2))) { } this._y = this._y + yspeed; this._x = this._x + xspeed; }
Instance of Symbol 45 MovieClip "thingy8" in Frame 3
onClipEvent (load) { function resetme() { mass = random(200) + 20; maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; this._width = mass; this._height = mass; xspeed = dx / 500; yspeed = dy / 500; } mass = random(200) + 20; maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dxr = 0; dyr = 0; distrolf = 0; this._width = mass; this._height = mass; xspeed = dx / 1000; yspeed = dy / 1000; dist = (dx * dx) + (dy * dy); dothis = false; } onClipEvent (enterFrame) { if (_root.comet8 == true) { dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dist = (dx * dx) + (dy * dy); dist = Math.sqrt(dist); dxr = _root.rolf._x - this._x; dyr = _root.rolf._y - this._y; distrolf = (dxr * dxr) + (dyr * dyr); distrolf = Math.sqrt(distrolf); if (dist > (_root.camera._width * 2)) { resetme(); } if (dist < ((_root.planet._width / 2) + (this._width / 2))) { _root.planet.mass = _root.planet.mass - (mass / 10); _root.impact.play(); _root.lastx = this._x; _root.lasty = this._y; duplicateMovieClip (_root.light_ray, "poop" + random(243423), random(344465575) + 1000); duplicateMovieClip (_root.light_ray2, "poop" + random(2434323), random(344465575) + 100450); resetme(); } if (distrolf < (15 + (this._width / 2))) { _root.nextFrame(); } this._y = this._y + yspeed; this._x = this._x + xspeed; } }
Instance of Symbol 45 MovieClip "thingy9" in Frame 3
onClipEvent (load) { function resetme() { mass = random(200) + 20; maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; this._width = mass; this._height = mass; xspeed = dx / 500; yspeed = dy / 500; } mass = random(200) + 20; maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dxr = 0; dyr = 0; distrolf = 0; this._width = mass; this._height = mass; xspeed = dx / 1000; yspeed = dy / 1000; dist = (dx * dx) + (dy * dy); dothis = false; } onClipEvent (enterFrame) { if (_root.comet9 == true) { dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dist = (dx * dx) + (dy * dy); dist = Math.sqrt(dist); dxr = _root.rolf._x - this._x; dyr = _root.rolf._y - this._y; distrolf = (dxr * dxr) + (dyr * dyr); distrolf = Math.sqrt(distrolf); if (dist > (_root.camera._width * 2)) { resetme(); } if (dist < ((_root.planet._width / 2) + (this._width / 2))) { _root.planet.mass = _root.planet.mass - (mass / 10); _root.impact.play(); _root.lastx = this._x; _root.lasty = this._y; duplicateMovieClip (_root.light_ray, "poop" + random(243423), random(344465575) + 1000); duplicateMovieClip (_root.light_ray2, "poop" + random(2434323), random(344465575) + 100450); resetme(); } if (distrolf < (15 + (this._width / 2))) { _root.nextFrame(); } this._y = this._y + yspeed; this._x = this._x + xspeed; } }
Instance of Symbol 59 MovieClip "item4" in Frame 3
onClipEvent (load) { function startover() { maxradius = (random(_root.camera._width * 2) + (_root.camera._width / 1.5)) + mass; distangle = random(360); this._x = _root.planet._x + (Math.cos(distangle) * maxradius); this._y = _root.planet._y + (Math.sin(distangle) * maxradius); dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dxr = 0; dyr = 0; distrolf = 0; xspeed = dx / 500; yspeed = dy / 500; dist = (dx * dx) + (dy * dy); dothis = false; } mass = 20; startover(); } onClipEvent (enterFrame) { dx = _root.planet._x - this._x; dy = _root.planet._y - this._y; dist = (dx * dx) + (dy * dy); dist = Math.sqrt(dist); dxr = _root.rolf._x - this._x; dyr = _root.rolf._y - this._y; distrolf = (dxr * dxr) + (dyr * dyr); distrolf = Math.sqrt(distrolf); if (dist < ((_root.planet._width / 2) + (this._width / 2))) { startover(); } if (distrolf < (15 + (this._width / 2))) { } this._y = this._y + yspeed; this._x = this._x + xspeed; }
Instance of Symbol 75 MovieClip "light_ray" in Frame 3
onClipEvent (load) { this._visible = false; if (_name == "light_ray") { stop(); } else { this._x = _root.lastx; this._y = _root.lasty; this._rotation = random(360); } } onClipEvent (enterFrame) { if (_name == "light_ray") { this._visible = false; } else { this._visible = true; this._alpha = 60; } }
Instance of Symbol 75 MovieClip "light_ray2" in Frame 3
onClipEvent (load) { this._visible = false; if (_name == "light_ray2") { stop(); } else { this._x = _root.lastx; this._y = _root.lasty; this._rotation = random(360); } } onClipEvent (enterFrame) { if (_name == "light_ray2") { this._visible = false; } else { this._visible = true; this._alpha = 60; } }
Instance of Symbol 87 MovieClip "camera" in Frame 3
onClipEvent (enterFrame) { }
Frame 4
Mouse.show(); stopAllSounds(); _root.kongregateStats.submit("Time", _root.timer); _root.HPScoreService.postScore(_root.timer, "");
Frame 5
Mouse.show(); stopAllSounds(); _root.kongregateStats.submit("Time", _root.timer); _root.HPScoreService.postScore(_root.timer, "");
Symbol 19 Button
on (release) { getURL ("http://www.galacticflashgames.com", "_blank"); }
Symbol 28 Button
on (release) { _root.nextFrame(); }
Symbol 29 MovieClip Frame 8
gotoAndPlay (1);
Symbol 45 MovieClip Frame 1
gotoAndStop(random(4));
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 38
gotoAndPlay (2);
Symbol 62 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 14
this.unloadMovie();
Symbol 80 MovieClip Frame 374
stop();
Symbol 83 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 1
function camControl() { parentColor.setTransform(camColor.getTransform()); var _local4 = sX / this._width; var _local3 = sY / this._height; _parent._x = cX - (this._x * _local4); _parent._y = cY - (this._y * _local3); _parent._xscale = 100 * _local4; _parent._yscale = 100 * _local3; } function resetStage() { var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}; parentColor.setTransform(_local2); _parent._xscale = 100; _parent._yscale = 100; _parent._x = 0; _parent._y = 0; } this._visible = false; var oldMode = Stage.scaleMode; Stage.scaleMode = "exactFit"; var cX = (Stage.width / 2); var cY = (Stage.height / 2); var sX = Stage.width; var sY = Stage.height; Stage.scaleMode = oldMode; var camColor = new Color(this); var parentColor = new Color(_parent); this.onEnterFrame = camControl; camControl(); this.onUnload = resetStage;
Symbol 89 MovieClip Frame 1
stop();
Symbol 93 Button
on (release) { _root.gotoAndPlay("menu"); stopAllSounds(); }
Symbol 95 MovieClip Frame 3
stop();
Symbol 110 Button
on (release) { _root.gotoAndPlay("menu"); }
Symbol 114 Button
on (release) { getURL ("http://www.galacticflashgames.com", "_blank"); }

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 GraphicUsed by:Timeline
Symbol 3 FontUsed by:4 8 20 21 22 23 24 26 27 31 76 77 78 79 92 96 97 98 99 100 101 102 103 104 105 106 107 109 112 115 116 117 118
Symbol 4 TextUses:3Used by:Timeline
Symbol 5 FontUsed by:6
Symbol 6 TextUses:5Used by:Timeline
Symbol 7 GraphicUsed by:19
Symbol 8 TextUses:3Used by:19
Symbol 9 GraphicUsed by:19
Symbol 10 GraphicUsed by:13 19
Symbol 11 GraphicUsed by:12 19
Symbol 12 MovieClipUses:11Used by:13
Symbol 13 MovieClipUses:10 12Used by:19
Symbol 14 GraphicUsed by:19
Symbol 15 GraphicUsed by:19
Symbol 16 GraphicUsed by:19
Symbol 17 GraphicUsed by:19
Symbol 18 GraphicUsed by:19
Symbol 19 ButtonUses:7 8 9 13 14 15 16 17 18 10 11Used by:Timeline
Symbol 20 TextUses:3Used by:Timeline
Symbol 21 TextUses:3Used by:29
Symbol 22 TextUses:3Used by:29
Symbol 23 TextUses:3Used by:29
Symbol 24 TextUses:3Used by:29
Symbol 25 GraphicUsed by:28
Symbol 26 TextUses:3Used by:28
Symbol 27 TextUses:3Used by:28
Symbol 28 ButtonUses:25 26 27Used by:29
Symbol 29 MovieClipUses:21 22 23 24 28Used by:Timeline
Symbol 30 GraphicUsed by:Timeline
Symbol 31 EditableTextUses:3Used by:32
Symbol 32 MovieClipUses:31Used by:Timeline
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:33Used by:Timeline
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:35Used by:Timeline
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:Timeline
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:39Used by:Timeline
Symbol 41 GraphicUsed by:45
Symbol 42 GraphicUsed by:45
Symbol 43 GraphicUsed by:45
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClipUses:41 42 43 44Used by:Timeline
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:Timeline
Symbol 48 FontUsed by:49
Symbol 49 EditableTextUses:48Used by:50
Symbol 50 MovieClipUses:49Used by:Timeline
Symbol 51 GraphicUsed by:52 53
Symbol 52 MovieClipUses:51Used by:53
Symbol 53 MovieClipUses:51 52Used by:Timeline
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClipUses:54Used by:Timeline
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:56Used by:Timeline
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:58Used by:Timeline
Symbol 60 GraphicUsed by:62
Symbol 61 SoundUsed by:62 95
Symbol 62 MovieClipUses:60 61Used by:Timeline
Symbol 63 GraphicUsed by:65
Symbol 64 SoundUsed by:65
Symbol 65 MovieClipUses:63 64Used by:Timeline
Symbol 66 GraphicUsed by:68
Symbol 67 SoundUsed by:68
Symbol 68 MovieClipUses:66 67Used by:Timeline
Symbol 69 GraphicUsed by:71
Symbol 70 SoundUsed by:71
Symbol 71 MovieClipUses:69 70Used by:Timeline
Symbol 72 ShapeTweeningUsed by:75
Symbol 73 ShapeTweeningUsed by:75
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:72 73 74Used by:Timeline
Symbol 76 TextUses:3Used by:80
Symbol 77 TextUses:3Used by:80
Symbol 78 TextUses:3Used by:80
Symbol 79 TextUses:3Used by:80
Symbol 80 MovieClipUses:76 77 78 79Used by:Timeline
Symbol 81 GraphicUsed by:83
Symbol 82 SoundUsed by:83
Symbol 83 MovieClipUses:81 82Used by:Timeline
Symbol 84 FontUsed by:85
Symbol 85 EditableTextUses:84Used by:Timeline
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClipUses:86Used by:Timeline
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:88Used by:Timeline
Symbol 90 GraphicUsed by:Timeline
Symbol 91 GraphicUsed by:93
Symbol 92 TextUses:3Used by:93
Symbol 93 ButtonUses:91 92Used by:Timeline
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94 61Used by:Timeline
Symbol 96 TextUses:3Used by:Timeline
Symbol 97 TextUses:3Used by:Timeline
Symbol 98 TextUses:3Used by:Timeline
Symbol 99 TextUses:3Used by:Timeline
Symbol 100 TextUses:3Used by:Timeline
Symbol 101 TextUses:3Used by:Timeline
Symbol 102 TextUses:3Used by:Timeline
Symbol 103 TextUses:3Used by:Timeline
Symbol 104 TextUses:3Used by:Timeline
Symbol 105 TextUses:3Used by:Timeline
Symbol 106 EditableTextUses:3Used by:Timeline
Symbol 107 TextUses:3Used by:Timeline
Symbol 108 GraphicUsed by:110
Symbol 109 TextUses:3Used by:110
Symbol 110 ButtonUses:108 109Used by:Timeline
Symbol 111 GraphicUsed by:114
Symbol 112 TextUses:3Used by:114
Symbol 113 GraphicUsed by:114
Symbol 114 ButtonUses:111 112 113Used by:Timeline
Symbol 115 TextUses:3Used by:Timeline
Symbol 116 TextUses:3Used by:Timeline
Symbol 117 EditableTextUses:3Used by:Timeline
Symbol 118 TextUses:3Used by:Timeline

Instance Names

"timer"Frame 3Symbol 32 MovieClip
"planet"Frame 3Symbol 36 MovieClip
"rolf"Frame 3Symbol 38 MovieClip
"bullet"Frame 3Symbol 40 MovieClip
"thingy"Frame 3Symbol 45 MovieClip
"item"Frame 3Symbol 47 MovieClip
"vars"Frame 3Symbol 50 MovieClip
"thingy2"Frame 3Symbol 45 MovieClip
"thingy3"Frame 3Symbol 45 MovieClip
"planetgraphic"Frame 3Symbol 53 MovieClip
"thingy4"Frame 3Symbol 45 MovieClip
"thingy6"Frame 3Symbol 45 MovieClip
"thingy5"Frame 3Symbol 45 MovieClip
"thingy7"Frame 3Symbol 45 MovieClip
"item2"Frame 3Symbol 57 MovieClip
"thingy8"Frame 3Symbol 45 MovieClip
"thingy9"Frame 3Symbol 45 MovieClip
"item4"Frame 3Symbol 59 MovieClip
"bomb"Frame 3Symbol 62 MovieClip
"sizeup"Frame 3Symbol 65 MovieClip
"light_ray"Frame 3Symbol 75 MovieClip
"light_ray2"Frame 3Symbol 75 MovieClip
"impact"Frame 3Symbol 83 MovieClip
"camera"Frame 3Symbol 87 MovieClip
"white"Frame 3Symbol 89 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.

Labels

"menu"Frame 2
"dead"Frame 5

Dynamic Text Variables

_root.timer.timetownSymbol 31 EditableText"<p align="center"></p>"
_root.timer.timetownSymbol 85 EditableText"<p align="center"></p>"
_root.timerSymbol 106 EditableText"<p align="center"><font face="Tw Cen MT" size="96" color="#000000" letterSpacing="1.000000" kerning="0"><b>68</b></font></p>"
_root.timerSymbol 117 EditableText"<p align="center"><font face="Tw Cen MT" size="96" color="#000000" letterSpacing="1.000000" kerning="0"><b>68</b></font></p>"




http://swfchan.com/7/31165/info.shtml
Created: 18/5 -2019 20:30:37 Last modified: 18/5 -2019 20:30:37 Server time: 22/12 -2024 15:42:09