SHIP_BASE_SPEED = 150;//75; SHIP_MAX_SPEED = 450; SHIP_BASE_TORQUE = 10; SHIP_COLLISION_HOFFSET = 5; SHIP_COLLISION_WOFFSET = 20; GAME_CLIMAX = 120000; // miliseconds CREEP_SPAWN_RATIO = 2000; //miliseconds CREEP_SPAWN_MIN_RATIO = 200; WEAPON_SPAWN_RATIO = 20000; //miliseconds WEAPON_SPAWN_MIN_RATIO = 5000; //miliseconds SCREEN_WATER_SURFACE = 150; SCREEN_UIBAR_HEIGHT = 30; SCREEN_UIBAR_OPACITY = 0.6; SCREEN_TEXT_DARKCOLOR = '#3a2f25'; SCREEN_TEXT_LIGHTCOLOR = '#fee9ce'; WEAPONBOX_SPEED = 100; WEAPONS_MAX_HEAT = 32; WEAPONS_SAFE_HEAT = 16; WEAPONS_COOLING_HEAT = 10; // 10 HEAT PER SECONDS VOLUME_SFX = 0.2; VOLUME_MUSIC = 1.0; TITLE = 'Beneath The Sea'; AUTHOR = 'Renato de Pontes Pereira'; CREDITS = 'This game was create for Ludum dare #29, under the theme "Beneath '+ 'the Surface".\n'; CREEPS = [ { 'id': 'creep1', 'name': 'Formiga', 'life': 1, 'weight': 200, 'movement': 'linear', 'minscore': 0, 'speed': 35, 'xp': 10 }, { 'id': 'creep2', 'name': 'Besouro', 'life': 2, 'weight': 100, 'movement': 'linear', 'minscore': 200, 'speed': 50, 'xp': 30 }, { 'id': 'creep4', 'name': 'Minhoca', 'life': 5, 'weight': 10, 'movement': 'linear', 'minscore': 1500, 'speed': 10, 'xp': 100 }, { 'id': 'creep3', 'name': 'Formiga 2', 'life': 2, 'weight': 50, 'movement': 'linear', 'minscore': 1000, 'speed': 75, 'xp': 50 }, { 'id': 'creep5', 'name': 'Besouro 2', 'life': 1, 'weight': 75, 'movement': 'linear', 'minscore': 500, 'speed': 75, 'xp': 40 } ] WEAPONS = [ { 'id': 'weapon1', 'box': 'weaponbox1', 'sounds': ['sound_weapon4'], 'name': 'Sting Missile', 'area': 15, 'speed': 150, 'damage': 1, 'cooldown': 3, 'ammunition': 100000000, 'weight': 0, 'minscore': 0, 'mindepth': null, 'maxdepth': null, }, { 'id': 'weapon2', 'box': 'weaponbox2', 'sounds': ['sound_weapon2'], 'name': 'Mark I Torpedo', 'area': 20, 'speed': 100, 'damage': 1, 'cooldown': 2, 'ammunition': 30, 'weight': 100, 'minscore': 100, 'mindepth': null, 'maxdepth': null, }, { 'id': 'weapon3', 'box': 'weaponbox3', 'sounds': ['sound_weapon3'], 'name': 'Mark II Torpedo', 'area': 30, 'speed': 200, 'damage': 2, 'cooldown': 4, 'ammunition': 10, 'weight': 100, 'minscore': 500, 'mindepth': null, 'maxdepth': null, }, { 'id': 'weapon4', 'box': 'weaponbox4', 'sounds': ['sound_weapon5'], 'name': 'Mine', 'area': 30, 'speed': 300, 'damage': 2, 'cooldown': 4, 'ammunition': 5, 'weight': 70, 'minscore': 1000, 'mindepth': null, 'maxdepth': 300, }, { 'id': 'weapon5', 'box': 'weaponbox5', 'sounds': ['sound_weapon1'], 'name': 'Spearfish Bomb', 'area': 70, 'speed': 100, 'damage': 4, 'cooldown': 8, 'ammunition': 5, 'weight': 50, 'minscore': 2000, 'mindepth': null, 'maxdepth': null, }, { 'id': 'weapon6', 'box': 'weaponbox6', 'sounds': ['sound_weapon1'], 'name': 'Atomic Bomb', 'area': 100000000, 'speed': 150, 'damage': 10000000, 'cooldown': 16, 'ammunition': 1, 'weight': 35, 'minscore': 5000, 'mindepth': 300, 'maxdepth': null, }, { 'id': 'weapon7', 'box': 'weaponbox7', 'sounds': ['sound_weapon5'], 'name': 'Mine', 'area': 20, 'speed': 300, 'damage': 1, 'cooldown': 2, 'ammunition': 10, 'weight': 50, 'minscore': 100, 'mindepth': null, 'maxdepth': 200, } ] DEFAULT_WEAPON = WEAPONS[0];