STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229702 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2596 · P5192 |
This is the info page for Flash #141023 |
Game Over |
ActionScript [AS1/AS2]
Frame 1var nrEnemies = 3; i = 1; while (i < nrEnemies) { _root.Enemy0.duplicateMovieClip("Enemy" + i, _root.getNextHighestDepth()); i++; } var i = 0; var score = 0; var lives = 3; this.onEnterFrame = function () { if (Key.isDown(39)) { if (Ship.hitTest(550, Ship._y, true)) { Ship._x = Ship._x - 7; } Ship._x = Ship._x + 7; } else if (Key.isDown(37)) { if (Ship.hitTest(0, Ship._y, true)) { Ship._x = Ship._x + 7; } Ship._x = Ship._x - 7; } else if (Key.isDown(38)) { if (Ship.hitTest(Ship._x - 40, 0, true)) { Ship._y = Ship._y + 7; } Ship._y = Ship._y - 7; } else if (Key.isDown(40)) { if (Ship.hitTest(Ship._x - 40, 300, true)) { Ship._y = Ship._y - 7; } Ship._y = Ship._y + 7; } if (Key.isDown(32)) { i++; _root.attachMovie("Bullet", "Bullet" + i, _root.getNextHighestDepth()); _root["Bullet" + i]._x = Ship._x + 3; _root["Bullet" + i]._y = Ship._y; } };Instance of Symbol 51 MovieClip "Ship" in Frame 1onClipEvent (load) { function reset() { this._x = 100; this._y = 150; } reset(); } onClipEvent (enterFrame) { i = 0; while (i < _root.nrEnemies) { if (this.hitTest(_root["Enemy" + i])) { _root.lives = _root.lives - 1; if (_root.lives <= 0) { _root.attachMovie("GameOver", "GameOver", 100); _root.GameOver._x = 275; _root.GameOver._y = 150; this.swapDepths(10); this.removeMovieClip(); } reset(); k = 0; while (k < _root.nrEnemies) { _root["Enemy" + k].reset(); k++; } } i++; } }Instance of Symbol 17 MovieClip [Enemy] "Enemy0" in Frame 1onClipEvent (load) { function reset() { this._y = Math.random() * 300; this._x = 550; mySpeed = Math.ceil(Math.random() * 6) + 1; } reset(); } onClipEvent (enterFrame) { this._x = this._x - mySpeed; if (timer >= 12) { var dir = Math.ceil(Math.random() * 2); timer = 0; } timer++; if (dir == 1) { this._y = this._y - 3; } else if (dir == 2) { this._y = this._y + 3; } if (this._x < -10) { reset(); } }Symbol 3 MovieClip [Bullet] Frame 1this.onEnterFrame = function () { this._x = this._x + 9; if (this._x > 550) { this.removeMovieClip(); } i = 0; while (i < _root.nrEnemies) { if (this.hitTest(_root["Enemy" + i])) { _root.score = _root.score + 10; _root["Enemy" + i].reset(); this.removeMovieClip(); } i++; } };
Library Items
Symbol 1 Sound [shoot] | ||
Symbol 2 Graphic | Used by:3 | |
Symbol 3 MovieClip [Bullet] | Uses:2 | |
Symbol 4 Font | Used by:5 | |
Symbol 5 Text | Uses:4 | Used by:6 |
Symbol 6 MovieClip [GameOver] | Uses:5 | |
Symbol 7 Bitmap | Used by:8 9 10 11 12 13 14 15 16 | |
Symbol 8 Graphic | Uses:7 | Used by:17 |
Symbol 9 Graphic | Uses:7 | Used by:17 |
Symbol 10 Graphic | Uses:7 | Used by:17 |
Symbol 11 Graphic | Uses:7 | Used by:17 |
Symbol 12 Graphic | Uses:7 | Used by:17 |
Symbol 13 Graphic | Uses:7 | Used by:17 |
Symbol 14 Graphic | Uses:7 | Used by:17 |
Symbol 15 Graphic | Uses:7 | Used by:17 |
Symbol 16 Graphic | Uses:7 | Used by:17 |
Symbol 17 MovieClip [Enemy] | Uses:8 9 10 11 12 13 14 15 16 | Used by:Timeline |
Symbol 18 Bitmap | Used by:19 | |
Symbol 19 Graphic | Uses:18 | Used by:31 |
Symbol 20 Bitmap | Used by:21 | |
Symbol 21 Graphic | Uses:20 | Used by:31 |
Symbol 22 Bitmap | Used by:23 | |
Symbol 23 Graphic | Uses:22 | Used by:31 |
Symbol 24 Bitmap | Used by:25 26 | |
Symbol 25 Graphic | Uses:24 | Used by:31 |
Symbol 26 Graphic | Uses:24 | Used by:31 |
Symbol 27 Bitmap | Used by:28 | |
Symbol 28 Graphic | Uses:27 | Used by:31 |
Symbol 29 Bitmap | Used by:30 | |
Symbol 30 Graphic | Uses:29 | Used by:31 |
Symbol 31 MovieClip | Uses:19 21 23 25 26 28 30 | Used by:Timeline |
Symbol 32 Bitmap | Used by:33 | |
Symbol 33 Graphic | Uses:32 | Used by:34 |
Symbol 34 MovieClip | Uses:33 | Used by:Timeline |
Symbol 35 Bitmap | Used by:36 37 38 39 40 41 | |
Symbol 36 Graphic | Uses:35 | Used by:42 |
Symbol 37 Graphic | Uses:35 | Used by:42 |
Symbol 38 Graphic | Uses:35 | Used by:42 |
Symbol 39 Graphic | Uses:35 | Used by:42 |
Symbol 40 Graphic | Uses:35 | Used by:42 |
Symbol 41 Graphic | Uses:35 | Used by:42 |
Symbol 42 MovieClip | Uses:36 37 38 39 40 41 | Used by:Timeline |
Symbol 43 Bitmap | Used by:44 | |
Symbol 44 Graphic | Uses:43 | Used by:45 |
Symbol 45 MovieClip | Uses:44 | Used by:Timeline |
Symbol 46 Bitmap | Used by:47 | |
Symbol 47 Graphic | Uses:46 | Used by:Timeline |
Symbol 48 Bitmap | Used by:50 | |
Symbol 49 Bitmap | Used by:50 | |
Symbol 50 Graphic | Uses:48 49 | Used by:51 |
Symbol 51 MovieClip | Uses:50 | Used by:Timeline |
Symbol 52 Bitmap | Used by:53 | |
Symbol 53 Graphic | Uses:52 | Used by:54 |
Symbol 54 MovieClip | Uses:53 | Used by:Timeline |
Symbol 55 Sound | Used by:Timeline |
Instance Names
"Ship" | Frame 1 | Symbol 51 MovieClip |
"Enemy0" | Frame 1 | Symbol 17 MovieClip [Enemy] |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
ExportAssets (56) | Timeline Frame 1 | Symbol 1 as "shoot" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "Bullet" |
ExportAssets (56) | Timeline Frame 1 | Symbol 6 as "GameOver" |
ExportAssets (56) | Timeline Frame 1 | Symbol 17 as "Enemy" |
|