Frame 2
developmode = "off";
if (developmode == "on") {
bgMask01._visible = 0;
bgMask02._visible = 0;
bgMask03._visible = 0;
bgMask04._visible = 0;
}
loadVariables ("/highscore/highscore.php", _root);
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
fscommand ("fullscreen", "false");
ifFrameLoaded (10) {
gotoAndPlay (10);
}
Frame 5
stop();
Instance of Symbol 14 MovieClip "globalvars" in Frame 5
onClipEvent (load) {
this._visible = 0;
computerlevel = "easy";
ManualPlayersMaxSpeed = 17;
ManualPlayersReverseSpeed = -3;
ManualPlayersAccSpeed = 0.25;
CarResistance = 1.02;
}
Frame 10
_root.loader._visible = 1;
gameLevel = 1;
introLoop = new Sound(_root.introLoop);
introLoop.attachSound("introLoop");
introLoop.start(0, 999);
introLoopVolume = 70;
introLoop.setVolume(introLoopVolume);
returnFromGame = 0;
Instance of Symbol 32 MovieClip "loader" in Frame 10
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 36 MovieClip "introLoop" in Frame 10
onClipEvent (load) {
this._y = 2000;
}
Instance of Symbol 38 MovieClip "ingameLoopSound" in Frame 10
onClipEvent (load) {
this._y = 2000;
}
Frame 11
ifFrameLoaded (25) {
_root.Bumberball_intro.gotoAndPlay(2);
gotoAndStop (14);
}
Frame 12
gotoAndPlay (11);
Frame 14
stop();
Frame 15
_root.Menu_BG.gotoAndPlay(1);
points = 0;
_root.goalcounter = 0;
if (returnFromGame == 1) {
introLoopVolume = 70;
introLoop.setVolume(introLoopVolume);
introLoop.start(0, 999);
ingameLoopSound.stop();
}
Frame 18
stop();
Frame 25
if (returnFromGame == 0) {
goalSound = new Sound(_root.goalSound);
goalSound.attachSound("goal");
carSound = new Sound(_root.carSound);
carSound.attachSound("carSound");
ingameLoopSound = new Sound(_root.ingameLoopSound);
ingameLoopSound.attachSound("ingameLoopSound");
}
goalSound.setVolume(25);
carSound.setVolume(100);
ingameLoopSound.setVolume(25);
ingameLoopSound.stop();
ingameLoopSound.start(0, 999);
_root.counter.goalSoundPlay = "off";
returnFromGame = 1;
introLoop.setVolume(introLoopVolume);
_root.watch.digits._visible = 1;
_root.watch.timebar._visible = 1;
_root.watch.stopwatchstarttime = _root.globaltime;
_root.watch.minutechangetime = 1000;
_root.watch.Starttime = getTimer();
_root.watch.stopwatchseconds1 = 0;
_root.watch.stopwatchseconds10 = 0;
_root.watch.stopwatchminutes1 = ((_root.watch.stopwatchstarttime / 10) - Math.floor(_root.watch.stopwatchstarttime / 10)) * 10;
_root.watch.stopwatchminutes10 = Math.floor(_root.watch.stopwatchstarttime / 10);
_root.watch.minutes = 0;
_root.gameover._visible = 0;
_root.gameover.gameover = 0;
_root.watch.timebar.gotoAndStop(1);
_root.watch.bar_starttime = getTimer();
_root.watch.bar_totaltime = _root.watch.stopwatchstarttime * 60;
_root.GoalGreen._visible = 0;
_root.goalred._visible = 0;
_root.GoalGreen._y = 170;
_root.goalred._y = 170;
_root.counter.goalleftcounter = 0;
_root.counter.goalleftcounter1 = 0;
_root.counter.goalleftcounter10 = 0;
_root.counter.goalrightcounter = 0;
_root.counter.goalrightcounter10 = 0;
_root.counter.action = "0";
_root.counter.goalleft1.gotoAndStop(10);
_root.counter.goalleft10.gotoAndStop(10);
_root.counter.goalright1.gotoAndStop(10);
_root.counter.goalright10.gotoAndStop(10);
_root.ball.wallbounce = 1;
_root.ball.Ballenergy = 1.02;
_root.ball.speedX = 0;
_root.ball.c._visible = 0;
_root.ball.posx = 364;
_root.ball.posy = 60;
_root.ball.RandomSpeed = random(25);
_root.ball.speedY = 4 + _root.ball.RandomSpeed;
_root.player1.hittimer = 30;
_root.player1.borderbounce = 2.5;
_root.player1._y = 145;
_root.player1._x = 620;
_root.player1.framenumber = 7;
_root.player1.Speed = 0;
_root.player1.diry = 0;
_root.player1.dirx = -1;
_root.player1.CollisionBall._visible = 0;
_root.player1.collisionBig._visible = 0;
_root.player1.CalcSpeedCounter = 0;
_root.player1.collisionRealtime._visible = 0;
_root.player1.ShootSpeed = 1.5;
_root.player1.Bumptimer = 10;
_root.player1.physicsY = 0;
_root.player1.physicsX = 0;
_root.player2.borderbounce = 2.5;
_root.player2.ShootSpeed = 1.5;
_root.player2.hittimer = 20;
_root.player2.framenumber = 19;
_root.player2._y = 145;
_root.player2._x = 62;
_root.player2.Speed = 0;
_root.player2.dirY = 0;
_root.player2.dirX = 1;
_root.player2.collisionRealtime._visible = 0;
_root.player2.CollisionBall._visible = 0;
_root.player2.collisionBig._visible = 0;
_root.player2.Bumptimer = 10;
_root.player2.Speedtimer = 1;
_root.player2.DirTimer = 1;
_root.player2.physicsY = 0;
_root.player2.physicsX = 0;
_root.player2.MaxSpeed = MaxSpeed;
_root.player2.lowAcc = lowAcc;
_root.player2.highAcc = highAcc;
_root.counter.goalleftcounter = 0;
_root.counter.goalleftcounter1 = 0;
_root.counter.goalleftcounter10 = 0;
_root.counter.goalrightcounter = 0;
_root.counter.goalrightcounter1 = 0;
_root.counter.goalrightcounter10 = 0;
_root.counter.action = "0";
_root.counter.goalleft1.gotoAndStop(10);
_root.counter.goalleft10.gotoAndStop(10);
_root.counter.goalright1.gotoAndStop(10);
_root.counter.goalright10.gotoAndStop(10);
_root.GoalGreen._visible = 0;
_root.goalred._visible = 0;
_root.GoalGreen._y = 170;
_root.goalred._y = 170;
Instance of Symbol 111 MovieClip "watch" in Frame 25
onClipEvent (enterFrame) {
bar_nowtime = getTimer();
bar_timer = bar_nowtime - bar_starttime;
bar_seconds = bar_timer / 1000;
baranimation = Math.floor((bar_seconds / bar_totaltime) * 100);
_root.watch.timebar.gotoAndStop(baranimation);
stoptime = ((stopwatchseconds1 + stopwatchseconds10) + stopwatchminutes1) + stopwatchminutes10;
if (0 < stoptime) {
Nowtime = getTimer();
timer = Nowtime - Starttime;
seconds = Math.floor(timer / 1000);
seconds1 = Math.round(((seconds / 10) - Math.floor(seconds / 10)) * 10);
seconds10 = Math.floor(seconds / 10);
if (60000 < timer) {
Starttime = getTimer();
minutes = minutes + 1;
minutechangetime = 1000;
timer = Nowtime - Starttime;
}
}
stopwatchseconds1 = 10 - seconds1;
if (9 < stopwatchseconds1) {
stopwatchseconds1 = 0;
}
if (0 < seconds) {
stopwatchseconds10 = Math.floor((60 - seconds) / 10);
}
if (minutechangetime < timer) {
stopwatchminutes1 = stopwatchminutes1 - 1;
minutechangetime = 100000000 /* 0x5F5E100 */;
if (stopwatchminutes1 < 0) {
stopwatchminutes1 = 9;
stopwatchminutes10 = stopwatchminutes10 - 1;
}
}
}
Instance of Symbol 121 MovieClip "ball" in Frame 25
onClipEvent (enterFrame) {
if ((_root.gameover.gameover == 0) and (_root.counter.action == 0)) {
speedX = speedX / Ballenergy;
speedY = speedY / Ballenergy;
this._y = posY;
this._x = posX;
posX = posX + speedX;
posY = posY + speedY;
}
}
Instance of Symbol 176 MovieClip "player1" in Frame 25
onClipEvent (enterFrame) {
if ((_root.gameover.gameover == 0) and (_root.counter.action == 0)) {
if ((this._x + this.collisionBig._x) >= 646) {
this._x = 645 - this.collisionBig._x;
physicsX = physicsX - borderbounce;
speed = 0;
}
if (60 >= (this._y + this.collisionBig._y)) {
this._y = 61 - this.collisionBig._y;
physicsY = physicsY + borderbounce;
speed = 0;
}
if (77 >= (this._x + this.collisionBig._x)) {
this._x = 78 - this.collisionBig._x;
physicsX = physicsX + borderbounce;
speed = 0;
}
if ((this._y - this.collisionBig._y) >= 235) {
this._y = 234 + this.collisionBig._y;
physicsY = physicsY - borderbounce;
speed = 0;
}
gotoAndStop(this.framenumber);
this._y = this._y + ((this.Speed * dirY) + physicsY);
this._x = this._x + ((this.Speed * dirX) + physicsX);
physicsY = physicsY / 1.05;
physicsX = physicsX / 1.05;
CalcSpeedXold = CalcSpeedXnew;
CalcSpeedXnew = this._x;
CalcSpeedX = CalcSpeedXnew - CalcSpeedXold;
CalcSpeedYold = CalcSpeedYnew;
CalcSpeedYnew = this._y;
CalcSpeedY = CalcSpeedYnew - CalcSpeedYold;
if (_root.ball.c.hitTest(this.collisionRealtime)) {
_root.ball.speedX = (CalcSpeedX * ShootSpeed) + getaway;
_root.ball.speedY = (CalcSpeedY * ShootSpeed) + getaway;
getaway = random(6) - 3;
_root.ball.posx = _root.ball.posx + (CalcSpeedX * 2);
_root.ball.posy = _root.ball.posy + (CalcSpeedY * 2);
this._x = (this._x - CalcSpeedX) - (getaway / 2);
this._y = (this._y - CalcSpeedY) - (getaway / 2);
if (8 < _root.ball.speedX) {
tellTarget ("_root.ball") {
gotoAndPlay (2);
};
}
if (_root.ball.speedX < -8) {
tellTarget ("_root.ball") {
gotoAndPlay (2);
};
}
if (8 < _root.ball.speedY) {
tellTarget ("_root.ball") {
gotoAndPlay (2);
};
}
if (_root.ball.speedY < -8) {
tellTarget ("_root.ball") {
gotoAndPlay (2);
};
}
} else {
getaway = 0;
}
if (hittimer < 0) {
this.speed = random(10) - 5;
_root.player2.speed = random(10) - 5;
hittimer = 30;
}
if (_root.player2.collisionBall.hitTest(this.collisionBall)) {
hittimer = hittimer - 1;
hittimerset = getTimer();
if (0 >= Bumptimer) {
_root.carSound.start(0, 1);
this.speed = -2;
physicsY = physicsY - (CalcSpeedY / 4);
physicsX = physicsX - (CalcSpeedX / 4);
_root.player2.speed = _root.player2.speed / 3;
_root.player2.physicsY = CalcSpeedY;
_root.player2.physicsX = CalcSpeedX;
Bumptimer = 10;
}
} else {
Bumptimer = Bumptimer - 1;
hittimernow = getTimer();
if (2000 < (hittimernow - hittimerset)) {
hittimerset = hittimernow;
hittimer = 30;
}
if (Key.isDown(39)) {
this.framenumber = this.framenumber - 1;
if (0 >= this.framenumber) {
this.framenumber = 24;
}
} else if (Key.isDown(37)) {
this.framenumber = this.framenumber + 1;
if (this.framenumber >= 25) {
this.framenumber = 1;
}
}
if (Key.isDown(38)) {
this.Speed = this.Speed + _root.globalvars.ManualPlayersAccSpeed;
if (this.Speed >= _root.globalvars.ManualPlayersMaxSpeed) {
this.Speed = _root.globalvars.ManualPlayersMaxSpeed;
}
} else if (Key.isDown(40)) {
this.Speed = this.Speed - 0.2;
if (this.Speed < _root.globalvars.ManualPlayersReverseSpeed) {
this.Speed = _root.globalvars.ManualPlayersReverseSpeed;
}
} else {
this.Speed = this.Speed / _root.globalvars.CarResistance;
}
}
}
}
Instance of Symbol 224 MovieClip "player2" in Frame 25
onClipEvent (enterFrame) {
if ((_root.gameover.gameover == 0) and (_root.counter.action == 0)) {
if (_root.globalvars.gamemode == "1-player") {
DirTimer = Dirtimer + 1;
y2 = _root.player2._y + _root.player2.center._y;
x2 = _root.player2._x + _root.player2.center._x;
if (1 < dirTimer) {
if (_root.player2.center.hitTest(_root.ball.goalTarget)) {
y = 170;
x = 680;
} else {
y = _root.ball._y + _root.ball.center._y;
x = _root.ball._x + _root.ball.center._x;
if (30 < DirTimer) {
DirTimer = 1;
}
}
optimalframenumber = math.atan2(y - y2, x - x2) * (180 / math.pi);
if (optimalframenumber < 0) {
optimalframenumber = optimalframenumber + 360;
}
optimalframenumber = (360 - optimalframenumber) - 90;
if (optimalframenumber < 0) {
optimalframenumber = optimalframenumber + 360;
}
optimalframenumber = Math.floor((optimalframenumber / 15) + 1);
if (0 < (optimalframenumber - framenumber)) {
if (12 < (optimalframenumber - framenumber)) {
framenumber = framenumber - 1;
}
if (12 >= (optimalframenumber - framenumber)) {
framenumber = framenumber + 1;
}
}
if ((optimalframenumber - framenumber) < 0) {
if (12 < (framenumber - optimalframenumber)) {
framenumber = framenumber + 1;
}
if (12 >= (framenumber - optimalframenumber)) {
framenumber = framenumber - 1;
}
}
if (((((y - y2) < 20) and (0 < (y - y2))) and (10 < framenumber)) and (framenumber < 16)) {
}
if (0 >= this.framenumber) {
this.framenumber = 24;
}
if (this.framenumber >= 25) {
this.framenumber = 1;
}
}
}
if ((this._x + this.collisionBig._x) >= 646) {
this._x = 645 - this.collisionBig._x;
physicsX = physicsX - borderbounce;
speed = 0;
}
if (60 >= (this._y + this.collisionBig._y)) {
this._y = 61 - this.collisionBig._y;
physicsY = physicsY + borderbounce;
speed = 0;
}
if (77 >= (this._x + this.collisionBig._x)) {
this._x = 78 - this.collisionBig._x;
physicsX = physicsX + borderbounce;
speed = 0;
}
if ((this._y - this.collisionBig._y) >= 235) {
this._y = 234 + this.collisionBig._y;
physicsY = physicsY - borderbounce;
speed = 0;
}
if (_root.globalvars.gamemode == "2-player") {
if ((_root.counter.action == 0) and (_root.gameover.gameover == 0)) {
if (Key.isDown(68)) {
_root.player2.framenumber = this.framenumber - 1;
if (0 >= this.framenumber) {
this.framenumber = 24;
}
} else if (Key.isDown(65)) {
this.framenumber = this.framenumber + 1;
if (this.framenumber >= 25) {
this.framenumber = 1;
}
}
if (Key.isDown(87)) {
this.Speed = this.Speed + _root.globalvars.ManualPlayersAccSpeed;
if (this.Speed >= _root.globalvars.ManualPlayersMaxSpeed) {
this.Speed = _root.globalvars.ManualPlayersMaxSpeed;
}
} else if (Key.isDown(83)) {
this.Speed = this.Speed - 0.2;
if (this.Speed < _root.globalvars.ManualPlayersReverseSpeed) {
this.Speed = _root.globalvars.ManualPlayersReverseSpeed;
}
} else {
this.Speed = this.Speed / _root.globalvars.CarResistance;
}
} else {
this.Speed = 0;
}
}
gotoAndStop(this.framenumber);
this._y = this._y + ((this.Speed * dirY) + physicsY);
this._x = this._x + ((this.Speed * dirX) + physicsX);
physicsY = physicsY / 1.05;
physicsX = physicsX / 1.05;
CalcSpeedXold = CalcSpeedXnew;
CalcSpeedXnew = this._x;
CalcSpeedX = CalcSpeedXnew - CalcSpeedXold;
CalcSpeedYold = CalcSpeedYnew;
CalcSpeedYnew = this._y;
CalcSpeedY = CalcSpeedYnew - CalcSpeedYold;
if (_root.ball.c.hitTest(this.collisionRealtime)) {
_root.ball.speedX = (CalcSpeedX * ShootSpeed) + getaway;
_root.ball.speedY = (CalcSpeedY * ShootSpeed) + getaway;
getaway = random(6) - 3;
_root.ball.posx = _root.ball.posx + (CalcSpeedX * 2);
_root.ball.posy = _root.ball.posy + (CalcSpeedY * 2);
this._x = (this._x - CalcSpeedX) - (getaway / 2);
this._y = (this._y - CalcSpeedY) - (getaway / 2);
if (8 < _root.ball.speedX) {
tellTarget ("_root.ball") {
gotoAndPlay (2);
};
}
if (_root.ball.speedX < -8) {
tellTarget ("_root.ball") {
gotoAndPlay (2);
};
}
if (8 < _root.ball.speedY) {
tellTarget ("_root.ball") {
gotoAndPlay (2);
};
}
if (_root.ball.speedY < -8) {
tellTarget ("_root.ball") {
gotoAndPlay (2);
};
}
} else {
getaway = 0;
}
if (hittimer < 0) {
this.speed = random(10) - 5;
_root.player1.speed = random(10) - 5;
hittimer = 30;
}
if (_root.player1.collisionBall.hitTest(this.collisionBall)) {
hittimer = hittimer - 1;
hittimerset = getTimer();
if (0 >= Bumptimer) {
_root.carSound.start(0, 1);
this.speed = -2;
physicsY = physicsY - (CalcSpeedY / 4);
physicsX = physicsX - (CalcSpeedX / 4);
_root.player1.speed = _root.player1.speed / 3;
_root.player1.physicsY = CalcSpeedY;
_root.player1.physicsX = CalcSpeedX;
Bumptimer = 10;
}
} else {
Bumptimer = Bumptimer - 1;
hittimernow = getTimer();
if (2000 < (hittimernow - hittimerset)) {
hittimerset = hittimernow;
hittimer = 30;
}
if (_root.globalvars.gamemode == "1-player") {
if ((_root.counter.action == 0) and (_root.gameover.gameover == 0)) {
Speedtimer = Speedtimer + 1;
if (10 < Speedtimer) {
Speedtimer = 1;
if (150 < Math.abs(x - x2)) {
this.Speed = this.Speed + highAcc;
} else {
this.Speed = this.Speed + lowAcc;
}
if (MaxSpeed < this.Speed) {
this.Speed = MaxSpeed;
}
} else {
this.Speed = this.Speed / 1.02;
}
} else {
this.Speed = 0;
}
}
}
}
}
Instance of Symbol 225 MovieClip "player1Ghost" in Frame 25
onClipEvent (load) {
this._y = _root.player1._y;
this._x = _root.player1._x;
this.framenumber = _root.player1.framenumber;
gotoAndStop(framenumber);
this._visible = 0;
}
onClipEvent (enterFrame) {
this.framenumber = _root.player1.framenumber;
this._y = _root.player1._y;
this._x = _root.player1._x;
gotoAndStop(framenumber);
if (_root.player1._y < _root.player2._y) {
this._visible = 0;
_root.player1._visible = 1;
} else {
this._visible = 1;
_root.player1._visible = 0;
}
}
Instance of Symbol 272 MovieClip "counter" in Frame 25
onClipEvent (load) {
}
onClipEvent (enterFrame) {
function reset() {
goalSoundPlay = "off";
this.action = "0";
_root.GoalGreen._visible = 0;
_root.goalred._visible = 0;
_root.ball.posx = 364;
_root.ball.posy = 60;
RandomSpeed = random(25);
_root.ball.speedY = 4 + RandomSpeed;
_root.goalLeft._x = 4;
_root.goalRight._x = 724;
_root.wall3._x = 15;
_root.wall4._x = 15;
_root.wall5._x = 713;
_root.wall6._x = 713;
_root.player1._y = 145;
_root.player1._x = 620;
_root.player1.framenumber = 7;
_root.player2._y = 145;
_root.player2._x = 62;
_root.player2.framenumber = 19;
}
if (action == "goalleft") {
if (goalSoundPlay == "off") {
_root.goalSound.start(0, 1);
goalSoundPlay = "on";
}
_root.goalgreen._visible = 1;
_root.ball.speedx = 0;
_root.ball.speedy = 0;
if (_root.ball._x < 40) {
_root.ball._x = 40;
}
if (_root.ball._y < 143) {
_root.ball._y = 143;
}
if (195 < _root.ball._y) {
_root.ball._y = 195;
}
_root.goalLeft._x = -150;
_root.wall3._x = -150;
_root.wall4._x = -150;
_root.player1.speed = 0;
_root.player1.physicsY = 0;
_root.player1.physicsX = 0;
_root.player2.speed = 0;
_root.player2.physicsY = 0;
_root.player2.physicsX = 0;
Endtime = getTimer();
if (1000 < (Endtime - Starttime)) {
this.goalleftcounter = this.goalleftcounter + 1;
this.goalleftcounter10 = math.floor(this.goalleftcounter / 10);
this.goalleftcounter1 = (this.goalleftcounter - (this.goalleftcounter10 * 10)) + 10;
_root.counter.goalright10.gotoAndStop(this.goalleftcounter10 + 10);
_root.counter.goalright1.gotoAndStop(this.goalleftcounter1);
reset();
}
}
if (action == "goalright") {
if (goalSoundPlay == "off") {
_root.goalSound.start(0, 1);
goalSoundPlay = "on";
}
_root.goalred._visible = 1;
_root.ball.speedx = 0;
_root.ball.speedy = 0;
_root.player1.speed = 0;
_root.player1.physicsY = 0;
_root.player1.physicsX = 0;
_root.player2.speed = 0;
_root.player2.physicsY = 0;
_root.player2.physicsX = 0;
_root.goalRight._x = 850;
_root.wall5._x = 850;
_root.wall6._x = 850;
if (695 < _root.ball._x) {
_root.ball._x = 695;
}
if (_root.ball._y < 143) {
_root.ball._y = 143;
}
if (195 < _root.ball._y) {
_root.ball._y = 195;
}
Endtime = getTimer();
if (1000 < (Endtime - Starttime)) {
this.goalrightcounter = this.goalrightcounter + 1;
this.goalrightcounter10 = math.floor(this.goalrightcounter / 10);
this.goalrightcounter1 = (this.goalrightcounter - (this.goalrightcounter10 * 10)) + 10;
_root.counter.goalleft10.gotoAndStop(this.goalrightcounter10 + 10);
_root.counter.goalleft1.gotoAndStop(this.goalrightcounter1);
reset();
}
}
}
Instance of Symbol 275 MovieClip "goalLeft" in Frame 25
onClipEvent (enterFrame) {
if (_root.ball.c.hitTest(_root.goalleft)) {
_root.counter.Starttime = getTimer();
_root.counter.action = "goalleft";
} else if (_root.ball.c.hitTest(_root.goalright)) {
_root.counter.Starttime = getTimer();
_root.counter.action = "goalright";
} else {
if (_root.ball.c.hitTest(_root.wall1)) {
_root.ball.posY = 290;
_root.ball.speedY = -(_root.ball.speedY * _root.ball.wallbounce);
}
if (_root.ball.c.hitTest(_root.wall2)) {
_root.ball.posY = 51;
_root.ball.speedY = -(_root.ball.speedY * _root.ball.wallbounce);
}
if (_root.ball.c.hitTest(_root.wall3)) {
_root.ball.posX = 61;
_root.ball.speedX = -(_root.ball.speedX * _root.ball.wallbounce);
}
if (_root.ball.c.hitTest(_root.wall4)) {
_root.ball.posX = 61;
_root.ball.speedX = -(_root.ball.speedX * _root.ball.wallbounce);
}
if (_root.ball.c.hitTest(_root.wall5)) {
_root.ball.posX = 667;
_root.ball.speedX = -(_root.ball.speedX * _root.ball.wallbounce);
}
if (_root.ball.c.hitTest(_root.wall6)) {
_root.ball.posX = 667;
_root.ball.speedX = -(_root.ball.speedX * _root.ball.wallbounce);
}
}
}
Instance of Symbol 286 MovieClip "pocxlogo" in Frame 25
onClipEvent (load) {
setProperty("_root.pocxlogo.pocxlogomouseover", _visible , 0);
}
Instance of Symbol 293 MovieClip "goalSound" in Frame 25
onClipEvent (load) {
this._y = 2000;
}
Instance of Symbol 295 MovieClip "carSound" in Frame 25
onClipEvent (load) {
this._y = 2000;
}
Frame 33
if (10 < introLoopVolume) {
introLoopVolume = introLoopVolume - 8;
} else {
introLoopVolume = 0;
introLoop.stop();
}
introLoop.setVolume(introLoopVolume);
if ((_root.watch.stoptime == 0) and (_root.counter.action == 0)) {
gotoAndPlay ("WatchScore");
} else {
gotoAndPlay ("Gameloop");
}
Frame 34
if (_root.globalvars.gamemode == "1-player") {
if (_root.counter.goalleftcounter < _root.counter.goalrightcounter) {
gotoAndStop ("1p_ YouLose");
}
if (_root.counter.goalrightcounter < _root.counter.goalleftcounter) {
gotoAndStop ("1p_ YouWin");
}
}
if (_root.globalvars.gamemode == "2-player") {
if (_root.counter.goalleftcounter < _root.counter.goalrightcounter) {
gotoAndStop ("2p - 1p Wins");
}
if (_root.counter.goalrightcounter < _root.counter.goalleftcounter) {
gotoAndStop ("2p - 2p Wins");
}
}
Frame 35
_root.gameover.gameover = 0;
_root.counter.action = 0;
_root.watch.digits._visible = 0;
_root.watch.timebar._visible = 0;
Frame 39
if (_root.counter.action == 0) {
gotoAndPlay ("GGLoop");
} else {
gotoAndPlay ("GGAction");
}
Frame 43
if (_root.counter.action == 0) {
gotoAndPlay ("WatchScore");
} else {
gotoAndPlay ("GGAction");
}
Frame 45
_root.win.gotoAndPlay(2);
_root.counter.action = 1;
_root.gameover.gameover = 1;
Frame 53
Mouse.show();
Frame 71
Mouse.show();
Frame 80
Mouse.show();
Frame 90
Frame 93
loadVariables ("/highscore/highscore.php", _root);
if (25 < score0) {
} else {
today_name0 = "connecting to server...";
name0 = "connecting to server...";
}
i = 1;
Frame 94
i++;
Frame 95
gotoAndPlay ("highscoreLoop");
if (900 < i) {
i = 0;
loadVariables ("/highscore/highscore.php", _root);
}
Symbol 11 Button
on (release) {
gotoAndPlay ("MainMenu");
}
on (rollOver) {
_root.skip_intro.gotoAndStop(2);
}
on (rollOut) {
_root.skip_intro.gotoAndStop(1);
}
Symbol 17 Button
on (release) {
getURL ("http://www.oxmond.com", "_blank");
}
Symbol 22 MovieClip Frame 1
this._visible = 0;
Symbol 22 MovieClip Frame 2
this._visible = 1;
Symbol 22 MovieClip Frame 246
_root.gotoAndPlay("bumperballSplash");
gotoAndPlay (180);
Symbol 25 MovieClip Frame 1
stop();
Symbol 25 MovieClip Frame 67
_root.gotoAndPlay("MainMenu");
Symbol 32 MovieClip Frame 1
varBytes = _root.getBytesLoaded();
varKbytes = Math.round(((_root.getBytesLoaded() / 1024) * 100) / 100);
varTotalBytes = Math.round(((_root.getBytesTotal() / 1024) * 100) / 100);
if (1024 < varBytes) {
txtBytes = ((varKbytes add " K of ") add varTotalBytes) add " K";
} else {
txtBytes = ((varBytes add " Bytes of ") add varTotalBytes) add " Kbytes";
}
txtPercentage = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) add "%";
varMove = Math.Round((_root.getBytesLoaded() / _root.getBytesTotal()) * 458.8);
setProperty("_root.loader.mcLoad", _x , -455 + varMove);
test = _root.loader.mcLoad._x;
Symbol 32 MovieClip Frame 2
if (_root.getBytesLoaded() < _root.getBytesTotal()) {
gotoAndPlay (1);
this._visible = 1;
}
Symbol 32 MovieClip Frame 3
stop();
this._visible = 0;
Symbol 36 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 1
this._visible = 0;
Symbol 41 MovieClip Frame 2
this._visible = 1;
Symbol 41 MovieClip Frame 190
stop();
Symbol 56 Button
on (release) {
_root.gotoAndPlay("Highscore");
}
Symbol 60 Button
on (release) {
gotoAndStop ("1-player");
_root.globalvars.gamemode = "1-player";
_root.MaxSpeed = 10;
_root.lowAcc = 1.05;
_root.highAcc = 2;
}
Symbol 63 Button
on (release) {
gotoAndStop ("2-player");
_root.globalvars.gamemode = "2-player";
}
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 2
stop();
Symbol 74 Button
on (release) {
gotoAndStop ("Select");
}
Symbol 75 Button
on (rollOver) {
tellTarget ("_root.menu.startgame") {
gotoAndStop (2);
};
}
on (rollOut) {
tellTarget ("_root.menu.startgame") {
gotoAndStop (1);
};
}
on (release) {
tellTarget ("_root") {
gotoAndPlay ("1p_StartGame");
};
}
Symbol 92 Button
on (release) {
setProperty("_root.menu.2min", _visible , "1");
setProperty("_root.menu.5min", _visible , "0");
setProperty("_root.menu.10min", _visible , "0");
setProperty("_root.menu.15min", _visible , "0");
_root.globaltime = 1;
}
Symbol 93 Button
on (release) {
setProperty("_root.menu.2min", _visible , "0");
setProperty("_root.menu.5min", _visible , "1");
setProperty("_root.menu.10min", _visible , "0");
setProperty("_root.menu.15min", _visible , "0");
_root.globaltime = 5;
}
Symbol 94 Button
on (release) {
setProperty("_root.menu.2min", _visible , "0");
setProperty("_root.menu.5min", _visible , "0");
setProperty("_root.menu.10min", _visible , "1");
setProperty("_root.menu.15min", _visible , "0");
_root.globaltime = 10;
}
Symbol 95 Button
on (release) {
setProperty("_root.menu.2min", _visible , "0");
setProperty("_root.menu.5min", _visible , "0");
setProperty("_root.menu.10min", _visible , "0");
setProperty("_root.menu.15min", _visible , "1");
_root.globaltime = 15;
}
Symbol 96 Button
on (rollOver) {
tellTarget ("_root.menu.startgame") {
gotoAndStop (2);
};
}
on (rollOut) {
tellTarget ("_root.menu.startgame") {
gotoAndStop (1);
};
}
on (release) {
tellTarget ("_root") {
gotoAndPlay ("StartGame");
};
}
Symbol 97 MovieClip Frame 1
this._visible = 0;
Symbol 97 MovieClip Frame 2
this._visible = 1;
Symbol 97 MovieClip Frame 15
stop();
Symbol 97 MovieClip Frame 25
stop();
_root.globaltime = 1;
Symbol 97 MovieClip Frame 34
stop();
setProperty("_root.menu.2min", _visible , "1");
setProperty("_root.menu.5min", _visible , "0");
setProperty("_root.menu.10min", _visible , "0");
setProperty("_root.menu.15min", _visible , "0");
_root.globaltime = 2;
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 32
gotoAndStop (1);
Symbol 176 MovieClip Frame 1
stop();
_root.player1.diry = -1;
_root.player1.dirx = 0;
Symbol 176 MovieClip Frame 2
_root.player1.diry = -0.96;
_root.player1.dirx = -0.26;
Symbol 176 MovieClip Frame 3
_root.player1.diry = -0.87;
_root.player1.dirx = -0.49;
Symbol 176 MovieClip Frame 4
_root.player1.diry = -0.7;
_root.player1.dirx = -0.7;
Symbol 176 MovieClip Frame 5
_root.player1.diry = -0.49;
_root.player1.dirx = -0.87;
Symbol 176 MovieClip Frame 6
_root.player1.diry = -0.26;
_root.player1.dirx = -0.96;
Symbol 176 MovieClip Frame 7
_root.player1.diry = 0;
_root.player1.dirx = -1;
Symbol 176 MovieClip Frame 8
_root.player1.diry = 0.26;
_root.player1.dirx = -0.96;
Symbol 176 MovieClip Frame 9
_root.player1.diry = 0.49;
_root.player1.dirx = -0.87;
Symbol 176 MovieClip Frame 10
_root.player1.diry = 0.7;
_root.player1.dirx = -0.7;
Symbol 176 MovieClip Frame 11
_root.player1.diry = 0.87;
_root.player1.dirx = -0.49;
Symbol 176 MovieClip Frame 12
_root.player1.diry = 0.96;
_root.player1.dirx = -0.26;
Symbol 176 MovieClip Frame 13
_root.player1.diry = 1;
_root.player1.dirx = 0;
Symbol 176 MovieClip Frame 14
_root.player1.diry = 0.96;
_root.player1.dirx = 0.26;
Symbol 176 MovieClip Frame 15
_root.player1.diry = 0.87;
_root.player1.dirx = 0.49;
Symbol 176 MovieClip Frame 16
_root.player1.diry = 0.7;
_root.player1.dirx = 0.7;
Symbol 176 MovieClip Frame 17
_root.player1.diry = 0.49;
_root.player1.dirx = 0.87;
Symbol 176 MovieClip Frame 18
_root.player1.diry = 0.26;
_root.player1.dirx = 0.96;
Symbol 176 MovieClip Frame 19
_root.player1.diry = 0;
_root.player1.dirx = 1;
Symbol 176 MovieClip Frame 20
_root.player1.diry = -0.26;
_root.player1.dirx = 0.96;
Symbol 176 MovieClip Frame 21
_root.player1.diry = -0.49;
_root.player1.dirx = 0.87;
Symbol 176 MovieClip Frame 22
_root.player1.diry = -0.7;
_root.player1.dirx = 0.7;
Symbol 176 MovieClip Frame 23
_root.player1.diry = -0.87;
_root.player1.dirx = 0.49;
Symbol 176 MovieClip Frame 24
_root.player1.diry = -0.96;
_root.player1.dirx = 0.26;
Symbol 224 MovieClip Frame 1
stop();
_root.player2.diry = -1;
_root.player2.dirx = 0;
Symbol 224 MovieClip Frame 2
_root.player2.diry = -0.96;
_root.player2.dirx = -0.26;
Symbol 224 MovieClip Frame 3
_root.player2.diry = -0.87;
_root.player2.dirx = -0.49;
Symbol 224 MovieClip Frame 4
_root.player2.diry = -0.7;
_root.player2.dirx = -0.7;
Symbol 224 MovieClip Frame 5
_root.player2.diry = -0.49;
_root.player2.dirx = -0.87;
Symbol 224 MovieClip Frame 6
_root.player2.diry = -0.26;
_root.player2.dirx = -0.96;
Symbol 224 MovieClip Frame 7
_root.player2.diry = 0;
_root.player2.dirx = -1;
Symbol 224 MovieClip Frame 8
_root.player2.diry = 0.26;
_root.player2.dirx = -0.96;
Symbol 224 MovieClip Frame 9
_root.player2.diry = 0.49;
_root.player2.dirx = -0.87;
Symbol 224 MovieClip Frame 10
_root.player2.diry = 0.7;
_root.player2.dirx = -0.7;
Symbol 224 MovieClip Frame 11
_root.player2.diry = 0.87;
_root.player2.dirx = -0.49;
Symbol 224 MovieClip Frame 12
_root.player2.diry = 0.96;
_root.player2.dirx = -0.26;
Symbol 224 MovieClip Frame 13
_root.player2.diry = 1;
_root.player2.dirx = 0;
Symbol 224 MovieClip Frame 14
_root.player2.diry = 0.96;
_root.player2.dirx = 0.26;
Symbol 224 MovieClip Frame 15
_root.player2.diry = 0.87;
_root.player2.dirx = 0.49;
Symbol 224 MovieClip Frame 16
_root.player2.diry = 0.7;
_root.player2.dirx = 0.7;
Symbol 224 MovieClip Frame 17
_root.player2.diry = 0.49;
_root.player2.dirx = 0.87;
Symbol 224 MovieClip Frame 18
_root.player2.diry = 0.26;
_root.player2.dirx = 0.96;
Symbol 224 MovieClip Frame 19
_root.player2.diry = 0;
_root.player2.dirx = 1;
Symbol 224 MovieClip Frame 20
_root.player2.diry = -0.26;
_root.player2.dirx = 0.96;
Symbol 224 MovieClip Frame 21
_root.player2.diry = -0.49;
_root.player2.dirx = 0.87;
Symbol 224 MovieClip Frame 22
_root.player2.diry = -0.7;
_root.player2.dirx = 0.7;
Symbol 224 MovieClip Frame 23
_root.player2.diry = -0.87;
_root.player2.dirx = 0.49;
Symbol 224 MovieClip Frame 24
_root.player2.diry = -0.96;
_root.player2.dirx = 0.26;
Symbol 225 MovieClip Frame 1
stop();
_root.player1.diry = -1;
_root.player1.dirx = 0;
Symbol 225 MovieClip Frame 2
_root.player1.diry = -0.96;
_root.player1.dirx = -0.26;
Symbol 225 MovieClip Frame 3
_root.player1.diry = -0.87;
_root.player1.dirx = -0.49;
Symbol 225 MovieClip Frame 4
_root.player1.diry = -0.7;
_root.player1.dirx = -0.7;
Symbol 225 MovieClip Frame 5
_root.player1.diry = -0.49;
_root.player1.dirx = -0.87;
Symbol 225 MovieClip Frame 6
_root.player1.diry = -0.26;
_root.player1.dirx = -0.96;
Symbol 225 MovieClip Frame 7
_root.player1.diry = 0;
_root.player1.dirx = -1;
Symbol 225 MovieClip Frame 8
_root.player1.diry = 0.26;
_root.player1.dirx = -0.96;
Symbol 225 MovieClip Frame 9
_root.player1.diry = 0.49;
_root.player1.dirx = -0.87;
Symbol 225 MovieClip Frame 10
_root.player1.diry = 0.7;
_root.player1.dirx = -0.7;
Symbol 225 MovieClip Frame 11
_root.player1.diry = 0.87;
_root.player1.dirx = -0.49;
Symbol 225 MovieClip Frame 12
_root.player1.diry = 0.96;
_root.player1.dirx = -0.26;
Symbol 225 MovieClip Frame 13
_root.player1.diry = 1;
_root.player1.dirx = 0;
Symbol 225 MovieClip Frame 14
_root.player1.diry = 0.96;
_root.player1.dirx = 0.26;
Symbol 225 MovieClip Frame 15
_root.player1.diry = 0.87;
_root.player1.dirx = 0.49;
Symbol 225 MovieClip Frame 16
_root.player1.diry = 0.7;
_root.player1.dirx = 0.7;
Symbol 225 MovieClip Frame 17
_root.player1.diry = 0.49;
_root.player1.dirx = 0.87;
Symbol 225 MovieClip Frame 18
_root.player1.diry = 0.26;
_root.player1.dirx = 0.96;
Symbol 225 MovieClip Frame 19
_root.player1.diry = 0;
_root.player1.dirx = 1;
Symbol 225 MovieClip Frame 20
_root.player1.diry = -0.26;
_root.player1.dirx = 0.96;
Symbol 225 MovieClip Frame 21
_root.player1.diry = -0.49;
_root.player1.dirx = 0.87;
Symbol 225 MovieClip Frame 22
_root.player1.diry = -0.7;
_root.player1.dirx = 0.7;
Symbol 225 MovieClip Frame 23
_root.player1.diry = -0.87;
_root.player1.dirx = 0.49;
Symbol 225 MovieClip Frame 24
_root.player1.diry = -0.96;
_root.player1.dirx = 0.26;
Symbol 286 MovieClip Frame 1
text = "A GAME BY OXMOND INTERACTIVE";
Symbol 286 MovieClip Frame 2
stop();
Symbol 288 Button
on (rollOver) {
setProperty("_root.pocxlogo.pocxlogomouseover", _visible , 1);
}
on (rollOut) {
setProperty("_root.pocxlogo.pocxlogomouseover", _visible , 0);
}
on (release) {
getURL ("http://www.oxmond.com", "_blank");
}
Symbol 289 Button
on (rollOver) {
Mouse.hide();
}
on (rollOut) {
Mouse.show();
}
Symbol 290 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 1
this._visible = 0;
_root.goalcounter = _root.goalcounter + _root.counter.goalleftcounter;
_root.points = ((_root.points + ((_root.counter.goalleftcounter - _root.counter.goalrightcounter) * 25)) + (_root.counter.goalleftcounter * 10)) + (_root.gameLevel * 15);
_root.score = _root.points;
text1 = ("LEVEL " add _root.gameLevel) add " COMPLETED";
text2 = "GOALS (TOTAL): " add _root.goalcounter;
text3 = "POINTS: " add _root.points;
Symbol 314 MovieClip Frame 2
this._visible = 1;
Symbol 314 MovieClip Frame 105
_root.gameLevel++;
_root.MaxSpeed = _root.MaxSpeed + 3;
if (30 < _root.MaxSpeed) {
_root.MaxSpeed = 30;
}
_root.lowAcc = _root.lowAcc + 0.3;
if (3 < _root.lowAcc) {
_root.lowAcc = 3;
}
_root.highAcc = _root.highAcc + 0.4;
if (5 < _root.highAcc) {
_root.highAcc = 5;
}
LevelText = "LEVEL " add _root.gameLevel;
Symbol 314 MovieClip Frame 201
_root.gotoAndPlay("1p_StartGame");
Symbol 326 Button
on (release) {
_root.gameLevel = 1;
_root.points = 0;
_root.MaxSpeed = 10;
_root.lowAcc = 1.05;
_root.highAcc = 2;
_root.gotoAndPlay("MainMenu");
}
Symbol 331 Button
on (release) {
_root.gameLevel = 1;
_root.points = 0;
_root.goalcounter = 0;
_root.MaxSpeed = 10;
_root.lowAcc = 1.05;
_root.highAcc = 2;
_root.gotoAndPlay("1p_StartGame");
}
Symbol 336 Button
on (release) {
gotoAndPlay ("submit");
}
Symbol 341 Button
on (release) {
if ((((name == undefined) or (name == " ")) or (name == " ")) or (name == "Please type your name...")) {
name = "Please type your name...";
gotoAndPlay ("submit");
} else {
loadVariables ("/highscore/insert_score.php", "_root", "POST");
_root.gotoAndPlay("Highscore");
}
}
on (keyPress "<Enter>") {
if ((((name == undefined) or (name == " ")) or (name == " ")) or (name == "Please type your name...")) {
name = "Please type your name...";
gotoAndPlay ("submit");
} else {
loadVariables ("/highscore/insert_score.php", "_root", "POST");
_root.gotoAndPlay("Highscore");
}
}
Symbol 347 MovieClip Frame 1
this._visible = 0;
Symbol 347 MovieClip Frame 2
this._visible = 1;
_root.goalcounter = _root.goalcounter + _root.counter.goalleftcounter;
score = _root.points;
playerarotation = (((random(5000) * 45324) + 65489876541) * 65478) + 32145656541234;
playerapositionx = (((random(5000) * 45324) + 65489876541) * 65478) + 32145656541234;
playerapositiony = (((random(5000) * 45324) + 65489876541) * 65478) + 32145656541234;
playeraacceleration = (((random(5000) * 45324) + 65489876541) * 65478) + 32145656541234;
playeraspeed = (((random(5000) * 45324) + 65489876541) * 65478) + 32145656541234;
playerbrotation = (((random(5000) * 45324) + 65489876541) * 65478) + 32145656541234;
playerbpositionx = (((_root.points * 45324) + 65489876541) * 65478) + 32145656541234;
playerbpositiony = (((random(5000) * 45324) + 65489876541) * 65478) + 32145656541234;
playerbacceleration = (((random(5000) * 45324) + 65489876541) * 65478) + 32145656541234;
playerbspeed = (((random(5000) * 45324) + 65489876541) * 65478) + 32145656541234;
gametime01 = (((score + 3456554) * 26795) + 425675) * 22568;
gametime02 = (((random(5000) + 448902) * 26912) + 267098) * 38676;
gametime03 = (((random(5000) + 448902) * 26912) + 267098) * 34578;
gametime04 = (((random(5000) + 448902) * 26912) + 267098) * 37655;
gametime05 = (gametime07 - gametime13) + gametime18;
gametime06 = (((random(5000) + 448902) * 26912) + 267098) * 34765;
gametime07 = (((score + 386543) * 29790) + 46543) * 22537;
gametime08 = (((random(5000) + 448902) * 26912) + 267098) * 34788;
gametime09 = (((score + 323479) * 23462) + 43646) * 20865;
gametime10 = (((score + 357321) * 29543) + 496543) * 27654;
gametime11 = (((score + 387543) * 28954) + 434566) * 22469;
gametime12 = (((random(5000) + 448902) * 26912) + 267098) * 33567;
gametime13 = (((score + 425678) * 29896) + 47554) * 25780;
gametime14 = (((random(5000) + 448902) * 26912) + 267098) * 37894;
gametime15 = (((score + 365435) * 24569) + 43754) * 20865;
gametime16 = (((random(5000) + 448902) * 26912) + 267098) * 33474;
gametime17 = (((random(5000) + 448902) * 26912) + 267098) * 34757;
gametime18 = (((random(5000) + 448902) * 26912) + 267098) * 34789;
gametime19 = (((score + 3347834) * 22579) + 463456) * 29859;
gametime20 = (((score + 323689) * 28749) + 464563) * 29765;
text1 = "LEVELS COMPLETED: " add (_root.gameLevel - 1);
text2 = "GOALS (TOTAL): " add _root.goalcounter;
text3 = "POINTS: " add _root.points;
text4 = "Submit score: " add _root.points;
Symbol 347 MovieClip Frame 58
stop();
Symbol 347 MovieClip Frame 70
Selection.setFocus("name");
Symbol 347 MovieClip Frame 77
stop();
Symbol 350 Button
on (release) {
_root.gameLevel = 1;
_root.points = 0;
_root.MaxSpeed = 10;
_root.lowAcc = 1.05;
_root.highAcc = 2;
_root.gotoAndPlay("1p_StartGame");
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndPlay (2);
}
Symbol 353 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 3
stop();
Symbol 356 Button
on (release) {
_root.gotoAndPlay("MainMenu");
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 357 MovieClip Frame 1
stop();
Symbol 357 MovieClip Frame 3
stop();
Symbol 357 MovieClip Frame 4
gotoAndStop (1);
Symbol 358 MovieClip Frame 1
this._visible = 0;
Symbol 358 MovieClip Frame 2
this._visible = 1;
Symbol 358 MovieClip Frame 13
stop();
Instance of Symbol 357 MovieClip in Symbol 358 MovieClip Frame 13
/* no clip actions */
Symbol 361 MovieClip Frame 1
this._visible = 0;
Symbol 361 MovieClip Frame 2
this._visible = 1;
Symbol 361 MovieClip Frame 13
stop();
Instance of Symbol 357 MovieClip in Symbol 361 MovieClip Frame 13
/* no clip actions */
Symbol 516 Button
on (release) {
getURL ("http://bumperball.dk", "_blank");
}