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 #24436 |
Use the arrow keys to move the Shaggy left and right. Try to avoid the Tomb Stones and make it to the end. |
PLAY |
0 |
Actions |
GAME OVER |
0 |
YOU MADE IT! |
0 |
ActionScript [AS1/AS2]
Frame 1loadMovieNum ("loop1.swf", 1); stop();Frame 2function initGame() { firstRock = 1; lastRock = 0; spills = 0; totalRocks = 50; timeSinceLastRock = 0; riverSpeed = 0; attachMovie("kayaking fox", "fox", 999999); fox._x = 275; fox._y = 300; fox._xscale = 75; fox._yscale = 75; } function moveFox() { if (4 < fox._currentFrame) { dx = 0; } else if (Key.isDown(Key.RIGHT)) { dx = riverSpeed; fox.gotoAndStop("left"); } else if (Key.isDown(Key.LEFT)) { dx = -riverSpeed; fox.gotoAndStop("right"); } else { dx = 0; fox.gotoAndStop("still"); } fox._x = fox._x + dx; if (fox._x < 150) { fox._x = 150; } if (400 < fox._x) { fox._x = 400; } if (riverSpeed < 20) { riverSpeed = riverSpeed + 0.5; } } function newRock() { if (5 < timeSinceLastRock) { if (lastRock < totalRocks) { if (Math.random() < 0.1) { lastRock++; attachMovie("rocks", "rock" + lastRock, lastRock); _root["rock" + lastRock]._x = (Math.random() * 250) + 150; _root["rock" + lastRock]._y = 0; f = int(Math.Random() * _root["rock" + lastRock]._totalFrames) + 1; _root["rock" + lastRock].gotoAndStop(f); timeSinceLastRock = 0; _root["rock" + i].hit = false; } } } timeSinceLastRock++; } function moveRocks() { i = firstRock; while (lastRock >= i) { x = _root["rock" + i]._x; y = _root["rock" + i]._y + riverSpeed; if (400 < y) { removeRock(i); } else if (((_root["rock" + i].hit == false) and (Math.abs(y - fox._y) < 60)) and (Math.abs(x - fox._x) < 25)) { spills = spills + 1; _root["rock" + i].hit = true; fox.gotoAndPlay("spill"); riverSpeed = 0; if (5 < spills) { removeAll(); gotoAndPlay (3); } } _root["rock" + i]._y = y; i++; } } function removeRock(n) { _root["rock" + n].removeMovieClip(); firstRock = n + 1; if (n == totalRocks) { removeAll(); gotoAndPlay (4); } } function removeAll() { i = firstRock; while (lastRock >= i) { _root["rock" + i].removeMovieClip(); i++; } fox.removeMovieClip(); } stop();Instance of Symbol 35 MovieClip in Frame 2onClipEvent (load) { _root.initGame(); } onClipEvent (enterFrame) { _root.moveFox(); _root.newRock(); _root.moveRocks(); }Frame 3stop();Frame 4stop();Symbol 12 MovieClip [kayaking fox] Frame 1stop();Symbol 26 Buttonon (press) { gotoAndPlay (1); }
Library Items
Symbol 1 Graphic | Used by:12 | |
Symbol 2 Graphic | Used by:12 | |
Symbol 3 Graphic | Used by:9 | |
Symbol 4 Graphic | Used by:9 | |
Symbol 5 Graphic | Used by:9 | |
Symbol 6 Graphic | Used by:9 | |
Symbol 7 Graphic | Used by:9 | |
Symbol 8 Graphic | Used by:9 | |
Symbol 9 MovieClip | Uses:3 4 5 6 7 8 | Used by:12 |
Symbol 10 Graphic | Used by:12 | |
Symbol 11 Sound | Used by:12 | |
Symbol 12 MovieClip [kayaking fox] | Uses:1 2 9 10 11 | |
Symbol 13 Graphic | Used by:16 Timeline | |
Symbol 14 Bitmap | Used by:15 | |
Symbol 15 Graphic | Uses:14 | Used by:16 Timeline |
Symbol 16 MovieClip [rocks] | Uses:13 15 | |
Symbol 17 Graphic | Used by:Timeline | |
Symbol 18 Graphic | Used by:Timeline | |
Symbol 19 Graphic | Used by:Timeline | |
Symbol 20 Graphic | Used by:Timeline | |
Symbol 21 Graphic | Used by:Timeline | |
Symbol 22 Font | Used by:23 25 36 37 38 39 | |
Symbol 23 Text | Uses:22 | Used by:Timeline |
Symbol 24 Graphic | Used by:26 | |
Symbol 25 Text | Uses:22 | Used by:26 |
Symbol 26 Button | Uses:24 25 | Used by:Timeline |
Symbol 27 Graphic | Used by:Timeline | |
Symbol 28 Graphic | Used by:29 | |
Symbol 29 MovieClip | Uses:28 | Used by:Timeline |
Symbol 30 Graphic | Used by:Timeline | |
Symbol 31 Font | Used by:32 | |
Symbol 32 EditableText | Uses:31 | Used by:Timeline |
Symbol 33 Font | Used by:34 | |
Symbol 34 Text | Uses:33 | Used by:35 |
Symbol 35 MovieClip | Uses:34 | Used by:Timeline |
Symbol 36 Text | Uses:22 | Used by:Timeline |
Symbol 37 EditableText | Uses:22 | Used by:Timeline |
Symbol 38 Text | Uses:22 | Used by:Timeline |
Symbol 39 EditableText | Uses:22 | Used by:Timeline |
Special Tags
Protect (24) | Timeline Frame 1 | 0 bytes "" |
ExportAssets (56) | Timeline Frame 1 | Symbol 12 as "kayaking fox" |
ExportAssets (56) | Timeline Frame 1 | Symbol 16 as "rocks" |
Labels
"start" | Frame 1 |
"lose" | Frame 3 |
"win" | Frame 4 |
"still" | Symbol 12 MovieClip [kayaking fox] Frame 1 |
"right" | Symbol 12 MovieClip [kayaking fox] Frame 2 |
"left" | Symbol 12 MovieClip [kayaking fox] Frame 3 |
"spill" | Symbol 12 MovieClip [kayaking fox] Frame 4 |
Dynamic Text Variables
spills | Symbol 32 EditableText | "0" |
score | Symbol 37 EditableText | "0" |
score | Symbol 39 EditableText | "0" |
|