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

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

Bugs.swf

This is the info page for
Flash #47122

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


Text
100

scanlines off

scanlines off

<p align="right"><font face="Arial_11pt_st" size="11" color="#00ff00">scanlines off</font></p>

scanlines on

scanlines on

score

score

LEVEL UP!

BONUS

BONUS

score

score

ActionScript [AS1/AS2]

Frame 10
function getmushroom() { i = 1000; while (i <= 1050) { if (_root["bullet" + _root.bulletask].hitTest(_root.mushrooms["mr" + i])) { _root.mushrooms["mr" + i].life = _root.mushrooms["mr" + i].life - 1; trace("hit mr no." + i); _root.score = _root.score - 1; _root.mushrooms["mr" + i].gotoAndStop(_root.mushrooms["mr" + i].life + 2); if (_root.mushrooms["mr" + i].life < 0) { _root.mrdie.start(); _root.mushroomsleft--; _root.score = _root.score - 50; _root.mushrooms["mr" + i].removeMovieClip(); } _root["bullet" + _root.bulletask].removeMovieClip(); } i++; } } function getbug() { i = 2000; while (i <= 2050) { if (_root["bullet" + _root.bulletask].hitTest(_root.enemies["enemy" + i])) { trace("HIT BUG " + i); _root.enemies["enemy" + i].removeMovieClip(); _root.killbug.start(); _root.death._x = _root["bullet" + _root.bulletask]._x; _root.death._y = _root["bullet" + _root.bulletask]._y; _root["bullet" + _root.bulletask].removeMovieClip(); _root.death.gotoAndPlay(2); _root.score = _root.score + 100; break; } i++; } } function removemr() { trace("Hit by no. " + _root.enemynumber); mr = 1000; while (mr <= 1050) { if (_root.enemies["enemy" + _root.enemynumber].hitTest(_root.mushrooms["mr" + mr])) { _root.mushrooms["mr" + mr].removeMovieClip(); _root.eat.start(); _root.mushroomsleft--; break; } mr++; } } function createenemy() { _root.enemycount++; trace(enemycount); if ((_root.enemycount > 2025) && (_root.enemylevel > 6)) { _root.enemylevel = _root.enemylevel - 5; _root.lu.gotoAndPlay(2); trace("level up"); _root.enemycount = 2000; } side = random(4) + 1; xspeed = 0; yspeed = 0; if (side == 1) { x = 56 + (random(23) * 20); y = 0; yspeed = 2; rot = 0; } if (side == 2) { x = 570; y = 40 + (random(17) * 20); xspeed = -2; rot = 90; } if (side == 3) { x = 56 + (random(23) * 20); y = 440; yspeed = -2; rot = 180; } if (side == 4) { x = 0; y = 40 + (random(17) * 20); xspeed = 2; rot = 270; } _root.enemies.e_master.duplicateMovieClip(["enemy" + _root.enemycount], _root.enemycount, {_x:x, _y:y}); _root.enemies["enemy" + _root.enemycount].xspeed = xspeed; _root.enemies["enemy" + _root.enemycount].yspeed = yspeed; _root.enemies["enemy" + _root.enemycount]._rotation = rot; _root.enemies["enemy" + _root.enemycount].enemyid = _root.enemycount; _root.enemies["enemy" + _root.enemycount].image.gotoAndStop(1 + random(3)); } enemycount = 2000; score = 0; mushroomsleft = 0; shoot = new Sound(); shoot.attachSound("shoot2"); mrdie = new Sound(); mrdie.attachSound("mushroomdie"); eat = new Sound(); eat.attachSound("eat"); killbug = new Sound(); killbug.attachSound("killbug"); stop();
Instance of Symbol 16 MovieClip "control" in Frame 10
onClipEvent (enterFrame) { r = random(10); if (r == 1) { _root.createenemy(); } }
Frame 25
grid = new Array(); mr = 1000; score = 0; enemycount = 2000; enemylevel = 100; mushroomsleft = 0; do { rx = random(23) * 20; ry = random(17) * 20; gg = (ry * 17) + rx; if ((grid[gg] != 1) && (gg != 2940)) { trace((gg + " is mushroom ") + mr); grid[gg] = 1; trace(grid[gg]); _root.mushroomsleft++; mr++; _root.mushrooms.m_mast.duplicateMovieClip(["mr" + mr], mr, {_x:rx, _y:ry}); _root.mushrooms["mr" + mr].life = 10; _root.mushrooms["mr" + mr].gid = gg; } } while (mushroomsleft < 50); stop();
Instance of Symbol 16 MovieClip "control" in Frame 25
onClipEvent (enterFrame) { if (_root.mushroomsleft == 0) { _root.gotoAndStop("end"); } if (_root.score < 0) { _root.score = 0; } r = random(_root.enemylevel); if (r == 1) { _root.createenemy(); } }
Instance of Symbol 71 MovieClip "player" in Frame 25
onClipEvent (load) { _root.player.legs.legs2.l1.gotoAndStop(1); _root.player.legs.legs2.l2.gotoAndStop(1); _root.player.legs.legs2.l3.gotoAndStop(1); _root.player.legs.legs2.l4.gotoAndStop(1); rateofchange = 1; rateofstop = 1.2; xspeed = 0; yspeed = 0; maxspeed = 7; bulletcount = 0; xbulletspeed = 0; ybulletspeed = -15; maxbullets = 30; bulletpause = 3; wait = 0; legsmoving = false; } onClipEvent (enterFrame) { if ((xspeed < 0.1) && (xspeed > -0.1)) { if ((yspeed < 0.1) && (yspeed > -0.1)) { legsmoving = false; _root.player.legs.legs2.l1.gotoAndStop(1); _root.player.legs.legs2.l2.gotoAndStop(1); _root.player.legs.legs2.l3.gotoAndStop(1); _root.player.legs.legs2.l4.gotoAndStop(1); } } if ((pressed == true) && (legsmoving == false)) { legsmoving = true; _root.player.legs.legs2.l1.gotoAndPlay(1); _root.player.legs.legs2.l2.gotoAndPlay(5); _root.player.legs.legs2.l3.gotoAndPlay(10); _root.player.legs.legs2.l4.gotoAndPlay(15); } pressed = false; if (Key.isDown(37) && (xspeed > (-maxspeed))) { xbulletspeed = -15; ybulletspeed = 0; brot = 270; pressed = true; xspeed = xspeed - rateofchange; } if (Key.isDown(39) && (xspeed < maxspeed)) { xbulletspeed = 15; ybulletspeed = 0; brot = 90; pressed = true; xspeed = xspeed + rateofchange; } if (Key.isDown(38) && (yspeed > (-maxspeed))) { xbulletspeed = 0; ybulletspeed = -15; brot = 0; pressed = true; yspeed = yspeed - rateofchange; } if (Key.isDown(40) && (yspeed < maxspeed)) { xbulletspeed = 0; ybulletspeed = 15; brot = 180; pressed = true; yspeed = yspeed + rateofchange; } if (_root.mushrooms.hitTest((_x + xspeed) + (_width / 2), _y, true) && (xspeed > 0)) { xspeed = 0; } if (_root.mushrooms.hitTest((_x + xspeed) - (_width / 2), _y, true) && (xspeed < 0)) { xspeed = 0; } if (_root.mushrooms.hitTest(_x, (_y + yspeed) + (_height / 2), true) && (yspeed > 0)) { yspeed = 0; } if (_root.mushrooms.hitTest(_x, (_y + yspeed) - (_height / 2), true) && (yspeed < 0)) { yspeed = 0; } _x = (_x + xspeed); _y = (_y + yspeed); if (pressed == false) { if (xspeed != 0) { xspeed = xspeed / rateofstop; } if (yspeed != 0) { yspeed = yspeed / rateofstop; } } if ((xspeed < 0.01) && (xspeed > -0.01)) { xspeed = 0; } if ((yspeed < 0.01) && (yspeed > -0.01)) { yspeed = 0; } if (_x < (0 + (_width / 2))) { _x = (0 + (_width / 2)); xspeed = 0; } if (_x > (550 - (_width / 2))) { _x = (550 - (_width / 2)); xspeed = 0; } if (_y < (0 + (_height / 2))) { _y = (0 + (_height / 2)); yspeed = 0; } if (_y > (400 - (_height / 2))) { _y = (400 - (_height / 2)); yspeed = 0; } if (Key.isDown(32) && (wait > bulletpause)) { wait = 0; _root.shoot.start(); _root.bulletmaster.duplicateMovieClip(["bullet" + bulletcount], bulletcount, {_x:_x, _y:_y}); _root["bullet" + bulletcount].yspeed = ybulletspeed; _root["bullet" + bulletcount].xspeed = xbulletspeed; _root["bullet" + bulletcount].bulletid = bulletcount; _root["bullet" + bulletcount]._rotation = brot; bulletcount = bulletcount + 1; if (bulletcount > maxbullets) { bulletcount = 0; } } wait = wait + 1; }
Instance of Symbol 73 MovieClip "bulletmaster" in Frame 25
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.mushrooms.hitTest(_x, _y, true)) { _root.bulletask = this.bulletid; _root.getmushroom(); } if (_root.enemies.hitTest(_x, _y, true)) { _root.bulletask = this.bulletid; _root.getbug(); } _y = (_y + yspeed); _x = (_x + xspeed); }
Frame 41
_root.mst.score = _root.score; _root.mst.game = "Bugs"; _root.mst.loadVariables("record_score.php", "GET"); stop();
Frame 65
gotoAndPlay ("game");
Symbol 9 MovieClip Frame 1
stop();
Symbol 9 MovieClip Frame 2
stop();
Symbol 15 MovieClip Frame 1
stop();
Instance of Symbol 16 MovieClip "e_master" in Symbol 17 MovieClip Frame 1
onClipEvent (enterFrame) { _x = (_x + xspeed); _y = (_y + yspeed); if (_root.mushrooms.hitTest(_x, _y, true)) { _rotation = (_rotation - 180); _root.enemynumber = enemyid; _root.removemr(); xspeed = -xspeed; yspeed = -yspeed; } if ((((this._x < -10) || (this._x > 580)) || (this._y < -20)) || (this._y > 540)) { this.removeMovieClip(); } }
Symbol 20 MovieClip Frame 1
stop();
Symbol 31 Button
on (release) { gotoAndPlay ("clear"); }
Symbol 38 Button
on (release) { getURL ("http://www.hairybulletgames.com", "_blank"); }
Symbol 46 Button
on (release) { _root.sl._visible = false; _root.slonmc._y = 5; _root.sloffmc._y = -100; }
Symbol 51 Button
on (release) { _root.sl._visible = true; _root.sloffmc._y = 5; _root.slonmc._y = -100; }
Symbol 61 MovieClip Frame 1
bonus = _root.mushroomsleft * 50; _root.score = _root.score + bonus;
Symbol 61 MovieClip Frame 18
stop();
Symbol 62 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 2
stop();
Symbol 74 Button
on (release) { gotoAndPlay (1); }
Symbol 81 MovieClip Frame 52
stop();

Library Items

Symbol 1 Sound [shoot2]
Symbol 2 Sound [shoot]
Symbol 3 Sound [mushroomdie]
Symbol 4 Sound [killbug]
Symbol 5 Sound [eat]
Symbol 6 GraphicUsed by:9
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:9
Symbol 9 MovieClipUses:6 8Used by:10
Symbol 10 MovieClipUses:9Used by:Timeline
Symbol 11 GraphicUsed by:15
Symbol 12 MovieClipUsed by:15
Symbol 13 GraphicUsed by:15
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:11 12 13 14Used by:16
Symbol 16 MovieClipUses:15Used by:17  Timeline
Symbol 17 MovieClipUses:16Used by:Timeline
Symbol 18 FontUsed by:19
Symbol 19 TextUses:18Used by:20
Symbol 20 MovieClipUses:19Used by:Timeline
Symbol 21 BitmapUsed by:22
Symbol 22 GraphicUses:21Used by:23
Symbol 23 MovieClipUses:22Used by:Timeline
Symbol 24 BitmapUsed by:25
Symbol 25 GraphicUses:24Used by:26
Symbol 26 MovieClipUses:25Used by:Timeline
Symbol 27 BitmapUsed by:28
Symbol 28 GraphicUses:27Used by:29 31 74
Symbol 29 MovieClipUses:28Used by:30
Symbol 30 MovieClipUses:29Used by:31 74
Symbol 31 ButtonUses:30 28Used by:Timeline
Symbol 32 BitmapUsed by:33
Symbol 33 GraphicUses:32Used by:34
Symbol 34 MovieClipUses:33Used by:Timeline
Symbol 35 BitmapUsed by:36
Symbol 36 GraphicUses:35Used by:37 38
Symbol 37 MovieClipUses:36Used by:38
Symbol 38 ButtonUses:37 36Used by:Timeline
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:39Used by:Timeline
Symbol 41 FontUsed by:42 43 45 48 49
Symbol 42 TextUses:41Used by:46
Symbol 43 TextUses:41Used by:46
Symbol 44 GraphicUsed by:46
Symbol 45 EditableTextUses:41Used by:46
Symbol 46 ButtonUses:42 43 44 45Used by:47
Symbol 47 MovieClipUses:46Used by:Timeline
Symbol 48 TextUses:41Used by:51
Symbol 49 TextUses:41Used by:51
Symbol 50 GraphicUsed by:51
Symbol 51 ButtonUses:48 49 50Used by:52
Symbol 52 MovieClipUses:51Used by:Timeline
Symbol 53 FontUsed by:54 55 75 76
Symbol 54 EditableTextUses:53Used by:Timeline
Symbol 55 EditableTextUses:53Used by:Timeline
Symbol 56 FontUsed by:57 58 59
Symbol 57 TextUses:56Used by:61
Symbol 58 TextUses:56Used by:61
Symbol 59 EditableTextUses:56Used by:61
Symbol 60 SoundUsed by:61
Symbol 61 MovieClipUses:57 58 59 60Used by:62
Symbol 62 MovieClipUses:61Used by:Timeline
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:63Used by:67
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:65Used by:67
Symbol 67 MovieClipUses:64 66Used by:68
Symbol 68 MovieClipUses:67Used by:69
Symbol 69 MovieClipUses:68Used by:71
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClipUses:69 70Used by:Timeline
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClipUses:72Used by:Timeline
Symbol 74 ButtonUses:30 28Used by:Timeline
Symbol 75 EditableTextUses:53Used by:Timeline
Symbol 76 EditableTextUses:53Used by:Timeline
Symbol 77 BitmapUsed by:78
Symbol 78 GraphicUses:77Used by:79
Symbol 79 MovieClipUses:78Used by:80
Symbol 80 MovieClipUses:79Used by:81
Symbol 81 MovieClipUses:80Used by:Timeline

Instance Names

"mushrooms"Frame 10Symbol 10 MovieClip
"control"Frame 10Symbol 16 MovieClip
"enemies"Frame 10Symbol 17 MovieClip
"death"Frame 10Symbol 20 MovieClip
"sl"Frame 10Symbol 40 MovieClip
"sloffmc"Frame 10Symbol 47 MovieClip
"slonmc"Frame 10Symbol 52 MovieClip
"control"Frame 25Symbol 16 MovieClip
"lu"Frame 25Symbol 62 MovieClip
"player"Frame 25Symbol 71 MovieClip
"bulletmaster"Frame 25Symbol 73 MovieClip
"mst"Frame 41Symbol 81 MovieClip
"m_mast"Symbol 10 MovieClip Frame 1Symbol 9 MovieClip
"image"Symbol 16 MovieClip Frame 1Symbol 15 MovieClip
"e_master"Symbol 17 MovieClip Frame 1Symbol 16 MovieClip
"l2"Symbol 68 MovieClip Frame 1Symbol 67 MovieClip
"l4"Symbol 68 MovieClip Frame 1Symbol 67 MovieClip
"l1"Symbol 68 MovieClip Frame 1Symbol 67 MovieClip
"l3"Symbol 68 MovieClip Frame 1Symbol 67 MovieClip
"legs2"Symbol 69 MovieClip Frame 1Symbol 68 MovieClip
"legs"Symbol 71 MovieClip Frame 1Symbol 69 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "shoot2"
ExportAssets (56)Timeline Frame 1Symbol 2 as "shoot"
ExportAssets (56)Timeline Frame 1Symbol 3 as "mushroomdie"
ExportAssets (56)Timeline Frame 1Symbol 4 as "killbug"
ExportAssets (56)Timeline Frame 1Symbol 5 as "eat"

Labels

"init"Frame 10
"game"Frame 25
"end"Frame 41
"clear"Frame 56
"image"Symbol 16 MovieClip Frame 24

Dynamic Text Variables

scoreSymbol 54 EditableText"score"
mushroomsleftSymbol 55 EditableText"score"
bonusSymbol 59 EditableText"BONUS"
scoreSymbol 75 EditableText"score"
mushroomsleftSymbol 76 EditableText"score"




http://swfchan.com/10/47122/info.shtml
Created: 2/5 -2019 11:12:50 Last modified: 2/5 -2019 11:12:50 Server time: 22/12 -2024 15:45:03