STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 228131 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2561 · P5121 |
This is the info page for Flash #25406 |
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 1stop();Instance of Symbol 7 MovieClip in Frame 1onClipEvent (enterFrame) { if (Key.isDown(39)) { nextFrame(); } }Frame 2stop(); 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 2onClipEvent (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 2onClipEvent (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 2onClipEvent (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 2onClipEvent (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 2onClipEvent (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 2onClipEvent (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 2onClipEvent (load) { } onClipEvent (enterFrame) { _x = (_x + xSpeed); xSpeed = 1.5 / _root.carspd; }Instance of Symbol 39 MovieClip "end" in Frame 2onClipEvent (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 2onClipEvent (enterFrame) { hit = _root.time.hitTest(this); if (hit == true) { _root.timer = _root.timer + 0.013; } }Symbol 11 Buttonon (release) { gotoAndStop (2); }Symbol 48 Buttonon (release) { gotoAndStop (1); }
Library Items
Symbol 1 Graphic | Used by:Timeline | ||
Symbol 2 Font | Used by:3 4 5 8 9 12 32 33 42 | ||
Symbol 3 Text | Uses:2 | Used by:Timeline | |
Symbol 4 Text | Uses:2 | Used by:Timeline | |
Symbol 5 Text | Uses:2 | Used by:Timeline | |
Symbol 6 Graphic | Used by:7 48 | ||
Symbol 7 MovieClip | Uses:6 | Used by:Timeline | |
Symbol 8 Text | Uses:2 | Used by:11 | |
Symbol 9 Text | Uses:2 | Used by:11 | |
Symbol 10 Graphic | Used by:11 | ||
Symbol 11 Button | Uses:8 9 10 | Used by:Timeline | |
Symbol 12 Text | Uses:2 | Used by:Timeline | |
Symbol 13 Bitmap | Used by:14 | ||
Symbol 14 Graphic | Uses:13 | Used by:Timeline | |
Symbol 15 Graphic | Used by:20 | ||
Symbol 16 Graphic | Used by:20 | ||
Symbol 17 Bitmap | Used by:18 19 | ||
Symbol 18 Graphic | Uses:17 | Used by:20 | |
Symbol 19 Graphic | Uses:17 | Used by:20 | |
Symbol 20 MovieClip | Uses:15 16 18 19 | Used by:22 | |
Symbol 21 MovieClip | Used by:22 | ||
Symbol 22 MovieClip | Uses:20 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 39 | ||
Symbol 28 MovieClip | Uses:27 | Used by:Timeline | |
Symbol 29 Font | Used by:30 31 | ||
Symbol 30 EditableText | Uses:29 | Used by:Timeline | |
Symbol 31 EditableText | Uses:29 | Used by:Timeline | |
Symbol 32 EditableText | Uses:2 | Used by:Timeline | |
Symbol 33 EditableText | Uses:2 | Used by:34 | |
Symbol 34 Button | Uses:33 | Used by:Timeline | |
Symbol 35 Graphic | Used by:36 | ||
Symbol 36 MovieClip | Uses:35 | Used by:Timeline | |
Symbol 37 Graphic | Used by:38 | ||
Symbol 38 MovieClip | Uses:37 | Used by:Timeline | |
Symbol 39 MovieClip | Uses:27 | Used by:Timeline | |
Symbol 40 Graphic | Used by:41 | ||
Symbol 41 MovieClip | Uses:40 | Used by:Timeline | |
Symbol 42 EditableText | Uses:2 | Used by:43 | |
Symbol 43 MovieClip | Uses:42 | Used by:Timeline | |
Symbol 44 Font | Used by:45 46 | ||
Symbol 45 EditableText | Uses:44 | Used by:Timeline | |
Symbol 46 EditableText | Uses:44 | Used by:Timeline | |
Symbol 47 Graphic | Used by:Timeline | ||
Symbol 48 Button | Uses:6 | Used by:Timeline |
Instance Names
"maze" | Frame 2 | Symbol 22 MovieClip |
"car" | Frame 2 | Symbol 24 MovieClip |
"coin" | Frame 2 | Symbol 26 MovieClip |
"dead" | Frame 2 | Symbol 28 MovieClip |
"coin2" | Frame 2 | Symbol 26 MovieClip |
"coin3" | Frame 2 | Symbol 26 MovieClip |
"coin4" | Frame 2 | Symbol 26 MovieClip |
"time" | Frame 2 | Symbol 38 MovieClip |
"end" | Frame 2 | Symbol 39 MovieClip |
"zt" | Frame 2 | Symbol 41 MovieClip |
"leg" | Frame 2 | Symbol 43 MovieClip |
"walls" | Symbol 22 MovieClip Frame 1 | Symbol 20 MovieClip |
Dynamic Text Variables
_root.hits | Symbol 30 EditableText | "" |
_root.carspd | Symbol 31 EditableText | "" |
timer | Symbol 32 EditableText | "" |
_root.hit1 | Symbol 33 EditableText | "" |
|