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

Happy New Year!

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

Thunderforcer.swf

This is the info page for
Flash #108460

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


Text
0

loading

loading

click here to start

click here to start

Play Again?

GAME OVER

ActionScript [AS1/AS2]

Frame 1
total = _root.getBytesTotal(); parcial = _root.getBytesLoaded(); escala = (parcial * 100) / total; _root.barra._xscale = escala; if (parcial == total) { gotoAndPlay (3); }
Frame 2
gotoAndPlay (1);
Frame 3
stop();
Frame 4
function mouNau() { if (Key.isDown(38)) { if (_root.targetClip._y > 0) { _root.targetClip._y = _root.targetClip._y - _root.char.vel; } } if (Key.isDown(40)) { if (_root.targetClip._y < 300) { _root.targetClip._y = _root.targetClip._y + _root.char.vel; } } if (Key.isDown(37)) { if (_root.targetClip._x > 0) { _root.targetClip._x = _root.targetClip._x - _root.char.vel; } } if (Key.isDown(39)) { if (_root.targetClip._x < 500) { _root.targetClip._x = _root.targetClip._x + _root.char.vel; } } if (Key.isDown(17) & (_root.char.status != "dead")) { if (_root.char.fuel <= 0) { _root.char.status = "dead"; _root.gameeOver(); } if (_root.delayShotAct == _root.char.delayShot) { _root.shot(); _root.char.fuel = _root.char.fuel - 1; _root.delayShotAct = 0; } else { _root.delayShotAct = _root.delayShotAct + 1; } } else { _root.delayShotAct = _root.char.delayShot; } _root.nau._x = _root.nau._x + ((_root.targetClip._x - _root.nau._x) / char.multiplicador); _root.nau._y = _root.nau._y + ((_root.targetClip._y - _root.nau._y) / char.multiplicador); if ((_root.nau._y < (_root.targetClip._y - 10)) & (_root.nau.moviendo == false)) { _root.nau.moviendo = true; _root.nau.gotoAndPlay("bajando"); } if (((_root.nau._y > (_root.targetClip._y - 10)) & (_root.nau._y < _root.targetClip._y)) & (_root.nau._currentframe != 1)) { _root.nau.play(); } if ((_root.nau._y > (_root.targetClip._y + 10)) & (_root.nau.moviendo == false)) { _root.nau.moviendo = true; _root.nau.gotoAndPlay("subiendo"); } if (((_root.nau._y < (_root.targetClip._y + 10)) & (_root.nau._y > _root.targetClip._y)) & (_root.nau._currentframe != 1)) { _root.nau.play(); } } function shot() { _root.nau.cabina.play(); if (_root.shotNum < 10) { _root.attachMovie("shot", "shot" + _root.shotNum, _root.shotNum); _root["shot" + _root.shotNum]._x = _root.nau._x + 16; _root["shot" + _root.shotNum]._y = _root.nau._y + 3; _root.shotNum++; } else { _root.attachMovie("shot", "shot" + _root.shotNum, _root.shotNum); _root["shot" + _root.shotNum]._x = _root.nau._x + 16; _root["shot" + _root.shotNum]._y = _root.nau._y + 3; _root.shotNum = 1; } _root.sample(1, "shot4_Wav"); } function comprovaColisions() { i = 0; while (i <= 10) { j = 0; while (j <= 10) { if (_root.enemyLair["enemy" + j].hitTest(_root["shot" + i]) == true) { _root.enemyLair["enemy" + j].energy = _root.enemyLair["enemy" + j].energy - 1; if (_root.enemyLair["enemy" + j].energy == 0) { _root.enemyLair.attachMovie("exploss", "exploss" + i, i + 100); scala = random(50) + 50; _root.enemyLair["exploss" + i]._rotation = random(360); _root.enemyLair["exploss" + i]._xscale = scala; _root.enemyLair["exploss" + i]._yscale = scala; _root.enemyLair["exploss" + i]._x = _root.enemyLair["enemy" + j]._x; _root.enemyLair["exploss" + i]._y = _root.enemyLair["enemy" + j]._y; if (_root.enemyLair["enemy" + j].clase == 2) { _root.itemLair.attachMovie("fuelCell", "fuelCell" + i, i + 100); _root.itemLair["fuelCell" + i]._x = _root.enemyLair["enemy" + j]._x; _root.itemLair["fuelCell" + i]._y = _root.enemyLair["enemy" + j]._y; } _root.sample(2, "exploss3_wav"); _root.controlScore(_root.enemyLair["enemy" + j].clase); removeMovieClip(_root.enemyLair["enemy" + j]); removeMovieClip(_root["shot" + i]); } else { _root.enemyLair.attachMovie("impact", "impact" + i, i + 100); _root.enemyLair["impact" + i]._rotation = random(360); _root.enemyLair["impact" + i]._x = _root["shot" + i]._x; _root.enemyLair["impact" + i]._y = _root["shot" + i]._y; _root.sample(2, "impact2_wav"); removeMovieClip(_root["shot" + i]); } } if (_root.itemLair["fuelCell" + i].hitTest(_root.nau) == true) { _root.char.fuel = _root.char.fuel + 20; if (_root.char.fuel > 100) { _root.char.fuel = 100; } _root.sample(2, "pow_up2_wav"); removeMovieClip(_root.itemLair["fuelCell" + i]); } if (_root.enemyLair["enemy" + j].hitTest(_root.nau) == true) { _root.attachMovie("exploss", "explossFinal", i + 100); _root.explossFinal._x = _root.targetClip._x; _root.explossFinal._y = _root.targetClip._y; _root.sample(2, "exploss3_wav"); removeMovieClip(_root.nau); _root.char.status = "dead"; } if (_root["shot" + i]._x > 500) { removeMovieClip(_root["shot" + i]); } if (_root.enemyLair["enemyShot" + i].hitTest(_root.nau) == true) { _root.attachMovie("exploss", "explossFinal", i + 100); _root.explossFinal._x = _root.targetClip._x; _root.explossFinal._y = _root.targetClip._y; _root.sample(2, "exploss3_wav"); removeMovieClip(_root.nau); removeMovieClip(_root.enemyLair["enemyShot" + i]); _root.char.status = "dead"; } j++; } i++; } } function sample(c, nombre) { if (c == 1) { channel_1 = new Sound(); channel_1.attachSound(nombre); channel_1.setVolume(_root.volumenGlobal); channel_1.start(); } if (c == 2) { channel_2 = new Sound(); channel_2.attachSound(nombre); channel_2.setVolume(_root.volumenGlobal); channel_2.start(); } if (c == 3) { channel_3 = new Sound(); channel_3.attachSound(nombre); channel_3.setVolume(_root.volumenGlobal); channel_3.start(); } if (c == 4) { stopAllSounds(); channel_4 = new Sound(); channel_4.attachSound(nombre); channel_4.setVolume(_root.volumenGlobal); channel_4.start(0, 99); } } function creaEnemics() { if (_root.world.contadorTiempo < _root.world.framesSegundo) { _root.world.contadorTiempo++; } else { _root.world.contadorTiempo = 0; _root.char.fuel = _root.char.fuel - 1; if (_root.arrayEnemics[_root.arrayEnemicsPuntero] != 0) { clase = _root.arrayEnemics[_root.arrayEnemicsPuntero]; d++; _root.enemyLair.attachMovie("enemy" + clase, "enemy" + d, d); if (clase == 1) { _root.enemyLair["enemy" + d].vel = random(5) + 4; _root.enemyLair["enemy" + d].energy = 1; } else if (clase == 2) { _root.enemyLair["enemy" + d].vel = random(7) + 5; _root.enemyLair["enemy" + d].energy = 1; } else if (clase == 3) { _root.enemyLair["enemy" + d].vel = random(5) + 4; _root.enemyLair["enemy" + d].energy = 3; } else if (clase == 4) { _root.enemyLair["enemy" + d].vel = 3; _root.enemyLair["enemy" + d].energy = 10; } _root.enemyLair["enemy" + d].clase = clase; _root.enemyLair["enemy" + d].index = d; _root.enemyLair["enemy" + d]._x = 520; _root.enemyLair["enemy" + d]._y = random(200) + 50; } if (_root.arrayEnemicsPuntero != _root.arrayEnemics.length) { _root.arrayEnemicsPuntero++; } else { _root.arrayEnemicsPuntero = 0; } } if (d == 10) { d = 0; } } function controlGameState() { _root.hudClip.barraClip._xscale = _root.char.fuel; if (_root.char.fuel <= 0) { _root.char.status = "dead"; } if (_root.char.status == "dead") { _root.gameOver(); } } function controlScore(clase) { if (clase == 1) { _root.char.score = _root.char.score + 25; } if (clase == 2) { _root.char.score = _root.char.score + 52; } } function gameOver() { _root.contadorEnd++; if (_root.contadorEnd == 20) { removeMovieClip(_root.nau); removeMovieClip(_root.enemyLair); removeMovieClip(_root.hudClip); removeMovieClip(_root.itemLair); gotoAndStop (5); } } char = {multiplicador:4, vel:10, delayShot:5, fuel:100, score:0}; world = {friccio:0.8, gravetat:0.2, contadorTiempo:0, framesSegundo:20, currentLevel:1}; _root.arrayEnemics = [1, 2, 0, 1, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 2, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 1, 0, 3, 0, 2, 2, 1, 1, 1, 0, 0, 0, 1, 1]; _root.arrayEnemicsPuntero = 0; _root.shotNum = 1; _root.contadorEnd = 0; _root.volumenGlobal = 100; _root.attachMovie("empty", "enemyLair", 50); _root.attachMovie("empty", "itemLair", 70); _root.attachMovie("nau", "nau", 100); _root.attachMovie("hudClip", "hudClip", 200); _root.nau._y = 150; sample(4, "musica");
Instance of Symbol 69 MovieClip [empty] in Frame 4
onClipEvent (enterFrame) { _root.creaEnemics(); _root.mouNau(); _root.comprovaColisions(); _root.controlGameState(); }
Symbol 12 MovieClip Frame 5
gotoAndPlay (1);
Symbol 15 MovieClip Frame 5
gotoAndStop (1);
Symbol 16 MovieClip [nau] Frame 1
_root.nau.moviendo = false; stop();
Symbol 16 MovieClip [nau] Frame 10
stop();
Symbol 16 MovieClip [nau] Frame 19
gotoAndStop (1);
Symbol 16 MovieClip [nau] Frame 30
stop();
Symbol 16 MovieClip [nau] Frame 40
gotoAndStop (1);
Symbol 18 MovieClip [shot] Frame 1
this._x = this._x + 20;
Symbol 18 MovieClip [shot] Frame 2
gotoAndPlay (1);
Symbol 23 MovieClip [enemy2] Frame 1
Symbol 23 MovieClip [enemy2] Frame 2
this._x = this._x - vel; if (this._x < -30) { removeMovieClip(this); }
Symbol 23 MovieClip [enemy2] Frame 3
gotoAndPlay (2);
Symbol 28 MovieClip [enemy4] Frame 1
disparaCada = 5; contadorTiempo = 0; velBalas = 6; angulo = 0; anguloMov = 0; j = 0;
Symbol 28 MovieClip [enemy4] Frame 2
this._x = this._x - vel; this._y = this._y + (vel * Math.cos(anguloMov)); this._rotation = this._rotation + (1 * Math.sin(anguloMov)); anguloMov = anguloMov + 0.1; if (this._x < -30) { removeMovieClip(this); } if (contadorTiempo == disparaCada) { contadorTiempo = 0; if (this._x > _root.nau._x) { j++; _root.enemyLair.attachMovie("enemyShot2", "enemyShot" + j, (100 + (index * 10)) + j); _root.enemyLair["enemyShot" + j]._x = this._x; _root.enemyLair["enemyShot" + j]._y = this._y; _root.enemyLair["enemyShot" + j].velX = (velBalas * Math.cos(angulo)) * -1; _root.enemyLair["enemyShot" + j].velY = (velBalas * Math.sin(angulo)) * -1; angulo = angulo + 10; } } else { contadorTiempo++; }
Symbol 28 MovieClip [enemy4] Frame 3
gotoAndPlay (2);
Symbol 30 MovieClip [enemy3] Frame 1
disparaCada = 20; contadorTiempo = 0; velBalas = 5; j = 0;
Symbol 30 MovieClip [enemy3] Frame 2
this._x = this._x - vel; if (this._x < -30) { removeMovieClip(this); } if (contadorTiempo == disparaCada) { contadorTiempo = 0; if (this._x > _root.nau._x) { j++; _root.enemyLair.attachMovie("enemyShot1", "enemyShot" + j, (100 + (index * 10)) + j); _root.enemyLair["enemyShot" + j]._x = this._x; _root.enemyLair["enemyShot" + j]._y = this._y; catContiguo = this._x - _root.nau._x; catOpuesto = this._y - _root.nau._y; hipotenusa = Math.sqrt((catContiguo * catContiguo) + (catOpuesto * catOpuesto)); angulo = Math.atan(catOpuesto / hipotenusa); _root.enemyLair["enemyShot" + j].velX = (velBalas * Math.cos(angulo)) * -1; _root.enemyLair["enemyShot" + j].velY = (velBalas * Math.sin(angulo)) * -1; } } else { contadorTiempo++; }
Symbol 30 MovieClip [enemy3] Frame 3
gotoAndPlay (2);
Symbol 33 MovieClip [enemy1] Frame 1
Symbol 33 MovieClip [enemy1] Frame 2
this._x = this._x - vel; if (this._x < -30) { removeMovieClip(this); }
Symbol 33 MovieClip [enemy1] Frame 3
gotoAndPlay (2);
Symbol 45 MovieClip [exploss] Frame 11
removeMovieClip(this);
Symbol 54 MovieClip [fuelCell] Frame 80
removeMovieClip(this);
Symbol 61 MovieClip [hudClip] Frame 3
gotoAndPlay (1);
Symbol 63 MovieClip [enemyShot2] Frame 1
this._x = this._x + velX; this._y = this._y + velY; if (this._x < 0) { removeMovieClip(this); } if (this._x > 510) { removeMovieClip(this); } if (this._y < 0) { removeMovieClip(this); } if (this._y > 310) { removeMovieClip(this); } if ((this._x == 0) & (this._y == 0)) { removeMovieClip(this); }
Symbol 63 MovieClip [enemyShot2] Frame 2
gotoAndPlay (1);
Symbol 65 MovieClip [enemyShot1] Frame 1
this._x = this._x + velX; this._y = this._y + velY; if (this._x < 0) { removeMovieClip(this); } if (this._x > 510) { removeMovieClip(this); } if (this._y < 0) { removeMovieClip(this); } if (this._y > 310) { removeMovieClip(this); } if ((this._x == 0) & (this._y == 0)) { removeMovieClip(this); }
Symbol 65 MovieClip [enemyShot1] Frame 2
gotoAndPlay (1);
Symbol 68 MovieClip [impact] Frame 5
removeMovieClip(this);
Symbol 85 Button
on (release) { gotoAndStop (4); }
Symbol 90 MovieClip Frame 200
gotoAndPlay (1);
Symbol 93 MovieClip Frame 120
gotoAndPlay (1);

Library Items

Symbol 1 Sound [shot4_wav]
Symbol 2 Sound [pow_up2_wav]
Symbol 3 Sound [impact2_wav]
Symbol 4 Sound [exploss3_wav]
Symbol 5 Sound [musica]
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClipUses:6Used by:16
Symbol 8 GraphicUsed by:15
Symbol 9 ShapeTweeningUsed by:12
Symbol 10 ShapeTweeningUsed by:12
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:9 10 11Used by:15
Symbol 13 ShapeTweeningUsed by:15
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:8 12 13 14Used by:16
Symbol 16 MovieClip [nau]Uses:7 15
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClip [shot]Uses:17
Symbol 19 GraphicUsed by:21
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:19 20Used by:23 28 30 33
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClip [enemy2]Uses:21 22
Symbol 24 GraphicUsed by:28
Symbol 25 ShapeTweeningUsed by:27
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:25 26Used by:28 30
Symbol 28 MovieClip [enemy4]Uses:21 24 27
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClip [enemy3]Uses:21 29 27
Symbol 31 GraphicUsed by:33
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClip [enemy1]Uses:31 21 32
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:34Used by:36
Symbol 36 MovieClipUses:35Used by:45
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:45
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:39Used by:45
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:41Used by:45
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:43Used by:45
Symbol 45 MovieClip [exploss]Uses:36 38 40 42 44
Symbol 46 GraphicUsed by:53
Symbol 47 ShapeTweeningUsed by:53
Symbol 48 ShapeTweeningUsed by:53
Symbol 49 GraphicUsed by:53
Symbol 50 ShapeTweeningUsed by:53
Symbol 51 ShapeTweeningUsed by:53
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClipUses:46 47 48 49 50 51 52Used by:54
Symbol 54 MovieClip [fuelCell]Uses:53
Symbol 55 GraphicUsed by:61
Symbol 56 GraphicUsed by:57 70
Symbol 57 MovieClipUses:56Used by:61
Symbol 58 GraphicUsed by:61
Symbol 59 FontUsed by:60 80 81 104 105
Symbol 60 EditableTextUses:59Used by:61
Symbol 61 MovieClip [hudClip]Uses:55 57 58 60
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClip [enemyShot2]Uses:62
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClip [enemyShot1]Uses:64
Symbol 66 ShapeTweeningUsed by:68
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClip [impact]Uses:66 67
Symbol 69 MovieClip [empty]Used by:Timeline
Symbol 70 MovieClip [barra]Uses:56Used by:Timeline
Symbol 71 GraphicUsed by:Timeline
Symbol 72 GraphicUsed by:Timeline
Symbol 73 FontUsed by:74 75
Symbol 74 TextUses:73Used by:76
Symbol 75 TextUses:73Used by:76
Symbol 76 MovieClipUses:74 75Used by:Timeline
Symbol 77 BitmapUsed by:78
Symbol 78 GraphicUses:77Used by:Timeline
Symbol 79 GraphicUsed by:85
Symbol 80 TextUses:59Used by:82 85
Symbol 81 TextUses:59Used by:82
Symbol 82 MovieClipUses:80 81Used by:85
Symbol 83 GraphicUsed by:85
Symbol 84 GraphicUsed by:85
Symbol 85 ButtonUses:79 82 83 84 80Used by:Timeline
Symbol 86 GraphicUsed by:Timeline
Symbol 87 GraphicUsed by:98
Symbol 88 GraphicUsed by:89
Symbol 89 ButtonUses:88Used by:90
Symbol 90 MovieClipUses:89Used by:98
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:91Used by:93
Symbol 93 MovieClipUses:92Used by:98
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94Used by:97
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:95 96Used by:98
Symbol 98 MovieClipUses:87 90 93 97Used by:Timeline
Symbol 99 GraphicUsed by:102
Symbol 100 GraphicUsed by:102
Symbol 101 GraphicUsed by:102
Symbol 102 ButtonUses:99 100 101Used by:103
Symbol 103 MovieClipUses:102Used by:Timeline
Symbol 104 TextUses:59Used by:Timeline
Symbol 105 TextUses:59Used by:Timeline

Instance Names

"barra"Frame 1Symbol 70 MovieClip [barra]
"targetClip"Frame 4Symbol 103 MovieClip
"cabina"Symbol 16 MovieClip [nau] Frame 1Symbol 15 MovieClip
"barraclip"Symbol 61 MovieClip [hudClip] Frame 1Symbol 57 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "shot4_wav"
ExportAssets (56)Timeline Frame 1Symbol 2 as "pow_up2_wav"
ExportAssets (56)Timeline Frame 1Symbol 3 as "impact2_wav"
ExportAssets (56)Timeline Frame 1Symbol 4 as "exploss3_wav"
ExportAssets (56)Timeline Frame 1Symbol 5 as "musica"
ExportAssets (56)Timeline Frame 1Symbol 16 as "nau"
ExportAssets (56)Timeline Frame 1Symbol 18 as "shot"
ExportAssets (56)Timeline Frame 1Symbol 23 as "enemy2"
ExportAssets (56)Timeline Frame 1Symbol 28 as "enemy4"
ExportAssets (56)Timeline Frame 1Symbol 30 as "enemy3"
ExportAssets (56)Timeline Frame 1Symbol 33 as "enemy1"
ExportAssets (56)Timeline Frame 1Symbol 45 as "exploss"
ExportAssets (56)Timeline Frame 1Symbol 54 as "fuelCell"
ExportAssets (56)Timeline Frame 1Symbol 61 as "hudClip"
ExportAssets (56)Timeline Frame 1Symbol 63 as "enemyShot2"
ExportAssets (56)Timeline Frame 1Symbol 65 as "enemyShot1"
ExportAssets (56)Timeline Frame 1Symbol 68 as "impact"
ExportAssets (56)Timeline Frame 1Symbol 69 as "empty"
ExportAssets (56)Timeline Frame 1Symbol 70 as "barra"
ExportAssets (56)Timeline Frame 1Symbol 70 as "barra"
ExportAssets (56)Timeline Frame 2Symbol 70 as "barra"
ExportAssets (56)Timeline Frame 4Symbol 69 as "empty"

Labels

"bajando"Symbol 16 MovieClip [nau] Frame 2
"subiendo"Symbol 16 MovieClip [nau] Frame 20

Dynamic Text Variables

_root.char.scoreSymbol 60 EditableText"0"




http://swfchan.com/22/108460/info.shtml
Created: 15/3 -2019 11:49:11 Last modified: 15/3 -2019 11:49:11 Server time: 03/01 -2025 04:14:18