STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #100665 |
high |
long |
launch |
Game over! |
score: |
Replay |
Replay |
<p align="left"><font face="_sans" size="26" color="#ff0000" letterSpacing="0.000000" kerning="0"><a href="http://www.onemorelevel.com" target = "_blank">Play more games </a></font></p> |
<p align="left"><font face="_sans" size="26" color="#0033cc" letterSpacing="0.000000" kerning="0"><a href="http://www.onemorelevel.com" target = "_blank">www.onemorelevel.com</a></font></p> |
0 |
distance: |
best: |
0 |
<p align="left"><font face="_sans" size="15" color="#ffffff" letterSpacing="0.000000" kerning="0"><a href="http://www.onemorelevel.com" target = "_blank">onemorelevel.com</a></font></p> |
Rick Roller! |
ActionScript [AS1/AS2]
Frame 1function newGame() { var _local1 = 0; while (_local1 < objectArray.length) { removeMovieClip(objectArray[_local1].toString()); _local1++; } objectArray = []; if (projectile) { removeMovieClip("projectile"); } createCatapult(); } function createCatapult() { if (catapult) { removeMovieClip("catapult"); } this.attachMovie("catapult", "catapult", this.getNextHighestDepth(), {_x:-60, _y:250}); objectArray.push("catapult"); catapult.onEnterFrame = function () { catapult._x = catapult._x + 2; catapult.frontwheel._rotation = catapult.frontwheel._rotation + 5; catapult.backwheel._rotation = catapult.backwheel._rotation + 5; if (catapult._x > 130) { loadCatapult(); } }; } function loadCatapult() { delete catapult.onEnterFrame; catapult.onEnterFrame = function () { catapult.arm._rotation = catapult.arm._rotation - 2; if (catapult.arm._rotation <= -90) { displayLaunchButton(); delete catapult.onEnterFrame; } }; } function displayLaunchButton() { this.attachMovie("launchbutton", "launchbutton", this.getNextHighestDepth(), {_x:80, _y:240}); launchbutton.onPress = function () { releaseCatapult(); }; } function releaseCatapult() { distance = 0; delete catapult.onEnterFrame; catapult.onEnterFrame = function () { catapult.arm._rotation = catapult.arm._rotation + 15; if (catapult.arm._rotation >= 0) { delete catapult.onEnterFrame; fireProjectile(); kirupaSound = new Sound(this); kirupaSound.attachSound("rickroll"); kirupaSound.start(0, 99); } }; } function fireProjectile() { this.attachMovie("projectile", "projectile", this.getNextHighestDepth(), {_x:catapult._x, _y:catapult._y}); projectile.dx = launchbutton.highorlong.highorlongslider._y / 5; projectile.dy = 20 - (launchbutton.highorlong.highorlongslider._y / 5); launchbutton.removeMovieClip(); onEnterFrame = function () { distance = distance + projectile.dx; dist = Math.floor(distance); if (dist > bestdist) { bestdist = dist; } projectile._rotation = projectile._rotation + 2; projectile._x = projectile._x + projectile.dx; projectile.dy = projectile.dy - 0.2; projectile._y = projectile._y - projectile.dy; if (projectile._x >= (Stage.width / 2)) { shiftObjects((Stage.width / 2) - projectile._x); projectile._x = Stage.width / 2; } if (projectile._y > (Stage.height - 20)) { projectile._y = Stage.height - 20; projectile.dy = projectile.dy * -0.7; projectile.dx = projectile.dx * 0.7; } switch (Math.floor(Math.random() * 100)) { case 2 : echo("gay"); addObject("youtube"); break; case 0 : trampcount = 0; var i = 0; while (i < objectArray.length) { if (objectArray[i].indexOf("trampoline") != -1) { trampcount++; } i++; } if (trampcount < 3) { addObject("trampoline"); } break; case 1 : fancount = 0; var i = 0; while (i < objectArray.length) { if (objectArray[i].indexOf("fan") != -1) { fancount++; } i++; } if (fancount >= 3) { break; } addObject("fan"); } var i = 0; while (i < objectArray.length) { if ((eval (objectArray[i].toString())._x + eval (objectArray[i].toString())._width) < 0) { removeMovieClip(objectArray[i].toString()); objectArray.splice(i, 1); } else if (objectArray[i].indexOf("trampoline") != -1) { if (projectile.hitTest(eval (objectArray[i].toString()))) { projectile.dy = Math.abs(projectile.dy * 1.1); } } else if (objectArray[i].indexOf("fan") != -1) { if (projectile.hitTest(eval (objectArray[i].toString()))) { projectile.dx = projectile.dx * 1.1; } } i++; } if ((Math.abs(projectile.dy) < 0.1) && (projectile.dx < 0.1)) { delete onEnterFrame; loseGame(); } }; } function addObject(inputObject) { objectArray.push(inputObject + (++objectcount)); this.attachMovie(inputObject, inputObject + objectcount, this.getNextHighestDepth(), {_x:Stage.width + 15, _y:Stage.height}); projectile.swapDepths(this.getNextHighestDepth()); } function shiftObjects(shiftdistance) { var i = 0; while (i < objectArray.length) { eval (objectArray[i])._x = eval (objectArray[i])._x + shiftdistance; i++; } floor._x = (floor._x + shiftdistance) % (floor._width / 2); } function loseGame() { stopAllSounds(); this.attachMovie("losescreen", "losescreen", this.getNextHighestDepth(), {_x:Stage.width / 2, _y:Stage.height / 2}); losescreen.score.text = Math.floor(distance); losescreen.replay.onPress = function () { newGame(); removeMovieClip(losescreen); }; } var objectArray = new Array(); var objectcount = 0; var distance = 0; newGame();
Library Items
Symbol 1 Sound [rickroll] | ||
Symbol 2 Graphic | Used by:5 | |
Symbol 3 Graphic | Used by:4 | |
Symbol 4 MovieClip [highorlongslider] | Uses:3 | Used by:5 |
Symbol 5 MovieClip [highorlong] | Uses:2 4 | Used by:11 |
Symbol 6 Font | Used by:7 8 10 28 29 30 31 33 35 36 41 42 43 44 45 | |
Symbol 7 EditableText | Uses:6 | Used by:11 |
Symbol 8 EditableText | Uses:6 | Used by:11 |
Symbol 9 Graphic | Used by:11 | |
Symbol 10 EditableText | Uses:6 | Used by:11 |
Symbol 11 MovieClip [launchbutton] | Uses:5 7 8 9 10 | |
Symbol 12 Bitmap | Used by:13 | |
Symbol 13 Graphic | Uses:12 | Used by:14 |
Symbol 14 MovieClip [catapultarm] | Uses:13 | Used by:18 |
Symbol 15 Bitmap | Used by:16 | |
Symbol 16 Graphic | Uses:15 | Used by:18 |
Symbol 17 MovieClip [catapultwheel] | Used by:18 | |
Symbol 18 MovieClip [catapult] | Uses:14 16 17 | |
Symbol 19 Bitmap | Used by:20 | |
Symbol 20 Graphic | Uses:19 | Used by:21 |
Symbol 21 MovieClip [projectile] | Uses:20 | |
Symbol 22 Bitmap | Used by:23 | |
Symbol 23 Graphic | Uses:22 | Used by:24 |
Symbol 24 MovieClip [fan] | Uses:23 | |
Symbol 25 Bitmap | Used by:26 | |
Symbol 26 Graphic | Uses:25 | Used by:27 |
Symbol 27 MovieClip [trampoline] | Uses:26 | |
Symbol 28 EditableText | Uses:6 | Used by:37 |
Symbol 29 EditableText | Uses:6 | Used by:37 |
Symbol 30 EditableText | Uses:6 | Used by:37 |
Symbol 31 EditableText | Uses:6 | Used by:34 |
Symbol 32 Graphic | Used by:34 | |
Symbol 33 EditableText | Uses:6 | Used by:34 |
Symbol 34 Button | Uses:31 32 33 | Used by:37 |
Symbol 35 EditableText | Uses:6 | Used by:37 |
Symbol 36 EditableText | Uses:6 | Used by:37 |
Symbol 37 MovieClip [losescreen] | Uses:28 29 30 34 35 36 | |
Symbol 38 Graphic | Used by:39 | |
Symbol 39 MovieClip [floor] | Uses:38 | Used by:Timeline |
Symbol 40 Graphic | Used by:Timeline | |
Symbol 41 EditableText | Uses:6 | Used by:Timeline |
Symbol 42 EditableText | Uses:6 | Used by:Timeline |
Symbol 43 EditableText | Uses:6 | Used by:Timeline |
Symbol 44 EditableText | Uses:6 | Used by:Timeline |
Symbol 45 EditableText | Uses:6 | Used by:Timeline |
Symbol 46 Font | Used by:47 | |
Symbol 47 EditableText | Uses:46 | Used by:Timeline |
Instance Names
"floor" | Frame 1 | Symbol 39 MovieClip [floor] |
"highorlongslider" | Symbol 5 MovieClip [highorlong] Frame 1 | Symbol 4 MovieClip [highorlongslider] |
"highorlong" | Symbol 11 MovieClip [launchbutton] Frame 1 | Symbol 5 MovieClip [highorlong] |
"arm" | Symbol 18 MovieClip [catapult] Frame 1 | Symbol 14 MovieClip [catapultarm] |
"backwheel" | Symbol 18 MovieClip [catapult] Frame 1 | Symbol 17 MovieClip [catapultwheel] |
"frontwheel" | Symbol 18 MovieClip [catapult] Frame 1 | Symbol 17 MovieClip [catapultwheel] |
"score" | Symbol 37 MovieClip [losescreen] Frame 1 | Symbol 30 EditableText |
"replay" | Symbol 37 MovieClip [losescreen] Frame 1 | Symbol 34 Button |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
ExportAssets (56) | Timeline Frame 1 | Symbol 1 as "rickroll" |
ExportAssets (56) | Timeline Frame 1 | Symbol 4 as "highorlongslider" |
ExportAssets (56) | Timeline Frame 1 | Symbol 5 as "highorlong" |
ExportAssets (56) | Timeline Frame 1 | Symbol 11 as "launchbutton" |
ExportAssets (56) | Timeline Frame 1 | Symbol 14 as "catapultarm" |
ExportAssets (56) | Timeline Frame 1 | Symbol 17 as "catapultwheel" |
ExportAssets (56) | Timeline Frame 1 | Symbol 18 as "catapult" |
ExportAssets (56) | Timeline Frame 1 | Symbol 21 as "projectile" |
ExportAssets (56) | Timeline Frame 1 | Symbol 24 as "fan" |
ExportAssets (56) | Timeline Frame 1 | Symbol 27 as "trampoline" |
ExportAssets (56) | Timeline Frame 1 | Symbol 37 as "losescreen" |
ExportAssets (56) | Timeline Frame 1 | Symbol 39 as "floor" |
Dynamic Text Variables
dist | Symbol 41 EditableText | "0" |
bestdist | Symbol 44 EditableText | "0" |
|