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

A
Very
Merry Christmas!


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

Space (Duel) 04.swf

This is the info page for
Flash #71074

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


Text
You Won!

You Lost!

0

k

c

a

t

A

r

e

n

u

o

C

Engaged!

d

e

k

c

o

L

y

m

n

E

0

Analyzing

/100%

Player HP:

Enemy HP:

Copyright (c) 2005 by Emanuel Hediger

ActionScript [AS1/AS2]

Frame 2
var ver = "0.1"; _global.frameRate = 30; var localControl = "keyboard"; var localType = "shoot"; var localLevel = "1";
Frame 3
function startGame(difficulty) { victory = (finished = 0); init(difficulty); gotoAndStop (4); } function endGame() { Mouse.show(); _quality = qback; return(victory); } function checkFinished() { return(finished); } function end() { clearInterval(upciq); } function createStarfield() { var _local2 = 0; while (_local2 < 400) { var _local1 = bg.strfld.attachMovie("star", "starg" + scnt, scnt++); _local1._xscale = (_local1._yscale = 2 + random(70)); _local1._x = random(450); _local1._y = random(300); _local2++; } } function Blackhole(ob, met) { var _local5 = 225 - ob._x; var _local4 = 155 - ob._y; var _local3 = (_local5 * _local5) + (_local4 * _local4); var _local2 = sq(_local3); if (_local2 < 400) { var _local7 = _local5 / _local2; var _local6 = _local4 / _local2; if (met) { ob.xmov = ob.xmov + ((_local7 * bforce) / _local3); ob.ymov = ob.ymov + ((_local6 * bforce) / _local3); if (_local2 < 90) { if (ob._width > 2) { ob._width = (ob._width / 90) * _local2; ob._height = (ob._height / 90) * _local2; } else { ob.hp = -10; } } } else { ob.vx = ob.vx + (((-_local6) * bforce) / _local3); ob.vy = ob.vy + ((_local7 * bforce) / _local3); if (_local2 < 30) { ob._xscale = 3.33333333333333 * _local2; ob._yscale = 3.33333333333333 * _local2; if (_local2 < 4) { setOut(ob); } } } } } function setOut(ob) { switch (random(4)) { case 0 : ob._x = 460; ob._y = 155; ob._rotation = -90; break; case 1 : ob._x = -10; ob._y = 155; ob._rotation = 90; break; case 2 : ob._x = 225; ob._y = -10; ob._rotation = 180; break; case 3 : ob._x = 225; ob._y = 320; ob._rotation = 0; } ob.vx = 0; ob.vy = 0; ob._xscale = 100; ob._yscale = 100; } function init(df) { dif = df; qback = _quality; _quality = "LOW"; s = Math.sin; c = Math.cos; mr = Math.random; ro = Math.round; sq = Math.sqrt; mf = Math.floor; mp = Math.pow; pi = Math.PI; ma = Math.atan2; aireset(); bforce = 400; mtst = 40; clearInterval(upciq); mtoc = (scnt = (spc = (pac = (pstimeout = (bstimeout = (ag = (dc = (inpaimc = (mtpat = (evml = (evmb = (defensive = (catimer = (catting = (cattset = (canum = (to = (grav = (skc = 0))))))))))))))))))); lsp = 10; metpos = new Array(2); var _local3 = (metpos[0] = new Object()); _local3.sx = 440; _local3.sy = 300; _local3.vx = -1; _local3.vy = -1; var _local2 = (metpos[1] = new Object()); _local2.sx = 120; _local2.sy = -60; _local2.vx = 1; _local2.vy = 1; ainodes = new Array(0); cattacks = new Array(5); cattacks[0] = new Array(0); cattacks[0][0] = "s1"; cattacks[0][1] = "l1"; cattacks[0][2] = 50; cattacks[0][3] = "s1"; cattacks[0][4] = "l1"; cattacks[0][5] = 30; cattacks[0][6] = "s0"; cattacks[0][7] = "l1"; cattacks[0][8] = 60; cattacks[0][9] = "s0"; cattacks[0][10] = "l1"; cattacks[0][11] = 30; cattacks[0][12] = "s1"; cattacks[0][13] = "l0"; cattacks[0][14] = 40; cattacks[0][15] = "a"; cattacks[0][16] = "s"; cattacks[0][17] = 20; cattacks[0][18] = "s0"; cattacks[0][19] = "l0"; cattacks[0][20] = 40; cattacks[0][21] = "a"; cattacks[0][22] = "s"; cattacks[0][23] = 60; cattacks[1] = new Array(0); cattacks[1][0] = "s1"; cattacks[1][1] = "l1"; cattacks[1][2] = 20; cattacks[1][3] = "a"; cattacks[1][4] = "s"; cattacks[1][5] = 40; cattacks[2] = new Array(0); cattacks[2][0] = "s1"; cattacks[2][1] = "l1"; cattacks[2][2] = 30; cattacks[2][3] = "a"; cattacks[2][4] = "s"; cattacks[2][5] = 30; cattacks[3] = new Array(0); cattacks[3][0] = "s1"; cattacks[3][1] = "s1"; cattacks[3][2] = 20; cattacks[3][3] = "s1"; cattacks[3][4] = "a"; cattacks[3][5] = 30; cattacks[3][3] = "s0"; cattacks[3][4] = "s"; cattacks[3][5] = 60; cattacks[4] = new Array(0); cattacks[4][0] = "s1"; cattacks[4][1] = "l1"; cattacks[4][2] = 30; cattacks[4][3] = "s0"; cattacks[4][4] = "s1"; cattacks[4][5] = 50; cattacks[4][6] = "s1"; cattacks[4][7] = "l0"; cattacks[4][8] = 20; cattacks[4][9] = "a"; cattacks[4][10] = "s"; cattacks[4][11] = 60; aireset(); sound_exp = new Sound(); sound_exp.attachSound("exp"); sound_hit = new Sound(); sound_hit.attachSound("hitsnd"); sound_exp.setVolume(20); sound_hit.setVolume(20); playerlaser = new Array(0); baddielaser = new Array(0); tsplints = new Array(0); tsparks = new Array(0); meteors = new Array(0); decay = 0.999; tan = (Math.PI/180); tan2 = 565.486677646163; msk = attachMovie("maskall", "maskit", 5000000); this.setMask(msk); clearInterval(upciq); lasc = 20; Mouse.hide(); bg = attachMovie("bkg", "bckg1", 3); fg = attachMovie("fgr", "foreg1", 1000); sp = attachMovie("space", "spacem", 50); ps = sp.attachMovie("ship", "plship", 3); bs = sp.attachMovie("ship", "bsship", 2); bh = bg.mhold.attachMovie("blackhole", "bholeg", 1); bh._x = 225; bh._y = 155; setShip(ps, 10 + ((3 - dif) * 5), 0.34, 4, 6, 1, 50 + random(100), 75 + random(100), 0); setShip(bs, 10 + (dif * 5), 0.34, 4, 6, 2, 150 + random(200), 75 + random(100), 180); fg.phpb.gotoAndStop(1); fg.bhpb.gotoAndStop(1); createStarfield(); upciq = setInterval(update, 30); } function splinters(ob) { var _local2 = 0; while (_local2 < 23) { var _local1 = fg.pob.attachMovie("sp" + _local2, "spg" + spc, 20 + (spc++)); _local1._x = (ob._x - 15) + random(30); _local1._y = (ob._y - 15) + random(30); var _local6 = -1 * mf(mr() * 2); var _local5 = -1 * mf(mr() * 2); var _local4 = -1 * mf(mr() * 2); _local1.xmov = (_local6 * 1) + random(3); _local1.ymov = (_local5 * 1) + random(3); _local1.rot = _local4 * (5 + random(10)); _local1._xscale = (_local1._yscale = 200 + random(200)); tsplints.push(_local1); explosion(ob); _local2++; } } function explosion(ob) { sound_exp.start(); var _local1 = bg.attachMovie("expl", "explog", 40000); _local1._x = ob._x - 10; _local1._y = ob._y - 10; _local1._rotation = random(360); _local1._xscale = (_local1._yscale = 150); _local1._alpha = 40; } function cmeteors() { var _local7 = metpos[1].sx; var _local6 = metpos[1].sy; var _local5 = metpos[1].vx; var _local4 = metpos[1].vy; if (mtpat) { _local7 = metpos[0].sx; _local6 = metpos[0].sy; _local5 = metpos[0].vx; _local4 = metpos[0].vy; mtpat = 0; } else { mtpat = 1; } var _local2 = 0; while (_local2 < (2 + random(5))) { var _local1 = bg.mhold.attachMovie("meteor", "mtor" + mtoc, 20 + (mtoc++)); _local1._x = (_local7 - 50) + random(100); _local1._y = (_local6 - 60) + random(120); _local1.xmov = _local5 + ((1 + random(5)) / 10); _local1.ymov = _local4 + ((1 + random(5)) / 10); var _local3 = mp(-1, mf(mr() * 2)); _local1.rot = _local3 * (1 + random(2)); _local1._rotation = random(360); _local1._xscale = (_local1._yscale = 20 + random(200)); _local1.hp = 50; meteors.push(_local1); _local2++; } } function sparks(ob) { var _local2 = 0; while (_local2 < 30) { var _local1 = fg.pob.attachMovie("spark", "skg" + skc, 2000 + (skc++)); _local1._x = (ob._x - 15) + random(30); _local1._y = (ob._y - 15) + random(30); n = mp(-1, mf(mr() * 2)); _local1.xmov = n * random(5); _local1.ymov = n * random(5); var _local3 = 50 + random(150); _local1._xscale = (_local1._yscale = _local3); tsparks[tsparks.length] = _local1; _local2++; } } function updateParticles() { var _local6 = new Array(0); var _local9 = tsplints.length; var _local3 = 0; while (_local3 < _local9) { var _local1 = tsplints[_local3]; if ((((_local1._y < 400) && (_local1._x > 0)) && (_local1._x < 450)) && (_local1._y > -100)) { _local1._x = _local1._x + _local1.xmov; _local1._y = _local1._y + _local1.ymov; _local1.xmov = _local1.xmov * 0.999; _local1.ymov = _local1.ymov * 0.999; _local1._rotation = _local1._rotation + _local1.rot; _local6.push(_local1); } else { _local1.removeMovieClip(); } _local3++; } tsplints = _local6; var _local7 = new Array(0); var _local10 = tsparks.length; var _local4 = 0; while (_local4 < _local10) { var _local1 = tsparks[_local4]; if ((((_local1._y < 320) && (_local1._y > -100)) && (_local1._x > -50)) && (_local1._y <= 460)) { _local1._x = _local1._x + _local1.xmov; _local1._y = _local1._y + _local1.ymov; _local1.xmov = _local1.xmov * 0.999; _local1.ymov = _local1.ymov * 0.999; if (_local1._alpha > 0) { _local1._alpha = _local1._alpha - 10; _local7.push(_local1); } else { _local1.removeMovieClip(); } } else { _local1.removeMovieClip(); } _local4++; } tsparks = _local7; var _local5 = new Array(0); var _local8 = meteors.length; var _local2 = 0; while (_local2 < _local8) { var _local1 = meteors[_local2]; if (_local1.hp > 0) { if ((((_local1._y < 320) && (_local1._y > -100)) && (_local1._x > -50)) && (_local1._y <= 460)) { _local1._x = _local1._x + _local1.xmov; _local1._y = _local1._y + _local1.ymov; _local1._rotation = _local1._rotation + _local1.rot; Blackhole(_local1, 1); _local5.push(_local1); } else { _local1.removeMovieClip(); } } else { explosion(_local1); sparks(_local1); _local1.removeMovieClip(); } _local2++; } meteors = _local5; } function setShip(ob, hlp, thr, m, t, type, x, y, ro) { ob.anim.gotoAndStop(1); ob.thrust = 0; ob.maxSpeed = m; ob.ts = t; ob.vx = 0; ob.vy = 0; ob._x = x; ob._y = y; ob.maxhp = hlp; ob.hp = hlp; ob.maxthrust = thr; ob._rotation = ob._rotation + ro; ob.anim.scht.gotoAndStop(type); } function ckb(ob) { if (ob._x > 455) { ob._x = -5; } else if (ob._x < -5) { ob._x = 455; } else if (ob._y > 315) { ob._y = -5; } else if (ob._y < -5) { ob._y = 315; } } function setVel(ob) { ob.vx = ob.vx * decay; ob.vy = ob.vy * decay; ob.vx = ob.vx + (ob.thrust * c(ob._rotation * tan)); ob.vy = ob.vy + (ob.thrust * s(ob._rotation * tan)); var _local2 = sq((ob.vx * ob.vx) + (ob.vy * ob.vy)); if (_local2 > ob.maxSpeed) { ob.vx = ob.vx * (ob.maxSpeed / _local2); ob.vy = ob.vy * (ob.maxSpeed / _local2); } ob._x = ob._x + ob.vy; ob._y = ob._y - ob.vx; } function win(istrue) { sallowed = 0; wonan = fg.attachMovie("w", "won", 40000); if (istrue) { wonan.stop(); victory = 1; } else { wonan.gotoAndStop(2); } finished = 1; } function rlf(ob) { ob.anim.gotoAndStop(5); ob._rotation = ob._rotation - ob.ts; } function rrg(ob) { ob.anim.gotoAndStop(4); ob._rotation = ob._rotation + ob.ts; } function acc(ob) { ob.thrust = ob.maxthrust; ob.anim.gotoAndStop(2); } function rev(ob) { ob.thrust = (-ob.maxthrust) / 2; ob.anim.gotoAndStop(3); } function aim() { var _local4 = bs._y - ps._y; var _local3 = bs._x - ps._x; var _local2 = ro((ma(-_local3, _local4) / pi) * 180); var _local1 = bs._rotation - _local2; if (_local1 > 0) { rlf(bs); } else { rrg(bs); } } function lockAn(pl, vis) { if (vis) { if (pl) { fg.enlockan._visible = 1; } else { fg.enganim._visible = 1; } } else if (pl) { fg.enlockan._visible = 0; } else { fg.enganim._visible = 0; } } function aimTest() { if (ps.aimzone.hitTest(bs._x, bs._y, 1)) { ag++; inpaimc++; dg = dg - 30; lockAn(1, 1); } else { lockAn(1, 0); inpaimc = 0; dg++; } if (bs.aimzone.hitTest(ps._x, ps._y, 1)) { lockAn(0, 1); aishoot(); dg++; } else { lockAn(0, 0); } } function tco() { if (ps.hitTest(bs)) { var _local3 = ps._x - bs._x; var _local2 = ps._y - bs._y; var _local4 = (_local3 * _local3) + (_local2 * _local2); if (_local4 < 324) { to = 10; ps._x = ps._x + _local3; ps._y = ps._y + _local2; bs._x = bs._x - _local3; bs._y = bs._y - _local2; bs.vx = -1 * ((ps.vx = ps.vx / 2)); bs.vy = -1 * ((ps.vy = ps.vy / 2)); ps.hp--; bs.hp--; sparks(ps); sparks(bs); sound_hit.start(); ps.shanim.gotoAndPlay(1); bs.shanim.gotoAndPlay(1); } } for (i in meteors) { var _local1 = meteors[i]; mco(ps, _local1); mco(bs, _local1); } } function mco(ob, m) { if (m.hitTest(ob)) { var _local12 = ob._x; var _local11 = ob._y; var _local10 = m._x; var _local9 = m._y; var _local4 = _local12 - _local10; var _local3 = _local11 - _local9; var _local6 = _local4 / 4; var _local5 = _local3 / 4; var _local8 = (_local4 * _local4) + (_local3 * _local3); var _local7 = (m._width / 2) + 10; if (_local8 < (_local7 * _local7)) { ob._x = ob._x + _local6; ob._y = ob._y + _local5; m._x = m._x - _local6; m._y = m._y - _local5; m.vx = -1 * ((ob.vx = ob.vx / -2)); m.vy = -1 * ((ob.vy = ob.vy / -2)); m.hp = m.hp - 26; ob.hp--; sparks(ob); sound_hit.start(); ob.shanim.gotoAndPlay(1); } } } function evside(dir) { if (evml || (!dir)) { rlf(bs); } else { rrg(bs); } } function evlong(dir) { if (evmb || (dir)) { rev(bs); } else { acc(bs); } } function counterAttack() { if (!cattset) { var _local1 = cattacks.length; canum = random(_local1); catimer = cattacks[canum][2]; castep = 0; evml = random(2); evmb = random(2); cattset = 1; } else { if (catimer == 0) { if (cattacks[canum].length > (castep + 2)) { castep = castep + 3; } else { catting = 0; cattset = 0; pac = 0; } } if (catting) { if (!(catimer % 2)) { dcs(cattacks[canum][castep]); } else if (catimer % 2) { dcs(cattacks[canum][castep + 1]); } if (catimer > 0) { catimer--; } } } } function dcs(ob) { if (ob.length == 1) { switch (ob) { case "a" : aim(); break; case "s" : aishoot(); } } else if (ob.length > 1) { switch (ob) { case "s0" : evside(0); break; case "s1" : evside(1); break; case "l0" : evlong(0); break; case "l1" : evlong(1); } } } function aiupd() { var _local8 = 3; var _local5 = 4; if (defensive) { _local8 = 1; _local5 = 2; } if (catting) { counterAttack(); } if (((pac >= _local8) || (inpaimc >= _local5)) && (!catting)) { pac = 0; inpaimc = 0; catting = 1; } if (ainodes.length > 0) { var _local1 = 0; var _local2 = 0; var _local4 = 0; for (i in ainodes) { _local1 = _local1 + ainodes[i].ag; _local2 = _local2 + ainodes[i].dg; _local4++; } _local1 = _local1 / _local4; _local2 = _local2 / _local4; } if ((_local2 == null) || (_local1 == null)) { var _local1 = 0; var _local2 = 0; } if (_local1 > _local2) { defensive = 0; var _local11 = (fg.agglvl = int(_local1 - _local2)); fg.agression.gotoAndStop(2); } else { defensive = 1; var _local11 = (fg.agglvl = int(_local2 - _local1)); fg.agression.gotoAndStop(1); } fg.ai_g.dc.update(Math.min(25, Math.max(-25, Math.round(_local11))), Math.min(25, Math.max(-25, Math.round(_local1))), Math.min(25, Math.max(-25, Math.round(_local2)))); var _local7 = ps._x - bs._x; var _local6 = ps._y - bs._y; var _local3 = sq((_local7 * _local7) + (_local6 * _local6)); dsum = dsum + _local3; avdc++; avgd = dsum / avdc; var _local10 = 0; if (dstb <= _local3) { _local10 = 1; ag++; } else { dg++; } if (((!_local10) || (p_ml)) || (p_mr)) { dg++; } else { ag++; } var _local9 = 0; if (_local3 <= avgd) { ag++; _local9 = 1; } else { dg++; } if (_local9 && (p_mx)) { ag++; } else { dg++; } aimTest(); if (!catting) { aimTest(); if (ag < dg) { if ((_local3 < 50) || (_local3 > 60)) { acc(bs); } if ((_local3 > 50) && (_local3 < 60)) { rev(bs); } aim(); } else { aim(); rev(bs); } } dstb = _local3; p_mr = 0; p_ml = 0; p_ma = 0; p_mb = 0; p_mx = 0; if (aic < 4) { aic++; } else { aireset(); } } function aishoot() { if (bstimeout == 0) { if (fg.enganim._visible) { crlas(1); bstimeout = 5 + ((3 - dif) * 5); } } } function aireset() { aic = 0; if ((ag == -1) || (dg == -1)) { ag = (dg = (pmlc = (pmrc = (pmac = (pmbc = (pmnc = (pmxc = (dstb = (dsum = (avgd = (avdc = 0))))))))))); } else { var _local1 = (ainodes[ainodes.length] = new Object()); _local1.ag = ag; _local1.dg = dg; ag = 0; dg = 0; } } function crlas(ai) { var _local3 = playerlaser; var _local2 = ps; var _local5 = 1; if (ai) { _local5 = 2; _local2 = bs; _local3 = baddielaser; } var _local4 = _local2._rotation * (pi / 180); var _local7 = s(_local4); var _local6 = c(_local4) * -1; var _local1 = sp.attachMovie("laser" + _local5, "las" + lasc, lasc++); _local1.vx = _local7 * lsp; _local1.vy = _local6 * lsp; _local1._rotation = _local2._rotation; _local1._x = _local2._x; _local1._y = _local2._y; _local3[_local3.length] = _local1; } function uplas() { var _local9 = new Array(0); var _local10 = playerlaser.length; var _local4 = 0; while (_local4 < _local10) { var _local1 = playerlaser[_local4]; if (!_local1.hitTest(bs.hare)) { if (((_local1._y < 400) && (_local1._x > 0)) && (_local1._x < 450)) { var _local6 = 0; for (i in meteors) { var _local2 = meteors[i]; if (_local1.hitTest(_local2)) { _local2.hp--; explosion(_local1); break; } } if (!_local6) { _local1._x = _local1._x + _local1.vx; _local1._y = _local1._y + _local1.vy; _local9.push(_local1); } else { _local1.removeMovieClip(); } } else { _local1.removeMovieClip(); } } else { var _local5 = _local1.vx; var _local7 = _local1.vy; bs.vx = bs.vx + (-_local7); bs.vy = bs.vy + _local5; _local1.removeMovieClip(); ag = ag + 70; pac++; bs.hp--; sound_hit.start(); bs.shanim.hpshield._alpha = 20; bs.hp; sparks(bs); bs.shanim.gotoAndPlay(1); dg = dg - 150; } _local4++; } playerlaser = _local9; var _local8 = new Array(0); var _local11 = baddielaser.length; var _local3 = 0; while (_local3 < _local11) { var _local1 = baddielaser[_local3]; if (!_local1.hitTest(ps.hare)) { if (((_local1._y < 400) && (_local1._x > 0)) && (_local1._x < 450)) { var _local6 = 0; for (i in meteors) { var _local2 = meteors[i]; if (_local1.hitTest(_local2)) { _local2.hp--; explosion(_local1); break; } } if (!_local6) { _local1._x = _local1._x + _local1.vx; _local1._y = _local1._y + _local1.vy; _local8.push(_local1); } else { _local1.removeMovieClip(); } } else { _local1.removeMovieClip(); } } else { var _local5 = _local1.vx; var _local7 = _local1.vy; ps.vx = ps.vx + (-_local7); ps.vy = ps.vy + _local5; sound_hit.start(); _local1.removeMovieClip(); ps.shanim.gotoAndPlay(1); ps.hp--; ps.shanim.hpshield._alpha = 20; ps.hp; sparks(ps); dg = dg + 50; ag = ag - 20; } _local3++; } baddielaser = _local8; } function update() { var _local1 = ainodes.length; if (_local1 > 30) { fg.ailper = "res"; ainodes = new Array(0); } else { fg.ailper = mf(3.33333333333333 * _local1); } if (mtst <= 0) { cmeteors(); mtst = 400; } else { mtst--; } Blackhole(ps, 0); Blackhole(bs, 0); if (catting) { fg.encattshow._visible = 1; fg.encattshow.play(); } else { fg.encattshow._visible = 0; fg.encattshow.stop(); } if (finished) { if (tsplints.length == 0) { end(); } } updateParticles(); var _local2 = ro((100 / ps.maxhp) * ps.hp); var _local3 = ro((100 / bs.maxhp) * bs.hp); fg.phpb.gotoAndStop(101 - (_local2 + 1)); fg.bhpb.gotoAndStop(101 - (_local3 + 1)); if (ps.hp <= 0) { if (!finished) { splinters(ps); ps.removeMovieClip(); win(0); } } if ((bs.hp <= 0) && (!finished)) { splinters(bs); bs.removeMovieClip(); if (!finished) { win(1); } } uplas(); tco(); ckb(ps); ckb(bs); ps.thrust = 0; bs.thrust = 0; aiupd(); ps.anim.gotoAndStop(1); if (to <= 0) { if (Key.isDown(39)) { pmrc++; p_mr = 1; rrg(ps); } else if (Key.isDown(37)) { pmlc++; p_ml = 1; rlf(ps); } else if (Key.isDown(38)) { pmac++; p_mu = 1; acc(ps); } else if (Key.isDown(40)) { pmbc++; p_mb = 1; rev(ps); } else { pmnc++; } } else { to--; } if (pstimeout > 0) { pstimeout--; } if (bstimeout > 0) { bstimeout--; } if (Key.isDown(32)) { if (pstimeout == 0) { crlas(0); pstimeout = 6; } pmxc++; ag++; p_mx = 1; } setVel(bs); setVel(ps); } gameInfo = {creator:"LeechMasterB", name:"Space Duel", info:"Destroy the Enemy", keyboard:1}; startGame(2); stop();
Symbol 8 MovieClip [winanim] Frame 60
stop(); Mouse.show();
Instance of Symbol 7 MovieClip in Symbol 8 MovieClip [winanim] Frame 60
on (press) { _root.startGame(2); }
Symbol 11 MovieClip [loseanim] Frame 60
stop(); Mouse.show();
Instance of Symbol 7 MovieClip in Symbol 11 MovieClip [loseanim] Frame 60
on (press) { _root.startGame(2); }
Symbol 14 MovieClip [scrolllayer] Frame 1
#initclip 4 Object.registerClass("scrolllayer", Scob); #endinitclip
Symbol 96 MovieClip [expl] Frame 1
cnt = 1;
Symbol 96 MovieClip [expl] Frame 12
if (cnt > 0) { gotoAndPlay (2); cnt--; } else { stop(); this.removeMovieClip(); }
Symbol 119 MovieClip [shield] Frame 10
stop();
Symbol 136 MovieClip [drawclip] Frame 1
#initclip 3 Object.registerClass("drawclip", DrawAI); #endinitclip
Symbol 200 Button
on (release) { getURL ("http://www.newgrounds.com", "blank"); }
Symbol 205 Button
on (release) { _root.play(); }
Symbol 207 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop ("loaded"); }
Symbol 207 MovieClip Frame 2
gotoAndPlay (1);
Symbol 210 MovieClip [__Packages.DrawAI] Frame 0
class DrawAI extends MovieClip { var attachMovie, dn; function DrawAI () { super(); init(); } function init() { attDN(0, 0); } function attDN(nb, nc, nd, nf) { var _local2 = attachMovie("scrolllayer", "sclay" + scc, 10 + (scc++)); _local2.nb = nb; _local2.nc = nc; _local2.nd = nd; _local2.nf = nf; } function update(tas, tds, avg) { var _local12 = dn.length; for (var _local11 in this) { var _local2 = this[_local11]; var _local5 = _local2._x; if (_local5 > -50) { var _local4 = _local2._x; var _local3 = -25 - tas; var _local7 = -25 - tds; var _local6 = -25 - avg; _local2.upd(-_local4, _local3, _local7, _local6); } _local2._x--; switch (_local5) { case -50 : attDN(_local4, _local3); break; case -250 : _local2.removeMovieClip(); } } } var thickness = 1; var rgb = 16711680; var alpha = 100; var scc = 0; }
Symbol 211 MovieClip [__Packages.Scob] Frame 0
class Scob extends MovieClip { var nb, nc, nd, nf; function Scob () { super(); } function upd(x, y, z, q) { drawLine(nb, nc, x, y, 16711680); drawLine(nb, nd, x, z, 16776960); drawLine(nb, nf, x, q, 16711935); nb = x; nc = y; nd = z; nf = q; } function drawLine(x1, y1, x2, y2, col) { var c = this; with (c) { c.lineStyle(thickness, col, alpha); c.moveTo(x1, y1); c.lineTo(x2, y2); } } var thickness = 1; var rgb = 16711680; var alpha = 100; }

Library Items

Symbol 1 Sound [hitsnd]
Symbol 2 Sound [exp]
Symbol 3 GraphicUsed by:8
Symbol 4 FontUsed by:5 10 143 145 146 147 148 149 150 151 152 153 154 155 158 162 163 164 165 166 167 168 169 170 171 175 176 177 178 179
Symbol 5 TextUses:4Used by:8
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClipUses:6Used by:8 11
Symbol 8 MovieClip [winanim]Uses:3 5 7Used by:12
Symbol 9 GraphicUsed by:11
Symbol 10 TextUses:4Used by:11
Symbol 11 MovieClip [loseanim]Uses:9 10 7Used by:12
Symbol 12 MovieClip [w]Uses:8 11
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClip [scrolllayer]Uses:13
Symbol 15 BitmapUsed by:16
Symbol 16 GraphicUses:15Used by:17
Symbol 17 MovieClip [sp22]Uses:16
Symbol 18 BitmapUsed by:19
Symbol 19 GraphicUses:18Used by:20
Symbol 20 MovieClip [sp21]Uses:19
Symbol 21 BitmapUsed by:22
Symbol 22 GraphicUses:21Used by:23
Symbol 23 MovieClip [sp20]Uses:22
Symbol 24 BitmapUsed by:25
Symbol 25 GraphicUses:24Used by:26
Symbol 26 MovieClip [sp19]Uses:25
Symbol 27 BitmapUsed by:28
Symbol 28 GraphicUses:27Used by:29
Symbol 29 MovieClip [sp18]Uses:28
Symbol 30 BitmapUsed by:31
Symbol 31 GraphicUses:30Used by:32
Symbol 32 MovieClip [sp17]Uses:31
Symbol 33 BitmapUsed by:34
Symbol 34 GraphicUses:33Used by:35
Symbol 35 MovieClip [sp16]Uses:34
Symbol 36 BitmapUsed by:37
Symbol 37 GraphicUses:36Used by:38
Symbol 38 MovieClip [sp15]Uses:37
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:41
Symbol 41 MovieClip [sp14]Uses:40
Symbol 42 BitmapUsed by:43
Symbol 43 GraphicUses:42Used by:44
Symbol 44 MovieClip [sp13]Uses:43
Symbol 45 BitmapUsed by:46
Symbol 46 GraphicUses:45Used by:47
Symbol 47 MovieClip [sp12]Uses:46
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:50
Symbol 50 MovieClip [sp11]Uses:49
Symbol 51 BitmapUsed by:52
Symbol 52 GraphicUses:51Used by:53
Symbol 53 MovieClip [sp10]Uses:52
Symbol 54 BitmapUsed by:55
Symbol 55 GraphicUses:54Used by:56
Symbol 56 MovieClip [sp9]Uses:55
Symbol 57 BitmapUsed by:58
Symbol 58 GraphicUses:57Used by:59
Symbol 59 MovieClip [sp8]Uses:58
Symbol 60 BitmapUsed by:61
Symbol 61 GraphicUses:60Used by:62
Symbol 62 MovieClip [sp7]Uses:61
Symbol 63 BitmapUsed by:64
Symbol 64 GraphicUses:63Used by:65
Symbol 65 MovieClip [sp6]Uses:64
Symbol 66 BitmapUsed by:67
Symbol 67 GraphicUses:66Used by:68
Symbol 68 MovieClip [sp5]Uses:67
Symbol 69 BitmapUsed by:70
Symbol 70 GraphicUses:69Used by:71
Symbol 71 MovieClip [sp4]Uses:70
Symbol 72 BitmapUsed by:73
Symbol 73 GraphicUses:72Used by:74
Symbol 74 MovieClip [sp3]Uses:73
Symbol 75 BitmapUsed by:76
Symbol 76 GraphicUses:75Used by:77
Symbol 77 MovieClip [sp2]Uses:76
Symbol 78 BitmapUsed by:79
Symbol 79 GraphicUses:78Used by:80
Symbol 80 MovieClip [sp1]Uses:79
Symbol 81 BitmapUsed by:82
Symbol 82 GraphicUses:81Used by:83
Symbol 83 MovieClip [sp0]Uses:82
Symbol 84 GraphicUsed by:96
Symbol 85 GraphicUsed by:96
Symbol 86 GraphicUsed by:96
Symbol 87 GraphicUsed by:96
Symbol 88 GraphicUsed by:96
Symbol 89 GraphicUsed by:96
Symbol 90 GraphicUsed by:96
Symbol 91 GraphicUsed by:96
Symbol 92 GraphicUsed by:96
Symbol 93 GraphicUsed by:96
Symbol 94 GraphicUsed by:96
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClip [expl]Uses:84 85 86 87 88 89 90 91 92 93 94 95
Symbol 97 BitmapUsed by:98
Symbol 98 GraphicUses:97Used by:99
Symbol 99 MovieClip [spark]Uses:98
Symbol 100 BitmapUsed by:101
Symbol 101 GraphicUses:100Used by:104
Symbol 102 BitmapUsed by:103
Symbol 103 GraphicUses:102Used by:104
Symbol 104 MovieClip [stype]Uses:101 103Used by:108
Symbol 105 BitmapUsed by:106
Symbol 106 GraphicUses:105Used by:107
Symbol 107 MovieClipUses:106Used by:108
Symbol 108 MovieClip [flyanim]Uses:104 107Used by:120
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClip [hitz]Uses:109Used by:120
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClip [hne]Uses:111Used by:120
Symbol 113 BitmapUsed by:114
Symbol 114 GraphicUses:113Used by:119
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:117
Symbol 117 MovieClip [shld3]Uses:116Used by:118
Symbol 118 MovieClip [shieldhp]Uses:117Used by:119
Symbol 119 MovieClip [shield]Uses:114 118Used by:120
Symbol 120 MovieClip [ship]Uses:108 110 112 119
Symbol 121 GraphicUsed by:122
Symbol 122 MovieClip [space]Uses:121
Symbol 123 BitmapUsed by:124
Symbol 124 GraphicUses:123Used by:128
Symbol 125 MovieClip [starfield]Used by:128
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClip [meteorholder]Uses:126Used by:128
Symbol 128 MovieClip [bkg]Uses:124 125 127
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:131
Symbol 131 MovieClip [laser1]Uses:130
Symbol 132 BitmapUsed by:133
Symbol 133 GraphicUses:132Used by:134
Symbol 134 MovieClip [star]Uses:133
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClip [drawclip]Uses:135Used by:138
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClip [ai_graph]Uses:137 136Used by:182
Symbol 139 GraphicUsed by:141
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClip [agression]Uses:139 140Used by:182
Symbol 142 MovieClip [pticlelayer]Used by:182
Symbol 143 EditableTextUses:4Used by:182
Symbol 144 GraphicUsed by:156
Symbol 145 TextUses:4Used by:156
Symbol 146 TextUses:4Used by:156
Symbol 147 TextUses:4Used by:156
Symbol 148 TextUses:4Used by:156
Symbol 149 TextUses:4Used by:156
Symbol 150 TextUses:4Used by:156
Symbol 151 TextUses:4Used by:156
Symbol 152 TextUses:4Used by:156
Symbol 153 TextUses:4Used by:156
Symbol 154 TextUses:4Used by:156
Symbol 155 TextUses:4Used by:156
Symbol 156 MovieClip [shoencnt]Uses:144 145 146 147 148 149 150 151 152 153 154 155Used by:182
Symbol 157 GraphicUsed by:159
Symbol 158 EditableTextUses:4Used by:159
Symbol 159 MovieClipUses:157 158Used by:160
Symbol 160 MovieClip [engaged]Uses:159Used by:182
Symbol 161 GraphicUsed by:173
Symbol 162 TextUses:4Used by:173
Symbol 163 TextUses:4Used by:173
Symbol 164 TextUses:4Used by:173
Symbol 165 TextUses:4Used by:173
Symbol 166 TextUses:4Used by:173
Symbol 167 TextUses:4Used by:173
Symbol 168 TextUses:4Used by:173
Symbol 169 TextUses:4Used by:173
Symbol 170 TextUses:4Used by:173
Symbol 171 TextUses:4Used by:173
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClipUses:161 162 163 164 165 166 167 168 169 170 171 172Used by:174
Symbol 174 MovieClip [enlocked]Uses:173Used by:182
Symbol 175 EditableTextUses:4Used by:182
Symbol 176 TextUses:4Used by:182
Symbol 177 TextUses:4Used by:182
Symbol 178 TextUses:4Used by:182
Symbol 179 TextUses:4Used by:182
Symbol 180 GraphicUsed by:181
Symbol 181 MovieClip [hpbar]Uses:180Used by:182
Symbol 182 MovieClip [fgr]Uses:142 143 156 160 174 141 175 176 177 178 179 181 138
Symbol 183 BitmapUsed by:184
Symbol 184 GraphicUses:183Used by:185
Symbol 185 MovieClip [laser2]Uses:184
Symbol 186 GraphicUsed by:187
Symbol 187 MovieClip [blackhole]Uses:186
Symbol 188 GraphicUsed by:189
Symbol 189 MovieClip [meteor]Uses:188
Symbol 190 GraphicUsed by:191 207
Symbol 191 MovieClip [maskall]Uses:190
Symbol 192 GraphicUsed by:Timeline
Symbol 193 GraphicUsed by:194
Symbol 194 MovieClipUses:193Used by:207
Symbol 195 GraphicUsed by:207
Symbol 196 GraphicUsed by:199 200
Symbol 197 GraphicUsed by:199 200
Symbol 198 GraphicUsed by:199 200
Symbol 199 MovieClipUses:196 197 198Used by:200
Symbol 200 ButtonUses:199 196 197 198Used by:207
Symbol 201 GraphicUsed by:205
Symbol 202 GraphicUsed by:205
Symbol 203 GraphicUsed by:205
Symbol 204 GraphicUsed by:205
Symbol 205 ButtonUses:201 202 203 204Used by:207
Symbol 206 SoundUsed by:207
Symbol 207 MovieClipUses:190 194 195 200 205 206Used by:Timeline
Symbol 208 FontUsed by:209
Symbol 209 TextUses:208Used by:Timeline
Symbol 210 MovieClip [__Packages.DrawAI]
Symbol 211 MovieClip [__Packages.Scob]

Instance Names

"scht"Symbol 108 MovieClip [flyanim] Frame 1Symbol 104 MovieClip [stype]
"hpshield"Symbol 119 MovieClip [shield] Frame 1Symbol 118 MovieClip [shieldhp]
"anim"Symbol 120 MovieClip [ship] Frame 1Symbol 108 MovieClip [flyanim]
"aimzone"Symbol 120 MovieClip [ship] Frame 1Symbol 110 MovieClip [hitz]
"hare"Symbol 120 MovieClip [ship] Frame 1Symbol 112 MovieClip [hne]
"shanim"Symbol 120 MovieClip [ship] Frame 1Symbol 119 MovieClip [shield]
"strfld"Symbol 128 MovieClip [bkg] Frame 1Symbol 125 MovieClip [starfield]
"mhold"Symbol 128 MovieClip [bkg] Frame 1Symbol 127 MovieClip [meteorholder]
"dc"Symbol 138 MovieClip [ai_graph] Frame 1Symbol 136 MovieClip [drawclip]
"pob"Symbol 182 MovieClip [fgr] Frame 1Symbol 142 MovieClip [pticlelayer]
"encattshow"Symbol 182 MovieClip [fgr] Frame 1Symbol 156 MovieClip [shoencnt]
"enganim"Symbol 182 MovieClip [fgr] Frame 1Symbol 160 MovieClip [engaged]
"enlockan"Symbol 182 MovieClip [fgr] Frame 1Symbol 174 MovieClip [enlocked]
"agression"Symbol 182 MovieClip [fgr] Frame 1Symbol 141 MovieClip [agression]
"phpb"Symbol 182 MovieClip [fgr] Frame 1Symbol 181 MovieClip [hpbar]
"bhpb"Symbol 182 MovieClip [fgr] Frame 1Symbol 181 MovieClip [hpbar]
"ai_g"Symbol 182 MovieClip [fgr] Frame 1Symbol 138 MovieClip [ai_graph]
"bar"Symbol 207 MovieClip Frame 1Symbol 194 MovieClip

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$39$6S0SymtsrR6vhOfi5.BKJ0."
ExportAssets (56)Timeline Frame 1Symbol 1 as "hitsnd"
ExportAssets (56)Timeline Frame 1Symbol 2 as "exp"
ExportAssets (56)Timeline Frame 1Symbol 8 as "winanim"
ExportAssets (56)Timeline Frame 1Symbol 11 as "loseanim"
ExportAssets (56)Timeline Frame 1Symbol 12 as "w"
ExportAssets (56)Timeline Frame 1Symbol 11 as "loseanim"
ExportAssets (56)Timeline Frame 1Symbol 8 as "winanim"
ExportAssets (56)Timeline Frame 1Symbol 14 as "scrolllayer"
ExportAssets (56)Timeline Frame 1Symbol 17 as "sp22"
ExportAssets (56)Timeline Frame 1Symbol 20 as "sp21"
ExportAssets (56)Timeline Frame 1Symbol 23 as "sp20"
ExportAssets (56)Timeline Frame 1Symbol 26 as "sp19"
ExportAssets (56)Timeline Frame 1Symbol 29 as "sp18"
ExportAssets (56)Timeline Frame 1Symbol 32 as "sp17"
ExportAssets (56)Timeline Frame 1Symbol 35 as "sp16"
ExportAssets (56)Timeline Frame 1Symbol 38 as "sp15"
ExportAssets (56)Timeline Frame 1Symbol 41 as "sp14"
ExportAssets (56)Timeline Frame 1Symbol 44 as "sp13"
ExportAssets (56)Timeline Frame 1Symbol 47 as "sp12"
ExportAssets (56)Timeline Frame 1Symbol 50 as "sp11"
ExportAssets (56)Timeline Frame 1Symbol 53 as "sp10"
ExportAssets (56)Timeline Frame 1Symbol 56 as "sp9"
ExportAssets (56)Timeline Frame 1Symbol 59 as "sp8"
ExportAssets (56)Timeline Frame 1Symbol 62 as "sp7"
ExportAssets (56)Timeline Frame 1Symbol 65 as "sp6"
ExportAssets (56)Timeline Frame 1Symbol 68 as "sp5"
ExportAssets (56)Timeline Frame 1Symbol 71 as "sp4"
ExportAssets (56)Timeline Frame 1Symbol 74 as "sp3"
ExportAssets (56)Timeline Frame 1Symbol 77 as "sp2"
ExportAssets (56)Timeline Frame 1Symbol 80 as "sp1"
ExportAssets (56)Timeline Frame 1Symbol 83 as "sp0"
ExportAssets (56)Timeline Frame 1Symbol 96 as "expl"
ExportAssets (56)Timeline Frame 1Symbol 99 as "spark"
ExportAssets (56)Timeline Frame 1Symbol 104 as "stype"
ExportAssets (56)Timeline Frame 1Symbol 104 as "stype"
ExportAssets (56)Timeline Frame 1Symbol 104 as "stype"
ExportAssets (56)Timeline Frame 1Symbol 104 as "stype"
ExportAssets (56)Timeline Frame 1Symbol 104 as "stype"
ExportAssets (56)Timeline Frame 1Symbol 108 as "flyanim"
ExportAssets (56)Timeline Frame 1Symbol 110 as "hitz"
ExportAssets (56)Timeline Frame 1Symbol 112 as "hne"
ExportAssets (56)Timeline Frame 1Symbol 117 as "shld3"
ExportAssets (56)Timeline Frame 1Symbol 118 as "shieldhp"
ExportAssets (56)Timeline Frame 1Symbol 118 as "shieldhp"
ExportAssets (56)Timeline Frame 1Symbol 118 as "shieldhp"
ExportAssets (56)Timeline Frame 1Symbol 118 as "shieldhp"
ExportAssets (56)Timeline Frame 1Symbol 118 as "shieldhp"
ExportAssets (56)Timeline Frame 1Symbol 118 as "shieldhp"
ExportAssets (56)Timeline Frame 1Symbol 118 as "shieldhp"
ExportAssets (56)Timeline Frame 1Symbol 118 as "shieldhp"
ExportAssets (56)Timeline Frame 1Symbol 118 as "shieldhp"
ExportAssets (56)Timeline Frame 1Symbol 118 as "shieldhp"
ExportAssets (56)Timeline Frame 1Symbol 119 as "shield"
ExportAssets (56)Timeline Frame 1Symbol 120 as "ship"
ExportAssets (56)Timeline Frame 1Symbol 122 as "space"
ExportAssets (56)Timeline Frame 1Symbol 108 as "flyanim"
ExportAssets (56)Timeline Frame 1Symbol 125 as "starfield"
ExportAssets (56)Timeline Frame 1Symbol 127 as "meteorholder"
ExportAssets (56)Timeline Frame 1Symbol 128 as "bkg"
ExportAssets (56)Timeline Frame 1Symbol 104 as "stype"
ExportAssets (56)Timeline Frame 1Symbol 110 as "hitz"
ExportAssets (56)Timeline Frame 1Symbol 131 as "laser1"
ExportAssets (56)Timeline Frame 1Symbol 112 as "hne"
ExportAssets (56)Timeline Frame 1Symbol 134 as "star"
ExportAssets (56)Timeline Frame 1Symbol 125 as "starfield"
ExportAssets (56)Timeline Frame 1Symbol 119 as "shield"
ExportAssets (56)Timeline Frame 1Symbol 136 as "drawclip"
ExportAssets (56)Timeline Frame 1Symbol 136 as "drawclip"
ExportAssets (56)Timeline Frame 1Symbol 138 as "ai_graph"
ExportAssets (56)Timeline Frame 1Symbol 141 as "agression"
ExportAssets (56)Timeline Frame 1Symbol 142 as "pticlelayer"
ExportAssets (56)Timeline Frame 1Symbol 156 as "shoencnt"
ExportAssets (56)Timeline Frame 1Symbol 160 as "engaged"
ExportAssets (56)Timeline Frame 1Symbol 174 as "enlocked"
ExportAssets (56)Timeline Frame 1Symbol 141 as "agression"
ExportAssets (56)Timeline Frame 1Symbol 181 as "hpbar"
ExportAssets (56)Timeline Frame 1Symbol 181 as "hpbar"
ExportAssets (56)Timeline Frame 1Symbol 138 as "ai_graph"
ExportAssets (56)Timeline Frame 1Symbol 182 as "fgr"
ExportAssets (56)Timeline Frame 1Symbol 181 as "hpbar"
ExportAssets (56)Timeline Frame 1Symbol 185 as "laser2"
ExportAssets (56)Timeline Frame 1Symbol 142 as "pticlelayer"
ExportAssets (56)Timeline Frame 1Symbol 118 as "shieldhp"
ExportAssets (56)Timeline Frame 1Symbol 156 as "shoencnt"
ExportAssets (56)Timeline Frame 1Symbol 160 as "engaged"
ExportAssets (56)Timeline Frame 1Symbol 174 as "enlocked"
ExportAssets (56)Timeline Frame 1Symbol 117 as "shld3"
ExportAssets (56)Timeline Frame 1Symbol 187 as "blackhole"
ExportAssets (56)Timeline Frame 1Symbol 189 as "meteor"
ExportAssets (56)Timeline Frame 1Symbol 127 as "meteorholder"
ExportAssets (56)Timeline Frame 1Symbol 191 as "maskall"
ExportAssets (56)Timeline Frame 1Symbol 210 as "__Packages.DrawAI"
ExportAssets (56)Timeline Frame 1Symbol 211 as "__Packages.Scob"

Labels

"loaded"Symbol 207 MovieClip Frame 3

Dynamic Text Variables

agglvlSymbol 143 EditableText"0"
ailperSymbol 175 EditableText"0"




http://swfchan.com/15/71074/info.shtml
Created: 9/4 -2019 13:08:56 Last modified: 9/4 -2019 13:08:56 Server time: 23/12 -2024 00:49:21