STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228131
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/23997638?noj=FRM23997638-15DC" width="1" height="1"></div>

Drift Time.swf

This is the info page for
Flash #25406

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


Text
D
T

new and improved:
-level 3
-timer
-you can't lose then win
-easy restarts
-exterior boundary penalty
-score legend

LEVEL 3  "Curved Drift"
DIFFICULTY: MED

BEGIN

BEGIN

Get the 4 coins before time runs out. Time will run
out quicker if you hit boundaries. Also, the timer is
inversely proportional to the car speed, so the
more time you spend going fast, the more time you
will have to complete the event.

<6.5s = Wow!
7.0s = Very Good
7.4s = Average
8.0 = Keep trying
>
12 = Crap

TIMER SPEED^-1:

TIME:

ActionScript [AS1/AS2]

Frame 1
stop();
Instance of Symbol 7 MovieClip in Frame 1
onClipEvent (enterFrame) { if (Key.isDown(39)) { nextFrame(); } }
Frame 2
stop(); if (Key.isDown(13)) { gotoAndStop (1); } Set(hit, 0); _root.timer = (_root.timer = 0); _root.hits = (_root.hits = 0); _root.hit1 = (_root.hit1 = Go); Set(carspd, 0.7);
Instance of Symbol 22 MovieClip "maze" in Frame 2
onClipEvent (enterFrame) { with (_root.car) { if (walls.hitTest(getBounds(_root).xMax, _y, true)) { _x = _x - 5; _root.carspd = 0.1; } if (walls.hitTest(getBounds(_root).xMin, _y, true)) { _x = _x + 5; _root.carspd = 0.1; } if (walls.hitTest(_x, getBounds(_root).yMax, true)) { _y = _y - 5; _root.carspd = 0.1; } if (walls.hitTest(_x, getBounds(_root).yMin, true)) { _y = _y + 5; _root.carspd = 0.1; } } }
Instance of Symbol 24 MovieClip "car" in Frame 2
onClipEvent (load) { thrust = 0.06; decay = 0.9; maxSpeed = 3.3; } onClipEvent (enterFrame) { turnspeed = speed; _root.carspd = turnspeed; if (Key.isDown(39)) { _rotation = (_rotation + turnspeed); } if (Key.isDown(37)) { _rotation = (_rotation - turnspeed); } if (Key.isDown(38)) { xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180))); ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180))); } else { xSpeed = xSpeed * decay; ySpeed = ySpeed * decay; } speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed)); if (speed > maxSpeed) { xSpeed = xSpeed * (maxSpeed / speed); ySpeed = ySpeed * (maxSpeed / speed); } _y = (_y - ySpeed); _x = (_x + xSpeed); if (_y < 0) { _y = 600; } if (_y > 600) { _y = 0; } if (_x < 0) { _x = 800; } if (_x > 800) { _x = 0; } }
Instance of Symbol 26 MovieClip "coin" in Frame 2
onClipEvent (enterFrame) { hit = _root.car.hitTest(this); if (hit == true) { this._x = -50; _root.hits = _root.hits + 1; } Set(_root.hit1, false); if (_root.hits == 4) { _root.hit1 = "YOU WIN! - Click to RESTART"; _root.time._y = -100; _root.leg._x = 300; _root.leg._y = 400; nextFrame(); } }
Instance of Symbol 26 MovieClip "coin2" in Frame 2
onClipEvent (enterFrame) { hit = _root.car.hitTest(this); if (hit == true) { this._x = -50; _root.hits = _root.hits + 1; } Set(hit1, false); if (hit == 1) { hit1 = true; } }
Instance of Symbol 26 MovieClip "coin3" in Frame 2
onClipEvent (enterFrame) { hit = _root.car.hitTest(this); if (hit == true) { this._x = -50; _root.hits = _root.hits + 1; } Set(hit1, false); if (hit == 1) { hit1 = true; } }
Instance of Symbol 26 MovieClip "coin4" in Frame 2
onClipEvent (enterFrame) { hit = _root.car.hitTest(this); if (hit == true) { this._x = -50; _root.hits = _root.hits + 1; } Set(hit1, false); if (hit == 1) { hit1 = true; } }
Instance of Symbol 38 MovieClip "time" in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { _x = (_x + xSpeed); xSpeed = 1.5 / _root.carspd; }
Instance of Symbol 39 MovieClip "end" in Frame 2
onClipEvent (enterFrame) { hit = _root.time.hitTest(this); if (hit == true) { _root.hit1 = "YOU LOSE! - Click to RESTART"; _root.hits = _root.hits - 10000; _root.leg._x = 300; _root.leg._y = 400; } } onClipEvent (enterFrame) { hit = _root.zt.hitTest(this); if (hit == true) { _root.zt._y = -400; } }
Instance of Symbol 41 MovieClip "zt" in Frame 2
onClipEvent (enterFrame) { hit = _root.time.hitTest(this); if (hit == true) { _root.timer = _root.timer + 0.013; } }
Symbol 11 Button
on (release) { gotoAndStop (2); }
Symbol 48 Button
on (release) { gotoAndStop (1); }

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 FontUsed by:3 4 5 8 9 12 32 33 42
Symbol 3 TextUses:2Used by:Timeline
Symbol 4 TextUses:2Used by:Timeline
Symbol 5 TextUses:2Used by:Timeline
Symbol 6 GraphicUsed by:7 48
Symbol 7 MovieClipUses:6Used by:Timeline
Symbol 8 TextUses:2Used by:11
Symbol 9 TextUses:2Used by:11
Symbol 10 GraphicUsed by:11
Symbol 11 ButtonUses:8 9 10Used by:Timeline
Symbol 12 TextUses:2Used by:Timeline
Symbol 13 BitmapUsed by:14
Symbol 14 GraphicUses:13Used by:Timeline
Symbol 15 GraphicUsed by:20
Symbol 16 GraphicUsed by:20
Symbol 17 BitmapUsed by:18 19
Symbol 18 GraphicUses:17Used by:20
Symbol 19 GraphicUses:17Used by:20
Symbol 20 MovieClipUses:15 16 18 19Used by:22
Symbol 21 MovieClipUsed by:22
Symbol 22 MovieClipUses:20 21Used by:Timeline
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:23Used by:Timeline
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:25Used by:Timeline
Symbol 27 GraphicUsed by:28 39
Symbol 28 MovieClipUses:27Used by:Timeline
Symbol 29 FontUsed by:30 31
Symbol 30 EditableTextUses:29Used by:Timeline
Symbol 31 EditableTextUses:29Used by:Timeline
Symbol 32 EditableTextUses:2Used by:Timeline
Symbol 33 EditableTextUses:2Used by:34
Symbol 34 ButtonUses:33Used by:Timeline
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:35Used by:Timeline
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:Timeline
Symbol 39 MovieClipUses:27Used by:Timeline
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:Timeline
Symbol 42 EditableTextUses:2Used by:43
Symbol 43 MovieClipUses:42Used by:Timeline
Symbol 44 FontUsed by:45 46
Symbol 45 EditableTextUses:44Used by:Timeline
Symbol 46 EditableTextUses:44Used by:Timeline
Symbol 47 GraphicUsed by:Timeline
Symbol 48 ButtonUses:6Used by:Timeline

Instance Names

"maze"Frame 2Symbol 22 MovieClip
"car"Frame 2Symbol 24 MovieClip
"coin"Frame 2Symbol 26 MovieClip
"dead"Frame 2Symbol 28 MovieClip
"coin2"Frame 2Symbol 26 MovieClip
"coin3"Frame 2Symbol 26 MovieClip
"coin4"Frame 2Symbol 26 MovieClip
"time"Frame 2Symbol 38 MovieClip
"end"Frame 2Symbol 39 MovieClip
"zt"Frame 2Symbol 41 MovieClip
"leg"Frame 2Symbol 43 MovieClip
"walls"Symbol 22 MovieClip Frame 1Symbol 20 MovieClip

Dynamic Text Variables

_root.hitsSymbol 30 EditableText""
_root.carspdSymbol 31 EditableText""
timerSymbol 32 EditableText""
_root.hit1Symbol 33 EditableText""




http://swfchan.com/6/25406/info.shtml
Created: 23/5 -2019 18:00:26 Last modified: 23/5 -2019 18:00:26 Server time: 15/05 -2024 13:36:53