STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 228114 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2561 · P5121 |
This is the info page for Flash #79864 |
3 |
Congratulations! Mars has successfully been transformed into a world capable of supporting human life. You win! |
Game Over |
ActionScript [AS1/AS2]
Frame 1function showlives() { lives_txt.text = lives; } function wheelControl() { this._y = this._y + this.dy; accelerating = false; if (Key.isDown(39) && (oneOnGround)) { this.dx = this.dx + 0.3; mydir = 1; accelerating = true; } if (Key.isDown(37) && (oneOnGround)) { this.dx = this.dx - 0.3; mydir = -1; accelerating = true; } if (accelerating && (Math.abs(this.dx) < 2)) { enginerev.start(0, 0); enginerev.setVolume(25); } if (oneOnGround) { this.dx = this.dx * 0.98; } this.dy = this.dy + 0.5; if (ground.hitTest(this._x, this._y, true)) { var _local2 = this._y; var _local3 = 0; while (ground.hitTest(this._x, _local2, true)) { _local2--; _local3++; } if (_local3 > 70) { wheel0.dx = wheel0.dx * -1; wheel1.dx = wheel1.dx * -1; ground._x = ground._x - this.dx; crash.start(0, 0); } else { if (_local3 < 5) { _local3 = 0; } this._y = _local2; this.dy = this.dy + ((-_local3) / 3); this.onGround = true; } } else { this.onGround = false; } if (this.dy > 15) { this.dy = 15; } if (this.dy < -15) { this.dy = -15; } } function setWetLevel(lvl) { ground.t.ra = 100 - (66 * lvl); ground.t.gb = 66 * lvl; ground.t.bb = 12 * lvl; sky.t.ra = 100 - (66 * lvl); sky.t.rb = 66 * lvl; sky.t.gb = 56 * lvl; sky.t.bb = 132 * lvl; ground.c.setTransform(ground.t); sky.c.setTransform(sky.t); waterMeter._yscale = lvl * 100; } function myOnKeyDown() { if (Key.isDown(17) && (oneOnGround)) { bounce.start(0, 0); if (mydir == -1) { wheel0.dy = -11; wheel1.dy = -10; } else { wheel0.dy = -10; wheel1.dy = -11; } } } ground.cacheAsBitmap = true; makeRandomTerrain = function () { var _local8 = 250; var _local3 = 0; var _local5 = 0; var _local2 = _local8 - 220; var _local6 = 0; var _local7 = 0; var _local9 = 0; ground.clear(); ground.moveTo(_local3, _local8); ground.beginFill(9523257); ground.createEmptyMovieClip("objs", 1); _root.waterMC.removeMovieClip(); _root.createEmptyMovieClip("waterMC", _root.getNextHighestDepth()); waterMC._y = 295; var _local10 = 0; while (_local3 < 15100) { var _local4 = (Math.random() * 100) + 50; _local2 = _local2 + (Math.sin(_local5) * _local4); _local5 = _local5 + ((Math.random() * 2) - 1); if (_local6 > 0) { _local2 = _local8 + 300; _local6--; } else if (_local2 < -100) { _local2 = -100; _local5 = 0.1; } else if (_local2 > (_local8 - 100)) { _local2 = _local8 - 100; _local5 = -0.1; } if (_local7 > 0) { _local7--; } if ((((Math.random() < 0.033) && (_local6 == 0)) && (_local3 > 700)) && (_local7 == 0)) { _local6 = Math.floor(Math.random() * 3) + 3; _local7 = _local6 + 5; _local2 = ohei - 40; } if (random(10) > 5) { _local3 = _local3 + _local4; ground.lineTo(_local3, _local2); } else { ground.curveTo(_local3 + (_local4 / 2), _local2 + (_local5 * 10), _local3 + _local4, _local2); _local3 = _local3 + _local4; } if ((((Math.random() < 0.1) && (_local5 > -0.1)) && (_local3 > 500)) && (_local3 < 14000)) { var _local11 = "bldr" + _local9; ground.objs.attachMovie("trackObjects", _local11, _local9); ground.objs[_local11]._x = _local3; ground.objs[_local11]._y = _local2 + 10; ground.objs[_local11].gotoAndStop(Math.floor(Math.random() * 4) + 1); _local9++; } if ((_local10 % 25) == 20) { var _local11 = "drop" + waterMC.getNextHighestDepth(); waterMC.attachMovie("waterDrop", _local11, waterMC.getNextHighestDepth()); waterMC[_local11]._x = _local3; waterMC[_local11]._y = _local2 + 2; } _local10++; ohei = _local2; } var _local11 = "finisher"; ground.objs.attachMovie("trackObjects", _local11, _local9); ground.objs[_local11]._x = _local3 - 600; ground.objs[_local11]._y = _local2 + 10; ground.objs[_local11].gotoAndStop(6); ground.lineTo(_local3, _local8 + 400); ground.lineTo(0, _local8 + 400); ground.endFill(); lastGet = 0; }; wheel1.dx = 0; wheel1.dy = 0; wheel1.onEnterFrame = wheelControl; wheel0.dx = 0; wheel0.dy = 0; wheel0.onEnterFrame = wheelControl; _quality = "MEDIUM"; ground.onEnterFrame = function () { this._x = this._x - wheel1.dx; waterMC._x = this._x; minicar._x = ((-this._x) / this._width) * 640; if (this._x > 0) { this._x = 0; wheel1.dx = 0; wheel0.dx = 0; } if (wheel1._y > 600) { if (lives == 0) { endClip._visible = true; endClip.gotoAndStop(2); delete wheel0.onEnterFrame; delete wheel1.onEnterFrame; delete this.onEnterFrame; delete car.onEnterFrame; return(false); } wheel1._y = 100; wheel1.dx = 0; wheel1.dy = 0; wheel0._y = 100; wheel0.dx = 0; wheel0.dy = 0; this._x = 0; fall.start(0, 0); lives--; showlives(); } if ((-this._x) > this.objs.finisher._x) { wheel1._y = 100; wheel1.dx = 0; wheel1.dy = 0; wheel0._y = 100; wheel0.dx = 0; wheel0.dy = 0; this._x = 0; makeRandomTerrain(); } }; ground._x = 0; ground._y = 295; ground.c = new Color(ground); ground.t = new Object(); ground.t.ra = 100; ground.t.ga = 100; ground.t.ba = 100; ground.t.rb = 0; ground.t.gb = 0; ground.t.bb = 0; sky.c = new Color(sky); sky.t = new Object(); sky.t.ra = 100; sky.t.ga = 100; sky.t.ba = 100; sky.t.rb = 0; sky.t.gb = 0; sky.t.bb = 0; var myListener = new Object(); myListener.onKeyDown = myOnKeyDown; Key.addListener(myListener); car.onEnterFrame = function () { var _local7 = (wheel1._y + wheel0._y) / 2; this._x = 189.1; this._y = _local7; var _local5 = wheel1._x - wheel0._x; var _local4 = wheel1._y - wheel0._y; var _local3 = Math.atan2(_local4, _local5); this._rotation = 180 * (_local3 / Math.PI); wheel0._rotation = this._rotation + 40; wheel1._rotation = this._rotation - 40; allOnGround = wheel0.onGround & wheel1.onGround; oneOnGround = wheel0.onGround | wheel1.onGround; if ((allOnGround && (!accelerating)) && ((_local3 < -0.1) || (_local3 > 0.1))) { wheel0.dx = wheel0.dx + (_local3 / 2); wheel1.dx = wheel1.dx + (_local3 / 2); } if (_local3 < -1.4) { _local3 = -1.4; } if (_local3 > 1.4) { _local3 = 1.4; } var _local6 = Math.sqrt((_local5 * _local5) + (_local4 * _local4)); if ((_local6 > 61) || (_local6 < 58)) { wheel0._x = this._x - (Math.cos(_local3) * 30); wheel0._y = this._y - (Math.sin(_local3) * 30); wheel1._x = this._x + (Math.cos(_local3) * 30); wheel1._y = this._y + (Math.sin(_local3) * 30); } this._xscale = mydir * 153.8; if (waterMC.hitTest(this._x, this._y, true)) { var _local2 = lastGet; while (_local2 < waterMC.getNextHighestDepth()) { if (waterMC["drop" + _local2].hitTest(this._x, this._y, true)) { waterMC["drop" + _local2].removeMovieClip(); lastGet = _local2 + 1; gWetLevel = gWetLevel + 0.02; setWetLevel(gWetLevel); lives++; showlives(); pop.start(0, 0); if (gWetLevel >= 1) { endClip._visible = true; endClip.gotoAndStop(1); delete wheel0.onEnterFrame; delete wheel1.onEnterFrame; delete ground.onEnterFrame; delete this.onEnterFrame; } break; } _local2++; } } }; mainsong = new Sound(); mainsong.attachSound("song"); mainsong.setVolume(100); mainsong.start(0, 99999); crash = new Sound(); crash.attachSound("crash"); fall = new Sound(); fall.attachSound("fall"); bounce = new Sound(); bounce.attachSound("bounce"); enginerev = new Sound(car); enginerev.attachSound("enginerev"); engineloop = new Sound(car); engineloop.attachSound("engineloop"); engineloop.start(0, 99999); engineloop.setVolume(50); pop = new Sound(); pop.attachSound("pop"); gWetLevel = 0; makeRandomTerrain(); setWetLevel(gWetLevel); lives = 10; showlives(); endClip._visible = false; endClip.stop();
Library Items
Symbol 1 Sound [pop] | ||
Symbol 2 Sound [song] | ||
Symbol 3 Sound [engineloop] | ||
Symbol 4 Sound [crash] | ||
Symbol 5 Sound [fall] | ||
Symbol 6 Sound [bounce] | ||
Symbol 7 Sound [enginerev] | ||
Symbol 8 Graphic | Used by:14 | |
Symbol 9 Graphic | Used by:14 | |
Symbol 10 Graphic | Used by:14 | |
Symbol 11 Graphic | Used by:14 | |
Symbol 12 Graphic | Used by:14 | |
Symbol 13 Graphic | Used by:14 | |
Symbol 14 MovieClip [trackObjects] | Uses:8 9 10 11 12 13 | |
Symbol 15 Graphic | Used by:16 | |
Symbol 16 MovieClip [waterDrop] | Uses:15 | |
Symbol 17 Graphic | Used by:18 | |
Symbol 18 MovieClip | Uses:17 | Used by:Timeline |
Symbol 19 MovieClip | Used by:Timeline | |
Symbol 20 Graphic | Used by:21 | |
Symbol 21 MovieClip | Uses:20 | Used by:Timeline |
Symbol 22 Graphic | Used by:26 | |
Symbol 23 ShapeTweening | Used by:25 | |
Symbol 24 Graphic | Used by:25 | |
Symbol 25 MovieClip | Uses:23 24 | Used by:26 |
Symbol 26 MovieClip | Uses:22 25 | Used by:28 Timeline |
Symbol 27 Graphic | Used by:Timeline | |
Symbol 28 MovieClip | Uses:26 | Used by:Timeline |
Symbol 29 Graphic | Used by:Timeline | |
Symbol 30 Graphic | Used by:31 | |
Symbol 31 MovieClip | Uses:30 | Used by:Timeline |
Symbol 32 Graphic | Used by:Timeline | |
Symbol 33 Font | Used by:34 | |
Symbol 34 EditableText | Uses:33 | Used by:Timeline |
Symbol 35 Graphic | Used by:39 | |
Symbol 36 Font | Used by:37 38 | |
Symbol 37 Text | Uses:36 | Used by:39 |
Symbol 38 Text | Uses:36 | Used by:39 |
Symbol 39 MovieClip | Uses:35 37 38 | Used by:Timeline |
Instance Names
"sky" | Frame 1 | Symbol 18 MovieClip |
"ground" | Frame 1 | Symbol 19 MovieClip |
"wheel1" | Frame 1 | Symbol 21 MovieClip |
"wheel0" | Frame 1 | Symbol 21 MovieClip |
"car" | Frame 1 | Symbol 26 MovieClip |
"minicar" | Frame 1 | Symbol 28 MovieClip |
"waterMeter" | Frame 1 | Symbol 31 MovieClip |
"lives_txt" | Frame 1 | Symbol 34 EditableText |
"endClip" | Frame 1 | Symbol 39 MovieClip |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
ExportAssets (56) | Timeline Frame 1 | Symbol 1 as "pop" |
ExportAssets (56) | Timeline Frame 1 | Symbol 2 as "song" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "engineloop" |
ExportAssets (56) | Timeline Frame 1 | Symbol 4 as "crash" |
ExportAssets (56) | Timeline Frame 1 | Symbol 5 as "fall" |
ExportAssets (56) | Timeline Frame 1 | Symbol 6 as "bounce" |
ExportAssets (56) | Timeline Frame 1 | Symbol 7 as "enginerev" |
ExportAssets (56) | Timeline Frame 1 | Symbol 14 as "trackObjects" |
ExportAssets (56) | Timeline Frame 1 | Symbol 16 as "waterDrop" |
|