Skip to content

Commit

Permalink
Increase length of centipede with each level.
Browse files Browse the repository at this point in the history
  • Loading branch information
RandolphBurt committed Sep 15, 2013
1 parent 47c941a commit db70734
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion App/js/services/GameEngine.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ gameApp.factory('GameEngine', function(GraphicsEngine, GameBoard, GlobalSettings
this.centipedes.push(new Centipede(
Math.floor(GlobalSettings.gameBoardWidth / 2),
0,
10,
GlobalSettings.centipedeMinimumLength + GameState.currentLevel(),
this.centipedeUpperBoundary,
GlobalSettings.gameBoardHeight - 1,
0,
Expand Down
1 change: 1 addition & 0 deletions App/js/services/GlobalSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ gameApp.constant("GlobalSettings", {
minMushroomsInPlayerAreaBeforeFleaCreated: 5,

maxCentipedes: 9,
centipedeMinimumLength: 10,

delayAfterDeathBeforePlayerRegeneration: 5,
delayAfterDeathBeforeBulletDispose: 2,
Expand Down

0 comments on commit db70734

Please sign in to comment.