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/34212102?noj=FRM34212102-22DC" width="1" height="1"></div>

River Kayak.swf

This is the info page for
Flash #23776

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


Text
RIVER    KAYAK

PLAY

Actions

GAME OVER
You hit too many rocks

YOU MADE IT!

0

ActionScript [AS1/AS2]

Frame 1
stop();
Frame 2
function initGame() { firstRock = 1; lastRock = 0; spills = 0; timeSinceLastRock = 0; riverSpeed = 0; startTime = getTimer(); riverPos = 0; attachMovie("kayaking fox", "fox", 999999); fox._x = 275; fox._y = 200; } function moveFox() { if (4 < fox._currentFrame) { dx = 0; } else if (Key.isDown(Key.RIGHT)) { if (10 < riverSpeed) { riverSpeed = riverSpeed - 1; } dx = riverSpeed; fox.gotoAndStop("left"); } else if (Key.isDown(Key.LEFT)) { if (10 < riverSpeed) { riverSpeed = riverSpeed - 1; } 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 < 25) { riverSpeed = riverSpeed + 0.5; } riverPos = riverPos + riverSpeed; showGameTime(); if (riverPos >= 30000) { removeAll(); gotoAndPlay (4); } } function newRock() { if (5 < timeSinceLastRock) { if (Math.random() < 0.25) { lastRock++; attachMovie("rocks", "rock" + lastRock, lastRock); _root["rock" + lastRock]._x = (Math.random() * 250) + 150; _root["rock" + lastRock]._y = 450; f = int(Math.Random() * _root["rock" + lastRock]._totalFrames) + 1; _root["rock" + lastRock].gotoAndStop(f); timeSinceLastRock = 0; _root["rock" + i].hit = false; } } timeSinceLastRock++; } function moveRocks() { side1._y = side1._y - riverSpeed; if (side1._y < -400) { side1._y = side1._y + 400; } side2._y = side2._y - riverSpeed; if (side2._y < -200) { side2._y = side2._y + 400; } i = firstRock; while (lastRock >= i) { x = _root["rock" + i]._x; y = _root["rock" + i]._y - riverSpeed; if (y < -50) { 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; } function removeAll() { i = firstRock; while (lastRock >= i) { _root["rock" + i].removeMovieClip(); i++; } fox.removeMovieClip(); } function showGameTime() { gametime = int((getTimer() - startTime) / 1000); if (gametime != lasttime) { lasttime = gametime; mins = int(gametime / 60); secs = gametime - (mins * 60); showtime = (mins + ":") + String(100 + secs).substr(1, 2); } } stop();
Instance of Symbol 57 MovieClip in Frame 2
onClipEvent (load) { _root.initGame(); } onClipEvent (enterFrame) { _root.moveFox(); _root.newRock(); _root.moveRocks(); }
Frame 3
stop();
Frame 4
stop();
Symbol 11 MovieClip Frame 5
gotoAndPlay (1);
Symbol 37 MovieClip [kayaking fox] Frame 1
stop();
Symbol 37 MovieClip [kayaking fox] Frame 22
gotoAndPlay (1);
Symbol 49 Button
on (press) { gotoAndPlay (1); }
Symbol 53 MovieClip Frame 1
stop();

Library Items

Symbol 1 GraphicUsed by:37
Symbol 2 GraphicUsed by:6
Symbol 3 GraphicUsed by:6
Symbol 4 GraphicUsed by:6
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:2 3 4 5Used by:37
Symbol 7 GraphicUsed by:11
Symbol 8 GraphicUsed by:11
Symbol 9 GraphicUsed by:11
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:7 8 9 10Used by:37
Symbol 12 GraphicUsed by:37
Symbol 13 GraphicUsed by:37
Symbol 14 GraphicUsed by:37
Symbol 15 GraphicUsed by:37
Symbol 16 GraphicUsed by:37
Symbol 17 GraphicUsed by:37
Symbol 18 SoundUsed by:37
Symbol 19 GraphicUsed by:37
Symbol 20 GraphicUsed by:37
Symbol 21 GraphicUsed by:37
Symbol 22 GraphicUsed by:37
Symbol 23 GraphicUsed by:37
Symbol 24 GraphicUsed by:37
Symbol 25 GraphicUsed by:37
Symbol 26 GraphicUsed by:37
Symbol 27 GraphicUsed by:37
Symbol 28 GraphicUsed by:37
Symbol 29 GraphicUsed by:37
Symbol 30 GraphicUsed by:37
Symbol 31 GraphicUsed by:37
Symbol 32 GraphicUsed by:37
Symbol 33 GraphicUsed by:37
Symbol 34 GraphicUsed by:37
Symbol 35 GraphicUsed by:37
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClip [kayaking fox]Uses:1 6 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
Symbol 38 GraphicUsed by:42
Symbol 39 GraphicUsed by:42
Symbol 40 GraphicUsed by:42
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClip [rocks]Uses:38 39 40 41
Symbol 43 GraphicUsed by:Timeline
Symbol 44 FontUsed by:45
Symbol 45 TextUses:44Used by:Timeline
Symbol 46 GraphicUsed by:49
Symbol 47 FontUsed by:48 54 59 60 61
Symbol 48 TextUses:47Used by:49
Symbol 49 ButtonUses:46 48Used by:Timeline
Symbol 50 SoundUsed by:Timeline
Symbol 51 GraphicUsed by:Timeline
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClipUses:52Used by:Timeline
Symbol 54 EditableTextUses:47Used by:Timeline
Symbol 55 FontUsed by:56
Symbol 56 TextUses:55Used by:57
Symbol 57 MovieClipUses:56Used by:Timeline
Symbol 58 SoundUsed by:Timeline
Symbol 59 TextUses:47Used by:Timeline
Symbol 60 TextUses:47Used by:Timeline
Symbol 61 EditableTextUses:47Used by:Timeline

Instance Names

"side2"Frame 2Symbol 53 MovieClip
"side1"Frame 2Symbol 53 MovieClip
"bubbles"Symbol 37 MovieClip [kayaking fox] Frame 1Symbol 6 MovieClip
"ripples"Symbol 37 MovieClip [kayaking fox] Frame 1Symbol 11 MovieClip
"bubbles"Symbol 37 MovieClip [kayaking fox] Frame 18Symbol 6 MovieClip
"ripples"Symbol 37 MovieClip [kayaking fox] Frame 18Symbol 11 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 37 as "kayaking fox"
ExportAssets (56)Timeline Frame 1Symbol 42 as "rocks"

Labels

"start"Frame 1
"lose"Frame 3
"win"Frame 4
"still"Symbol 37 MovieClip [kayaking fox] Frame 1
"right"Symbol 37 MovieClip [kayaking fox] Frame 2
"left"Symbol 37 MovieClip [kayaking fox] Frame 3
"spill"Symbol 37 MovieClip [kayaking fox] Frame 4
"back up"Symbol 37 MovieClip [kayaking fox] Frame 18

Dynamic Text Variables

showtimeSymbol 54 EditableText" "
showtimeSymbol 61 EditableText"0"




http://swfchan.com/5/23776/info.shtml
Created: 25/5 -2019 22:50:53 Last modified: 25/5 -2019 22:50:53 Server time: 22/12 -2024 17:20:10