home *** CD-ROM | disk | FTP | other *** search
- function setup()
- {
- leftThrust = 0;
- rightThrust = 0;
- sideThrust = 0.7;
- xMovePlayer = 0;
- upKey = 38;
- downKey = 40;
- leftKey = 37;
- rightKey = 39;
- level = 1;
- fuelThrustCost = 0.1;
- _quality = _root.gameQuality;
- var _loc3_ = new Object();
- _loc3_.onMouseDown = function()
- {
- if(state == "playing")
- {
- }
- };
- _loc3_.onMouseUp = function()
- {
- if(state == "playing")
- {
- }
- };
- Mouse.addListener(_loc3_);
- extralives = 0;
- thrusting = 0;
- _root.lives = 2;
- _root.score = 0;
- _global.playerState = 1;
- enemyLevelStart = 1;
- _global.state = "begin";
- acl = 0;
- _global.prot = 0;
- _root.pnum = 2;
- mouseTrack = 25;
- gravityVar = 0.6;
- playerMaxSpeed = 10;
- maxDepth = landScape._height;
- addThrust = 5;
- gameScene = "GAME";
- playmusic();
- }
- function musicon()
- {
- this.on_off.gotoAndStop(1);
- musicstate = 1;
- storage.data.musicsetting = 1;
- playmusic();
- }
- function musicoff()
- {
- stopmusic();
- this.on_off.gotoAndStop(2);
- musicstate = 0;
- storage.data.musicsetting = 0;
- }
- if(musicstate == 0)
- {
- this.on_off.gotoAndStop(2);
- }
-