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

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

Test.swf

This is the info page for
Flash #69879

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


Text
畢籌會網站組 遊戲 V0.03
Controls: Arrow Keys for movement
控制:方向健來移動

<= You! (你)

<= Enemy (不是你)

<= Your Laser (你的雷射)

<= Enemy Laser (不要碰到)

START

START

START


YOU
LOSE

你輸了!

Press Enter to Restart

Final Score: 000000

ActionScript [AS1/AS2]

Frame 1
start_btn.onRelease = function () { gotoAndStop ("start"); }; stop(); stopAllSounds();
Frame 2
stop(); var turntest = 0; var gameOver = false; var mainSpeed = 10; var cTime = 0; var cLimit = 4; var shootAllow = false; var enemyTime = 0; var enemyLimit = 1; var enemyTotal = 0; var score = 0; var totalBgShapes = 0; _root.createEmptyMovieClip("bgHolder", _root.getNextHighestDepth()); _root.createEmptyMovieClip("bulletHolder", _root.getNextHighestDepth()); onEnterFrame = function () { if (Key.isDown(37) || (Key.isDown(65))) { mcMain._x = mcMain._x - mainSpeed; turntest--; } if (Key.isDown(38) || (Key.isDown(87))) { mcMain._y = mcMain._y - mainSpeed; } if (Key.isDown(39) || (Key.isDown(68))) { mcMain._x = mcMain._x + mainSpeed; turntest++; } if (Key.isDown(40) || (Key.isDown(83))) { mcMain._y = mcMain._y + mainSpeed; } if (turntest != 0) { mcMain._width = 20; } else { mcMain._width = 25; } turntest = 0; if (mcMain._x <= 0) { mcMain._x = mcMain._x + mainSpeed; } if (mcMain._y <= 0) { mcMain._y = mcMain._y + mainSpeed; } if (mcMain._x >= (Stage.width - mcMain._width)) { mcMain._x = mcMain._x - mainSpeed; } if (mcMain._y >= (Stage.height - mcMain._height)) { mcMain._y = mcMain._y - mainSpeed; } if (Key.isDown(32) && (shootAllow)) { var _local3 = Math.random(); bulletHolder.attachMovie("mcBullet", "Bullet" + _local3, bulletHolder.getNextHighestDepth()); bulletHolder["Bullet" + _local3]._x = (mcMain._x + (mcMain._width / 2)) - (bulletHolder["Bullet" + _local3]._width / 2); bulletHolder["Bullet" + _local3]._y = mcMain._y; bulletHolder["Bullet" + _local3].onEnterFrame = function () { this._y = this._y - 10; if (this._y < (-1 * this._height)) { this.removeMovieClip(); } if (gameOver) { this.removeMovieClip(); } }; shootAllow = false; } cTime++; if (cTime == cLimit) { shootAllow = true; cTime = 0; } enemyTime++; if (enemyTime == enemyLimit) { _root.attachMovie("mcEnemy", "en" + enemyTotal, _root.getNextHighestDepth()); _root["en" + enemyTotal]._x = int(Math.random() * Stage.width); _root["en" + enemyTotal]._y = -50; _root["en" + enemyTotal].onEnterFrame = function () { this._y = this._y + 5; for (var _local3 in _root.bulletHolder) { if ((this._y >= (_root.bulletHolder[_local3]._y - 30)) && (this._y <= _root.bulletHolder[_local3]._y)) { if ((this._x <= (_root.bulletHolder[_local3]._x + 5)) && (this._x >= (_root.bulletHolder[_local3]._x - 35))) { this.removeMovieClip(); _root.bulletHolder[_local3].removeMovieClip(); _root.score = _root.score + 5; } } } if (this.hitTest(_root.mcMain)) { gameOver = true; gotoAndStop ("lose"); mcMain.removeMovieClip(); } if (gameOver || (this._y > 450)) { this.removeMovieClip(); } }; enemyTime = 0; enemyTotal++; } txtScore.text = "Score: " + score; bgHolder.createEmptyMovieClip("bg" + totalBgShapes, bgHolder.getNextHighestDepth()); bgHolder["bg" + totalBgShapes].beginFill(3355443); bgHolder["bg" + totalBgShapes]._x = int(Math.random() * 550); bgHolder["bg" + totalBgShapes]._y = -50 - bgHolder._y; bgHolder["bg" + totalBgShapes].lineTo(int(Math.random() * 25), int(Math.random() * 25)); bgHolder["bg" + totalBgShapes].lineTo(int(Math.random() * 25), int(Math.random() * 25)); bgHolder["bg" + totalBgShapes].lineTo(int(Math.random() * 25), int(Math.random() * 25)); bgHolder["bg" + totalBgShapes].lineTo(int(Math.random() * 25), int(Math.random() * 25)); bgHolder["bg" + totalBgShapes].endFill(); bgHolder["bg" + totalBgShapes].onEnterFrame = function () { if ((this._y > (450 - bgHolder._y)) || (_root.gameOver)) { this.removeMovieClip(); } }; totalBgShapes++; bgHolder._y = bgHolder._y + 2; }; mcMain.swapDepths(1000);
Frame 5
stop(); _root.onEnterFrame = function () { if (Key.isDown(13)) { gotoAndStop (1); } }; txtFinalScore.text = "Final Score: " + score;
Symbol 5 MovieClip [mlauncher] Frame 1
stop();
Symbol 5 MovieClip [mlauncher] Frame 10
this.removeMovieClip();
Symbol 36 MovieClip Frame 110
stop();

Library Items

Symbol 1 GraphicUsed by:5
Symbol 2 BitmapUsed by:3
Symbol 3 GraphicUses:2Used by:5
Symbol 4 SoundUsed by:5
Symbol 5 MovieClip [mlauncher]Uses:1 3 4
Symbol 6 BitmapUsed by:7
Symbol 7 GraphicUses:6Used by:8  Timeline
Symbol 8 MovieClip [mcBullet]Uses:7
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClip [enemybullet]Uses:9Used by:Timeline
Symbol 11 GraphicUsed by:13
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClip [mcEnemy]Uses:11 12Used by:Timeline
Symbol 14 BitmapUsed by:15
Symbol 15 GraphicUses:14Used by:18 38
Symbol 16 BitmapUsed by:17
Symbol 17 GraphicUses:16Used by:18 38
Symbol 18 MovieClip [ship]Uses:15 17Used by:Timeline
Symbol 19 FontUsed by:21 22 23 24 25 44
Symbol 20 FontUsed by:21 22 23 24 25 44
Symbol 21 TextUses:19 20Used by:Timeline
Symbol 22 TextUses:20 19Used by:Timeline
Symbol 23 TextUses:20 19Used by:Timeline
Symbol 24 TextUses:20 19Used by:Timeline
Symbol 25 TextUses:20 19Used by:Timeline
Symbol 26 GraphicUsed by:37
Symbol 27 FontUsed by:28 29 30
Symbol 28 TextUses:27Used by:37
Symbol 29 TextUses:27Used by:37
Symbol 30 TextUses:27Used by:37
Symbol 31 BitmapUsed by:32
Symbol 32 GraphicUses:31Used by:35 37
Symbol 33 BitmapUsed by:34
Symbol 34 GraphicUses:33Used by:35
Symbol 35 MovieClipUses:32 34Used by:36
Symbol 36 MovieClipUses:35Used by:37
Symbol 37 ButtonUses:26 28 29 30 36 32Used by:Timeline
Symbol 38 MovieClipUses:17 15Used by:Timeline
Symbol 39 FontUsed by:40 45 46
Symbol 40 EditableTextUses:39Used by:Timeline
Symbol 41 Sound [bgm10Obj]Used by:Timeline
Symbol 42 FontUsed by:43
Symbol 43 TextUses:42Used by:Timeline
Symbol 44 TextUses:19 20Used by:Timeline
Symbol 45 TextUses:39Used by:Timeline
Symbol 46 EditableTextUses:39Used by:Timeline

Instance Names

"start_btn"Frame 1Symbol 37 Button
"mcMain"Frame 2Symbol 38 MovieClip
"txtScore"Frame 2Symbol 40 EditableText
"txtFinalScore"Frame 5Symbol 46 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 5 as "mlauncher"
ExportAssets (56)Timeline Frame 1Symbol 8 as "mcBullet"
ExportAssets (56)Timeline Frame 1Symbol 10 as "enemybullet"
ExportAssets (56)Timeline Frame 1Symbol 13 as "mcEnemy"
ExportAssets (56)Timeline Frame 1Symbol 18 as "ship"
ExportAssets (56)Timeline Frame 2Symbol 41 as "bgm10Obj"

Labels

"op"Frame 1
"Start"Frame 2
"lose"Frame 5
"2"Symbol 5 MovieClip [mlauncher] Frame 2
"start"Symbol 18 MovieClip [ship] Frame 1




http://swfchan.com/14/69879/info.shtml
Created: 10/4 -2019 05:35:07 Last modified: 10/4 -2019 05:35:07 Server time: 12/05 -2024 21:23:19