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

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

Fish Battle.swf

This is the info page for
Flash #46490

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


Text
100%

presents

entrada

FishBattle is a 2 player hotseat game where you goal is to shoot and kill
the other fish.

You have 2 weapons, the regular shot and the fish-seeking
missle, both with limited ammo.

From time to time Ammo and Missle will fall, you will have
to catch them to get extra shots.

Orange Fish Controls: Arrow Keys for movement, ctrl to fire,
Insert to shoot the fish missile.

Green Fish Controls: w,a,d,s  for movement, space to fire and v
to shoot the fish missile.

Life:

Ammo:

Missile:

Life:

Ammo:

Missile:

Life:

Ammo:

Missile:

Life:

Ammo:

Missile:

juego

Fish 2 Wins

Fish 1 Wins.

ActionScript [AS1/AS2]

Frame 1
stop();
Instance of Symbol 8 MovieClip "progressbar" in Frame 1
onClipEvent (load) { totalFileSize = _root.getBytesTotal(); this._xscale = 0; } onClipEvent (enterFrame) { bytesLoaded = _root.getBytesLoaded(); amountLoaded = bytesLoaded / totalFileSize; percentLoaded = int(100 * amountLoaded); this._xscale = percentLoaded; _root.loadingMessage = percentLoaded + "%"; if (amountLoaded >= 1) { _root.gotoAndPlay("ya"); } }
Frame 71
stop();
Frame 75
stop();
Frame 76
fish1life = 10; fish2life = 10; fish1ammo = 10; fish2ammo = 10; fish1missile = 0; fish2missile = 0; stop(); playsounds80 = new Sound(this); playsounds80.attachSound("fishmusic"); playsounds80.start(0, 20000);
Instance of Symbol 58 MovieClip "am1" in Frame 76
onClipEvent (load) { function reset() { this._x = random(430) + 30; this._y = -30; speed = 8; } reset(); } onClipEvent (enterFrame) { this._y = this._y + speed; if (this.hitTest(_root.fish1)) { playsounds20 = new Sound(this); playsounds20.attachSound("coin"); playsounds20.start(0, 1); _root.fish1ammo = _root.fish1ammo + 10; reset(); } if (this.hitTest(_root.fish2)) { playsounds21 = new Sound(this); playsounds21.attachSound("coin"); playsounds21.start(0, 1); _root.fish2ammo = _root.fish2ammo + 10; reset(); } if (this._y > 530) { reset(); } }
Instance of Symbol 62 MovieClip in Frame 76
onClipEvent (load) { function reset() { this._x = random(430) + 30; this._y = -230; speed = 8; } reset(); } onClipEvent (enterFrame) { this._y = this._y + speed; if (this.hitTest(_root.fish1)) { playsounds22 = new Sound(this); playsounds22.attachSound("coin"); playsounds22.start(0, 1); _root.fish1missile = _root.fish1missile + 1; reset(); } if (this.hitTest(_root.fish2)) { playsounds23 = new Sound(this); playsounds23.attachSound("coin"); playsounds23.start(0, 1); _root.fish2missile = _root.fish2missile + 1; reset(); } if (this._y > 530) { reset(); } }
Instance of Symbol 97 MovieClip "shot1" in Frame 76
onClipEvent (load) { distance = 0; if (_root.fish1.isright == 1) { this._y = _root.fish1._y; this._x = _root.fish1._x; speed = 40; } else if (_root.fish1.isright == 0) { this._y = _root.fish1._y; this._x = _root.fish1._x; speed = -40; } } onClipEvent (enterFrame) { this.distance++; if (this.distance > 7) { this.removeMovieClip(); } this._x = this._x + speed; if (this._x < 0) { this._x = 500; } if (this._x > 500) { this._x = 0; } if (this.hitTest(_root.fish2)) { if (this._name != "shot1") { _root.fish2life--; _root.fish2.gotoAndPlay(5); this.removeMovieClip(); playsounds5 = new Sound(this); playsounds5.attachSound("pipebang"); playsounds5.start(0, 1); } } }
Instance of Symbol 99 MovieClip "shot2" in Frame 76
onClipEvent (load) { distance = 0; if (_root.fish2.isright == 1) { this._y = _root.fish2._y; this._x = _root.fish2._x; speed = 40; } else if (_root.fish2.isright == 0) { this._y = _root.fish2._y; this._x = _root.fish2._x; speed = -40; } } onClipEvent (enterFrame) { this.distance++; if (this.distance > 7) { this.removeMovieClip(); } this._x = this._x + speed; if (this._x < 0) { this._x = 500; } if (this._x > 500) { this._x = 0; } if (this.hitTest(_root.fish1)) { if (this._name != "shot2") { _root.fish1life--; _root.fish1.fish1life--; _root.fish1.gotoAndPlay(7); this.removeMovieClip(); playsounds6 = new Sound(this); playsounds6.attachSound("pipebang"); playsounds6.start(0, 1); } } }
Instance of Symbol 103 MovieClip "missile1" in Frame 76
onClipEvent (load) { this._x = _root.fish1._x; this._y = _root.fish1._y; if (this._name != "missile1") { speed = 13; } if (_root.fish1._x > _root.fish2._x) { _xscale = (-_xscale); this.missileright = 0; } else { _root.fish1._x < _root.fish2._x; } this.missileright = 1; distan = 0; } onClipEvent (enterFrame) { distan++; if (distan > 50) { this.removeMovieClip(); } if (_root.fish1._x > _root.fish2._x) { if (this.missileright == 1) { this.missileright = 0; _xscale = (-_xscale); } } if (_root.fish1._x < _root.fish2._x) { if (this.missileright == 0) { _xscale = (-_xscale); this.missileright = 1; } } if (this._x > (_root.fish2._x + 5)) { this._x = this._x - speed; } else if (this._x < (_root.fish2._x - 5)) { this._x = this._x + speed; } if (this._x > 505) { this._x = 0; } else if (this._x < -5) { this._x = 500; } if (this._y > (_root.fish2._y + 4)) { this._y = this._y - 10; } else if (this._y < (_root.fish2._y - 4)) { this._y = this._y + 10; } if (this.hitTest(_root.fish2)) { if (this._name != "missile1") { playsounds7 = new Sound(this); playsounds7.attachSound("pipebang"); playsounds7.start(0, 1); _root.fish2.gotoAndPlay(5); _root.fish2life--; this.removeMovieClip(); } } }
Instance of Symbol 107 MovieClip "missile2" in Frame 76
onClipEvent (load) { this._x = _root.fish2._x; this._y = _root.fish2._y; if (this._name != "missile2") { speed = 13; } dist = 0; } onClipEvent (enterFrame) { dist++; if (dist > 50) { this.removeMovieClip(); } if (this._x > (_root.fish1._x + 5)) { this._x = this._x - speed; } else if (this._x < (_root.fish1._x - 5)) { this._x = this._x + speed; } if (this._x > 505) { this._x = 0; } else if (this._x < -5) { this._x = 500; } if (this._y > (_root.fish1._y + 4)) { this._y = this._y - 10; } else if (this._y < (_root.fish1._y - 4)) { this._y = this._y + 10; } if (this.hitTest(_root.fish1)) { if (this._name != "missile2") { playsounds9 = new Sound(this); playsounds9.attachSound("pipebang"); playsounds9.start(0, 1); _root.fish1.gotoAndPlay(7); _root.fish1life--; this.removeMovieClip(); } } }
Instance of Symbol 112 MovieClip "fish2" in Frame 76
onClipEvent (load) { horizspeed = 0; verticalspeed = 0; addspeed = 1; decay = 0.8; maxSpeed = 10; isright = 0; isdown = 0; this._x = 400; this._y = 250; count2 = 0; shot2count = 20000; count3 = 0; missile2count = 30000; } onClipEvent (enterFrame) { if (Key.isDown(68)) { if (isright == 1) { if (horizspeed < maxSpeed) { horizspeed = horizspeed + addspeed; } } else { _xscale = (-_xscale); isright = 1; } } else if (Key.isDown(65)) { if (isright == 0) { if (horizspeed > -10) { horizspeed = horizspeed - addspeed; } } else { _xscale = (-_xscale); isright = 0; } } else { horizspeed = horizspeed * decay; } if (Key.isDown(87)) { isdown = 0; if (verticalspeed > -10) { verticalspeed = verticalspeed - addspeed; } } else if (Key.isDown(83)) { isdown = 1; if (verticalspeed < 10) { verticalspeed = verticalspeed + addspeed; } } else { verticalspeed = verticalspeed * decay; } if (this._y > 15) { if (isdown == 0) { this._y = this._y + verticalspeed; } } if (this._y < 475) { if (isdown == 1) { this._y = this._y + verticalspeed; } } this._x = this._x + horizspeed; if (this._x < -5) { this._x = 510; } else if (this._x > 510) { this._x = -5; } if ((this._y >= 475) && (isdown == 1)) { verticalspeed = 0; } if ((this._y <= 25) && (isdown == 0)) { verticalspeed = 0; } if (Key.isDown(32)) { if ((_root.fish2ammo > 0) && (count2 == 0)) { playsounds1 = new Sound(this); playsounds1.attachSound("GUN1"); playsounds1.start(0, 1); shot2count++; _root.shot2.duplicateMovieClip("shot2" + shot2count, shot2count); _root["shot2" + shot2count]._visible = true; _root.fish2ammo--; count2 = 1; } } else if (count2 == 1) { count2 = 0; } if (Key.isDown(86)) { if ((count3 == 0) && (_root.fish2missile > 0)) { playsounds4 = new Sound(this); playsounds4.attachSound("laser2"); playsounds4.start(0, 1); missile2count++; _root.missile2.duplicateMovieClip("missile2" + missile2count, missile2count); _root["missile2" + missile2count]._visible = true; _root.fish2missile--; count3 = 1; } } else if (count3 == 1) { count3 = 0; } }
Instance of Symbol 117 MovieClip "fish1" in Frame 76
onClipEvent (load) { _root.shot1._visible = false; _root.shot2._visible = false; _root.missile2._visible = false; _root.missile1._visible = false; horizspeed = 0; verticalspeed = 0; addspeed = 1; decay = 0.8; maxSpeed = 10; isright = 1; isdown = 0; this._x = 50; this._y = 100; spacedown = 0; spacedown2 = 0; shot1count = 1; missile1count = 80000 /* 0x013880 */; } onClipEvent (enterFrame) { if (_root.fish2life <= 0) { _root.fish2.gotoAndPlay(10); playsounds30 = new Sound(this); playsounds30.attachSound("death"); playsounds30.start(0, 1); } if (this.hitTest(_root.fish2)) { this._x = this._x - horizspeed; horizspeed = -horizspeed; this._y = this._y - verticalspeed; verticalspeed = -verticalspeed; _root.fish2.horizspeed = -_root.fish2.horizspeed; _root.fish2.verticalspeed = -_root.fish2.verticalspeed; } if (Key.isDown(39)) { if (isright == 1) { if (horizspeed < maxSpeed) { horizspeed = horizspeed + addspeed; } } else { _xscale = (-_xscale); isright = 1; } } else if (Key.isDown(37)) { if (isright == 0) { if (horizspeed > -10) { horizspeed = horizspeed - addspeed; } } else { _xscale = (-_xscale); isright = 0; } } else { horizspeed = horizspeed * decay; } if (Key.isDown(38)) { isdown = 0; if (verticalspeed > -10) { verticalspeed = verticalspeed - addspeed; } } else if (Key.isDown(40)) { isdown = 1; if (verticalspeed < 10) { verticalspeed = verticalspeed + addspeed; } } else { verticalspeed = verticalspeed * decay; } if (this._y > 15) { if (isdown == 0) { this._y = this._y + verticalspeed; } } if (this._y < 475) { if (isdown == 1) { this._y = this._y + verticalspeed; } } this._x = this._x + horizspeed; if (this._x < -5) { this._x = 505; } else if (this._x > 510) { this._x = 0; } if ((this._y >= 475) && (isdown == 1)) { verticalspeed = 0; } if ((this._y <= 25) && (isdown == 0)) { verticalspeed = 0; } if (Key.isDown(17)) { if ((_root.fish1ammo > 0) && (spacedown == 0)) { playsounds = new Sound(this); playsounds.attachSound("GUN1"); playsounds.start(0, 1); _root.shot1.duplicateMovieClip("shot1" + shot1count, shot1count); _root["shot1" + shot1count]._visible = true; shot1count++; _root.fish1ammo--; spacedown = 1; } } else if (spacedown == 1) { spacedown = 0; } if (Key.isDown(45)) { if ((spacedown2 == 0) && (_root.fish1missile > 0)) { missile1count++; _root.missile1.duplicateMovieClip("missile1" + missile1count, missile1count); _root["missile1" + missile1count]._visible = true; spacedown2 = 1; _root.fish1missile--; playsounds3 = new Sound(this); playsounds3.attachSound("laser2"); playsounds3.start(0, 1); } } else if (spacedown2 == 1) { spacedown2 = 0; } }
Frame 90
stopAllSounds(); if (_root.fish1life <= 0) { _root.gotoAndPlay("fish1death"); } else if (_root.fish2life <= 0) { _root.gotoAndPlay("fish2death"); }
Frame 91
stop(); stopAllSounds(); lala.onRelease = function () { gotoAndPlay (71); }; stop();
Frame 92
stop(); stopAllSounds(); lala2.onRelease = function () { gotoAndPlay (71); }; stop();
Symbol 14 Button
on (release) { getURL ("http://www.flashninjaclan.com"); }
Symbol 27 Button
on (release) { getURL ("http://www.flashninjaclan.com"); }
Symbol 36 Button
on (press) { gotoAndStop (75); }
Symbol 47 Button
on (press) { gotoAndStop ("juego"); }
Symbol 51 Button
on (release) { getURL ("http://www.java-gaming.com/"); }
Symbol 69 Button
on (press) { gotoAndStop ("entrada"); }
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 6
gotoAndPlay (1);
Symbol 112 MovieClip Frame 11
_root.gotoAndPlay("fish2death");
Symbol 117 MovieClip Frame 1
if (_root.fish1life > 0) { stop(); } if (_root.fish1life <= 0) { play(); }
Symbol 117 MovieClip Frame 6
_root.gotoAndPlay("fish1death");
Symbol 117 MovieClip Frame 8
gotoAndPlay (1);
Symbol 120 Button
on (release) { gotoAndPlay ("entrada"); }

Library Items

Symbol 1 Sound [pipebang]
Symbol 2 Sound [laser2]
Symbol 3 Sound [GUN1]
Symbol 4 Sound [fishmusic]
Symbol 5 Sound [coin]
Symbol 6 Sound [death]Used by:117
Symbol 7 GraphicUsed by:8 51
Symbol 8 MovieClipUses:7Used by:Timeline
Symbol 9 FontUsed by:10 17 52 53 54 63 64 65 118
Symbol 10 EditableTextUses:9Used by:Timeline
Symbol 11 ShapeTweeningUsed by:Timeline
Symbol 12 BitmapUsed by:13
Symbol 13 GraphicUses:12Used by:14 27
Symbol 14 ButtonUses:13Used by:Timeline
Symbol 15 SoundUsed by:Timeline
Symbol 16 GraphicUsed by:Timeline
Symbol 17 EditableTextUses:9Used by:Timeline
Symbol 18 BitmapUsed by:19
Symbol 19 GraphicUses:18Used by:20
Symbol 20 MovieClipUses:19Used by:Timeline
Symbol 21 VideoUsed by:22
Symbol 22 MovieClipUses:21Used by:Timeline
Symbol 23 BitmapUsed by:24
Symbol 24 GraphicUses:23Used by:25
Symbol 25 MovieClipUses:24Used by:26
Symbol 26 MovieClipUses:25Used by:Timeline
Symbol 27 ButtonUses:13Used by:Timeline
Symbol 28 GraphicUsed by:31
Symbol 29 GraphicUsed by:30
Symbol 30 ButtonUses:29Used by:31
Symbol 31 MovieClipUses:28 30Used by:Timeline
Symbol 32 BitmapUsed by:33
Symbol 33 GraphicUses:32Used by:34 36
Symbol 34 MovieClipUses:33Used by:36
Symbol 35 GraphicUsed by:36 47 69 120
Symbol 36 ButtonUses:34 35 33Used by:Timeline
Symbol 37 BitmapUsed by:38
Symbol 38 GraphicUses:37Used by:39
Symbol 39 MovieClipUses:38Used by:Timeline
Symbol 40 BitmapUsed by:43 109 115
Symbol 41 BitmapUsed by:43 108
Symbol 42 BitmapUsed by:43 113
Symbol 43 GraphicUses:40 41 42Used by:Timeline
Symbol 44 BitmapUsed by:45
Symbol 45 GraphicUses:44Used by:46 47
Symbol 46 MovieClipUses:45Used by:47
Symbol 47 ButtonUses:46 35 45Used by:Timeline
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:50 51
Symbol 50 MovieClipUses:49Used by:51
Symbol 51 ButtonUses:50 7 49Used by:Timeline
Symbol 52 EditableTextUses:9Used by:Timeline
Symbol 53 EditableTextUses:9Used by:Timeline
Symbol 54 EditableTextUses:9Used by:Timeline
Symbol 55 BitmapUsed by:56
Symbol 56 GraphicUses:55Used by:57
Symbol 57 MovieClipUses:56Used by:58
Symbol 58 MovieClipUses:57Used by:Timeline
Symbol 59 BitmapUsed by:60
Symbol 60 GraphicUses:59Used by:61
Symbol 61 MovieClipUses:60Used by:62
Symbol 62 MovieClipUses:61Used by:Timeline
Symbol 63 EditableTextUses:9Used by:Timeline
Symbol 64 EditableTextUses:9Used by:Timeline
Symbol 65 EditableTextUses:9Used by:Timeline
Symbol 66 BitmapUsed by:67
Symbol 67 GraphicUses:66Used by:68 69 120
Symbol 68 MovieClipUses:67Used by:69 120
Symbol 69 ButtonUses:68 35 67Used by:Timeline
Symbol 70 FontUsed by:71 74 76 78 80 82 84 85 86 87 88 89 90 91 92 93 94 95 119 121
Symbol 71 TextUses:70Used by:Timeline
Symbol 72 FontUsed by:73 75 77 79 81 83
Symbol 73 EditableTextUses:72Used by:Timeline
Symbol 74 TextUses:70Used by:Timeline
Symbol 75 EditableTextUses:72Used by:Timeline
Symbol 76 EditableTextUses:70Used by:Timeline
Symbol 77 EditableTextUses:72Used by:Timeline
Symbol 78 TextUses:70Used by:Timeline
Symbol 79 EditableTextUses:72Used by:Timeline
Symbol 80 TextUses:70Used by:Timeline
Symbol 81 EditableTextUses:72Used by:Timeline
Symbol 82 EditableTextUses:70Used by:Timeline
Symbol 83 EditableTextUses:72Used by:Timeline
Symbol 84 TextUses:70Used by:Timeline
Symbol 85 EditableTextUses:70Used by:Timeline
Symbol 86 TextUses:70Used by:Timeline
Symbol 87 EditableTextUses:70Used by:Timeline
Symbol 88 EditableTextUses:70Used by:Timeline
Symbol 89 EditableTextUses:70Used by:Timeline
Symbol 90 TextUses:70Used by:Timeline
Symbol 91 EditableTextUses:70Used by:Timeline
Symbol 92 TextUses:70Used by:Timeline
Symbol 93 EditableTextUses:70Used by:Timeline
Symbol 94 EditableTextUses:70Used by:Timeline
Symbol 95 EditableTextUses:70Used by:Timeline
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:96Used by:Timeline
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClipUses:98Used by:Timeline
Symbol 100 BitmapUsed by:101
Symbol 101 GraphicUses:100Used by:102
Symbol 102 MovieClipUses:101Used by:103
Symbol 103 MovieClipUses:102Used by:Timeline
Symbol 104 BitmapUsed by:105
Symbol 105 GraphicUses:104Used by:106
Symbol 106 MovieClipUses:105Used by:107
Symbol 107 MovieClipUses:106Used by:Timeline
Symbol 108 GraphicUses:41Used by:112
Symbol 109 GraphicUses:40Used by:112
Symbol 110 ShapeTweeningUsed by:112
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClipUses:108 109 110 111Used by:Timeline
Symbol 113 GraphicUses:42Used by:117
Symbol 114 ShapeTweeningUsed by:117
Symbol 115 GraphicUses:40Used by:117
Symbol 116 GraphicUsed by:117
Symbol 117 MovieClipUses:113 114 115 6 116Used by:Timeline
Symbol 118 EditableTextUses:9Used by:Timeline
Symbol 119 EditableTextUses:70Used by:Timeline
Symbol 120 ButtonUses:68 35 67Used by:Timeline
Symbol 121 EditableTextUses:70Used by:Timeline

Instance Names

"progressbar"Frame 1Symbol 8 MovieClip
"ctrls"Frame 71Symbol 36 Button
"ok"Frame 75Symbol 69 Button
"fish1life"Frame 76Symbol 73 EditableText
"fish1ammo"Frame 76Symbol 75 EditableText
"fish1missile"Frame 76Symbol 77 EditableText
"fish2life"Frame 76Symbol 79 EditableText
"fish2ammo"Frame 76Symbol 81 EditableText
"fish2missile"Frame 76Symbol 83 EditableText
"fish1life"Frame 76Symbol 85 EditableText
"fish1ammo"Frame 76Symbol 87 EditableText
"fish1missile"Frame 76Symbol 89 EditableText
"fish2life"Frame 76Symbol 91 EditableText
"fish2ammo"Frame 76Symbol 93 EditableText
"fish2missile"Frame 76Symbol 95 EditableText
"am1"Frame 76Symbol 58 MovieClip
"shot1"Frame 76Symbol 97 MovieClip
"shot2"Frame 76Symbol 99 MovieClip
"missile1"Frame 76Symbol 103 MovieClip
"missile2"Frame 76Symbol 107 MovieClip
"fish2"Frame 76Symbol 112 MovieClip
"fish1"Frame 76Symbol 117 MovieClip
"ok"Frame 91Symbol 120 Button
"ok"Frame 92Symbol 120 Button

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 1 as "pipebang"
ExportAssets (56)Timeline Frame 1Symbol 2 as "laser2"
ExportAssets (56)Timeline Frame 1Symbol 3 as "GUN1"
ExportAssets (56)Timeline Frame 1Symbol 4 as "fishmusic"
ExportAssets (56)Timeline Frame 1Symbol 5 as "coin"
ExportAssets (56)Timeline Frame 1Symbol 6 as "death"
ExportAssets (56)Timeline Frame 76Symbol 6 as "death"

Labels

"ya"Frame 2
"entrada"Frame 71
"juego"Frame 76
"fish1death"Frame 91
"fish2death"Frame 92

Dynamic Text Variables

loadingMessageSymbol 10 EditableText"100%"
fish1lifeSymbol 73 EditableText""
fish1ammoSymbol 75 EditableText""
fish1missileSymbol 77 EditableText""
fish2lifeSymbol 79 EditableText""
fish2ammoSymbol 81 EditableText""
fish2missileSymbol 83 EditableText""
fish1lifeSymbol 85 EditableText""
fish1ammoSymbol 87 EditableText""
fish1missileSymbol 89 EditableText""
fish2lifeSymbol 91 EditableText""
fish2ammoSymbol 93 EditableText""
fish2missileSymbol 95 EditableText""




http://swfchan.com/10/46490/info.shtml
Created: 3/5 -2019 13:53:23 Last modified: 3/5 -2019 13:53:23 Server time: 17/05 -2024 16:00:09