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

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

sad.swf

This is the info page for
Flash #119206

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


Text
YOU LOSE.

Press "r" to Restart

000000

Total Score:

ActionScript [AS1/AS2]

Frame 1
function runGame() { if (Key.isDown(38) || (Key.isDown(87))) { if (velocityY < velocityYMax) { velocityY = velocityY + acceleration; } } if (Key.isDown(40) || (Key.isDown(83))) { if (velocityY > velocityYMaxReverse) { velocityY = velocityY - acceleration; } } if (Key.isDown(39) || (Key.isDown(68))) { mcMain.gotoAndPlay(3); if (velocityX > velocityXMaxReverse) { velocityX = velocityX - acceleration; } } else { mcMain.gotoAndPlay(1); } if (Key.isDown(37) || (Key.isDown(65))) { mcMain.gotoAndPlay(2); if (velocityX < velocityXMax) { velocityX = velocityX + acceleration; } } velocityX = velocityX * friction; velocityY = velocityY * friction; mcMain._x = mcMain._x - velocityX; mcMain._y = mcMain._y - velocityY; if (mcMain._x < boundryLeft) { mcMain._x = boundryLeft; } if (mcMain._x > boundryRight) { mcMain._x = boundryRight; } if (mcMain._y < boundryTop) { mcMain._y = boundryTop; } if (mcMain._y > boundryBot) { mcMain._y = boundryBot; } } stop(); var gameOver = false; var mainSpeed = 15; var cTime = 0; var cLimit = 15; var shootAllow = false; var enemyTime = 0; var enemyLimit = 20; var enemyTotal = 0; var score = 0; _root.createEmptyMovieClip("bgHolder", _root.getNextHighestDepth()); _root.createEmptyMovieClip("bulletHolder", _root.getNextHighestDepth()); var velocityX = 0; var velocityY = 0; var velocityXMax = 5; var velocityYMax = 5; var velocityXMaxReverse = -5; var velocityYMaxReverse = -5; var acceleration = 1; var friction = 0.98; var boundryTop = 0; var boundryBot = (Stage.height - 200); var boundryLeft = 0; var boundryRight = Stage.width; mcMain.onEnterFrame = function () { runGame(); }; onEnterFrame = function () { if (Key.isDown(32) && (shootAllow)) { var _local3 = Math.random(); bulletHolder.attachMovie("mcBullet", "Bullet" + _local3, bulletHolder.getNextHighestDepth()); bulletHolder["Bullet" + _local3]._x = mcMain._x; bulletHolder["Bullet" + _local3]._y = mcMain._y - 40; bulletHolder["Bullet" + _local3].onEnterFrame = function () { this._y = this._y - 7; 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 = -800; _root["en" + enemyTotal].onEnterFrame = function () { this._y = this._y + 3; 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.gotoAndPlay(2); _root.bulletHolder[_local3].removeMovieClip(); _root.score = _root.score + 25; } } } if (this.hitTest(_root.mcMain)) { gameOver = true; stopAllSounds(); gotoAndStop ("lose"); mcMain.removeMovieClip(); } if (gameOver || (this._y > 850)) { this.removeMovieClip(); } }; enemyTime = 0; enemyTotal++; } txtScore.text = "Score: " + score; }; mcMain.swapDepths(1000); _root.ascore.swapDepths(999999);
Frame 5
stop(); _root.onEnterFrame = function () { if (Key.isDown(82)) { gotoAndStop (1); } }; txtFinalScore.text = score;
Symbol 17 MovieClip [mcEnemy] Frame 1
stop();
Symbol 17 MovieClip [mcEnemy] Frame 10
onEnterFrame = function () { this.removeMovieClip(); };
Symbol 36 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 2
stop();
Symbol 36 MovieClip Frame 3
stop();

Library Items

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

Instance Names

"mcMain"Frame 1Symbol 36 MovieClip
"txtScore"Frame 1Symbol 38 EditableText
"txtFinalScore"Frame 5Symbol 41 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "moonlaunch"
ExportAssets (56)Timeline Frame 1Symbol 13 as "mcBullet"
ExportAssets (56)Timeline Frame 1Symbol 17 as "mcEnemy"

Labels

"lose"Frame 5

Dynamic Text Variables

ascoreSymbol 38 EditableText""




http://swfchan.com/24/119206/info.shtml
Created: 6/3 -2019 01:13:23 Last modified: 6/3 -2019 01:13:23 Server time: 25/04 -2024 06:19:38