mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-22 04:56:15 -04:00
Build 29058459
This commit is contained in:
parent
b19cc5c0b4
commit
de99dd9ba8
17 changed files with 160 additions and 147 deletions
|
@ -551,7 +551,6 @@ export function schedulGameSound(
|
|||
ex.vol += vol;
|
||||
}
|
||||
|
||||
|
||||
export function addToScore(gameState: GameState, coin: Coin) {
|
||||
gameState.score += coin.points;
|
||||
gameState.lastScoreIncrease = gameState.levelTime;
|
||||
|
@ -1488,7 +1487,7 @@ export function ballTick(gameState: GameState, ball: Ball, delta: number) {
|
|||
if (gameState.perks.top_is_lava && borderHitCode >= 2) {
|
||||
resetCombo(gameState, ball.x, ball.y + gameState.ballSize);
|
||||
}
|
||||
if (gameState.perks.trampoline ) {
|
||||
if (gameState.perks.trampoline) {
|
||||
decreaseCombo(
|
||||
gameState,
|
||||
gameState.perks.trampoline,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue