mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-22 13:06:15 -04:00
wip
This commit is contained in:
parent
e1c20627bc
commit
6ef13f2d19
15 changed files with 289 additions and 65 deletions
|
@ -1508,7 +1508,7 @@ export function ballTick(gameState: GameState, ball: Ball, delta: number) {
|
|||
ball.y > ylimit &&
|
||||
ball.vy > 0 &&
|
||||
(ballIsUnderPuck ||
|
||||
(gameState.perks.extra_life &&
|
||||
(gameState.balls.length<2 && gameState.perks.extra_life &&
|
||||
ball.y > ylimit + gameState.puckHeight / 2))
|
||||
) {
|
||||
if (ballIsUnderPuck) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue