mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-22 21:16:14 -04:00
Balancing
- New perk : addiction, reward faster gameplay - Balancing : hot start effect doubled - Balancing : you earn an extra perk when playing well, and a reroll when playing perfectly - Balancing : telekinesis limited to level 1
This commit is contained in:
parent
27a2cd686e
commit
7e316391d8
22 changed files with 799 additions and 897 deletions
|
@ -62,6 +62,7 @@ export function newGameState(params: RunParams): GameState {
|
|||
score: 0,
|
||||
lastScoreIncrease: -1000,
|
||||
lastExplosion: -1000,
|
||||
lastBrickBroken: 0,
|
||||
highScore: parseFloat(localStorage.getItem("breakout-3-hs") || "0"),
|
||||
balls: [],
|
||||
ballsColor: "white",
|
||||
|
@ -111,6 +112,7 @@ export function newGameState(params: RunParams): GameState {
|
|||
loop: 0,
|
||||
baseCombo: 1,
|
||||
levelsPerLoop: params?.levelsPerLoop ?? 7,
|
||||
maxLoop: params?.maxLoop ?? 0,
|
||||
};
|
||||
resetBalls(gameState);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue