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 #191550 |
Penguin Racing |
Use the up and down arrows to move the bike. |
If the bike gets to close to a car, you lose. |
If you get too close to the fallen trees, you lose. |
See how far you can bike before crashing! |
Lets roll |
Lets roll |
You have biked |
yards |
Game OVer! |
ActionScript [AS1/AS2]
Frame 1bytes_loaded = Math.round(_root.getBytesLoaded()); bytes_total = Math.round(_root.getBytesTotal()); getPercent = bytes_loaded / bytes_total; _root.loadBar._width = getPercent * 100; _root.loadText = Math.round(getPercent * 100) + "%"; if (bytes_loaded == bytes_total) { _root.gotoAndStop(3); }Frame 2gotoAndPlay (1);Frame 3gotoAndPlay (4);Frame 4stop(); play_btn.onRelease = function () { gotoAndPlay ("gameOn"); };Frame 9function moveCave() { cave0_mc._x = cave0_mc._x - caveSpeed; cave1_mc._x = cave1_mc._x - caveSpeed; cave2_mc._x = cave2_mc._x - caveSpeed; cave3_mc._x = cave3_mc._x - caveSpeed; if (cave0_mc._x <= -550) { cave0_mc._x = 550; } else if (cave1_mc._x <= -550) { cave1_mc._x = 550; } else if (cave2_mc._x <= -550) { cave2_mc._x = 550; } else if (cave3_mc._x <= -550) { cave3_mc._x = 550; } } function moveRocks() { rock1_mc._x = rock1_mc._x - caveSpeed; rock2_mc._x = rock2_mc._x - caveSpeed; if (rock1_mc._x <= -200) { rock1_mc._x = 550; } else if (rock2_mc._x <= -200) { rock2_mc._x = 550; } } function moveDiver() { diverTarget_mc._y = diver_mc._y; if (Key.isDown(40) && (diver_mc._y <= 320)) { diver_mc._y = diver_mc._y + diverSpeed; } else if (Key.isDown(38) && (diver_mc._y >= 0)) { diver_mc._y = diver_mc._y - diverSpeed; } } function moveBubbles() { bubbles_mc._y = diver_mc._y - 5; } function moveShark() { shark1_mc._x = shark1_mc._x - sharkSpeed; shark2_mc._x = shark2_mc._x - sharkSpeed; shark3_mc._x = shark2_mc._x - sharkSpeed; if (shark1_mc._x <= -200) { shark1_mc._x = 1000; shark1_mc._y = random(100) + 50; } else if (shark2_mc._x <= -200) { shark2_mc._x = 1000; shark2_mc._y = random(100) + 150; } else if (shark3_mc._x <= -200) { shark3_mc._x = 1500; shark3_mc._y = random(100) + 150; } } function deadDiver() { if (diverTarget_mc.hitTest(shark1_mc) || (diverTarget_mc.hitTest(shark2_mc))) { gotoAndStop ("gameOver"); delete _root.onEnterFrame; } else if (diverTarget_mc.hitTest(rock1_mc) || (diverTarget_mc.hitTest(rock2_mc))) { gotoAndStop ("gameOver"); delete _root.onEnterFrame; } } function keepScore() { counter = counter + 1; if ((counter % 12) == 0) { distance = distance + 1; distance_txt.text = distance; } } stop(); var caveSpeed = 5; var diverSpeed = 5; var sharkSpeed = 16; var counter = 0; var distance = 0; diverTarget_mc._alpha = 0; cave0_mc._x = 0; cave1_mc._x = 550; cave2_mc._x = 0; cave3_mc._x = 550; _root.onEnterFrame = function () { moveCave(); moveRocks(); moveDiver(); moveBubbles(); moveShark(); deadDiver(); keepScore(); };Frame 16stop(); playAgain_btn.onRelease = function () { gotoAndPlay ("gameOn"); };Symbol 56 MovieClip Frame 6stop();
Library Items
Symbol 1 Font | Used by:2 | |
Symbol 2 EditableText | Uses:1 | Used by:Timeline |
Symbol 3 Graphic | Used by:4 | |
Symbol 4 MovieClip | Uses:3 | Used by:Timeline |
Symbol 5 Graphic | Used by:Timeline | |
Symbol 6 Bitmap | Used by:7 | |
Symbol 7 Graphic | Uses:6 | Used by:Timeline |
Symbol 8 Font | Used by:9 10 11 12 13 14 15 19 20 48 | |
Symbol 9 Text | Uses:8 | Used by:Timeline |
Symbol 10 Text | Uses:8 | Used by:Timeline |
Symbol 11 Text | Uses:8 | Used by:Timeline |
Symbol 12 Text | Uses:8 | Used by:Timeline |
Symbol 13 Text | Uses:8 | Used by:Timeline |
Symbol 14 Text | Uses:8 | Used by:17 |
Symbol 15 Text | Uses:8 | Used by:17 |
Symbol 16 Graphic | Used by:17 | |
Symbol 17 Button | Uses:14 15 16 | Used by:Timeline |
Symbol 18 Graphic | Used by:Timeline | |
Symbol 19 Text | Uses:8 | Used by:Timeline |
Symbol 20 Text | Uses:8 | Used by:Timeline |
Symbol 21 Graphic | Used by:22 | |
Symbol 22 MovieClip | Uses:21 | Used by:Timeline |
Symbol 23 Graphic | Used by:24 | |
Symbol 24 MovieClip | Uses:23 | Used by:Timeline |
Symbol 25 Graphic | Used by:26 | |
Symbol 26 MovieClip | Uses:25 | Used by:Timeline |
Symbol 27 Graphic | Used by:28 | |
Symbol 28 MovieClip | Uses:27 | Used by:Timeline |
Symbol 29 Graphic | Used by:30 | |
Symbol 30 MovieClip | Uses:29 | Used by:Timeline |
Symbol 31 Graphic | Used by:32 | |
Symbol 32 MovieClip | Uses:31 | Used by:Timeline |
Symbol 33 Graphic | Used by:36 | |
Symbol 34 Graphic | Used by:36 | |
Symbol 35 Graphic | Used by:36 | |
Symbol 36 MovieClip | Uses:33 34 35 | Used by:Timeline |
Symbol 37 MovieClip | Used by:Timeline | |
Symbol 38 Graphic | Used by:39 | |
Symbol 39 MovieClip | Uses:38 | Used by:Timeline |
Symbol 40 Graphic | Used by:44 | |
Symbol 41 Graphic | Used by:44 | |
Symbol 42 Graphic | Used by:44 | |
Symbol 43 Graphic | Used by:44 | |
Symbol 44 MovieClip | Uses:40 41 42 43 | Used by:Timeline |
Symbol 45 Font | Used by:46 | |
Symbol 46 EditableText | Uses:45 | Used by:Timeline |
Symbol 47 Graphic | Used by:56 | |
Symbol 48 Text | Uses:8 | Used by:55 |
Symbol 49 Graphic | Used by:55 | |
Symbol 50 Graphic | Used by:55 | |
Symbol 51 Graphic | Used by:55 | |
Symbol 52 Graphic | Used by:55 | |
Symbol 53 Graphic | Used by:55 | |
Symbol 54 Graphic | Used by:55 | |
Symbol 55 MovieClip | Uses:48 49 50 51 52 53 54 | Used by:56 |
Symbol 56 MovieClip | Uses:47 55 | Used by:Timeline |
Symbol 57 Graphic | Used by:60 | |
Symbol 58 Graphic | Used by:60 | |
Symbol 59 Graphic | Used by:60 | |
Symbol 60 Button | Uses:57 58 59 | Used by:Timeline |
Symbol 61 Sound | Used by:Timeline |
Instance Names
"loadBar" | Frame 1 | Symbol 4 MovieClip |
"play_btn" | Frame 4 | Symbol 17 Button |
"cave0_mc" | Frame 9 | Symbol 22 MovieClip |
"cave1_mc" | Frame 9 | Symbol 24 MovieClip |
"cave2_mc" | Frame 9 | Symbol 26 MovieClip |
"cave3_mc" | Frame 9 | Symbol 28 MovieClip |
"rock1_mc" | Frame 9 | Symbol 30 MovieClip |
"rock2_mc" | Frame 9 | Symbol 32 MovieClip |
"diver_mc" | Frame 9 | Symbol 36 MovieClip |
"bubbles_mc" | Frame 9 | Symbol 37 MovieClip |
"diverTarget_mc" | Frame 9 | Symbol 39 MovieClip |
"shark1_mc" | Frame 9 | Symbol 44 MovieClip |
"shark3_mc" | Frame 9 | Symbol 44 MovieClip |
"shark2_mc" | Frame 9 | Symbol 44 MovieClip |
"distance_txt" | Frame 9 | Symbol 46 EditableText |
"playAgain_btn" | Frame 16 | Symbol 60 Button |
Labels
"intro" | Frame 4 |
"gameOn" | Frame 9 |
"gameOver" | Frame 16 |
Dynamic Text Variables
loadText | Symbol 2 EditableText | "" |
|