not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

43 lines
883 B

// Constants
var constant = {};
// Board size
constant.boardWidth = 15;
constant.boardHeight = 9;
constant.tileSize = 64;
constant.areaWidth = constant.boardWidth*constant.tileSize;
constant.areaHeight = constant.boardHeight*constant.tileSize;
constant.pubHeight = 100;
constant.fireZoneWidth = 100;
constant.fireZoneHeight = 100;
// Tile type
constant.tileEmpty = 0;
constant.tileTrees = 1;
constant.tileMountain = 2;
constant.tileWater = 3;
// Unit power - number of step before dead
constant.powerHq = 2;
constant.powerSoldier = 1;
constant.powerTank = 2;
constant.powerCanon = 3;
constant.powerHelo = 2;
// User power
constant.userPower = 10;
// Timer count
constant.loopInterval = 500;
constant.explosionInterval = 50;
// End size image
constant.endGameWidth = 480;
constant.endGameHeight = 320;
// Units arrival
constant.startArrival = 5;
constant.waveInitSize = 2;