mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-06-15 18:54:47 -04:00
Build 29120032
This commit is contained in:
parent
381bd1cef9
commit
c054bcffcc
8 changed files with 32 additions and 25 deletions
|
@ -320,7 +320,7 @@ export function spawnXShapedParticlesExplosion(
|
|||
color: string,
|
||||
) {
|
||||
if (!!isOptionOn("basic")) return;
|
||||
|
||||
if (color == "black") return;
|
||||
if (liveCount(gameState.particles) > getCurrentMaxParticles()) {
|
||||
// Avoid freezing when lots of explosion happen at once
|
||||
return;
|
||||
|
@ -1015,6 +1015,7 @@ export function gameStateTick(
|
|||
}
|
||||
|
||||
if (
|
||||
gameState.perks.skip_last &&
|
||||
(window.location.search.includes("skipplaying") ||
|
||||
remainingBricks <= gameState.perks.skip_last) &&
|
||||
!gameState.autoCleanUses
|
||||
|
@ -1730,7 +1731,6 @@ export function ballTick(gameState: GameState, ball: Ball, frames: number) {
|
|||
|
||||
if (
|
||||
gameState.perks.puck_repulse_ball &&
|
||||
!isMovingWhilePassiveIncome(gameState) &&
|
||||
Math.abs(ball.x - gameState.puckPosition) <
|
||||
gameState.puckWidth / 2 +
|
||||
(gameState.ballSize * (9 + gameState.perks.puck_repulse_ball)) / 10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue