mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-22 13:06:15 -04:00
Build 29062687
This commit is contained in:
parent
f76c96019c
commit
85ece0b975
21 changed files with 74 additions and 68 deletions
|
@ -430,7 +430,7 @@ export function explodeBrick(
|
|||
cy,
|
||||
ball.previousVX * (0.5 + Math.random()),
|
||||
ball.previousVY * (0.5 + Math.random()),
|
||||
color,
|
||||
color,
|
||||
|
||||
points,
|
||||
);
|
||||
|
@ -583,7 +583,9 @@ export function addToScore(gameState: GameState, coin: Coin) {
|
|||
coin.previousY,
|
||||
(gameState.canvasWidth - coin.x) / 100,
|
||||
-coin.y / 100,
|
||||
gameState.perks.metamorphosis || isOptionOn("colorful_coins") ? coin.color : 'gold',
|
||||
gameState.perks.metamorphosis || isOptionOn("colorful_coins")
|
||||
? coin.color
|
||||
: "gold",
|
||||
|
||||
true,
|
||||
gameState.coinSize / 2,
|
||||
|
@ -1116,7 +1118,10 @@ export function gameStateTick(
|
|||
coin.x,
|
||||
coin.y,
|
||||
0,
|
||||
gameState.baseSpeed, gameState.perks.metamorphosis || isOptionOn("colorful_coins") ? coin.color : 'gold',
|
||||
gameState.baseSpeed,
|
||||
gameState.perks.metamorphosis || isOptionOn("colorful_coins")
|
||||
? coin.color
|
||||
: "gold",
|
||||
true,
|
||||
5,
|
||||
250,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue