Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

Commit

Permalink
Enlarge round length for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Fju committed Dec 1, 2017
1 parent ee51f18 commit f946dd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/view/draw.js
Expand Up @@ -73,7 +73,7 @@ export function draw() {

if (!playerInAtmos && model.entities.universe.collide(planet.atmosBox, model.entities.players[model.game.ownIdx].box)) playerInAtmos = true;
});
if(playerInAtmos) view.audio.bgFilter.frequency.value = Math.min(4000, view.audio.bgFilter.frequency.value * 1.05);
if (playerInAtmos) view.audio.bgFilter.frequency.value = Math.min(4000, view.audio.bgFilter.frequency.value * 1.05);
else view.audio.bgFilter.frequency.value = Math.max(200, view.audio.bgFilter.frequency.value * 0.95);

//shots
Expand Down
2 changes: 1 addition & 1 deletion server/lobby.js
Expand Up @@ -9,7 +9,7 @@ const vinage = require('vinage');
const MAX_LOBBY_COUNT = 5; //TODO: add it to the settings
const DEFAULT_PLAYER_AMOUNT = 2; //TODO: see above

const TIME_ROUND_LENGTH = 30000; //30 seconds
const TIME_ROUND_LENGTH = 60 * 60 * 1000; //1h
const TIME_DISPLAY_LENGTH = 5000; //5 seconds
const TIME_SCORE_FREQ = 1000; //1Hz
const TIME_GAME_FREQ = 16; //60Hz
Expand Down

0 comments on commit f946dd5

Please sign in to comment.