home *** CD-ROM | disk | FTP | other *** search
- startDrag("_root.sight",1);
- Mouse.hide();
- grenadeexp = new Sound();
- grenadeexp.attachSound("grenadeex");
- grenadeexp.setVolume(250);
- enginLow = new Sound();
- enginLow.attachSound("lowengin");
- enginLow.setVolume(50);
- enginLow.start();
- grenadeexp.start();
- _root.attachMovie("framen","gameframe",2000);
- _root.gameframe._x = 0;
- _root.gameframe._y = 0;
- _root.attachMovie("wave_all","waveGrid",1999);
- _root.waveGrid._x = -123;
- _root.waveGrid._y = 275;
- _root.attachMovie("wave_waterline","wave_waterline",1998);
- _root.wave_waterline._x = 0;
- _root.wave_waterline._y = 275;
- planedepth = 200;
- FooTotal = new Array();
- FooOnScreenAlive = new Array();
- FooOnScreenDead = new Array();
- FooTotal = [{name:"plane0",planeX:300,planeY:70,speed:4,elevation:0,fallspeed:0,tilt:0,rotation:0,health:4},{name:"plane1",planeX:200,planeY:50,speed:3.5,elevation:0,fallspeed:0,tilt:0,rotation:0,health:4},{name:"plane2",planeX:400,planeY:120,speed:3,elevation:0,fallspeed:0,tilt:0,rotation:0,health:4},{name:"plane3",planeX:450,planeY:100,speed:3,elevation:0,fallspeed:0,tilt:0,rotation:0,health:4},{name:"plane4",planeX:420,planeY:70,speed:3,elevation:0,fallspeed:0,tilt:0,rotation:0,health:4},{name:"plane5",planeX:600,planeY:70,speed:4.2,elevation:0,fallspeed:0,tilt:0,rotation:0,health:4},{name:"plane6",planeX:700,planeY:50,speed:3.5,elevation:0,fallspeed:0,tilt:0,rotation:0,health:4},{name:"plane7",planeX:800,planeY:120,speed:5,elevation:0,fallspeed:0,tilt:0,rotation:0,health:4},{name:"plane8",planeX:950,planeY:100,speed:4,elevation:0,fallspeed:0,tilt:0,rotation:0,health:4},{name:"plane9",planeX:500,planeY:70,speed:3.3,elevation:0,fallspeed:0,tilt:0,rotation:0,health:4}];
- shot = new Array();
- shot = [{shootSpeedX:0,shootSpeedY:0,shootX:0,shootY:1110,timer:-1},{shootSpeedX:0,shootSpeedY:0,shootX:0,shootY:1110,timer:-1},{shootSpeedX:0,shootSpeedY:0,shootX:0,shootY:1110,timer:-1},{shootSpeedX:0,shootSpeedY:0,shootX:0,shootY:1110,timer:-1}];
- shootNr = 0;
- NrOfShots = 0;
- waveArray = new Array();
- waveArray = [{size:2},{size:2},{size:2},{size:2},{size:10}];
- waveLength = 123;
- newWaveValue = waveLength;
- waveTopValue = waveLength / 4 * 3;
- waveSize = waveArray[2].size;
- waveCurve = waveSize * 2.5;
- waveX = 0;
- w = 0;
- while(w < waveArray.length)
- {
- wavechange = eval("_root.waveGrid.wave" + w);
- wavechange._yscale = waveArray[w].size * 14;
- w++;
- }
- w = 4;
- wavesPast = 2;
- hitNr = 0;
- watertouch = true;
- jump = false;
- grav = 0.2;
- wind = -0.2;
- levelplacement = -246;
- curentXspeed = 1;
- boatXspeed = 0;
- boatTopSpeed = 7;
- waterYline = 275;
- boatY = waveHeight + waterYline;
- boatX = waveLength * 2;
- AccSlope = 0;
- jumpHeight = 0;
- jumpRecord = 0;
- shootSpeed = 5;
- _root.boat._y = boatY;
-