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/94820032?noj=FRM94820032-22DC" width="1" height="1"></div>

KGB Hunter.swf

This is the info page for
Flash #24688

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


Text
0%

Story:
Save the world from KGB threat, fight with crowds of
deadly armed agents, number of mini-bosses and KGB
General aka Big Boss on
roads of Europe, USSR, in deserts of  Caucasus, and
snows of Siberia and Alaska. These roads full of
civilians, money, weapons and KGB agents.
You must be brave and fast. Let's shoot'n'drive!
Controls:
Use the Mouse or cursor keys to move your car.
Click Mouse Button or Space Bar to fire.

$ 99999999999

Boss Cars:

99/99

Mission # 1  Objectives:

Before we send you to fight the KGB,
we must make sure that you can survive
the environment of the North. You are
going to Alaska and will be drilled in
conditions similar to those of the Russian
Siberia.
First off, let’s test your driving skill. Avoid
bumping into other cars. At the end of this
mission you will engage the first Boss Car in
the game. You should not have any
difficulties defeating it, since this is just a
drill.

Mission # 2  Objectives:

Some of the vehicles you encounter
on the roads are hostile. Let’s test your
shoot’n’drive skill.
Cars like these are usually driven by the KGB
agents.
* Shoot the big red bonus trucks to change
weapons.

Mission # 3  Objectives:

Your first assignment is in Europe.
The object that you need to catch-up
with and eliminate will be displayed on
screen.
Be careful, the favorite tactics of the KGB is
to release a twin stand-in car. If that’s the
case, eliminate both vehicles.
* New weapon: Rockets. Shoot red trucks with
rockets painted on them.

Mission # 4  Objectives:

Five KGB agents are hot on your track.
Your task is to survive and destroy
the pursuers.
Try to keep the number of civil casualties to
the reasonable minimum.
* New car upgrade - Ghost Mode

Mission # 5  Objectives:

Memorize this car thoroughly, as it is
the vehicle of choice for the KGB
generals. If you see a car like this, you
have made things lively for the System.
It is time to engage in serious combat activity.
A single fight. No friends, no enemies, no
bonuses.

Mission # 6  Objectives:

You are crossing the borders of
the USSR, the southern Caucasus.
At present, the KGB is transporting
rockets and other arms to the inlands.
Destroy as many trucks as possible.
The trucks are not guarded, but the agents
are bound to appear sooner or later.

Mission # 7  Objectives:

To the north, on Middle-Russian Height,
we have spotted another truck convoy.
Your task is to reach the head of the
motorcade and destroy the KGB agents
leading it.
Attack convoy vehicles if you must, but it is
desirable to keep the cargo intact.

Mission # 8  Objectives:

You are being disembarked on
the territory of a secret KGB base
in Eastern Europe. Make your way west,
to the Alps. The area is crawling with enemies,
but luckily you have a license to kill.
Unfortunately, to prevent an international
scandal, you must enter the area without any
weapons. You will have to acquire the
weapons and car upgrades as you go.
Good luck!

Mission # 9  Objectives:

This might be your most important
mission. We have detected clustering
of military forces in the Alps. Elite KGB
teams are heading to the rally point.
Unless you stop them, in a few hours the KGB
will invade most European countries to seize
power.

Mission # 10  Objectives:

Congratulations, you’ve done it!
The KGB plans are all messed up.
You are the big thorn in its side!
Eliminating you is now top priority for the
KGB.
The General himself has decided to launch a
challenge against you. Make your country
proud; make your best to win!

Mission Time:

Enemy Killed:

99:99

Level time:

PAUSE

ActionScript [AS1/AS2]

Instance of Symbol 5 MovieClip in Frame 2
on (press) { this._parent.more_pressed(); }
Instance of Symbol 12 MovieClip in Frame 2
on (press) { this._parent.more_pressed(); }
Frame 3
if (loaderState == LDR_BASE_LOADING) { stot = this.getBytesTotal(); sloa = this.getBytesLoaded(); if (stot != 0) { per = Math.floor((sloa / stot) * 100); } else { per = 0; } mc_bar.mc._x = mc_bar.mc._width * (-1 + (sloa / stot)); txtPer = String(per) + "%"; if (((sloa >= 1) && (stot >= 1)) && (sloa == stot)) { this.gotoAndStop("main"); inMenuFirst(); } else { this.gotoAndPlay(2); } } else if (loaderState == LDR_XML_REQUEST) { myXML.onLoad = function (succes) { if (!succes) { trace("error"); } }; myXML.load("params.xml"); loaderState = LDR_XML_WAIT; this.gotoAndPlay(2); } else if (loaderState == LDR_XML_WAIT) { if (myXML.loaded) { CGameParams.loadFromXML(myXML); this.gotoAndStop("main"); inMenuFirst(); } else { this.gotoAndPlay(2); } }
Instance of Symbol 180 MovieClip "btn_sound" in Frame 5
onClipEvent (load) { if (CSoundControl.stopSoundFlag) { this.gotoAndStop(2); } }
Instance of Symbol 181 MovieClip "mc_sfx" in Frame 5
onClipEvent (load) { CSoundControl.createSounds(this); this._parent.inMenuFirst(); }
Frame 7
this.stop();
Symbol 1 MovieClip Frame 1
#initclip 23 function soundOff() { mc_sloop.gotoAndStop(3); CSoundControl.soundOff(); } function soundOn() { mc_sloop.gotoAndStop(2); CSoundControl.soundOn(); } function new_game_pressed() { gameStart(); } function how_to_play_pressed() { this.gotoAndStop("rules"); } function more_pressed() { getURL ("http://www.gametop.com/?utm_source=KGBHunter&utm_medium=flashGame", "_blank"); } function back_pressed() { this.gotoAndStop("main"); } function inMenuFirst() { mc_sloop.gotoAndStop(2); CSoundControl.setNewLoop(mc_loop_menu); } function gameStart() { CGame.mc_root = this; CGame.score = 0; CGame.level = CGameParams.start_level - 1; nextLevel(); } function nextLevel() { CSoundControl.setNewLoop(mc_loop_game); CGame.level++; this.gotoAndStop("reset"); this.gotoAndStop("game"); } function newGame() { CSoundControl.setNewLoop(mc_loop_menu); this.gotoAndStop("main"); } var author = "Galimov Ruslan rigal@mail.ru"; var copyright = "www.sunnygames.com"; fscommand ("showmenu", "false"); fscommand ("trapallkeys", "true"); var LDR_BASE_LOADING = 1; var LDR_XML_REQUEST = 2; var LDR_XML_WAIT = 3; var loaderState = LDR_BASE_LOADING; var myXML = new XML(); myXML.myRoot = this; myXML.ignoreWhite = true; #endinitclip
Symbol 305 MovieClip [__Packages.CGame] Frame 0
class CGame extends MovieClip { static var mc_root, score, level, enemiesKilled; function CGame () { var _local1 = this; super(); _local1.objPlayer = mc_root.mc_player; _local1.objShieldInd = mc_root.mc_shield_ind; _local1.mc_shots = mc_root.mc_shots; _local1.mc_enemy_shots = mc_root.mc_enemy_shots; _local1.mc_enemies = mc_root.mc_enemies; _local1.mc_screens = mc_root.mc_screens; _local1.mc_landscapes = mc_root.mc_landscapes; _local1.mc_boss_ind = mc_root.mc_boss_ind; _local1.txt_score = mc_root.txt_score; _local1.txt_left = mc_root.txt_left; _local1.initLevel(); Key.addListener(_local1); } static function addScore(k) { score = score + k; mc_root.txt_score.text = "$ " + String(score); } function getTimeString(t) { var _local2; var _local1; var _local3; var secStr; _local1 = Math.floor(t); _local2 = Math.floor(_local1 / 60); _local1 = _local1 - (_local2 * 60); if (_local1 < 10) { secStr = "0" + String(_local1); } else { secStr = String(_local1); } if (_local2 < 10) { _local3 = "0" + String(_local2); } else { _local3 = String(_local2); } return((_local3 + ":") + secStr); } function onEnterFrame() { process(); CSoundControl.processSounds(); } function onKeyDown() { var _local1 = this; if (Key.isDown(BTN_PAUSE)) { if (_local1.gameState == ST_DRIVE) { _local1.gameState = ST_PAUSE; _local1.mc_screens.gotoAndStop("pause"); } else if (_local1.gameState == ST_PAUSE) { _local1.gameState = ST_DRIVE; _local1.mc_screens.gotoAndStop("empty"); } } } function initLevel() { var _local1 = this; var _local2; _local2 = CGameParams.getLevelParams(level); _local1.objectGenerator = new CObjectGenerator(); _local1.objectGenerator.init(_local1.objPlayer, _local1.mc_shots, _local1.mc_enemy_shots, _local1.mc_enemies, mc_root.mc_booms, _local1.mc_landscapes); _local1.collisionMass = CGameParams.mass; _local1.damageTakenWhenCollision = CGameParams.damage_taken_when_collision; _local1.damageDealWhenCollision = CGameParams.damage_deal_when_collision; _local1.objPlayer.init(_local1.objectGenerator, CGameParams.car_speed_x / FPS, CGameParams.car_speed_y / FPS, CGameParams.min_player_speed_y, CGameParams.max_player_speed_y, CGameParams.weapon_speed / FPS, CGameParams.weapon_firerate * FPS, CGameParams.weapon_damage, CGameParams.rocket_speed / FPS, CGameParams.rocket_firerate * FPS, CGameParams.rocket_damage); _local1.objPlayer.setCarWeapons(_local2.carWeapon1, _local2.carWeapon2, _local2.carWeapon3, _local2.carWeapon3); _local1.objPlayer.setMaxShield(CGameParams.car_shield_cells_count * CGameParams.car_shield_hp_per_cell); _local1.objPlayer.setRegenerateTime(CGameParams.car_regenerate_time * FPS); _local1.objPlayer.setShieldIndicator(_local1.objShieldInd); _local1.objPlayer.setGhostTime(CGameParams.ghost_time * FPS); _local1.objPlayer.setDamageTakenWhenCollision(_local1.damageTakenWhenCollision); _local1.objPlayer.setOverRoadDamage(CGameParams.over_road_damage / FPS); CPlayer.mc_bonus = mc_root.mc_bonus; CEnemyCar.damageDealWhenCollision = _local1.damageDealWhenCollision; CEnemyCar.shotSpeed = CGameParams.enemies_shot_speed / FPS; CEnemyBoss.shotSpeed = CGameParams.enemies_shot_speed / FPS; CPlayer.mass = _local1.collisionMass; _local1.objBack = new CVBack(); _local1.objBack.init(mc_root.mc_fon.mc1, mc_root.mc_fon.mc2, CGameParams.min_scroll_speed, CGameParams.max_scroll_speed); _local1.bossLevel = _local2.bossLevel; if (_local1.bossLevel) { _local1.bigBoss = _local1.objectGenerator.addBigBoss(_local2, _local2.bossDamage, _local2.bossStartFireRate * FPS, _local2.bossEndFireRate * FPS, _local2.bossStartSpeed / FPS, _local2.bossEndSpeed / FPS, _local2.bossShotSpeed / FPS, _local2.bossHP, ROAD_X_CENTER, SCREEN_HEIGHT / 2, _local2.bossScore, _local1.mc_boss_ind); _local1.txt_left.text = String("1/1"); } else { CEnemyCarGeneratorControl.txt_left = _local1.txt_left; _local1.enemyCarGeneratorControl = new CEnemyCarGeneratorControl(); _local1.enemyCarGeneratorControl.init(_local2, _local1.objectGenerator, mc_root, _local1.mc_boss_ind); _local1.txt_left.text = (String(_local2.numFight) + "/") + String(_local2.numFight); } _local1.leftLandscapeGenerator = new CLandscapeGenerator(); _local1.leftLandscapeGenerator.init(_local1.objectGenerator, LEFT_LANDSCAPE_X); _local1.rightLandscapeGenerator = new CLandscapeGenerator(); _local1.rightLandscapeGenerator.init(_local1.objectGenerator, RIGHT_LANDSCAPE_X); _local1.lastTimer = getTimer(); _local1.dieFrames = PLAYER_DIE_FRAMES; _local1.mc_screens.gotoAndStop("lev" + level); _local1.mc_screens.mc_icon.gotoAndStop(_local2.enemyIcon); mc_root.mc_icon.gotoAndStop(_local2.enemyIcon); addScore(0); _local1.levelTime = 0; enemiesKilled = 0; _local1.gameState = ST_TASK; } function toDrive() { var _local1 = this; if (_local1.bossLevel) { _local1.objPlayer.toDrive(); _local1.gameState = ST_DRIVE; CSoundControl.playSound(CSoundControl.snd_boss_come); } else { _local1.objPlayer.toAppear(); _local1.gameState = ST_PLAYER_START; } _local1.mc_screens.gotoAndStop("empty"); } function process() { var _local1 = this; var newTimer; var _local2; newTimer = getTimer(); _local2 = newTimer - _local1.lastTimer; _local1._parent.txtFps = 1 / (_local2 / 1000); _local1.lastTimer = newTimer; var _local3; if (_local1.gameState == ST_PAUSE) { } else if (_local1.gameState == ST_TASK) { _local1.objBack.setSpeedPerc(_local1.objPlayer.getSpeedPerc()); _local1.objBack.process(_local2); _local1.processLandscapes(_local1.objBack.getLastRealSpeed()); } else if (_local1.gameState == ST_PLAYER_START) { if (_local1.objPlayer.isDriving()) { _local1.gameState = ST_DRIVE; } _local1.objBack.setSpeedPerc(_local1.objPlayer.getSpeedPerc()); _local1.objBack.process(_local2); _local1.processLandscapes(_local1.objBack.getLastRealSpeed()); } else if (_local1.gameState == ST_PLAYER_DISAPPEAR) { _local1.processEnemies(0); _local1.processShots(); if (_local1.objPlayer.isWin()) { _local1.winLevel(); } } else if (((_local1.gameState == ST_WIN) || (_local1.gameState == ST_COMPLETE)) || (_local1.gameState == ST_LOOSE)) { } else { _local1.levelTime = _local1.levelTime + (1 / FPS); _local1.objPlayer.process(mc_root._xmouse, mc_root._ymouse); _local1.processShots(); _local1.objBack.setSpeedPerc(_local1.objPlayer.getSpeedPerc()); _local3 = _local1.objBack.getLastRealSpeed(); if (((!_local1.bossLevel) && (!_local1.objPlayer.isDied())) && (_local1.gameState == ST_DRIVE)) { _local1.enemyCarGeneratorControl.process(_local3); } if (_local1.objPlayer.isDied()) { _local1.processEnemies(0); _local1.dieFrames--; if (_local1.dieFrames <= 0) { _local1.looseLevel(); } } else { _local1.processEnemies(_local3); _local1.objBack.process(_local2); _local1.processLandscapes(_local3); } _local1.checkPlayerCollisions(); if (_local1.objPlayer._x < (ROAD_LEFT_X - _local1.objPlayer.myWidth)) { _local1.objPlayer._x = ROAD_LEFT_X - _local1.objPlayer.myWidth; } else if (_local1.objPlayer._x > (ROAD_RIGHT_X + _local1.objPlayer.myWidth)) { _local1.objPlayer._x = ROAD_RIGHT_X + _local1.objPlayer.myWidth; } if (_local1.enemyCarGeneratorControl.missionIsEnded()) { _local1.objPlayer.toDisappear(); _local1.gameState = ST_PLAYER_DISAPPEAR; } } } function processLandscapes(backSpeed) { var _local2 = this; var _local3; var _local1; for (_local3 in _local2.mc_landscapes) { _local1 = _local2.mc_landscapes[_local3]; _local1._y = _local1._y + backSpeed; if (_local1._y > SCREEN_HEIGHT) { _local1.removeMovieClip(); } } _local2.leftLandscapeGenerator.process(backSpeed); _local2.rightLandscapeGenerator.process(backSpeed); } function processShots() { var _local2 = this; var _local3; var _local1; for (_local3 in _local2.mc_shots) { _local1 = _local2.mc_shots[_local3]; _local1.process(); } for (_local3 in _local2.mc_enemy_shots) { _local1 = _local2.mc_enemy_shots[_local3]; _local1.process(); if (_local2.objPlayer.isAvailableForHit() && (_local2.objPlayer.isHit(_local1.globalX, _local1.globalY))) { if (_local2.objPlayer.doDamage(_local1.getDamage())) { if (_local2.bossLevel) { _local2.bigBoss.toStop(); } } else { CSoundControl.playSound(CSoundControl.snd_ricoshet); } _local2.objectGenerator.addSparks(_local1._x, _local1._y, 50); _local1.disable(); } } } function processEnemies(backSpeed) { var _local2 = this; var _local3; var _local1; for (_local3 in _local2.mc_enemies) { _local1 = _local2.mc_enemies[_local3]; _local1.process(backSpeed); if (!_local2.checkEnemyCollisionsWithShots(_local1)) { _local2.objPlayer.checkWreck(_local1); } } } function checkEnemyCollisionsWithShots(enemy) { var _local2 = this; var _local3 = enemy; var str; var _local1; var killFlag; for (str in _local2.mc_shots) { _local1 = _local2.mc_shots[str]; if (_local3.isAvailableForHit() && (_local3.isHit(_local1.globalX, _local1.globalY))) { killFlag = _local3.doDamage(_local1.getDamage()); _local2.objectGenerator.addSparks(_local1._x, _local1._y, 50); _local1.disable(); if (killFlag) { if (_local2.bossLevel) { _local2.objPlayer.toDisappear(); _local2.gameState = ST_PLAYER_DISAPPEAR; _local2.txt_left.text = "0/1"; } CSoundControl.playSound(CSoundControl.snd_car_explosion); return(true); } CSoundControl.playSound(CSoundControl.snd_ricoshet); } } return(false); } function checkPlayerCollisions() { var _local1 = this; if ((_local1.objPlayer._x < ROAD_LEFT_X) || (_local1.objPlayer._x > ROAD_RIGHT_X)) { if (_local1.objPlayer.isAvailableForHit()) { if (_local1.objPlayer.doOverRoadDamage()) { if (_local1.bossLevel) { _local1.bigBoss.toStop(); } } } } } function winLevel() { var _local1 = this; CSoundControl.setNewLoop(mc_root.mc_loop_win); if (level == MAX_LEVEL_NUM) { _local1.mc_screens.gotoAndStop("complete"); _local1.gameState = ST_WIN; } else { _local1.mc_screens.gotoAndStop("win"); _local1.gameState = ST_COMPLETE; } _local1.mc_screens.txt_kill.text = String(enemiesKilled); _local1.mc_screens.txt_time.text = _local1.getTimeString(_local1.levelTime); } function looseLevel() { var _local1 = this; CSoundControl.setNewLoop(mc_root.mc_loop_loose); _local1.mc_screens.gotoAndStop("loose"); _local1.gameState = ST_LOOSE; _local1.mc_screens.txt_kill.text = String(enemiesKilled); _local1.mc_screens.txt_time.text = _local1.getTimeString(_local1.levelTime); } var author = "Galimov Ruslan rigal@mail.ru"; static var SCREEN_WIDTH = 550; static var SCREEN_HEIGHT = 400; static var FPS = 24; static var MAX_LEVEL_NUM = 10; static var BTN_PAUSE = 80; static var LINES_COUNT = 4; static var ROAD_LEFT_X = 121; static var ROAD_RIGHT_X = 422; static var ROAD_X_CENTER = 272; static var LEFT_LANDSCAPE_X = 0; static var RIGHT_LANDSCAPE_X = 446; static var ST_TASK = 1; static var ST_PLAYER_START = 2; static var ST_DRIVE = 3; static var ST_WIN = 4; static var ST_LOOSE = 5; static var ST_COMPLETE = 6; static var ST_PAUSE = 7; static var ST_PLAYER_DISAPPEAR = 8; static var PLAYER_DIE_FRAMES = 4 * FPS; }
Symbol 306 MovieClip [__Packages.IHitObject] Frame 0
interface IHitObject{}
Symbol 307 MovieClip [__Packages.CPlayer] Frame 0
class CPlayer extends MovieClip { static var mass, mc_bonus; var state, mc_hit, regenerateTime, curRegenerateTime, damageTakenWhenCollision, ghostTime, overRoadDamage, mouseControl, shieldIndicator, maxShield, ghostFlag, _alpha, wreckFrames, wreckFlag, gotoAndStop; function CPlayer () { var _local1 = this; super(); _local1.state = ST_DRIVE; _local1.mouseControl = true; _local1.hasRocket = false; _local1.ghostFlag = false; _local1.shieldIndicator = null; _local1.myWidth = _local1._width; _local1.wreckFlag = false; _local1.toNone(); } function init(objectGenerator_, xSpeed_, ySpeed_, minSpeedY_, maxSpeedY_, weaponSpeed_, weaponFireRate_, weaponDamage_, rocketSpeed_, rocketFireRate_, rocketDamage_) { var _local1 = this; _local1.objectGenerator = objectGenerator_; _local1.xSpeed = xSpeed_; _local1.ySpeed = ySpeed_; _local1.minSpeedY = minSpeedY_; _local1.maxSpeedY = maxSpeedY_; _local1.weaponSpeed = weaponSpeed_; _local1.weaponFireRate = weaponFireRate_; _local1.weaponDamage = weaponDamage_; _local1.rocketSpeed = rocketSpeed_; _local1.rocketFireRate = rocketFireRate_; _local1.rocketDamage = rocketDamage_; _local1.sparksFrames = 0; _local1.switchGunToWeapon(); _local1.shotFrameCounter = 0; _local1._x = CGame.ROAD_X_CENTER; _local1._y = _local1.minSpeedY; } function doDamage(damage) { var _local1 = this; var _local2; _local2 = _local1.shieldIndicator.lastCellCount; _local1.shieldIndicator.addValue(-damage); if (_local1.shieldIndicator.lastCellCount < _local2) { CSoundControl.playSound(CSoundControl.snd_shield_lost); } if (_local1.shieldIndicator.getValue() <= 0) { _local1.toDie(); return(true); } return(false); } function doOverRoadDamage() { var _local1 = this; var _local2; _local2 = _local1.shieldIndicator.lastCellCount; _local1.shieldIndicator.addValue(-_local1.overRoadDamage); if (_local1.shieldIndicator.lastCellCount < _local2) { CSoundControl.playSound(CSoundControl.snd_shield_lost); } if (_local1.sparksFrames <= 0) { _local1.objectGenerator.addSparks((_local1._x - 10) + (20 * Math.random()), (_local1._y - 15) + (30 * Math.random()), 70); _local1.sparksFrames = OVER_ROAD_SPARKS_MIN_FRAMES; } if (_local1.shieldIndicator.getValue() <= 0) { _local1.toDie(); return(true); } return(false); } function isAvailableForHit() { return((state != ST_DIE) && (state != ST_DIE_PROCESS)); } function isHit(globalX, globalY) { return(mc_hit.hitTest(globalX, globalY, true)); } function toDie() { var _local1 = this; CSoundControl.playSound(CSoundControl.snd_hero_explosion); if (_local1.ghostFlag) { _local1.fromGhost(); } _local1.dieCurSpeed = DIE_MIN_SPEED + ((DIE_MAX_SPEED - DIE_MIN_SPEED) * _local1.getSpeedPerc()); _local1.state = ST_DIE_PROCESS; } function isDied() { return((state == ST_DIE) || (state == ST_DIE_PROCESS)); } function checkWreck(enemy) { var _local1 = this; var _local2 = enemy; var eDir; var _local3; if (((!_local1.ghostFlag) && (_local1.hitTest(_local2))) && (_local1.isAvailableForHit())) { if (_local1.hasWreckWithEnemy(_local2)) { CSoundControl.playSound(CSoundControl.snd_car_collision); eDir = new CVector2D(_local2._x - _local1._x, _local2._y - _local1._y); eDir.normalize(); _local3 = new CVector2D(-eDir.x, -eDir.y); if (_local2.isBigBoss()) { _local3.mult(COLLISION_BACK_SPEED); do { _local1._x = _local1._x + _local3.x; _local1._y = _local1._y + _local3.y; } while (_local1.hasWreckWithEnemy(_local2)); } else { eDir.mult((_local2.mass / (mass + _local2.mass)) * COLLISION_BACK_SPEED); _local3.mult((mass / (mass + _local2.mass)) * COLLISION_BACK_SPEED); do { _local1._x = _local1._x + _local3.x; _local1._y = _local1._y + _local3.y; _local2._x = _local2._x + eDir.x; _local2._y = _local2._y + eDir.y; } while (_local1.hasWreckWithEnemy(_local2)); } if (_local2.toWreck(eDir)) { _local1.doDamage(_local1.damageTakenWhenCollision); _local1.objectGenerator.addSparks((_local1._x + _local2._x) / 2, (_local1._y + _local2._y) / 2, 50); } _local1.toWreck(); } } } function hasWreckWithEnemy(enemy) { var _local1 = enemy; var _local2 = this; return(((_local2.mc_wreck_hit1.hitTest(_local1.mc_wreck_hit1) || (_local2.mc_wreck_hit1.hitTest(_local1.mc_wreck_hit2))) || (_local2.mc_wreck_hit2.hitTest(_local1.mc_wreck_hit1))) || (_local2.mc_wreck_hit2.hitTest(_local1.mc_wreck_hit2))); } function isBigBoss() { return(false); } function setCarWeapons(carWeaponForward_, carWeaponBack_, carWeaponLeft_, carWeaponRight_) { var _local1 = this; _local1.carWeaponForward = carWeaponForward_; _local1.carWeaponBack = carWeaponBack_; _local1.carWeaponLeft = carWeaponLeft_; _local1.carWeaponRight = carWeaponRight_; } function setMaxShield(newMaxShield) { var _local1 = this; _local1.maxShield = newMaxShield; if (_local1.shieldIndicator != null) { _local1.shieldIndicator.setMaxValue(_local1.maxShield); } } function setShieldIndicator(ind) { var _local1 = this; _local1.shieldIndicator = ind; _local1.shieldIndicator.setMaxValue(_local1.maxShield); } function setRegenerateTime(newRegenerateTime) { regenerateTime = (curRegenerateTime = newRegenerateTime); } function setDamageTakenWhenCollision(take) { damageTakenWhenCollision = take; } function setGhostTime(time) { ghostTime = time; } function setOverRoadDamage(overRoadDamage_) { overRoadDamage = overRoadDamage_; } function getSpeedPerc() { var _local1 = this; if ((_local1.state == ST_DIE) || (_local1.state == ST_DIE_PROCESS)) { return(0); } return((_local1.minSpeedY - _local1._y) / (_local1.minSpeedY - _local1.maxSpeedY)); } function applyBonus(bonusID) { var _local1 = this; CSoundControl.playSound(CSoundControl.snd_bonus_weapon); switch (bonusID) { case CEnemyCar.BONUS_GUN_FRONT : _local1.switchGunToWeapon(); _local1.carWeaponForward++; if (_local1.carWeaponForward > 2) { _local1.carWeaponForward = 2; } break; case CEnemyCar.BONUS_GUN_BACK : _local1.carWeaponBack++; if (_local1.carWeaponBack > 2) { _local1.carWeaponBack = 2; } break; case CEnemyCar.BONUS_GUN_LEFT : _local1.carWeaponLeft++; if (_local1.carWeaponLeft > 2) { _local1.carWeaponLeft = 2; } _local1.carWeaponRight++; if (_local1.carWeaponRight > 2) { _local1.carWeaponRight = 2; } break; case CEnemyCar.BONUS_GUN_RIGHT : _local1.carWeaponRight++; if (_local1.carWeaponRight > 2) { _local1.carWeaponRight = 2; } break; case CEnemyCar.BONUS_ROCKET : _local1.switchGunToRocket(); break; case CEnemyCar.BONUS_GHOST : _local1.toGhost(); break; case CEnemyCar.BONUS_SHIELD : _local1.regenerateShield(); break; default : trace("error in CPlayer::applyBonus()"); } mc_bonus.gotoAndStop("empty"); mc_bonus.gotoAndStop("show"); mc_bonus.mc.mc.gotoAndStop("b" + String(bonusID)); } function onMouseMove() { mouseControl = true; } function process(xMouse, yMouse) { var _local1 = this; var keyboardIsActive; var _local2; var rotationSpeedK; var rotationSpeed; var _local3; if (_local1.state == ST_DIE) { _local1.objectGenerator.addSmoke(_local1._x, _local1._y); } else if (_local1.state == ST_DIE_PROCESS) { _local1._y = _local1._y - _local1.dieCurSpeed; _local1._rotation = _local1._rotation + (_local1.dieCurSpeed * DIE_ROTATE_K); _local1.dieCurSpeed = _local1.dieCurSpeed - DIE_ACC; if (_local1.dieCurSpeed <= 0) { _local1.dieCurSpeed = 0; _local1.objectGenerator.addBoom(_local1._x, _local1._y, 100); _local1.state = ST_DIE; } } else if (_local1.state != ST_DRIVE) { } else { keyboardIsActive = ((Key.isDown(BTN_LEFT) || (Key.isDown(BTN_RIGHT))) || (Key.isDown(BTN_UP))) || (Key.isDown(BTN_DOWN)); if (keyboardIsActive) { _local1.mouseControl = false; } if (_local1.shotFrameCounter > 0) { _local1.shotFrameCounter--; } if (_local1.sparksFrames > 0) { _local1.sparksFrames--; } _local1.curRegenerateTime--; if (_local1.curRegenerateTime <= 0) { _local1.curRegenerateTime = _local1.regenerateTime; _local1.regenerateShield(); } if (_local1.ghostFlag) { _local1.ghostFrames--; if (_local1.ghostFrames <= 0) { _local1.fromGhost(); } } _local2 = 0; if (_local1.state == ST_DRIVE) { if (Key.isDown(BTN_FIRE1) || (Key.isDown(BTN_FIRE2))) { if (_local1.shotFrameCounter <= 0) { _local1.doShot(); _local1.shotFrameCounter = _local1.shotFrames; } } if (_local1.wreckFlag) { } else if (_local1.mouseControl) { if (Math.abs(xMouse - _local1._x) < _local1.xSpeed) { _local1._x = xMouse; _local2 = 0; } else if (xMouse > _local1._x) { _local1._x = _local1._x + _local1.xSpeed; _local2 = 1; } else { _local1._x = _local1._x - _local1.xSpeed; _local2 = -1; } if (Math.abs(yMouse - _local1._y) < _local1.ySpeed) { _local1._y = yMouse; } else if (yMouse > _local1._y) { _local1._y = _local1._y + _local1.ySpeed; } else { _local1._y = _local1._y - _local1.ySpeed; } } else { if (Key.isDown(BTN_UP)) { _local1._y = _local1._y - _local1.ySpeed; } else if (Key.isDown(BTN_DOWN)) { _local1._y = _local1._y + _local1.ySpeed; } if (Key.isDown(BTN_LEFT)) { _local1._x = _local1._x - _local1.xSpeed; _local2 = -1; } else if (Key.isDown(BTN_RIGHT)) { _local1._x = _local1._x + _local1.xSpeed; _local2 = 1; } } if (_local1._y < _local1.maxSpeedY) { _local1._y = _local1.maxSpeedY; } else if (_local1._y > _local1.minSpeedY) { _local1._y = _local1.minSpeedY; } rotationSpeedK = 0.5 + ((0.5 * (_local1.minSpeedY - _local1._y)) / (_local1.minSpeedY - _local1.maxSpeedY)); rotationSpeed = ROTATION_SPEED * rotationSpeedK; _local3 = ROTATION_BACK_SPEED * rotationSpeedK; if (_local2 == 0) { if (Math.abs(_local1._rotation) < _local3) { _local1._rotation = 0; } else if (_local1._rotation > 0) { _local1._rotation = _local1._rotation - _local3; } else { _local1._rotation = _local1._rotation + _local3; } } else if (_local2 > 0) { if (_local1._rotation < 0) { _local1._rotation = _local1._rotation + _local3; } else { _local1._rotation = _local1._rotation + rotationSpeed; if (_local1._rotation > MAX_ROTATION) { _local1._rotation = MAX_ROTATION; } } } else if (_local1._rotation > 0) { _local1._rotation = _local1._rotation - _local3; } else { _local1._rotation = _local1._rotation - rotationSpeed; if (_local1._rotation < (-MAX_ROTATION)) { _local1._rotation = -MAX_ROTATION; } } } if (_local1.wreckFlag) { _local1.wreckFrames--; if (_local1.wreckFrames <= 0) { _local1.wreckFlag = false; } } } } function switchGunToWeapon() { var _local1 = this; _local1.hasRocket = false; _local1.shotFrames = Math.round(_local1.weaponFireRate); } function switchGunToRocket() { var _local1 = this; _local1.hasRocket = true; _local1.shotFrames = Math.round(_local1.rocketFireRate); } function doShot() { var _local1 = this; if (_local1.hasRocket) { CSoundControl.playSound(CSoundControl.snd_player_rocket_fire); _local1.addRocketShot(_local1._rotation); } else { CSoundControl.playSound(CSoundControl.snd_player_gun_fire); if (_local1.carWeaponForward == 1) { _local1.addShot(_local1._rotation); } else if (_local1.carWeaponForward == 2) { _local1.addDoubleShot(_local1._rotation); } } if (_local1.carWeaponBack == 1) { _local1.addShot(_local1._rotation + 180); } else if (_local1.carWeaponBack == 2) { _local1.addDoubleShot(_local1._rotation + 180); } if (_local1.carWeaponLeft == 1) { _local1.addShot(_local1._rotation - 90); } else if (_local1.carWeaponLeft == 2) { _local1.addDoubleShot(_local1._rotation - 90); } if (_local1.carWeaponRight == 1) { _local1.addShot(_local1._rotation + 90); } else if (_local1.carWeaponRight == 2) { _local1.addDoubleShot(_local1._rotation + 90); } } function addDoubleShot(angle) { var _local1 = this; var _local2; var x; var y; var dx; var _local3; var dx2; var dy2; _local2 = (angle / 180) * Math.PI; _local3 = -Math.cos(_local2); dx = Math.sin(_local2); _local2 = _local2 + (Math.PI/2); dy2 = -Math.cos(_local2); dx2 = Math.sin(_local2); _local1.objectGenerator.addPlayerShot((_local1._x + (dx * SHOT_START_DR)) + (dx2 * DOUBLE_SHOT_RAD), (_local1._y + (_local3 * SHOT_START_DR)) + (dy2 * DOUBLE_SHOT_RAD), dx, _local3, _local1.weaponSpeed, _local1.weaponDamage); _local1.objectGenerator.addPlayerShot((_local1._x + (dx * SHOT_START_DR)) - (dx2 * DOUBLE_SHOT_RAD), (_local1._y + (_local3 * SHOT_START_DR)) - (dy2 * DOUBLE_SHOT_RAD), dx, _local3, _local1.weaponSpeed, _local1.weaponDamage); } function addShot(angle) { var _local1 = this; var radAngle; var x; var y; var _local3; var _local2; radAngle = (angle / 180) * Math.PI; _local2 = -Math.cos(radAngle); _local3 = Math.sin(radAngle); _local1.objectGenerator.addPlayerShot(_local1._x + (_local3 * SHOT_START_DR), _local1._y + (_local2 * SHOT_START_DR), _local3, _local2, _local1.weaponSpeed, _local1.weaponDamage); } function addRocketShot(angle) { var _local1 = this; var radAngle; var x; var y; var _local3; var _local2; radAngle = (angle / 180) * Math.PI; _local2 = -Math.cos(radAngle); _local3 = Math.sin(radAngle); _local1.objectGenerator.addPlayerRocket(_local1._x + (_local3 * SHOT_START_DR), _local1._y + (_local2 * SHOT_START_DR), _local3, _local2, _local1.rocketSpeed, _local1.rocketDamage); } function regenerateShield() { shieldIndicator.setValue(maxShield); } function isDriving() { return(state == ST_DRIVE); } function isWin() { return(state == ST_WIN); } function toGhost() { var _local1 = this; _local1.ghostFrames = _local1.ghostTime; _local1.ghostFlag = true; _local1._alpha = GHOST_ALPHA; } function fromGhost() { ghostFlag = false; _alpha = 100; } function toWreck() { wreckFrames = MAX_WRECK_FRAMES; wreckFlag = true; } function toNone() { state = ST_NONE; gotoAndStop("empty"); } function toAppear() { state = ST_APPEAR; gotoAndStop("appear"); } function toDrive() { state = ST_DRIVE; gotoAndStop("drive"); } function toDisappear() { var _local1 = this; _local1._rotation = 0; _local1.state = ST_DISAPPEAR; _local1.gotoAndStop("disappear"); } function toWin() { state = ST_WIN; gotoAndStop("empty"); } static var BTN_LEFT = 37; static var BTN_RIGHT = 39; static var BTN_UP = 38; static var BTN_DOWN = 40; static var BTN_FIRE1 = 32; static var BTN_FIRE2 = 1; static var SHOT_START_DR = 10; static var DOUBLE_SHOT_RAD = 5; static var ST_NONE = 1; static var ST_APPEAR = 2; static var ST_DRIVE = 3; static var ST_DIE_PROCESS = 4; static var ST_DIE = 5; static var ST_DISAPPEAR = 6; static var ST_WIN = 7; static var COLLISION_BACK_SPEED = 5; static var MAX_ROTATION = 35; static var ROTATION_SPEED = 5; static var ROTATION_BACK_SPEED = 12; static var OVER_ROAD_SPARKS_MIN_FRAMES = 4; static var MAX_WRECK_FRAMES = 1; static var GHOST_ALPHA = 50; static var DIE_MAX_SPEED = 15; static var DIE_MIN_SPEED = 10; static var DIE_ROTATE_K = 3.6; static var DIE_ACC = 1; }
Symbol 308 MovieClip [__Packages.CCellIndicator] Frame 0
class CCellIndicator extends MovieClip { static var curValue, maxValue; function CCellIndicator () { super(); curValue = (maxValue = 100); updateView(); } function setMaxValue(val) { maxValue = val; validateValue(); } function setValue(val) { curValue = val; validateValue(); updateView(); } function addValue(val) { setValue(curValue + val); } function getValue() { return(curValue); } function setValueToMax() { setValue(maxValue); } function validateValue() { if (curValue < 0) { curValue = 0; } else if (curValue > maxValue) { curValue = maxValue; } } function updateView() { var _local2 = this; var _local1; var _local3; var curMax; var curMin; _local3 = maxValue / CELL_COUNT; _local2.lastCellCount = 0; _local1 = 1; while (_local1 <= CELL_COUNT) { curMax = _local3 * _local1; curMin = curMax - _local3; if (curValue <= (curMin + 0.0001)) { _local2[cellNamePrefix + String(_local1)].gotoAndStop("empty"); } else { if (curValue <= (curMin + (_local3 / 2))) { _local2[cellNamePrefix + String(_local1)].gotoAndStop("blink"); } else { _local2[cellNamePrefix + String(_local1)].gotoAndStop("stay"); } _local2.lastCellCount++; } _local1++; } } static var cellNamePrefix = "mc_cell"; static var CELL_COUNT = 4; }
Symbol 309 MovieClip [__Packages.CObjectGenerator] Frame 0
class CObjectGenerator { function CObjectGenerator () { } function init(objPlayer_, mc_shots_, mc_enemy_shots_, mc_enemies_, mc_booms_, mc_landscapes_) { var _local1 = this; _local1.objPlayer = objPlayer_; _local1.mc_shots = mc_shots_; _local1.mc_enemy_shots = mc_enemy_shots_; _local1.mc_enemies = mc_enemies_; _local1.mc_booms = mc_booms_; _local1.mc_landscapes = mc_landscapes_; _local1.shotCounter = 0; _local1.enemyShotCounter = 0; _local1.enemyCounter = 0; _local1.boomCounter = 0; _local1.landscapeCounter = 0; } function addLandscape(num) { var _local1 = this; var _local2; _local2 = _local1.mc_landscapes.attachMovie(landscapeLibNamePrefix + String(num), String(_local1.landscapeCounter), _local1.landscapeCounter); _local1.landscapeCounter++; if (_local1.landscapeCounter >= 10000) { _local1.landscapeCounter = 0; } return(_local2); } function addBoom(x, y, scale) { var _local2 = this; var _local1; _local1 = _local2.mc_booms.attachMovie(boomLibName, String(_local2.boomCounter), _local2.boomCounter); _local1._x = x; _local1._y = y; _local1._xscale = (_local1._yscale = scale); _local2.boomCounter++; if (_local2.boomCounter > 10000) { _local2.boomCounter = 0; } } function addSparks(x, y, scale) { var _local2 = this; var _local1; _local1 = _local2.mc_booms.attachMovie(sparksLibName, String(_local2.boomCounter), _local2.boomCounter); _local1._x = x; _local1._y = y; _local1._xscale = (_local1._yscale = scale); _local1._rotation = 360 * Math.random(); _local2.boomCounter++; if (_local2.boomCounter > 10000) { _local2.boomCounter = 0; } } function addSmoke(x, y) { var _local1 = this; var _local2; _local2 = _local1.mc_booms.attachMovie(smokeLibName, String(_local1.boomCounter), _local1.boomCounter); _local2.init(x, y); _local1.boomCounter++; if (_local1.boomCounter > 10000) { _local1.boomCounter = 0; } } function addPlayerShot(x, y, dx, dy, speed, damage) { var _local1 = this; var _local2; _local2 = _local1.mc_shots.attachMovie(shotLibName, String(_local1.shotCounter), _local1.shotCounter); _local2.init(x, y, dx, dy, speed, damage, CShot.FRM_PLAYER_SHOT); _local1.shotCounter++; if (_local1.shotCounter >= 10000) { _local1.shotCounter = 0; } } function addPlayerRocket(x, y, dx, dy, speed, damage) { var _local1 = this; var _local2; _local2 = _local1.mc_shots.attachMovie(shotLibName, String(_local1.shotCounter), _local1.shotCounter); _local2.init(x, y, dx, dy, speed, damage, CShot.FRM_ROCKET_SHOT); _local1.shotCounter++; if (_local1.shotCounter >= 10000) { _local1.shotCounter = 0; } } function addEnemyShot(x, y, dx, dy, speed, damage) { var _local1 = this; var _local2; _local2 = _local1.mc_enemy_shots.attachMovie(shotLibName, String(_local1.enemyShotCounter), _local1.enemyShotCounter); _local2.init(x, y, dx, dy, speed, damage, CShot.FRM_ENEMY_SHOT); _local1.enemyShotCounter++; if (_local1.enemyShotCounter >= 10000) { _local1.enemyShotCounter = 0; } CSoundControl.playSound(CSoundControl.snd_enemy_gun_fire); } function addBossShot(x, y, dx, dy, speed, damage) { var _local1 = this; var _local2; _local2 = _local1.mc_enemy_shots.attachMovie(shotLibName, String(_local1.enemyShotCounter), _local1.enemyShotCounter); _local2.init(x, y, dx, dy, speed, damage, CShot.FRM_BOSS_SHOT); _local1.enemyShotCounter++; if (_local1.enemyShotCounter >= 10000) { _local1.enemyShotCounter = 0; } CSoundControl.playSound(CSoundControl.snd_enemy_gun_fire); } function addEnemyCar(enemyCarGenerator, carParams, lineX, lineSpeed) { var _local1 = this; var _local2 = carParams; var _local3; _local3 = _local1.mc_enemies.attachMovie(enemyLibName, String(_local1.enemyCounter), _local1.enemyCounter); _local3.init(_local1, _local1.objPlayer, enemyCarGenerator, _local2.mass, _local2.hp, _local2.fireRate, _local2.damage, lineX, lineSpeed, _local2.score); _local3.setCarLabel(_local2.carLabel); _local1.enemyCounter++; if (_local1.enemyCounter >= 10000) { _local1.enemyCounter = 0; } return(_local3); } function addBonusCar(enemyCarGenerator, carParams, lineX, lineSpeed, bonusID) { var _local1 = this; var _local2 = carParams; var _local3; _local3 = _local1.mc_enemies.attachMovie(enemyLibName, String(_local1.enemyCounter), _local1.enemyCounter); _local3.init(_local1, _local1.objPlayer, enemyCarGenerator, _local2.mass, _local2.hp, _local2.fireRate, _local2.damage, lineX, lineSpeed, _local2.score); _local3.setBonus(bonusID); _local1.enemyCounter++; if (_local1.enemyCounter >= 10000) { _local1.enemyCounter = 0; } return(_local3); } function addBossCar(enemyCarGeneratorControl, bossCarParams) { var _local1 = this; var _local2 = bossCarParams; var _local3; _local3 = _local1.mc_enemies.attachMovie(bossLibName, String(_local1.enemyCounter), _local1.enemyCounter); _local3.init(_local1, _local1.objPlayer, enemyCarGeneratorControl, _local2.hp, _local2.fireRate, _local2.damage, _local2.yOffset, _local2.maxV, _local2.acc, _local2.score); _local3.setLabel(_local2.carLabel); _local1.enemyCounter++; if (_local1.enemyCounter >= 10000) { _local1.enemyCounter = 0; } return(_local3); } function addBigBoss(levelParams, bossDamage, bossStartFireRate, bossEndFireRate, bossStartSpeed, bossEndSpeed, bossShotSpeed, bossHP, x, y, bossScore, mc_ind) { var _local1 = this; var _local2; _local2 = _local1.mc_enemies.attachMovie(bigBossLibName, String(_local1.enemyCounter), _local1.enemyCounter); _local2.init(_local1, bossDamage, bossStartFireRate, bossEndFireRate, bossStartSpeed, bossEndSpeed, bossShotSpeed, bossHP, bossScore, mc_ind); _local2._x = x; _local2._y = y; _local1.enemyCounter++; if (_local1.enemyCounter >= 10000) { _local1.enemyCounter = 0; } return(_local2); } static var shotLibName = "lib_shot"; static var boomLibName = "lib_boom"; static var sparksLibName = "lib_sparks"; static var smokeLibName = "lib_smoke"; static var enemyLibName = "lib_enemy_car"; static var bossLibName = "lib_boss_car"; static var bigBossLibName = "lib_big_boss_car"; static var landscapeLibNamePrefix = "mc_landscape"; }
Symbol 310 MovieClip [__Packages.CSmoke] Frame 0
class CSmoke extends MovieClip { var dir, removeMovieClip; function CSmoke () { super(); dir = new CVector2D(0, 0); } function init(x, y) { var _local1 = this; var _local2; var _local3; _local1._x = (x - 4) + (2 * Math.random()); _local1._y = (y - 4) + (2 * Math.random()); _local2 = 30; _local3 = 40; _local1.speed = 3; _local1.moveFrames = CGame.FPS / 1.5; _local1.dScale = (_local3 - _local2) / _local1.moveFrames; _local1.dAlpha = -100 / _local1.moveFrames; _local1.dir.reinit(-0.25 + (0.5 * Math.random()), -1); _local1.dir.normalize(); _local1._xscale = (_local1._yscale = _local2); } function onEnterFrame() { var _local1 = this; _local1._x = _local1._x + (_local1.dir.x * _local1.speed); _local1._y = _local1._y + (_local1.dir.y * _local1.speed); _local1._xscale = (_local1._yscale = _local1._yscale + _local1.dScale); _local1._alpha = _local1._alpha + _local1.dAlpha; _local1.moveFrames--; if (_local1.moveFrames <= 0) { _local1.disable(); } } function disable() { removeMovieClip(); } }
Symbol 311 MovieClip [__Packages.CVector2D] Frame 0
class CVector2D { var x, y; function CVector2D (x_, y_) { x = x_; y = y_; } function reinit(x_, y_) { x = x_; y = y_; } function getUgol() { return(Math.atan2(y, x)); } function duplicate() { return(new CVector2D(x, y)); } function copyTo(v) { v.x = x; v.y = y; } function minus(v) { x = x - v.x; y = y - v.y; } function minusNew(v) { return(new CVector2D(x - v.x, y - v.y)); } function normalize() { var _local1 = this; var _local2 = Math.sqrt((_local1.x * _local1.x) + (_local1.y * _local1.y)); if (_local2 > 0.001) { _local1.x = _local1.x / _local2; _local1.y = _local1.y / _local2; } } function reverseNew() { return(new CVector2D(-x, -y)); } function scalar(v) { return((x * v.x) + (y * v.y)); } function modul() { var _local1 = this; return(Math.sqrt((_local1.x * _local1.x) + (_local1.y * _local1.y))); } function reflectFromNormal(n) { var _local2 = this; var _local1 = Math.atan2(n.y, n.x); _local2.rotate(-_local1); _local2.x = -_local2.x; _local2.rotate(_local1); } function rotate(u) { var _local1 = u; var _local2 = this; var oX = _local2.x; var _local3 = _local2.y; _local2.x = (oX * Math.cos(_local1)) - (_local3 * Math.sin(_local1)); _local2.y = (oX * Math.sin(_local1)) + (_local3 * Math.cos(_local1)); } function rotateNew(u) { var _local1 = u; var _local2 = this; return(new CVector2D((_local2.x * Math.cos(_local1)) - (_local2.y * Math.sin(_local1)), (_local2.x * Math.sin(_local1)) + (_local2.y * Math.cos(_local1)))); } function mult(k) { x = x * k; y = y * k; } function multNew(k) { return(new CVector2D(x * k, y * k)); } function plus(v) { x = x + v.x; y = y + v.y; } function plusNew(v) { return(new CVector2D(x + v.x, y + v.y)); } function getDistanceTo(p1, p2) { var _local3 = p1; var _local2 = _local3.y - p2.y; var _local1 = p2.x - _local3.x; var C = ((_local3.x * (p2.y - _local3.y)) - (_local3.y * (p2.x - _local3.x))); var d = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); _local2 = _local2 / d; _local1 = _local1 / d; C = C / d; return(((_local2 * x) + (_local1 * y)) + C); } }
Symbol 312 MovieClip [__Packages.CShot] Frame 0
class CShot extends MovieClip { var damage, removeMovieClip; function CShot () { super(); } function init(x, y, dx_, dy_, speed_, damage_, frameNum) { var _local1 = this; _local1._x = x; _local1._y = y; _local1.dir = new CVector2D(dx_, dy_); _local1.dir.normalize(); _local1.speed = speed_; _local1.damage = damage_; _local1.gotoAndStop(frameNum); _local1._rotation = ((Math.atan2(dy_, dx_) / Math.PI) * 180) + 90; } function process() { var _local1 = this; var _local2; _local1._x = _local1._x + (_local1.dir.x * _local1.speed); _local1._y = _local1._y + (_local1.dir.y * _local1.speed); _local2 = {x:_local1._x, y:_local1._y}; _local1._parent.localToGlobal(_local2); _local1.globalX = _local2.x; _local1.globalY = _local2.y; if ((((_local1._x < 0) || (_local1._x > SCREEN_WIDTH)) || ((_local1._y < 0) && (_local1.dir.y <= 0))) || ((_local1._y > SCREEN_HEIGHT) && (_local1.dir.y >= 0))) { _local1.disable(); return(false); } return(true); } function getDamage() { return(damage); } function disable() { removeMovieClip(); } static var SCREEN_WIDTH = CGame.SCREEN_WIDTH; static var SCREEN_HEIGHT = CGame.SCREEN_HEIGHT; static var FRM_PLAYER_SHOT = 1; static var FRM_ROCKET_SHOT = 2; static var FRM_ENEMY_SHOT = 3; static var FRM_BOSS_SHOT = 4; }
Symbol 313 MovieClip [__Packages.CSoundControl] Frame 0
class CSoundControl { static var mc_sounds; function CSoundControl () { } static function setNewLoop(mc_newLoop) { if (!stopSoundFlag) { if (mc_curLoop != null) { mc_curLoop.gotoAndStop("stop"); } } mc_curLoop = mc_newLoop; if (!stopSoundFlag) { mc_curLoop.gotoAndStop("play"); } } static function soundOff() { if (mc_curLoop != null) { mc_curLoop.gotoAndStop("stop"); } stopSoundFlag = true; } static function soundOn() { if (mc_curLoop != null) { mc_curLoop.gotoAndStop("play"); } stopSoundFlag = false; } static function createSounds(mc_sounds_) { var _local1; var _local3 = soundsArray.length; var _local2; mc_sounds = mc_sounds_; _local1 = 0; while (_local1 < _local3) { _local2 = mc_sounds.createEmptyMovieClip(soundsArray[_local1].name, _local1); _local2.sound = new Sound(_local2); _local2.sound.attachSound(soundsArray[_local1].name); _local1++; } } static function playSound(id) { soundsArray[id].go = true; } static function processSounds() { var _local1; var _local2 = soundsArray.length; _local1 = 0; while (_local1 < _local2) { if (soundsArray[_local1].go) { realPlaySound(_local1); break; } _local1++; } resetSounds(); } static function resetSounds() { var _local1; var _local2 = soundsArray.length; _local1 = 0; while (_local1 < _local2) { soundsArray[_local1].go = false; _local1++; } } static function realPlaySound(id) { var _local1 = soundsArray[id].name; if (stopSoundFlag) { } else { mc_sounds[_local1].sound.start(0, 0); } } static var stopSoundFlag = false; static var soundsArray = [{name:"hero_explosion_snd", go:false}, {name:"boss_come_snd", go:false}, {name:"bonus_weapon_snd", go:false}, {name:"shield_lost_snd", go:false}, {name:"car_explosion_snd", go:false}, {name:"car_collision_snd", go:false}, {name:"ricoshet_snd", go:false}, {name:"player_gun_fire_snd", go:false}, {name:"player_rocket_fire_snd", go:false}, {name:"enemy_gun_fire_snd", go:false}]; static var snd_hero_explosion = 0; static var snd_boss_come = 1; static var snd_bonus_weapon = 2; static var snd_shield_lost = 3; static var snd_car_explosion = 4; static var snd_car_collision = 5; static var snd_ricoshet = 6; static var snd_player_gun_fire = 7; static var snd_player_rocket_fire = 8; static var snd_enemy_gun_fire = 9; static var mc_curLoop = null; }
Symbol 314 MovieClip [__Packages.CEnemyCarGenerator] Frame 0
class CEnemyCarGenerator { static var ST_PROCESS, ST_STOP; var lineCarParams, lineCurCars, state, bonusID, generateBonus; function CEnemyCarGenerator () { var _local1 = this; _local1.generateBonus = false; _local1.lineCarParams = new Array(); _local1.nextGenerateCarIdx = 0; _local1.lineCurCars = new Array(); _local1.state = ST_PROCESS; _local1.randomSortFunc = function (a, b) { var _local1; _local1 = Math.random(); if (_local1 < 0.33) { return(1); } if (_local1 < 0.66) { return(-1); } return(0); }; } function init(objectGenerator_, lineX_, lineSpeed_, timeToAddCar_) { var _local1 = this; _local1.objectGenerator = objectGenerator_; _local1.lineX = lineX_; _local1.lineSpeed = lineSpeed_; _local1.timeToAddCar = timeToAddCar_; _local1.addCarFrames = Math.round(_local1.timeToAddCar * Math.random()); } function addCarToGenerateList(carParams) { lineCarParams.push(carParams); } function process(backSpeed) { var _local1 = this; if (_local1.state == ST_PROCESS) { _local1.addCarFrames--; if ((_local1.addCarFrames <= 0) || (_local1.generateBonus)) { if (_local1.tryAddNextCar(backSpeed)) { _local1.addCarFrames = _local1.timeToAddCar; } } } } function isNoTraffic() { return(lineCurCars.length == 0); } function toStop() { state = ST_STOP; } function toProcess() { state = ST_PROCESS; } function setBonus(bonusID_) { bonusID = bonusID_; generateBonus = true; } function hasBonus() { return(generateBonus); } function removeCarFromList(car) { var _local2 = this; var _local1; var _local3; _local3 = _local2.lineCurCars.length; _local1 = 0; while (_local1 < _local3) { if (car == _local2.lineCurCars[_local1]) { _local2.lineCurCars.splice(_local1, 1); return; } _local1++; } } function tryAddNextCar(curBackSpeed) { var _local1 = this; var carParams; var _local3; var _local2; _local3 = _local1.lineCurCars.length - 1; if ((Math.abs(curBackSpeed - _local1.lineSpeed) < 0.1) || ((_local1.lineCarParams.length == 0) && (!_local1.generateBonus))) { return(false); } if (curBackSpeed < _local1.lineSpeed) { if ((_local3 >= 0) && (_local1.lineCurCars[_local3]._y > (SCREEN_HEIGHT - (CAR_MAX_HEIGHT / 2)))) { return(false); } _local2 = _local1.generateCar(); _local2._x = _local1.lineX; _local2._y = SCREEN_HEIGHT + (_local2._height / 2); _local1.lineCurCars.push(_local2); return(true); } if ((_local3 >= 0) && (_local1.lineCurCars[0]._y < (CAR_MAX_HEIGHT / 2))) { return(false); } _local2 = _local1.generateCar(); _local2._x = _local1.lineX; _local2._y = (-_local2._height) / 2; _local1.lineCurCars.splice(0, 0, _local2); return(true); } function generateCar() { var _local1 = this; var _local2; if (_local1.generateBonus) { _local2 = _local1.objectGenerator.addBonusCar(_local1, CGameParams.bonusCarParams, _local1.lineX, _local1.lineSpeed, _local1.bonusID); _local1.generateBonus = false; } else { _local2 = _local1.objectGenerator.addEnemyCar(_local1, _local1.lineCarParams[_local1.nextGenerateCarIdx], _local1.lineX, _local1.lineSpeed); _local1.nextGenerateCarIdx++; if (_local1.nextGenerateCarIdx >= _local1.lineCarParams.length) { _local1.nextGenerateCarIdx = 0; _local1.lineCarParams.sort(_local1.randomSortFunc); } } return(_local2); } static var SCREEN_HEIGHT = CGame.SCREEN_HEIGHT; static var CAR_MAX_HEIGHT = 110; }
Symbol 315 MovieClip [__Packages.CCarParams] Frame 0
class CCarParams { function CCarParams (carName_, mass_, hp_, fireRate_, damage_, score_) { var _local1 = this; _local1.carName = carName_; _local1.mass = mass_; _local1.hp = hp_; _local1.fireRate = fireRate_ * FPS; _local1.damage = damage_; _local1.score = score_; _local1.calcCarLabel(); } function calcCarLabel() { var _local2 = this; var _local1; var _local3; _local3 = enemyNames.length; _local1 = 0; while (_local1 < _local3) { if (_local2.carName.indexOf(enemyNames[_local1]) >= 0) { _local2.carLabel = enemyNames[_local1]; return; } _local1++; } trace("CCarParams::calcCarLabel()"); } static var FPS = CGame.FPS; static var enemyNames = ["yellow_car", "truck1", "truck2", "ranger", "police", "volvo", "green_car", "blackfire_car", "hammer", "bonus"]; }
Symbol 316 MovieClip [__Packages.CEnemyCar] Frame 0
class CEnemyCar extends MovieClip { static var shotSpeed, damageDealWhenCollision; var mc_hit, gotoAndStop, state; function CEnemyCar () { super(); } function init(objectGenerator_, objPlayer_, enemyCarGenerator_, mass_, hp_, fireRate_, damage_, lineX_, lineSpeed_, score_) { var _local1 = this; _local1.objectGenerator = objectGenerator_; _local1.objPlayer = objPlayer_; _local1.enemyCarGenerator = enemyCarGenerator_; _local1.mass = mass_; _local1.hp = hp_; _local1.fireRate = fireRate_; _local1.damage = damage_; _local1.lineX = lineX_; _local1.lineSpeed = lineSpeed_; _local1.score = score_; _local1.shotFrames = _local1.fireRate; _local1.driveOutFrames = DRIVE_OUT_FRAMES; _local1.bonusCar = false; _local1.bonusID = -1; _local1.state = ST_DRIVE; } function doDamage(damage) { var _local1 = this; _local1.hp = _local1.hp - damage; if (_local1.hp <= 0) { _local1.toDie(); return(true); } return(false); } function isAvailableForHit() { return(true); } function isHit(globalX, globalY) { return(mc_hit.hitTest(globalX, globalY, true)); } function toDie() { var _local1 = this; CGame.addScore(_local1.score); if (_local1.score > 0) { CGame.enemiesKilled++; } _local1.objectGenerator.addBoom(_local1._x, _local1._y, 100); if (_local1.bonusCar) { _local1.objPlayer.applyBonus(_local1.bonusID); } _local1.disable(); } function isBigBoss() { return(false); } function setCarLabel(carLabel) { gotoAndStop(carLabel); } function setBonus(bonusID_) { var _local1 = this; _local1.bonusCar = true; _local1.bonusID = bonusID_; _local1.gotoAndStop("bonus" + String(_local1.bonusID)); } function process(backSpeed) { var _local1 = this; if (_local1.fireRate > 0) { _local1.shotFrames--; if (_local1.shotFrames <= 0) { _local1.shotFrames = _local1.fireRate; _local1.doShot(); } } _local1._y = _local1._y - (_local1.lineSpeed - backSpeed); if (_local1.driveOutFrames > 0) { _local1.driveOutFrames--; } else if ((_local1._y > (SCREEN_HEIGHT + (_local1._height / 2))) || (_local1._y < ((-_local1._height) / 2))) { _local1.disable(); return; } if (_local1.state == ST_WRECK) { _local1._x = _local1._x + (_local1.wreckDir * wreckSpeed); if (_local1.wreckRotateDir == 1) { if (_local1._rotation < WRECK_ROTATION) { _local1._rotation = _local1._rotation + WRECK_ROTATE_SPEED_RES; } } else if (_local1._rotation > (-WRECK_ROTATION)) { _local1._rotation = _local1._rotation - WRECK_ROTATE_SPEED_RES; } _local1.wreckFrames--; if (_local1.wreckFrames <= 0) { _local1.endWreck(); } } else if (_local1.state == ST_RESTORE_POS) { if (_local1._x > _local1.lineX) { _local1._x = _local1._x - wreckSpeed; if (_local1._rotation > (-WRECK_ROTATION)) { _local1._rotation = _local1._rotation - WRECK_ROTATE_SPEED; } if (_local1._x <= _local1.lineX) { _local1.endRestorePos(); } } else { _local1._x = _local1._x + wreckSpeed; if (_local1._rotation < WRECK_ROTATION) { _local1._rotation = _local1._rotation + WRECK_ROTATE_SPEED; } if (_local1._x >= _local1.lineX) { _local1.endRestorePos(); } } } } function doShot() { var _local1 = this; _local1.objectGenerator.addEnemyShot(_local1._x, _local1._y, _local1.objPlayer._x - _local1._x, _local1.objPlayer._y - _local1._y, shotSpeed, _local1.damage); } function toWreck(wDir) { var _local1 = this; var _local2 = wDir; if (_local1.wreckFrames <= 0) { _local1.doDamage(damageDealWhenCollision); _local1.wreckFrames = WRECK_MAX_FRAMES; } _local1.wreckDir = ((_local2.x > 0) ? 1 : -1); if ((_local2.x * _local2.y) < 0) { _local1.wreckRotateDir = -1; } else { _local1.wreckRotateDir = 1; } _local1.state = ST_WRECK; return(_local1.wreckFrames == WRECK_MAX_FRAMES); } function endWreck() { state = ST_RESTORE_POS; } function endRestorePos() { var _local1 = this; _local1._x = _local1.lineX; _local1._rotation = 0; _local1.state = ST_DRIVE; } function disable() { var _local1 = this; _local1.enemyCarGenerator.removeCarFromList(_local1); _local1.removeMovieClip(); } static var SCREEN_HEIGHT = CGame.SCREEN_HEIGHT; static var ST_DRIVE = 1; static var ST_WRECK = 2; static var ST_RESTORE_POS = 3; static var WRECK_ROTATION = 20; static var WRECK_MAX_FRAMES = CGame.FPS / 4; static var wreckSpeed = 2; static var WRECK_ROTATE_SPEED = 3; static var WRECK_ROTATE_SPEED_RES = 1; static var DRIVE_OUT_FRAMES = CGame.FPS; static var BONUS_GUN_FRONT = 0; static var BONUS_GUN_BACK = 1; static var BONUS_GUN_LEFT = 2; static var BONUS_GUN_RIGHT = 22; static var BONUS_ROCKET = 3; static var BONUS_GHOST = 6; static var BONUS_SHIELD = 7; }
Symbol 317 MovieClip [__Packages.CBossCarParams] Frame 0
class CBossCarParams { function CBossCarParams (carName_, hp_, fireRate_, damage_, yOffset_, maxV_, acc_, score_) { var _local1 = this; _local1.carName = carName_; _local1.hp = hp_; _local1.fireRate = fireRate_ * FPS; _local1.damage = damage_; _local1.yOffset = yOffset_; _local1.maxV = maxV_ / FPS; _local1.acc = (acc_ / FPS) / FPS; _local1.score = score_; _local1.calcCarLabel(); } function calcCarLabel() { var _local2 = this; var _local1; var _local3; _local3 = enemyNames.length; _local1 = 0; while (_local1 < _local3) { if (_local2.carName.indexOf(enemyNames[_local1]) >= 0) { _local2.carLabel = enemyNames[_local1]; return; } _local1++; } trace("CBossCarParams::calcCarLabel()"); } static var FPS = CGame.FPS; static var enemyNames = ["evilhummer", "evilvolvo", "evilhero"]; }
Symbol 318 MovieClip [__Packages.CLevelParams] Frame 0
class CLevelParams { function CLevelParams (enemyIcon_, iconX_, iconY_, carWeapon1_, carWeapon2_, carWeapon3_, enableCarArray_, stripeSpeedArray_, timeToAddCarArray_, enableBonusArray_, timeToAddBonus_, numFight_, fightArray_, bossLevel_, bossDamage_, bossStartFireRate_, bossEndFireRate_, bossStartSpeed_, bossEndSpeed_, bossShotSpeed_, bossHP_, bossScore_) { var _local1 = this; _local1.enemyIcon = enemyIcon_; _local1.iconX = iconX_; _local1.iconY = iconY_; _local1.carWeapon1 = carWeapon1_; _local1.carWeapon2 = carWeapon2_; _local1.carWeapon3 = carWeapon3_; _local1.enableCarArray = enableCarArray_; _local1.stripeSpeedArray = stripeSpeedArray_; _local1.timeToAddCarArray = timeToAddCarArray_; _local1.enableBonusArray = enableBonusArray_; _local1.timeToAddBonus = timeToAddBonus_; _local1.numFight = numFight_; _local1.fightArray = fightArray_; _local1.bossLevel = bossLevel_; _local1.bossDamage = bossDamage_; _local1.bossStartFireRate = bossStartFireRate_; _local1.bossEndFireRate = bossEndFireRate_; _local1.bossStartSpeed = bossStartSpeed_; _local1.bossEndSpeed = bossEndSpeed_; _local1.bossShotSpeed = bossShotSpeed_; _local1.bossHP = bossHP_; _local1.bossScore = bossScore_; } var enableCarArray = [{stripeNum:0, carName:""}]; var stripeSpeedArray = [210, 150, 195, 170]; var timeToAddCarArray = [15, 20, 7, 10]; var enableBonusArray = [0, 0, 0, 1, 2, 2, 2, 2]; var fightArray = [{bossNum:0, bossName:"", hasTraffic:false, timeToAdd:0}]; }
Symbol 319 MovieClip [__Packages.CGameParams] Frame 0
class CGameParams { function CGameParams () { } static function loadFromXML(myXML) { var parentNode; var _local2; var _local3; var _local1; var carParams; var bossCarParams; var tempStr; parentNode = myXML.firstChild; _local2 = parentNode.firstChild; while (_local2 != null) { tempStr = _local2.nodeName.toLowerCase(); switch (tempStr) { case "set_start_level" : start_level = Number(_local2.attributes.val); if (isNaN(start_level)) { trace("NaN error!!! 1"); } break; case "set_max_scroll_speed" : max_scroll_speed = Number(_local2.attributes.val); if (isNaN(max_scroll_speed)) { trace("NaN error!!! 1"); } break; case "set_min_scroll_speed" : min_scroll_speed = Number(_local2.attributes.val); if (isNaN(min_scroll_speed)) { trace("NaN error!!! 2"); } break; case "set_max_screen_speed" : max_screen_speed = Number(_local2.attributes.val); if (isNaN(max_screen_speed)) { trace("NaN error!!! 3"); } break; case "set_min_screen_speed" : min_screen_speed = Number(_local2.attributes.val); if (isNaN(min_screen_speed)) { trace("NaN error!!! 4"); } break; case "set_car_speed_x" : car_speed_x = Number(_local2.attributes.val); if (isNaN(car_speed_x)) { trace("NaN error!!! 5"); } break; case "set_car_speed_y" : car_speed_y = Number(_local2.attributes.val); if (isNaN(car_speed_y)) { trace("NaN error!!! 6"); } break; case "set_min_player_speed_y" : min_player_speed_y = Number(_local2.attributes.val); if (isNaN(min_player_speed_y)) { trace("NaN error!!! 76"); } break; case "set_max_player_speed_y" : max_player_speed_y = Number(_local2.attributes.val); if (isNaN(max_player_speed_y)) { trace("NaN error!!! 77"); } break; case "set_car_shield" : _local1 = parseString(_local2.attributes.val); car_shield_cells_count = Number(_local1[0]); car_shield_hp_per_cell = Number(_local1[1]); break; case "set_car_regenerate_time" : car_regenerate_time = Number(_local2.attributes.val); if (isNaN(car_regenerate_time)) { trace("NaN error!!! 7"); } break; case "set_over_road_damage" : over_road_damage = Number(_local2.attributes.val); if (isNaN(over_road_damage)) { trace("NaN error!!! 722"); } break; case "set_weapon_speed" : weapon_speed = Number(_local2.attributes.val); if (isNaN(weapon_speed)) { trace("NaN error!!! 8"); } break; case "set_weapon_firerate" : weapon_firerate = Number(_local2.attributes.val); if (isNaN(weapon_firerate)) { trace("NaN error!!! 8"); } break; case "set_weapon_damage" : weapon_damage = Number(_local2.attributes.val); if (isNaN(weapon_damage)) { trace("NaN error!!! 9"); } break; case "set_rocket_speed" : rocket_speed = Number(_local2.attributes.val); if (isNaN(rocket_speed)) { trace("NaN error!!! 8"); } break; case "set_rocket_firerate" : rocket_firerate = Number(_local2.attributes.val); if (isNaN(rocket_firerate)) { trace("NaN error!!! 8"); } break; case "set_rocket_damage" : rocket_damage = Number(_local2.attributes.val); if (isNaN(rocket_damage)) { trace("NaN error!!! 9"); } break; case "set_enemies_shot_speed" : enemies_shot_speed = Number(_local2.attributes.val); if (isNaN(enemies_shot_speed)) { trace("NaN error!!! 911"); } break; case "set_mass" : mass = Number(_local2.attributes.val); if (isNaN(mass)) { trace("NaN error!!! 10"); } break; case "set_damage_taken_when_collision" : damage_taken_when_collision = Number(_local2.attributes.val); if (isNaN(damage_taken_when_collision)) { trace("NaN error!!! 11"); } break; case "set_damage_deal_when_collision" : damage_deal_when_collision = Number(_local2.attributes.val); if (isNaN(damage_deal_when_collision)) { trace("NaN error!!! 12"); } break; case "set_ghost_time" : ghost_time = Number(_local2.attributes.val); if (isNaN(ghost_time)) { trace("NaN error!!! 13"); } break; case "ncar_params" : clearArray(ncarsArray); _local3 = _local2.firstChild; while (_local3 != null) { _local1 = parseString(_local3.attributes.val); carParams = new CCarParams(String(_local1[0]).toLowerCase(), Number(_local1[1]), Number(_local1[2]), Number(_local1[3]), Number(_local1[4]), Number(_local1[5])); ncarsArray.push(carParams); _local3 = _local3.nextSibling; } break; case "ecar_params" : clearArray(ecarsArray); _local3 = _local2.firstChild; while (_local3 != null) { _local1 = parseString(_local3.attributes.val); carParams = new CCarParams(String(_local1[0]).toLowerCase(), Number(_local1[1]), Number(_local1[2]), Number(_local1[3]), Number(_local1[4]), Number(_local1[5])); ecarsArray.push(carParams); _local3 = _local3.nextSibling; } break; case "bcar_params" : clearArray(bcarsArray); _local3 = _local2.firstChild; while (_local3 != null) { _local1 = parseString(_local3.attributes.val); bossCarParams = new CBossCarParams(String(_local1[0]).toLowerCase(), Number(_local1[1]), Number(_local1[2]), Number(_local1[3]), Number(_local1[4]), Number(_local1[5]), Number(_local1[6]), Number(_local1[7])); bcarsArray.push(bossCarParams); _local3 = _local3.nextSibling; } break; case "levels" : parseLevels(_local2); break; default : trace(" error in CGameParams::loadFormXML; nodeName==" + _local2.nodeName); } _local2 = _local2.nextSibling; } setBonusCarParams(); } static function parseLevels(allLevelsNode) { var levelNode; var _local2; var _local1; var levelParams; var enemyIcon; var iconX; var iconY; var carWeapon1; var carWeapon2; var carWeapon3; var enableCarArray; var stripeSpeedArray; var timeToAddCarArray; var enableBonusArray; var timeToAddBonus; var numFight; var fightArray; var bossLevel; var bossDamage = 0; var bossStartFireRate = 0; var bossEndFireRate = 0; var bossStartSpeed = 0; var bossEndSpeed = 0; var bossShotSpeed = 0; var bossHP = 0; var bossScore = 0; var _local3; var tempStr; clearArray(levelsArray); levelNode = allLevelsNode.firstChild; while (levelNode != null) { enableCarArray = new Array(); stripeSpeedArray = [100, 100, 100, 100]; timeToAddCarArray = [0, 0, 0, 0]; enableBonusArray = new Array(); fightArray = new Array(); bossLevel = false; _local2 = levelNode.firstChild; while (_local2 != null) { tempStr = _local2.nodeName.toLowerCase(); switch (tempStr) { case "enemy_icon" : _local1 = parseString(_local2.attributes.val); enemyIcon = String(_local1[0]).toLowerCase(); iconX = Number(_local1[1]); iconY = Number(_local1[2]); break; case "set_car_weapon" : _local1 = parseString(_local2.attributes.val); _local3 = Number(_local1[0]); if (_local3 == 0) { carWeapon1 = Number(_local1[1]); } else if (_local3 == 1) { carWeapon2 = Number(_local1[1]); } else if (_local3 == 2) { carWeapon3 = Number(_local1[1]); } break; case "enable_car" : _local1 = parseString(_local2.attributes.val); enableCarArray.push({stripeNum:Number(_local1[0]), carName:String(_local1[1]).toLowerCase()}); break; case "line_speed" : _local1 = parseString(_local2.attributes.val); stripeSpeedArray[Number(_local1[0])] = Number(_local1[1]); break; case "time_to_add_civil_car" : _local1 = parseString(_local2.attributes.val); timeToAddCarArray[Number(_local1[0])] = Number(_local1[1]); break; case "enable_bonus" : _local3 = Number(_local2.attributes.val); enableBonusArray.push(_local3); if (isNaN(_local3)) { trace("NaN error!!! 14"); } break; case "time_to_add_bonus" : timeToAddBonus = Number(_local2.attributes.val); if (isNaN(timeToAddBonus)) { trace("NaN error!!! 15"); } break; case "num_fight" : numFight = Number(_local2.attributes.val); if (isNaN(numFight)) { trace("NaN error!!! 16"); } break; case "fight" : _local1 = parseString(_local2.attributes.val); fightArray.push({bossNum:Number(_local1[0]), bossName:String(_local1[1]).toLowerCase(), hasTraffic:Number(_local1[2]) != 0, timeToAdd:_local1[3]}); break; case "boss" : bossLevel = true; break; case "boss_damage" : bossDamage = Number(_local2.attributes.val); if (isNaN(bossDamage)) { trace("NaN error!!! 16"); } break; case "boss_start_fire_rate" : bossStartFireRate = Number(_local2.attributes.val); if (isNaN(bossStartFireRate)) { trace("NaN error!!! 16"); } break; case "boss_end_fire_rate" : bossEndFireRate = Number(_local2.attributes.val); if (isNaN(bossEndFireRate)) { trace("NaN error!!! 16"); } break; case "boss_start_speed" : bossStartSpeed = Number(_local2.attributes.val); if (isNaN(bossStartSpeed)) { trace("NaN error!!! 16"); } break; case "boss_end_speed" : bossEndSpeed = Number(_local2.attributes.val); if (isNaN(bossEndSpeed)) { trace("NaN error!!! 16"); } break; case "boss_shot_speed" : bossShotSpeed = Number(_local2.attributes.val); if (isNaN(bossShotSpeed)) { trace("NaN error!!! 16"); } break; case "boss_hp" : bossHP = Number(_local2.attributes.val); if (isNaN(bossHP)) { trace("NaN error!!! 16"); } break; case "boss_score" : bossScore = Number(_local2.attributes.val); if (isNaN(bossScore)) { trace("NaN error!!! 16"); } break; default : trace("error in CGameParams::parseLevels()"); } _local2 = _local2.nextSibling; } levelParams = new CLevelParams(enemyIcon, iconX, iconY, carWeapon1, carWeapon2, carWeapon3, enableCarArray, stripeSpeedArray, timeToAddCarArray, enableBonusArray, timeToAddBonus, numFight, fightArray, bossLevel, bossDamage, bossStartFireRate, bossEndFireRate, bossStartSpeed, bossEndSpeed, bossShotSpeed, bossHP, bossScore); levelsArray.push(levelParams); levelNode = levelNode.nextSibling; } } static function parseString(str) { var _local3 = str; var resultArray; var _local2; var _local1; resultArray = new Array(); _local1 = 0; while (_local2 = getFirstWordIndex(_local3, _local1) , _local2 >= 0) { _local1 = getIndexAfterWord(_local3, _local2); resultArray.push(_local3.substring(_local2, _local1)); } return(resultArray); } static function getFirstWordIndex(str, startIndex) { var _local3 = str; var _local1; var _local2; _local2 = _local3.length; _local1 = startIndex; while ((_local1 < _local2) && (_local3.charCodeAt(_local1) < 33)) { _local1++; } if (_local1 >= _local2) { return(-1); } return(_local1); } static function getIndexAfterWord(str, startIndex) { var _local3 = str; var _local1; var _local2; _local2 = _local3.length; _local1 = startIndex; while ((_local1 < _local2) && (_local3.charCodeAt(_local1) > 32)) { _local1++; } return(_local1); } static function clearArray(arr) { var _local1 = arr; while (_local1.pop() != undefined) { } } static function getLevelParams(level) { return(levelsArray[level - 1]); } static function setBonusCarParams() { var _local1; var _local3; var _local2; _local3 = ncarsArray.length; _local1 = 0; while (_local1 < _local3) { _local2 = ncarsArray[_local1]; if (_local2.carName == "bonus") { bonusCarParams = _local2; return; } _local1++; } } static function getCarParamsFromName(carName) { var _local1; var _local3; var _local2; _local3 = ncarsArray.length; _local1 = 0; while (_local1 < _local3) { _local2 = ncarsArray[_local1]; if (carName == _local2.carName) { return(_local2); } _local1++; } _local3 = ecarsArray.length; _local1 = 0; while (_local1 < _local3) { _local2 = ecarsArray[_local1]; if (carName == _local2.carName) { return(_local2); } _local1++; } trace("ERROR in CGameParams::getCarParamsFromName()"); return(null); } static function getBossParamsFromName(bossName) { var _local3 = bossName; var _local1; var n; var _local2; _local3 = _local3.toLowerCase(); n = bcarsArray.length; _local1 = 0; while (_local1 < n) { _local2 = bcarsArray[_local1]; if (_local3 == _local2.carName) { return(_local2); } _local1++; } trace("ERROR in CGameParams::getBossParamsFromName()"); return(null); } static var start_level = 1; static var max_scroll_speed = 270; static var min_scroll_speed = 100; static var max_screen_speed = 100; static var min_screen_speed = 15; static var car_speed_x = 130; static var car_speed_y = 95; static var min_player_speed_y = 360; static var max_player_speed_y = 190; static var car_shield_cells_count = 4; static var car_shield_hp_per_cell = 10; static var car_regenerate_time = 4; static var over_road_damage = 8; static var weapon_speed = 300; static var weapon_firerate = 0.4; static var weapon_damage = 10; static var rocket_speed = 150; static var rocket_firerate = 1; static var rocket_damage = 60; static var enemies_shot_speed = 200; static var mass = 5; static var damage_taken_when_collision = 1; static var damage_deal_when_collision = 3; static var ghost_time = 15; static var bonusCarParams = new CCarParams("bonus", 8, 35, 0, 0, 300); static var ncarsArray = [new CCarParams("yellow_car", 3, 30, 0, 0, 0, 0), new CCarParams("truck1", 8, 70, 0, 0, 0, 0), new CCarParams("truck2", 10, 90, 0, 0, 0, 0), new CCarParams("ranger", 6, 40, 0, 0, 0, 0), new CCarParams("police", 3, 30, 0, 0, 0, 0), new CCarParams("volvo", 30, 0, 0, 0, 0), new CCarParams("green_car", 30, 0, 0, 0, 0)]; static var ecarsArray = [new CCarParams("blackfire_car2", 4, 40, 0.2, 1, 500), new CCarParams("hammer2", 6, 60, 0.3, 2, 750), new CCarParams("blackfire_car", 4, 40, 1, 3, 500), new CCarParams("hammer", 6, 60, 1.5, 4, 750), new CCarParams("hammer_enemy", 6, 60, 1.5, 5, 750), new CCarParams("hammer_enemy_fast", 6, 60, 0.5, 2, 750), new CCarParams("volvo_enemy", 4, 30, 0.3, 1, 500), new CCarParams("volvo_enemy_fast", 4, 30, 0.5, 2, 500), new CCarParams("ranger_enemy", 6, 50, 0.2, 1, 750), new CCarParams("green_car_enemy", 4, 30, 1, 4, 500), new CCarParams("police_enemy", 3, 30, 0.1, 0.3, 750), new CCarParams("yellow_car_enemy", 3, 30, 1, 4, 50)]; static var bcarsArray = [new CBossCarParams("EvilHummer001".toLowerCase(), 200, 0.4, 4, -70, 450, 100, 2500), new CBossCarParams("EvilVolvo101".toLowerCase(), 100, 0.5, 5, 20, 450, 200, 2500), new CBossCarParams("EvilHero201".toLowerCase(), 200, 1, 15, -100, 420, 100, 2500), new CBossCarParams("EvilHummer301".toLowerCase(), 200, 0.4, 4, -70, 450, 100, 2500), new CBossCarParams("EvilVolvo301".toLowerCase(), 250, 0.5, 10, 20, 450, 200, 2500), new CBossCarParams("EvilHero301".toLowerCase(), 200, 1, 15, -100, 450, 100, 2500), new CBossCarParams("EvilHummer501".toLowerCase(), 250, 0.3, 5, -70, 450, 100, 2500), new CBossCarParams("EvilVolvo601".toLowerCase(), 150, 0.6, 12, 20, 450, 200, 2500), new CBossCarParams("EvilHummer701".toLowerCase(), 250, 0.3, 7, -70, 450, 100, 2500), new CBossCarParams("EvilHero801".toLowerCase(), 250, 1, 25, -100, 450, 100, 2500), new CBossCarParams("EvilHero1001".toLowerCase(), 300, 1, 25, -100, 450, 100, 2500), new CBossCarParams("EvilHummer1101".toLowerCase(), 300, 0.3, 10, -70, 450, 100, 2500), new CBossCarParams("EvilVolvo1201".toLowerCase(), 200, 0.6, 15, 20, 450, 200, 2500), new CBossCarParams("EvilHero1301".toLowerCase(), 350, 1, 30, -50, 450, 100, 2500), new CBossCarParams("EvilHero1302".toLowerCase(), 350, 1, 30, 50, 450, 100, 2500)]; static var levelsArray = [new CLevelParams("EnemyIcon1", 0, 0, 1, 0, 0, [{stripeNum:0, carName:"yellow_car"}, {stripeNum:0, carName:"yellow_car"}, {stripeNum:0, carName:"truck1"}, {stripeNum:0, carName:"truck2"}, {stripeNum:0, carName:"ranger"}, {stripeNum:0, carName:"police"}, {stripeNum:0, carName:"volvo"}, {stripeNum:0, carName:"green_car"}, {stripeNum:1, carName:"hammer"}, {stripeNum:2, carName:"yellow_car"}, {stripeNum:2, carName:"truck1"}, {stripeNum:2, carName:"truck2"}, {stripeNum:2, carName:"truck1"}, {stripeNum:2, carName:"truck2"}, {stripeNum:2, carName:"ranger"}, {stripeNum:2, carName:"volvo"}, {stripeNum:2, carName:"green_car"}, {stripeNum:3, carName:"truck1"}, {stripeNum:3, carName:"truck2"}, {stripeNum:3, carName:"ranger"}], [210, 150, 195, 170], [15, 20, 7, 10], [0, 0, 0, 1, 2], 25, 1, [{bossNum:0, bossName:"EvilHummer001", hasTraffic:false, timeToAdd:30}], false, 0, 0, 0, 0, 0, 0, 0, 0), new CLevelParams("EnemyIcon2", 0, 0, 1, 0, 0, [{stripeNum:0, carName:"hammer_enemy"}, {stripeNum:0, carName:"volvo_enemy"}, {stripeNum:1, carName:"police"}, {stripeNum:2, carName:"hammer_enemy"}, {stripeNum:2, carName:"volvo_enemy"}, {stripeNum:3, carName:"police"}], [160, 400, 205, 300], [6, 25, 10, 20], [0, 0, 0, 1, 2, 7, 7, 7, 7], 12, 1, [{bossNum:0, bossName:"EvilVolvo101", hasTraffic:false, timeToAdd:60}], false, 0, 0, 0, 0, 0, 0, 0, 0), new CLevelParams("EnemyIcon3", 0, 0, 1, 0, 0, [{stripeNum:0, carName:"truck2"}, {stripeNum:0, carName:"hammer_enemy_fast"}, {stripeNum:0, carName:"yellow_car"}, {stripeNum:0, carName:"yellow_car_enemy"}, {stripeNum:1, carName:"police"}, {stripeNum:1, carName:"ranger"}, {stripeNum:1, carName:"green_car_enemy"}, {stripeNum:2, carName:"truck1"}, {stripeNum:2, carName:"yellow_car_enemy"}, {stripeNum:2, carName:"volvo_enemy"}, {stripeNum:2, carName:"green_car_enemy"}, {stripeNum:3, carName:"police"}], [160, 185, 205, 230], [6, 25, 7, 10], [0, 0, 0, 0, 1, 2, 3, 3, 3, 3, 7], 12, 2, [{bossNum:0, bossName:"EvilHero201", hasTraffic:false, timeToAdd:60}, {bossNum:1, bossName:"EvilHero201", hasTraffic:false, timeToAdd:60}], false, 0, 0, 0, 0, 0, 0, 0, 0), new CLevelParams("EnemyIcon2", 0, 0, 1, 0, 0, [{stripeNum:0, carName:"yellow_car"}, {stripeNum:0, carName:"yellow_car"}, {stripeNum:0, carName:"truck2"}, {stripeNum:0, carName:"ranger"}, {stripeNum:0, carName:"volvo"}, {stripeNum:0, carName:"green_car"}, {stripeNum:1, carName:"police"}, {stripeNum:2, carName:"yellow_car"}, {stripeNum:2, carName:"truck1"}, {stripeNum:2, carName:"hammer"}, {stripeNum:2, carName:"ranger"}, {stripeNum:2, carName:"volvo"}, {stripeNum:3, carName:"yellow_car"}, {stripeNum:3, carName:"blackfire_car"}], [180, 300, 165, 200], [10, 30, 7, 15], [0, 1, 1, 1, 2, 6, 7, 7, 7, 7, 7], 7, 5, [{bossNum:0, bossName:"EvilHummer301", hasTraffic:true, timeToAdd:10}, {bossNum:1, bossName:"EvilVolvo301", hasTraffic:true, timeToAdd:1}, {bossNum:2, bossName:"EvilHummer301", hasTraffic:true, timeToAdd:10}, {bossNum:3, bossName:"EvilHummer301", hasTraffic:true, timeToAdd:5}, {bossNum:4, bossName:"EvilVolvo301", hasTraffic:true, timeToAdd:1}], false, 0, 0, 0, 0, 0, 0, 0, 0), new CLevelParams("EnemyIcon15", 0, 0, 2, 2, 2, [], [], [], [], 0, 0, [], true, 10, 1, 0.3, 100, 200, 250, 400, 5000), new CLevelParams("EnemyIcon4", 0, 0, 1, 0, 0, [], [150, 300, 100, 300], [10, 30, 7, 30], [0, 0, 0, 0, 0, 0, 1, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 6, 7, 7], 2, 2, [{bossNum:0, bossName:"EvilHero1001", hasTraffic:true, timeToAdd:40}, {bossNum:1, bossName:"EvilHero1001", hasTraffic:true, timeToAdd:30}], false, 0, 0, 0, 0, 0, 0, 0, 0), new CLevelParams("EnemyIcon2", 0, 0, 1, 0, 0, [{stripeNum:0, carName:"blackfire_car"}, {stripeNum:0, carName:"hammer"}, {stripeNum:0, carName:"hammer2"}, {stripeNum:0, carName:"police"}, {stripeNum:1, carName:"truck1"}, {stripeNum:1, carName:"truck2"}, {stripeNum:2, carName:"blackfire_car"}, {stripeNum:2, carName:"hammer"}, {stripeNum:2, carName:"police"}, {stripeNum:2, carName:"hammer2"}], [200, 50, 150, 100], [3, 1, 2, 5], [0, 1, 3, 6, 7], 6, 3, [{bossNum:0, bossName:"EvilVolvo601", hasTraffic:false, timeToAdd:100}, {bossNum:1, bossName:"EvilVolvo601", hasTraffic:false, timeToAdd:100}, {bossNum:2, bossName:"EvilVolvo601", hasTraffic:false, timeToAdd:100}], false, 0, 0, 0, 0, 0, 0, 0, 0), new CLevelParams("EnemyIcon1", 0, 0, 0, 0, 0, [{stripeNum:0, carName:"hammer_enemy"}, {stripeNum:0, carName:"volvo_enemy"}, {stripeNum:0, carName:"police_enemy"}, {stripeNum:0, carName:"police_enemy"}, {stripeNum:0, carName:"yellow_car_enemy"}, {stripeNum:1, carName:"ranger_enemy"}, {stripeNum:2, carName:"hammer_enemy_fast"}, {stripeNum:2, carName:"police_enemy"}, {stripeNum:2, carName:"green_car_enemy"}, {stripeNum:3, carName:"volvo_enemy_fast"}, {stripeNum:3, carName:"yellow_car_enemy"}], [250, 350, 150, 300], [9, 20, 7, 10], [0, 1, 2, 3, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7], 10, 3, [{bossNum:0, bossName:"EvilHummer701", hasTraffic:false, timeToAdd:180}, {bossNum:1, bossName:"EvilHummer701", hasTraffic:false, timeToAdd:30}, {bossNum:2, bossName:"EvilHummer701", hasTraffic:false, timeToAdd:30}], false, 0, 0, 0, 0, 0, 0, 0, 0), new CLevelParams("EnemyIcon3", 0, 0, 2, 0, 0, [{stripeNum:0, carName:"hammer_enemy"}, {stripeNum:0, carName:"hammer_enemy"}, {stripeNum:1, carName:"truck1"}, {stripeNum:1, carName:"truck2"}, {stripeNum:2, carName:"hammer_enemy"}, {stripeNum:3, carName:"police"}, {stripeNum:3, carName:"ranger"}], [295, 150, 295, 200], [4, 7, 4, 5], [0, 1, 2, 3, 6, 7, 7, 7, 7, 7], 12, 2, [{bossNum:0, bossName:"EvilHero801", hasTraffic:false, timeToAdd:120}, {bossNum:1, bossName:"EvilHero801", hasTraffic:false, timeToAdd:60}], false, 0, 0, 0, 0, 0, 0, 0, 0), new CLevelParams("EnemyIcon15", 0, 0, 1, 0, 2, [], [], [], [], 0, 0, [], true, 10, 1, 0.3, 100, 200, 250, 600, 5000)]; }
Symbol 320 MovieClip [__Packages.CEnemyCarGeneratorControl] Frame 0
class CEnemyCarGeneratorControl { static var txt_left; var state; function CEnemyCarGeneratorControl () { } function missionIsEnded() { return(state == ST_END_MISSION); } function init(levelParams_, objectGenerator_, mc_root_, mc_ind_) { var _local1 = this; _local1.levelParams = levelParams_; _local1.objectGenerator = objectGenerator_; _local1.mc_root = mc_root_; _local1.mc_ind = mc_ind_; _local1.mc_ind._visible = false; _local1.curBoss = null; _local1.createAndFillECGeneratorsArray(_local1.levelParams); _local1.timeToAddBonus = _local1.levelParams.timeToAddBonus * FPS; _local1.addBonusFrames = _local1.timeToAddBonus; _local1.nextBonusIdx = 0; _local1.curBonusArray = _local1.levelParams.enableBonusArray; _local1.curBonusArray.sort(_local1.randomSortFunc); _local1.nextBossNum = -1; _local1.calcParamsForNextBoss(); } function process(backSpeed) { var _local1 = this; if ((_local1.state == ST_DRIVE) || (_local1.state == ST_BOSS_WITH_TRAFFIC)) { _local1.generateEnemies(backSpeed); _local1.generateBonuses(); } if (_local1.state == ST_DRIVE) { _local1.framesToAddNextBoss--; if (_local1.framesToAddNextBoss <= 0) { if (_local1.bossHasTraffic) { _local1.addNextBoss(); _local1.state = ST_BOSS_WITH_TRAFFIC; } else { _local1.curWaitNoTrafficFrames = MAX_WAIT_NO_TRAFFIC_FRAMES; _local1.state = ST_WAIT_NO_TRAFFIC; } } } if (_local1.state == ST_WAIT_NO_TRAFFIC) { _local1.curWaitNoTrafficFrames--; if (_local1.isNoTraffic() || (_local1.curWaitNoTrafficFrames <= 0)) { _local1.addNextBoss(); _local1.state = ST_BOSS_NO_TRAFFIC; } } if ((_local1.state == ST_BOSS_WITH_TRAFFIC) || (_local1.state == ST_BOSS_NO_TRAFFIC)) { if (_local1.curBoss != null) { _local1.mc_ind.setPerc(_local1.curBoss.getHPPerc()); } else { _local1.mc_ind.setPerc(0); } } } function bossDead() { var _local1 = this; _local1.calcParamsForNextBoss(); txt_left.text = (String(_local1.levelParams.numFight - _local1.nextBossNum) + "/") + String(_local1.levelParams.numFight); _local1.mc_ind._visible = false; _local1.curBoss = null; } function isNoTraffic() { var _local2 = this; var _local1; _local1 = 0; while (_local1 < LINES_COUNT) { if (!_local2.enemyGeneratorsArray[_local1].isNoTraffic()) { return(false); } _local1++; } return(true); } function addNextBoss() { var _local1 = this; CSoundControl.playSound(CSoundControl.snd_boss_come); _local1.curBoss = _local1.objectGenerator.addBossCar(_local1, _local1.nextBossParams); _local1.mc_ind._visible = true; _local1.mc_ind.setPerc(1); } function calcParamsForNextBoss() { var _local1 = this; var _local2; _local1.nextBossNum++; if (_local1.nextBossNum >= _local1.levelParams.fightArray.length) { _local1.state = ST_END_MISSION; } else { _local2 = _local1.levelParams.fightArray[_local1.nextBossNum]; _local1.nextBossParams = CGameParams.getBossParamsFromName(_local2.bossName); _local1.bossHasTraffic = _local2.hasTraffic; _local1.framesToAddNextBoss = _local2.timeToAdd * FPS; _local1.state = ST_DRIVE; } } function createAndFillECGeneratorsArray(levelParams) { var _local2 = this; var _local3 = levelParams; var _local1; _local2.enemyGeneratorsArray = new Array(); _local1 = 0; while (_local1 < LINES_COUNT) { _local2.enemyGeneratorsArray.push(new CEnemyCarGenerator()); _local2.enemyGeneratorsArray[_local1].init(_local2.objectGenerator, _local2.mc_root["mc_line" + (_local1 + 1)]._x, _local3.stripeSpeedArray[_local1] / FPS, _local3.timeToAddCarArray[_local1] * FPS); _local1++; } var n; var lineNum; var generator; var carParams; n = _local3.enableCarArray.length; _local1 = 0; while (_local1 < n) { lineNum = _local3.enableCarArray[_local1].stripeNum; generator = _local2.enemyGeneratorsArray[lineNum]; carParams = CGameParams.getCarParamsFromName(_local3.enableCarArray[_local1].carName); generator.addCarToGenerateList(carParams); _local1++; } } function generateBonuses() { var _local1 = this; if (_local1.timeToAddBonus > 0) { if (_local1.addBonusFrames <= 0) { if (_local1.tryAddBonus()) { _local1.addBonusFrames = _local1.timeToAddBonus; } } else { _local1.addBonusFrames--; } } } function tryAddBonus() { var _local1 = this; var _local3; var _local2; var dir; _local2 = random(LINES_COUNT); dir = random(2); _local3 = 0; while (_local3 < LINES_COUNT) { if (!_local1.enemyGeneratorsArray[_local2].hasBonus()) { _local1.enemyGeneratorsArray[_local2].setBonus(_local1.curBonusArray[_local1.nextBonusIdx]); _local1.nextBonusIdx++; if (_local1.nextBonusIdx >= _local1.curBonusArray.length) { _local1.nextBonusIdx = 0; _local1.curBonusArray.sort(_local1.randomSortFunc); } return(true); } if (dir == 1) { _local2++; if (_local2 >= LINES_COUNT) { _local2 = 0; } } else { _local2--; if (_local2 < 0) { _local2 = LINES_COUNT - 1; } } _local3++; } return(false); } function generateEnemies(backSpeed) { var _local2 = backSpeed; var _local3 = this; var _local1; _local1 = 0; while (_local1 < LINES_COUNT) { _local3.enemyGeneratorsArray[_local1].process(_local2); _local1++; } } static var LINES_COUNT = CGame.LINES_COUNT; static var FPS = CGame.FPS; static var ST_DRIVE = 1; static var ST_WAIT_NO_TRAFFIC = 2; static var ST_BOSS_WITH_TRAFFIC = 3; static var ST_BOSS_NO_TRAFFIC = 4; static var ST_END_MISSION = 5; static var MAX_WAIT_NO_TRAFFIC_FRAMES = 15 * FPS; function randomSortFunc(a, b) { var _local1; _local1 = Math.random(); if (_local1 < 0.33) { return(1); } if (_local1 < 0.66) { return(-1); } return(0); } }
Symbol 321 MovieClip [__Packages.CEnemyBoss] Frame 0
class CEnemyBoss extends MovieClip { static var shotSpeed; var startHP, hp, mc_hit, gotoAndStop, state, enemyCarGeneratorControl, removeMovieClip; function CEnemyBoss () { super(); } function init(objectGenerator_, objPlayer_, enemyCarGeneratorControl_, hp_, fireRate_, damage_, yOffset_, maxV_, acc_, score_) { var _local1 = this; _local1.objectGenerator = objectGenerator_; _local1.objPlayer = objPlayer_; _local1.enemyCarGeneratorControl = enemyCarGeneratorControl_; _local1.hp = hp_; _local1.fireRate = fireRate_; _local1.damage = damage_; _local1.yOffset = yOffset_; _local1.maxV = maxV_; _local1.acc = acc_; _local1.score = score_; _local1.startHP = _local1.hp; _local1.shotFrames = _local1.fireRate; _local1.curSpeed = _local1.maxV / 2; _local1.curAccDir = 1; _local1._x = _local1.lineX; _local1._y = SCREEN_HEIGHT + (_local1._height / 2); _local1.mass = CGameParams.mass; _local1.state = ST_DRIVE; } function getHPPerc() { return(hp / startHP); } function doDamage(damage) { var _local1 = this; _local1.hp = _local1.hp - damage; if (_local1.hp <= 0) { _local1.toDie(); return(true); } return(false); } function isAvailableForHit() { return(true); } function isHit(globalX, globalY) { return(mc_hit.hitTest(globalX, globalY, true)); } function toDie() { var _local1 = this; CGame.addScore(_local1.score); if (_local1.score > 0) { CGame.enemiesKilled++; } _local1.objectGenerator.addBoom(_local1._x, _local1._y, 100); _local1.disable(); } function isBigBoss() { return(false); } function setLabel(carLabel) { gotoAndStop(carLabel); } function process(backSpeed) { var _local1 = this; if (_local1.fireRate > 0) { _local1.shotFrames--; if (_local1.shotFrames <= 0) { _local1.shotFrames = _local1.fireRate; _local1.doShot(); } } _local1._y = _local1._y - (_local1.curSpeed - backSpeed); _local1.followToPlayer(backSpeed); if (_local1.state == ST_WRECK) { _local1._x = _local1._x + (_local1.wreckDir * wreckSpeed); if (_local1.wreckRotateDir == 1) { if (_local1._rotation < WRECK_ROTATION) { _local1._rotation = _local1._rotation + WRECK_ROTATE_SPEED_RES; } } else if (_local1._rotation > (-WRECK_ROTATION)) { _local1._rotation = _local1._rotation - WRECK_ROTATE_SPEED_RES; } _local1.wreckFrames--; if (_local1.wreckFrames <= 0) { _local1.endWreck(); } } else if (_local1.state == ST_RESTORE_POS) { if (_local1._x > _local1.lineX) { _local1._x = _local1._x - wreckSpeed; if (_local1._rotation > (-WRECK_ROTATION)) { _local1._rotation = _local1._rotation - WRECK_ROTATE_SPEED; } if (_local1._x <= _local1.lineX) { _local1.endRestorePos(); } } else { _local1._x = _local1._x + wreckSpeed; if (_local1._rotation < WRECK_ROTATION) { _local1._rotation = _local1._rotation + WRECK_ROTATE_SPEED; } if (_local1._x >= _local1.lineX) { _local1.endRestorePos(); } } } } function followToPlayer(backSpeed) { var _local1 = this; var _local2; _local2 = _local1.objPlayer._y + _local1.yOffset; if (_local1.curAccDir == 0) { if (Math.abs(_local1._y - _local2) > 0.1) { if (_local1._y > _local2) { _local1.curAccDir = 1; } else { _local1.curAccDir = -1; } } } else if (_local1.curAccDir == -1) { if (_local1._y >= _local2) { _local1._y = _local2; _local1.curSpeed = backSpeed; _local1.curAccDir = 0; } } else if (_local1.curAccDir == 1) { if (_local1._y < _local2) { _local1.curAccDir = -1; } } if (Math.abs(_local1._y - _local1.objPlayer._y) > TO_SPEED_R) { _local1.curSpeed = _local1.curSpeed + (_local1.acc * _local1.curAccDir); } else { _local1.curSpeed = _local1.curSpeed + (((_local1.acc * _local1.curAccDir) * Math.abs(_local1._y - _local1.objPlayer._y)) / TO_SPEED_R); } if (_local1.curSpeed > _local1.maxV) { _local1.curSpeed = _local1.maxV; } if (_local1.curSpeed < 0) { _local1.curSpeed = 0; } } function doShot() { var _local1 = this; var _local2; if (_local1.objPlayer._y > _local1._y) { _local2 = 1; } else { _local2 = -1; } _local1.objectGenerator.addEnemyShot(_local1._x, _local1._y, 0, _local2, shotSpeed, _local1.damage); } function toWreck(wDir) { var _local1 = this; var _local2 = wDir; if (_local1.wreckFrames <= 0) { _local1.wreckFrames = WRECK_MAX_FRAMES; } _local1.wreckDir = ((_local2.x > 0) ? 1 : -1); if ((_local2.x * _local2.y) < 0) { _local1.wreckRotateDir = -1; } else { _local1.wreckRotateDir = 1; } _local1.state = ST_WRECK; return(false); } function endWreck() { state = ST_RESTORE_POS; } function endRestorePos() { var _local1 = this; _local1._x = _local1.lineX; _local1._rotation = 0; _local1.state = ST_DRIVE; } function disable() { enemyCarGeneratorControl.bossDead(); removeMovieClip(); } static var SCREEN_HEIGHT = CGame.SCREEN_HEIGHT; static var TO_SPEED_R = 75; var lineX = CGame.ROAD_X_CENTER; static var ST_DRIVE = 1; static var ST_WRECK = 2; static var ST_RESTORE_POS = 3; static var WRECK_ROTATION = 20; static var WRECK_MAX_FRAMES = CGame.FPS / 6; static var wreckSpeed = 3; static var WRECK_ROTATE_SPEED = 4; static var WRECK_ROTATE_SPEED_RES = 2; }
Symbol 322 MovieClip [__Packages.CIndicator] Frame 0
class CIndicator extends MovieClip { var startX, mc_mask; function CIndicator () { super(); startX = mc_mask._x; } function setPerc(perc) { var _local1 = this; _local1.mc_mask._x = (_local1.startX - _local1.mc_mask._width) + (_local1.mc_mask._width * perc); } }
Symbol 323 MovieClip [__Packages.CEnemyBigBoss] Frame 0
class CEnemyBigBoss extends MovieClip { var state, mc_hit; function CEnemyBigBoss () { super(); } function init(objectGenerator_, damage_, startFireRate_, endFireRate_, startSpeed_, endSpeed_, shotSpeed_, hp_, score_, mc_ind_) { var _local1 = this; _local1.objectGenerator = objectGenerator_; _local1.damage = damage_; _local1.startFireRate = startFireRate_; _local1.endFireRate = endFireRate_; _local1.startSpeed = startSpeed_; _local1.endSpeed = endSpeed_; _local1.shotSpeed = shotSpeed_; _local1.hp = hp_; _local1.score = score_; _local1.mc_ind = mc_ind_; _local1.mc_ind.setPerc(1); _local1.mc_ind._visible = true; _local1.startHP = _local1.hp; _local1.curFireRate = _local1.startFireRate; _local1.curSpeed = _local1.startSpeed; _local1.shotFrames = _local1.curFireRate; _local1.myWidth = _local1._width; _local1.myHeight = _local1._height; _local1.dir = new CVector2D(0, -1); _local1.gunArray = new Array(); _local1.gunArray.push(_local1.mc_gun1); _local1.gunArray.push(_local1.mc_gun2); _local1.gunArray.push(_local1.mc_gun3); _local1.gunArray.push(_local1.mc_gun4); _local1.gunArray.push(_local1.mc_gun5); _local1.gunArray.push(_local1.mc_gun6); _local1.state = ST_DRIVE; } function isAvailableForHit() { return(state != ST_DIE); } function isHit(globalX, globalY) { return(mc_hit.hitTest(globalX, globalY, true)); } function doDamage(damage) { var _local1 = this; _local1.hp = _local1.hp - damage; if (_local1.hp <= 0) { _local1.hp = 0; _local1.mc_ind.setPerc(0); _local1.toDie(); } _local1.mc_ind.setPerc(_local1.hp / _local1.startHP); _local1.curFireRate = _local1.endFireRate - (((_local1.endFireRate - _local1.startFireRate) * _local1.hp) / _local1.startHP); _local1.curSpeed = _local1.endSpeed - (((_local1.endSpeed - _local1.startSpeed) * _local1.hp) / _local1.startHP); return(_local1.hp == 0); } function toDie() { var _local1 = this; CGame.addScore(_local1.score); if (_local1.score > 0) { CGame.enemiesKilled++; } _local1.state = ST_DIE; _local1.gotoAndStop("die"); } function isBigBoss() { return(true); } function process(backSpeed) { var _local1 = this; if ((_local1.state == ST_DIE) || (_local1.state == ST_STOP)) { } else { _local1.shotFrames--; if (_local1.shotFrames <= 0) { _local1.shotFrames = _local1.curFireRate; _local1.doShot(); } _local1._x = _local1._x + (_local1.dir.x * _local1.curSpeed); _local1._y = _local1._y + (_local1.dir.y * _local1.curSpeed); if (_local1.dir.y == -1) { if (_local1._y < (_local1.myHeight / 2)) { _local1._y = _local1.myHeight / 2; _local1.dir.reinit(1, 0); } } else if (_local1.dir.y == 1) { if (_local1._y > (SCREEN_HEIGHT - (_local1.myHeight / 2))) { _local1._y = SCREEN_HEIGHT - (_local1.myHeight / 2); _local1.dir.reinit(-1, 0); } } else if (_local1.dir.x == -1) { if (_local1._x < (ROAD_LEFT_X + (_local1.myWidth / 2))) { _local1._x = ROAD_LEFT_X + (_local1.myWidth / 2); _local1.dir.reinit(0, -1); } } else if (_local1.dir.x == 1) { if (_local1._x > (ROAD_RIGHT_X - (_local1.myWidth / 2))) { _local1._x = ROAD_RIGHT_X - (_local1.myWidth / 2); _local1.dir.reinit(0, 1); } } } } function toStop() { state = ST_STOP; } function doShot() { var _local1 = this; var _local3; var n; var _local2; var dx; var dy; var x; var y; n = _local1.gunArray.length; _local3 = 0; while (_local3 < n) { _local2 = _local1.gunArray[_local3]; dx = _local2.getXDir(); dy = _local2.getYDir(); x = _local1._x + _local2._x; y = _local1._y + _local2._y; _local1.objectGenerator.addBossShot(x + (dx * GUN_DR), y + (dy * GUN_DR), dx, dy, _local1.shotSpeed, _local1.damage); _local3++; } } static var SCREEN_HEIGHT = CGame.SCREEN_HEIGHT; static var ROAD_LEFT_X = CGame.ROAD_LEFT_X; static var ROAD_RIGHT_X = CGame.ROAD_RIGHT_X; static var GUN_DR = 10; static var ST_DRIVE = 1; static var ST_DIE = 2; static var ST_STOP = 3; }
Symbol 324 MovieClip [__Packages.CGun] Frame 0
class CGun extends MovieClip { var gotoAndStop, _rotation; function CGun () { super(); gotoAndStop("empty"); } function getXDir() { return(Math.cos((_rotation / 180) * Math.PI)); } function getYDir() { return(Math.sin((_rotation / 180) * Math.PI)); } }
Symbol 325 MovieClip [__Packages.CVBack] Frame 0
class CVBack { var speed, lastRealSpeed; function CVBack () { speed = 0; } function init(mc1_, mc2_, minSpeed_, maxSpeed_) { var _local1 = this; _local1.mc1 = mc1_; _local1.mc2 = mc2_; _local1.minSpeed = minSpeed_; _local1.maxSpeed = maxSpeed_; _local1.process(); } function setSpeedPerc(perc) { var _local1 = this; _local1.speed = _local1.minSpeed + ((_local1.maxSpeed - _local1.minSpeed) * perc); } function process(dTime) { var _local1 = this; _local1.lastRealSpeed = (_local1.speed * dTime) / 1000; _local1.mc1._y = _local1.mc1._y + _local1.lastRealSpeed; if (_local1.mc1._y > _local1.mc1._height) { _local1.mc1._y = 0; } _local1.mc2._y = (_local1.mc1._y - _local1.mc1._height) + 1; } function getLastRealSpeed() { return(lastRealSpeed); } }
Symbol 326 MovieClip [__Packages.CLandscapeGenerator] Frame 0
class CLandscapeGenerator { var gArray; function CLandscapeGenerator () { gArray = new Array(MAX_LANDSCAPE_NUM); } function init(objectGenerator_, gX_) { var _local1 = this; _local1.objectGenerator = objectGenerator_; _local1.gX = gX_; _local1.reinitArray(); _local1.curDistanceToLast = 0; _local1.nextGenDistance = MAX_GEN_DISTANCE * Math.random(); _local1.lastIdx = -1; } function process(backSpeed) { var _local1 = this; var _local2; _local1.curDistanceToLast = _local1.curDistanceToLast + backSpeed; if (_local1.curDistanceToLast >= _local1.nextGenDistance) { _local2 = _local1.objectGenerator.addLandscape(_local1.getNextLandscapeNum()); _local2._y = -_local2._height; _local2._x = _local1.gX; _local1.curDistanceToLast = -_local2._height; _local1.nextGenDistance = MIN_GEN_DISTANCE + ((MAX_GEN_DISTANCE - MIN_GEN_DISTANCE) * Math.random()); } } function getNextLandscapeNum() { var _local2 = this; var _local1; var _local3; _local1 = random(MAX_LANDSCAPE_NUM); _local3 = 0; while (_local3 < MAX_LANDSCAPE_NUM) { if ((_local2.gArray[_local1] > 0) && (_local1 != _local2.lastIdx)) { _local2.lastIdx = _local1; _local2.gArray[_local1]--; return(_local1 + 1); } _local1++; if (_local1 >= MAX_LANDSCAPE_NUM) { _local1 = 0; } _local3++; } _local2.reinitArray(); if (_local1 == _local2.lastIdx) { _local1++; if (_local1 >= MAX_LANDSCAPE_NUM) { _local1 = 0; } _local2.lastIdx = _local1; } _local2.gArray[_local1]--; return(_local1 + 1); } function reinitArray() { var _local2 = this; var _local1; _local1 = 0; while (_local1 < MAX_LANDSCAPE_NUM) { _local2.gArray[_local1] = G_DEPTH; _local1++; } } static var MIN_GEN_DISTANCE = CGame.SCREEN_HEIGHT / 5; static var MAX_GEN_DISTANCE = CGame.SCREEN_HEIGHT / 1.5; static var MAX_LANDSCAPE_NUM = 16; static var G_DEPTH = 2; }
Symbol 22 MovieClip [lib_shot] Frame 1
#initclip 29 Object.registerClass("lib_shot", CShot); #endinitclip
Symbol 58 MovieClip [lib_enemy_car] Frame 1
#initclip 24 Object.registerClass("lib_enemy_car", CEnemyCar); #endinitclip
Instance of Symbol 26 MovieClip "mc_hit" in Symbol 58 MovieClip [lib_enemy_car] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 28 MovieClip "mc_wreck_hit1" in Symbol 58 MovieClip [lib_enemy_car] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 28 MovieClip "mc_wreck_hit2" in Symbol 58 MovieClip [lib_enemy_car] Frame 1
onClipEvent (load) { this._visible = false; }
Symbol 65 MovieClip [lib_boss_car] Frame 1
#initclip 25 Object.registerClass("lib_boss_car", CEnemyBoss); #endinitclip
Instance of Symbol 26 MovieClip "mc_hit" in Symbol 65 MovieClip [lib_boss_car] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 28 MovieClip "mc_wreck_hit1" in Symbol 65 MovieClip [lib_boss_car] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 28 MovieClip "mc_wreck_hit2" in Symbol 65 MovieClip [lib_boss_car] Frame 1
onClipEvent (load) { this._visible = false; }
Symbol 69 MovieClip [mc_gun] Frame 1
#initclip 26 Object.registerClass("mc_gun", CGun); #endinitclip
Symbol 109 MovieClip Frame 45
this.stop();
Symbol 110 MovieClip [lib_big_boss_car] Frame 1
#initclip 27 Object.registerClass("lib_big_boss_car", CEnemyBigBoss); #endinitclip this.stop();
Instance of Symbol 26 MovieClip "mc_hit" in Symbol 110 MovieClip [lib_big_boss_car] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 28 MovieClip "mc_wreck_hit1" in Symbol 110 MovieClip [lib_big_boss_car] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 28 MovieClip "mc_wreck_hit2" in Symbol 110 MovieClip [lib_big_boss_car] Frame 1
onClipEvent (load) { this._visible = false; }
Symbol 113 MovieClip [lib_boom] Frame 23
this.removeMovieClip();
Symbol 117 MovieClip [lib_sparks] Frame 6
this.removeMovieClip();
Symbol 120 MovieClip [lib_smoke] Frame 1
#initclip 28 Object.registerClass("lib_smoke", CSmoke); #endinitclip
Symbol 165 Button
on (release) { how_to_play_pressed(); }
Symbol 170 Button
on (release) { more_pressed(); }
Symbol 175 Button
on (release) { new_game_pressed(); }
Symbol 177 Button
on (press) { this._parent.soundOff(); this.gotoAndStop(2); }
Symbol 179 Button
on (press) { this._parent.soundOn(); this.gotoAndStop(1); }
Symbol 180 MovieClip Frame 1
this.stop();
Symbol 183 MovieClip Frame 1
this.stop();
Symbol 185 MovieClip Frame 1
this.stop();
Symbol 187 MovieClip Frame 1
this.stop();
Symbol 189 MovieClip Frame 1
this.stop();
Symbol 196 Button
on (release) { back_pressed(); }
Symbol 210 MovieClip Frame 79
this._parent.toDrive();
Symbol 211 MovieClip Frame 40
this._parent.toWin();
Symbol 212 MovieClip [mc_player] Frame 1
#initclip 33 Object.registerClass("mc_player", CPlayer); #endinitclip
Instance of Symbol 26 MovieClip "mc_hit" in Symbol 212 MovieClip [mc_player] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 28 MovieClip "mc_wreck_hit1" in Symbol 212 MovieClip [mc_player] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 28 MovieClip "mc_wreck_hit2" in Symbol 212 MovieClip [mc_player] Frame 1
onClipEvent (load) { this._visible = false; }
Symbol 222 MovieClip Frame 1
this.stop();
Symbol 227 MovieClip Frame 1
this.stop();
Symbol 228 MovieClip [mc_shield_ind] Frame 1
#initclip 30 Object.registerClass("mc_shield_ind", CCellIndicator); #endinitclip
Symbol 244 MovieClip [mc_boss_ind] Frame 1
#initclip 31 Object.registerClass("mc_boss_ind", CIndicator); #endinitclip
Symbol 256 Button
on (release) { this._parent.mc_game.toDrive(); }
Symbol 281 Button
on (release) { this._parent.nextLevel(); }
Symbol 284 Button
on (release) { this._parent.newGame(); }
Symbol 302 MovieClip Frame 41
this._parent.gotoAndStop("empty");
Symbol 303 MovieClip Frame 1
this.stop();
Symbol 304 MovieClip [_mc_game] Frame 1
#initclip 32 Object.registerClass("_mc_game", CGame); #endinitclip

Library Items

Symbol 1 MovieClipUsed by:Timeline
Symbol 305 MovieClip [__Packages.CGame]
Symbol 306 MovieClip [__Packages.IHitObject]
Symbol 307 MovieClip [__Packages.CPlayer]
Symbol 308 MovieClip [__Packages.CCellIndicator]
Symbol 309 MovieClip [__Packages.CObjectGenerator]
Symbol 310 MovieClip [__Packages.CSmoke]
Symbol 311 MovieClip [__Packages.CVector2D]
Symbol 312 MovieClip [__Packages.CShot]
Symbol 313 MovieClip [__Packages.CSoundControl]
Symbol 314 MovieClip [__Packages.CEnemyCarGenerator]
Symbol 315 MovieClip [__Packages.CCarParams]
Symbol 316 MovieClip [__Packages.CEnemyCar]
Symbol 317 MovieClip [__Packages.CBossCarParams]
Symbol 318 MovieClip [__Packages.CLevelParams]
Symbol 319 MovieClip [__Packages.CGameParams]
Symbol 320 MovieClip [__Packages.CEnemyCarGeneratorControl]
Symbol 321 MovieClip [__Packages.CEnemyBoss]
Symbol 322 MovieClip [__Packages.CIndicator]
Symbol 323 MovieClip [__Packages.CEnemyBigBoss]
Symbol 324 MovieClip [__Packages.CGun]
Symbol 325 MovieClip [__Packages.CVBack]
Symbol 326 MovieClip [__Packages.CLandscapeGenerator]
Symbol 2 GraphicUsed by:Timeline
Symbol 3 BitmapUsed by:4
Symbol 4 GraphicUses:3Used by:5
Symbol 5 MovieClipUses:4Used by:Timeline
Symbol 6 BitmapUsed by:7
Symbol 7 GraphicUses:6Used by:Timeline
Symbol 8 FontUsed by:9
Symbol 9 EditableTextUses:8Used by:Timeline
Symbol 10 BitmapUsed by:11
Symbol 11 GraphicUses:10Used by:12
Symbol 12 MovieClipUses:11Used by:Timeline
Symbol 13 GraphicUsed by:14 177 179
Symbol 14 MovieClipUses:13Used by:15
Symbol 15 MovieClipUses:14Used by:Timeline
Symbol 16 BitmapUsed by:17
Symbol 17 GraphicUses:16Used by:22
Symbol 18 BitmapUsed by:19
Symbol 19 GraphicUses:18Used by:22
Symbol 20 BitmapUsed by:21
Symbol 21 GraphicUses:20Used by:22
Symbol 22 MovieClip [lib_shot]Uses:17 19 21Used by:Timeline
Symbol 23 BitmapUsed by:24
Symbol 24 GraphicUses:23Used by:58
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:25Used by:58 65 110 212
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClipUses:27Used by:58 65 110 212
Symbol 29 BitmapUsed by:30
Symbol 30 GraphicUses:29Used by:58
Symbol 31 BitmapUsed by:32
Symbol 32 GraphicUses:31Used by:58
Symbol 33 BitmapUsed by:34
Symbol 34 GraphicUses:33Used by:58
Symbol 35 BitmapUsed by:36
Symbol 36 GraphicUses:35Used by:58
Symbol 37 BitmapUsed by:38
Symbol 38 GraphicUses:37Used by:58
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:58
Symbol 41 BitmapUsed by:42
Symbol 42 GraphicUses:41Used by:58
Symbol 43 BitmapUsed by:44
Symbol 44 GraphicUses:43Used by:58
Symbol 45 BitmapUsed by:46
Symbol 46 GraphicUses:45Used by:58
Symbol 47 BitmapUsed by:48
Symbol 48 GraphicUses:47Used by:58
Symbol 49 BitmapUsed by:50 57
Symbol 50 GraphicUses:49Used by:58
Symbol 51 BitmapUsed by:52
Symbol 52 GraphicUses:51Used by:58
Symbol 53 BitmapUsed by:54
Symbol 54 GraphicUses:53Used by:58
Symbol 55 BitmapUsed by:56
Symbol 56 GraphicUses:55Used by:58
Symbol 57 GraphicUses:49Used by:58
Symbol 58 MovieClip [lib_enemy_car]Uses:24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 57Used by:Timeline
Symbol 59 BitmapUsed by:60
Symbol 60 GraphicUses:59Used by:65
Symbol 61 BitmapUsed by:62
Symbol 62 GraphicUses:61Used by:65
Symbol 63 BitmapUsed by:64
Symbol 64 GraphicUses:63Used by:65
Symbol 65 MovieClip [lib_boss_car]Uses:60 26 28 62 64Used by:Timeline
Symbol 66 BitmapUsed by:67
Symbol 67 GraphicUses:66Used by:109 110
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClip [mc_gun]Uses:68Used by:110
Symbol 70 BitmapUsed by:71 72 73 74
Symbol 71 GraphicUses:70Used by:109 113
Symbol 72 GraphicUses:70Used by:109 113
Symbol 73 GraphicUses:70Used by:109 113
Symbol 74 GraphicUses:70Used by:109 113
Symbol 75 BitmapUsed by:76
Symbol 76 GraphicUses:75Used by:109 113
Symbol 77 BitmapUsed by:78
Symbol 78 GraphicUses:77Used by:109 113
Symbol 79 BitmapUsed by:80
Symbol 80 GraphicUses:79Used by:109 113
Symbol 81 BitmapUsed by:82
Symbol 82 GraphicUses:81Used by:109 113
Symbol 83 BitmapUsed by:84
Symbol 84 GraphicUses:83Used by:109 113
Symbol 85 BitmapUsed by:86
Symbol 86 GraphicUses:85Used by:109 113
Symbol 87 BitmapUsed by:88
Symbol 88 GraphicUses:87Used by:109 113
Symbol 89 BitmapUsed by:90
Symbol 90 GraphicUses:89Used by:109 113
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:91Used by:109 113
Symbol 93 BitmapUsed by:94
Symbol 94 GraphicUses:93Used by:109 113
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:109 113
Symbol 97 BitmapUsed by:98
Symbol 98 GraphicUses:97Used by:109 113
Symbol 99 BitmapUsed by:100
Symbol 100 GraphicUses:99Used by:109 113
Symbol 101 BitmapUsed by:102
Symbol 102 GraphicUses:101Used by:109 113
Symbol 103 BitmapUsed by:104
Symbol 104 GraphicUses:103Used by:109 113
Symbol 105 BitmapUsed by:106
Symbol 106 GraphicUses:105Used by:109 113
Symbol 107 BitmapUsed by:108
Symbol 108 GraphicUses:107Used by:109 113
Symbol 109 MovieClipUses:67 71 72 73 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108Used by:110
Symbol 110 MovieClip [lib_big_boss_car]Uses:67 69 26 28 109Used by:Timeline
Symbol 111 BitmapUsed by:112
Symbol 112 GraphicUses:111Used by:113
Symbol 113 MovieClip [lib_boom]Uses:71 72 73 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 112Used by:Timeline
Symbol 114 BitmapUsed by:115
Symbol 115 GraphicUses:114Used by:116
Symbol 116 MovieClipUses:115Used by:117
Symbol 117 MovieClip [lib_sparks]Uses:116Used by:Timeline
Symbol 118 BitmapUsed by:119
Symbol 119 GraphicUses:118Used by:120
Symbol 120 MovieClip [lib_smoke]Uses:119Used by:Timeline
Symbol 121 BitmapUsed by:122 145
Symbol 122 GraphicUses:121Used by:123
Symbol 123 MovieClip [mc_landscape1]Uses:122Used by:135 136  Timeline
Symbol 124 BitmapUsed by:125
Symbol 125 GraphicUses:124Used by:126
Symbol 126 MovieClip [mc_landscape2]Uses:125Used by:137 138  Timeline
Symbol 127 BitmapUsed by:128 139 141 143 145
Symbol 128 GraphicUses:127Used by:129
Symbol 129 MovieClip [mc_landscape3]Uses:128Used by:130 131 132 133 134 135 136 137 138  Timeline
Symbol 130 MovieClip [mc_landscape4]Uses:129Used by:Timeline
Symbol 131 MovieClip [mc_landscape5]Uses:129Used by:Timeline
Symbol 132 MovieClip [mc_landscape6]Uses:129Used by:Timeline
Symbol 133 MovieClip [mc_landscape7]Uses:129Used by:Timeline
Symbol 134 MovieClip [mc_landscape8]Uses:129Used by:Timeline
Symbol 135 MovieClip [mc_landscape9]Uses:123 129Used by:Timeline
Symbol 136 MovieClip [mc_landscape10]Uses:123 129Used by:Timeline
Symbol 137 MovieClip [mc_landscape11]Uses:126 129Used by:Timeline
Symbol 138 MovieClip [mc_landscape12]Uses:126 129Used by:Timeline
Symbol 139 GraphicUses:127Used by:140
Symbol 140 MovieClip [mc_landscape13]Uses:139Used by:Timeline
Symbol 141 GraphicUses:127Used by:142
Symbol 142 MovieClip [mc_landscape14]Uses:141Used by:Timeline
Symbol 143 GraphicUses:127Used by:144
Symbol 144 MovieClip [mc_landscape15]Uses:143Used by:Timeline
Symbol 145 GraphicUses:127 121Used by:146
Symbol 146 MovieClip [mc_landscape16]Uses:145Used by:Timeline
Symbol 147 Sound [bonus_weapon_snd]Used by:157
Symbol 148 Sound [boss_come_snd]Used by:157
Symbol 149 Sound [car_collision_snd]Used by:157
Symbol 150 Sound [car_explosion_snd]Used by:157
Symbol 151 Sound [enemy_gun_fire_snd]Used by:157
Symbol 152 Sound [hero_explosion_snd]Used by:157
Symbol 153 Sound [player_gun_fire_snd]Used by:157
Symbol 154 Sound [player_rocket_fire_snd]Used by:157
Symbol 155 Sound [ricoshet_snd]Used by:157
Symbol 156 Sound [shield_lost_snd]Used by:157
Symbol 157 MovieClipUses:147 148 149 150 151 152 153 154 155 156Used by:Timeline
Symbol 158 BitmapUsed by:159
Symbol 159 GraphicUses:158Used by:Timeline
Symbol 160 BitmapUsed by:161
Symbol 161 GraphicUses:160Used by:165
Symbol 162 BitmapUsed by:163
Symbol 163 GraphicUses:162Used by:165
Symbol 164 SoundUsed by:165 170 175 177 179 196 256 281 284
Symbol 165 ButtonUses:161 163 164Used by:Timeline
Symbol 166 BitmapUsed by:167
Symbol 167 GraphicUses:166Used by:170
Symbol 168 BitmapUsed by:169
Symbol 169 GraphicUses:168Used by:170
Symbol 170 ButtonUses:167 169 164Used by:Timeline
Symbol 171 BitmapUsed by:172
Symbol 172 GraphicUses:171Used by:175
Symbol 173 BitmapUsed by:174
Symbol 174 GraphicUses:173Used by:175
Symbol 175 ButtonUses:172 174 164Used by:Timeline
Symbol 176 GraphicUsed by:177
Symbol 177 ButtonUses:176 13 164Used by:180
Symbol 178 GraphicUsed by:179
Symbol 179 ButtonUses:178 13 164Used by:180
Symbol 180 MovieClipUses:177 179Used by:Timeline
Symbol 181 MovieClipUsed by:Timeline
Symbol 182 SoundUsed by:183
Symbol 183 MovieClipUses:182Used by:Timeline
Symbol 184 SoundUsed by:185
Symbol 185 MovieClipUses:184Used by:Timeline
Symbol 186 SoundUsed by:187
Symbol 187 MovieClipUses:186Used by:Timeline
Symbol 188 SoundUsed by:189
Symbol 189 MovieClipUses:188Used by:Timeline
Symbol 190 BitmapUsed by:191
Symbol 191 GraphicUses:190Used by:Timeline
Symbol 192 BitmapUsed by:193
Symbol 193 GraphicUses:192Used by:196
Symbol 194 BitmapUsed by:195
Symbol 195 GraphicUses:194Used by:196
Symbol 196 ButtonUses:193 195 164Used by:Timeline
Symbol 197 FontUsed by:198 245 246 247 250 251 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 277 278 279 280 287
Symbol 198 TextUses:197Used by:Timeline
Symbol 199 GraphicUsed by:242  Timeline
Symbol 200 BitmapUsed by:201
Symbol 201 GraphicUses:200Used by:202
Symbol 202 MovieClipUses:201Used by:203
Symbol 203 MovieClipUses:202Used by:Timeline
Symbol 204 BitmapUsed by:205
Symbol 205 GraphicUses:204Used by:209 212
Symbol 206 BitmapUsed by:207
Symbol 207 GraphicUses:206Used by:208
Symbol 208 MovieClipUses:207Used by:210
Symbol 209 MovieClipUses:205Used by:210 211
Symbol 210 MovieClipUses:208 209Used by:212
Symbol 211 MovieClipUses:209Used by:212
Symbol 212 MovieClip [mc_player]Uses:205 26 28 210 211Used by:Timeline
Symbol 213 BitmapUsed by:215
Symbol 214 BitmapUsed by:215
Symbol 215 GraphicUses:213 214Used by:Timeline
Symbol 216 BitmapUsed by:217
Symbol 217 GraphicUses:216Used by:228
Symbol 218 BitmapUsed by:219
Symbol 219 GraphicUses:218Used by:220
Symbol 220 MovieClipUses:219Used by:221 222
Symbol 221 MovieClipUses:220Used by:222
Symbol 222 MovieClipUses:220 221Used by:228
Symbol 223 BitmapUsed by:224
Symbol 224 GraphicUses:223Used by:225
Symbol 225 MovieClipUses:224Used by:226 227
Symbol 226 MovieClipUses:225Used by:227
Symbol 227 MovieClipUses:225 226Used by:228
Symbol 228 MovieClip [mc_shield_ind]Uses:217 222 227Used by:Timeline
Symbol 229 BitmapUsed by:230
Symbol 230 GraphicUses:229Used by:239
Symbol 231 BitmapUsed by:232
Symbol 232 GraphicUses:231Used by:239
Symbol 233 BitmapUsed by:234
Symbol 234 GraphicUses:233Used by:239
Symbol 235 BitmapUsed by:236
Symbol 236 GraphicUses:235Used by:239
Symbol 237 BitmapUsed by:238
Symbol 238 GraphicUses:237Used by:239
Symbol 239 MovieClipUses:230 232 234 236 238Used by:288  Timeline
Symbol 240 BitmapUsed by:241
Symbol 241 GraphicUses:240Used by:244
Symbol 242 MovieClipUses:199Used by:244
Symbol 243 GraphicUsed by:244
Symbol 244 MovieClip [mc_boss_ind]Uses:241 242 243Used by:Timeline
Symbol 245 EditableTextUses:197Used by:Timeline
Symbol 246 TextUses:197Used by:Timeline
Symbol 247 EditableTextUses:197Used by:Timeline
Symbol 248 BitmapUsed by:249
Symbol 249 GraphicUses:248Used by:288
Symbol 250 TextUses:197Used by:288
Symbol 251 TextUses:197Used by:288
Symbol 252 BitmapUsed by:253
Symbol 253 GraphicUses:252Used by:256 281 284
Symbol 254 BitmapUsed by:255
Symbol 255 GraphicUses:254Used by:256 281 284
Symbol 256 ButtonUses:253 255 164Used by:288
Symbol 257 TextUses:197Used by:288
Symbol 258 TextUses:197Used by:288
Symbol 259 TextUses:197Used by:288
Symbol 260 TextUses:197Used by:288
Symbol 261 TextUses:197Used by:288
Symbol 262 TextUses:197Used by:288
Symbol 263 TextUses:197Used by:288
Symbol 264 TextUses:197Used by:288
Symbol 265 TextUses:197Used by:288
Symbol 266 TextUses:197Used by:288
Symbol 267 TextUses:197Used by:288
Symbol 268 TextUses:197Used by:288
Symbol 269 TextUses:197Used by:288
Symbol 270 TextUses:197Used by:288
Symbol 271 TextUses:197Used by:288
Symbol 272 TextUses:197Used by:288
Symbol 273 TextUses:197Used by:288
Symbol 274 TextUses:197Used by:288
Symbol 275 BitmapUsed by:276
Symbol 276 GraphicUses:275Used by:288
Symbol 277 TextUses:197Used by:288
Symbol 278 TextUses:197Used by:288
Symbol 279 EditableTextUses:197Used by:288
Symbol 280 EditableTextUses:197Used by:288
Symbol 281 ButtonUses:253 255 164Used by:288
Symbol 282 BitmapUsed by:283
Symbol 283 GraphicUses:282Used by:288
Symbol 284 ButtonUses:253 255 164Used by:288
Symbol 285 BitmapUsed by:286
Symbol 286 GraphicUses:285Used by:288
Symbol 287 TextUses:197Used by:288
Symbol 288 MovieClipUses:249 239 250 251 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 276 277 278 279 280 281 283 284 286 287Used by:Timeline
Symbol 289 BitmapUsed by:290
Symbol 290 GraphicUses:289Used by:301
Symbol 291 BitmapUsed by:292
Symbol 292 GraphicUses:291Used by:301
Symbol 293 BitmapUsed by:294
Symbol 294 GraphicUses:293Used by:301
Symbol 295 BitmapUsed by:296
Symbol 296 GraphicUses:295Used by:301
Symbol 297 BitmapUsed by:298
Symbol 298 GraphicUses:297Used by:301
Symbol 299 BitmapUsed by:300
Symbol 300 GraphicUses:299Used by:301
Symbol 301 MovieClipUses:290 292 294 296 298 300Used by:302
Symbol 302 MovieClipUses:301Used by:303
Symbol 303 MovieClipUses:302Used by:Timeline
Symbol 304 MovieClip [_mc_game]Used by:Timeline

Instance Names

"mc_bar"Frame 2Symbol 15 MovieClip
"btn_sound"Frame 5Symbol 180 MovieClip
"mc_sfx"Frame 5Symbol 181 MovieClip
"mc_loop_game"Frame 5Symbol 183 MovieClip
"mc_loop_loose"Frame 5Symbol 185 MovieClip
"mc_loop_menu"Frame 5Symbol 187 MovieClip
"mc_loop_win"Frame 5Symbol 189 MovieClip
"mc_fon"Frame 7Symbol 203 MovieClip
"mc_landscapes"Frame 7Symbol 181 MovieClip
"mc_enemies"Frame 7Symbol 181 MovieClip
"mc_player"Frame 7Symbol 212 MovieClip [mc_player]
"mc_booms"Frame 7Symbol 181 MovieClip
"mc_enemy_shots"Frame 7Symbol 181 MovieClip
"mc_shots"Frame 7Symbol 181 MovieClip
"mc_shield_ind"Frame 7Symbol 228 MovieClip [mc_shield_ind]
"mc_icon"Frame 7Symbol 239 MovieClip
"mc_boss_ind"Frame 7Symbol 244 MovieClip [mc_boss_ind]
"txt_score"Frame 7Symbol 245 EditableText
"txt_left"Frame 7Symbol 247 EditableText
"mc_screens"Frame 7Symbol 288 MovieClip
"mc_bonus"Frame 7Symbol 303 MovieClip
"mc_line1"Frame 7Symbol 181 MovieClip
"mc_line2"Frame 7Symbol 181 MovieClip
"mc_line3"Frame 7Symbol 181 MovieClip
"mc_line4"Frame 7Symbol 181 MovieClip
"mc_game"Frame 7Symbol 304 MovieClip [_mc_game]
"mc"Symbol 15 MovieClip Frame 1Symbol 14 MovieClip
"mc_hit"Symbol 58 MovieClip [lib_enemy_car] Frame 1Symbol 26 MovieClip
"mc_wreck_hit1"Symbol 58 MovieClip [lib_enemy_car] Frame 1Symbol 28 MovieClip
"mc_wreck_hit2"Symbol 58 MovieClip [lib_enemy_car] Frame 1Symbol 28 MovieClip
"mc_hit"Symbol 65 MovieClip [lib_boss_car] Frame 1Symbol 26 MovieClip
"mc_wreck_hit1"Symbol 65 MovieClip [lib_boss_car] Frame 1Symbol 28 MovieClip
"mc_wreck_hit2"Symbol 65 MovieClip [lib_boss_car] Frame 1Symbol 28 MovieClip
"mc_gun3"Symbol 110 MovieClip [lib_big_boss_car] Frame 1Symbol 69 MovieClip [mc_gun]
"mc_gun6"Symbol 110 MovieClip [lib_big_boss_car] Frame 1Symbol 69 MovieClip [mc_gun]
"mc_gun4"Symbol 110 MovieClip [lib_big_boss_car] Frame 1Symbol 69 MovieClip [mc_gun]
"mc_gun5"Symbol 110 MovieClip [lib_big_boss_car] Frame 1Symbol 69 MovieClip [mc_gun]
"mc_gun2"Symbol 110 MovieClip [lib_big_boss_car] Frame 1Symbol 69 MovieClip [mc_gun]
"mc_gun1"Symbol 110 MovieClip [lib_big_boss_car] Frame 1Symbol 69 MovieClip [mc_gun]
"mc_hit"Symbol 110 MovieClip [lib_big_boss_car] Frame 1Symbol 26 MovieClip
"mc_wreck_hit1"Symbol 110 MovieClip [lib_big_boss_car] Frame 1Symbol 28 MovieClip
"mc_wreck_hit2"Symbol 110 MovieClip [lib_big_boss_car] Frame 1Symbol 28 MovieClip
"mc1"Symbol 203 MovieClip Frame 1Symbol 202 MovieClip
"mc2"Symbol 203 MovieClip Frame 1Symbol 202 MovieClip
"mc_hit"Symbol 212 MovieClip [mc_player] Frame 1Symbol 26 MovieClip
"mc_wreck_hit1"Symbol 212 MovieClip [mc_player] Frame 1Symbol 28 MovieClip
"mc_wreck_hit2"Symbol 212 MovieClip [mc_player] Frame 1Symbol 28 MovieClip
"mc"Symbol 212 MovieClip [mc_player] Frame 2Symbol 210 MovieClip
"mc"Symbol 212 MovieClip [mc_player] Frame 3Symbol 211 MovieClip
"mc_cell1"Symbol 228 MovieClip [mc_shield_ind] Frame 1Symbol 222 MovieClip
"mc_cell2"Symbol 228 MovieClip [mc_shield_ind] Frame 1Symbol 222 MovieClip
"mc_cell3"Symbol 228 MovieClip [mc_shield_ind] Frame 1Symbol 222 MovieClip
"mc_cell4"Symbol 228 MovieClip [mc_shield_ind] Frame 1Symbol 227 MovieClip
"mc_mask"Symbol 244 MovieClip [mc_boss_ind] Frame 1Symbol 242 MovieClip
"mc_icon"Symbol 288 MovieClip Frame 1Symbol 239 MovieClip
"txt_time"Symbol 288 MovieClip Frame 11Symbol 279 EditableText
"txt_kill"Symbol 288 MovieClip Frame 11Symbol 280 EditableText
"mc"Symbol 302 MovieClip Frame 1Symbol 301 MovieClip
"mc"Symbol 303 MovieClip Frame 2Symbol 302 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 305 as "__Packages.CGame"
ExportAssets (56)Timeline Frame 1Symbol 306 as "__Packages.IHitObject"
ExportAssets (56)Timeline Frame 1Symbol 307 as "__Packages.CPlayer"
ExportAssets (56)Timeline Frame 1Symbol 308 as "__Packages.CCellIndicator"
ExportAssets (56)Timeline Frame 1Symbol 309 as "__Packages.CObjectGenerator"
ExportAssets (56)Timeline Frame 1Symbol 310 as "__Packages.CSmoke"
ExportAssets (56)Timeline Frame 1Symbol 311 as "__Packages.CVector2D"
ExportAssets (56)Timeline Frame 1Symbol 312 as "__Packages.CShot"
ExportAssets (56)Timeline Frame 1Symbol 313 as "__Packages.CSoundControl"
ExportAssets (56)Timeline Frame 1Symbol 314 as "__Packages.CEnemyCarGenerator"
ExportAssets (56)Timeline Frame 1Symbol 315 as "__Packages.CCarParams"
ExportAssets (56)Timeline Frame 1Symbol 316 as "__Packages.CEnemyCar"
ExportAssets (56)Timeline Frame 1Symbol 317 as "__Packages.CBossCarParams"
ExportAssets (56)Timeline Frame 1Symbol 318 as "__Packages.CLevelParams"
ExportAssets (56)Timeline Frame 1Symbol 319 as "__Packages.CGameParams"
ExportAssets (56)Timeline Frame 1Symbol 320 as "__Packages.CEnemyCarGeneratorControl"
ExportAssets (56)Timeline Frame 1Symbol 321 as "__Packages.CEnemyBoss"
ExportAssets (56)Timeline Frame 1Symbol 322 as "__Packages.CIndicator"
ExportAssets (56)Timeline Frame 1Symbol 323 as "__Packages.CEnemyBigBoss"
ExportAssets (56)Timeline Frame 1Symbol 324 as "__Packages.CGun"
ExportAssets (56)Timeline Frame 1Symbol 325 as "__Packages.CVBack"
ExportAssets (56)Timeline Frame 1Symbol 326 as "__Packages.CLandscapeGenerator"
ExportAssets (56)Timeline Frame 4Symbol 22 as "lib_shot"
ExportAssets (56)Timeline Frame 4Symbol 58 as "lib_enemy_car"
ExportAssets (56)Timeline Frame 4Symbol 65 as "lib_boss_car"
ExportAssets (56)Timeline Frame 4Symbol 69 as "mc_gun"
ExportAssets (56)Timeline Frame 4Symbol 69 as "mc_gun"
ExportAssets (56)Timeline Frame 4Symbol 69 as "mc_gun"
ExportAssets (56)Timeline Frame 4Symbol 69 as "mc_gun"
ExportAssets (56)Timeline Frame 4Symbol 69 as "mc_gun"
ExportAssets (56)Timeline Frame 4Symbol 69 as "mc_gun"
ExportAssets (56)Timeline Frame 4Symbol 110 as "lib_big_boss_car"
ExportAssets (56)Timeline Frame 4Symbol 113 as "lib_boom"
ExportAssets (56)Timeline Frame 4Symbol 117 as "lib_sparks"
ExportAssets (56)Timeline Frame 4Symbol 120 as "lib_smoke"
ExportAssets (56)Timeline Frame 4Symbol 123 as "mc_landscape1"
ExportAssets (56)Timeline Frame 4Symbol 126 as "mc_landscape2"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 130 as "mc_landscape4"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 131 as "mc_landscape5"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 132 as "mc_landscape6"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 133 as "mc_landscape7"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 134 as "mc_landscape8"
ExportAssets (56)Timeline Frame 4Symbol 123 as "mc_landscape1"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 135 as "mc_landscape9"
ExportAssets (56)Timeline Frame 4Symbol 123 as "mc_landscape1"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 136 as "mc_landscape10"
ExportAssets (56)Timeline Frame 4Symbol 126 as "mc_landscape2"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 137 as "mc_landscape11"
ExportAssets (56)Timeline Frame 4Symbol 126 as "mc_landscape2"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 129 as "mc_landscape3"
ExportAssets (56)Timeline Frame 4Symbol 138 as "mc_landscape12"
ExportAssets (56)Timeline Frame 4Symbol 140 as "mc_landscape13"
ExportAssets (56)Timeline Frame 4Symbol 142 as "mc_landscape14"
ExportAssets (56)Timeline Frame 4Symbol 144 as "mc_landscape15"
ExportAssets (56)Timeline Frame 4Symbol 146 as "mc_landscape16"
ExportAssets (56)Timeline Frame 4Symbol 147 as "bonus_weapon_snd"
ExportAssets (56)Timeline Frame 4Symbol 148 as "boss_come_snd"
ExportAssets (56)Timeline Frame 4Symbol 149 as "car_collision_snd"
ExportAssets (56)Timeline Frame 4Symbol 150 as "car_explosion_snd"
ExportAssets (56)Timeline Frame 4Symbol 151 as "enemy_gun_fire_snd"
ExportAssets (56)Timeline Frame 4Symbol 152 as "hero_explosion_snd"
ExportAssets (56)Timeline Frame 4Symbol 153 as "player_gun_fire_snd"
ExportAssets (56)Timeline Frame 4Symbol 154 as "player_rocket_fire_snd"
ExportAssets (56)Timeline Frame 4Symbol 155 as "ricoshet_snd"
ExportAssets (56)Timeline Frame 4Symbol 156 as "shield_lost_snd"
ExportAssets (56)Timeline Frame 7Symbol 212 as "mc_player"
ExportAssets (56)Timeline Frame 7Symbol 228 as "mc_shield_ind"
ExportAssets (56)Timeline Frame 7Symbol 244 as "mc_boss_ind"
ExportAssets (56)Timeline Frame 7Symbol 304 as "_mc_game"

Labels

"main"Frame 5
"rules"Frame 6
"game"Frame 7
"reset"Frame 8
"yellow_car"Symbol 58 MovieClip [lib_enemy_car] Frame 1
"truck1"Symbol 58 MovieClip [lib_enemy_car] Frame 2
"truck2"Symbol 58 MovieClip [lib_enemy_car] Frame 3
"ranger"Symbol 58 MovieClip [lib_enemy_car] Frame 4
"police"Symbol 58 MovieClip [lib_enemy_car] Frame 5
"volvo"Symbol 58 MovieClip [lib_enemy_car] Frame 6
"green_car"Symbol 58 MovieClip [lib_enemy_car] Frame 7
"blackfire_car"Symbol 58 MovieClip [lib_enemy_car] Frame 8
"hammer"Symbol 58 MovieClip [lib_enemy_car] Frame 9
"bonus0"Symbol 58 MovieClip [lib_enemy_car] Frame 10
"bonus1"Symbol 58 MovieClip [lib_enemy_car] Frame 11
"bonus2"Symbol 58 MovieClip [lib_enemy_car] Frame 12
"bonus3"Symbol 58 MovieClip [lib_enemy_car] Frame 13
"bonus6"Symbol 58 MovieClip [lib_enemy_car] Frame 14
"bonus7"Symbol 58 MovieClip [lib_enemy_car] Frame 15
"bonus22"Symbol 58 MovieClip [lib_enemy_car] Frame 16
"evilhummer"Symbol 65 MovieClip [lib_boss_car] Frame 1
"evilvolvo"Symbol 65 MovieClip [lib_boss_car] Frame 2
"evilhero"Symbol 65 MovieClip [lib_boss_car] Frame 3
"empty"Symbol 69 MovieClip [mc_gun] Frame 2
"die"Symbol 110 MovieClip [lib_big_boss_car] Frame 2
"play"Symbol 183 MovieClip Frame 2
"stop"Symbol 183 MovieClip Frame 3
"play"Symbol 185 MovieClip Frame 2
"stop"Symbol 185 MovieClip Frame 3
"play"Symbol 187 MovieClip Frame 2
"stop"Symbol 187 MovieClip Frame 3
"play"Symbol 189 MovieClip Frame 2
"stop"Symbol 189 MovieClip Frame 3
"drive"Symbol 212 MovieClip [mc_player] Frame 1
"appear"Symbol 212 MovieClip [mc_player] Frame 2
"disappear"Symbol 212 MovieClip [mc_player] Frame 3
"empty"Symbol 212 MovieClip [mc_player] Frame 4
"stay"Symbol 222 MovieClip Frame 1
"blink"Symbol 222 MovieClip Frame 2
"empty"Symbol 222 MovieClip Frame 3
"stay"Symbol 227 MovieClip Frame 1
"blink"Symbol 227 MovieClip Frame 2
"empty"Symbol 227 MovieClip Frame 3
"EnemyIcon1"Symbol 239 MovieClip Frame 1
"EnemyIcon2"Symbol 239 MovieClip Frame 2
"EnemyIcon3"Symbol 239 MovieClip Frame 3
"EnemyIcon4"Symbol 239 MovieClip Frame 4
"EnemyIcon15"Symbol 239 MovieClip Frame 5
"lev1"Symbol 288 MovieClip Frame 1
"lev2"Symbol 288 MovieClip Frame 2
"lev3"Symbol 288 MovieClip Frame 3
"lev4"Symbol 288 MovieClip Frame 4
"lev5"Symbol 288 MovieClip Frame 5
"lev6"Symbol 288 MovieClip Frame 6
"lev7"Symbol 288 MovieClip Frame 7
"lev8"Symbol 288 MovieClip Frame 8
"lev9"Symbol 288 MovieClip Frame 9
"lev10"Symbol 288 MovieClip Frame 10
"win"Symbol 288 MovieClip Frame 11
"loose"Symbol 288 MovieClip Frame 12
"complete"Symbol 288 MovieClip Frame 13
"pause"Symbol 288 MovieClip Frame 14
"empty"Symbol 288 MovieClip Frame 15
"b0"Symbol 301 MovieClip Frame 1
"b1"Symbol 301 MovieClip Frame 2
"b2"Symbol 301 MovieClip Frame 3
"b3"Symbol 301 MovieClip Frame 4
"b6"Symbol 301 MovieClip Frame 5
"b7"Symbol 301 MovieClip Frame 6
"empty"Symbol 303 MovieClip Frame 1
"show"Symbol 303 MovieClip Frame 2

Dynamic Text Variables

txtPerSymbol 9 EditableText"0%  "




http://swfchan.com/5/24688/info.shtml
Created: 11/8 -2019 20:35:52 Last modified: 11/8 -2019 20:35:52 Server time: 22/12 -2024 07:54:24