mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-05-01 09:19:13 -04:00
wip
This commit is contained in:
parent
181e156f60
commit
0ec9cdf798
17 changed files with 2089 additions and 2227 deletions
|
@ -607,8 +607,7 @@ export function pickRandomUpgrades(gameState: GameState, count: number) {
|
|||
icon: icons["icon:" + u.id],
|
||||
value: u.id as PerkId,
|
||||
help: u.help(gameState.perks[u.id] + 1),
|
||||
className: 'upgrade '
|
||||
|
||||
className: "upgrade ",
|
||||
}));
|
||||
}
|
||||
|
||||
|
@ -1183,7 +1182,10 @@ export function gameStateTick(
|
|||
Math.abs(coin.x - gameState.puckPosition) * 2 >
|
||||
gameState.puckWidth + coin.size;
|
||||
let dvy =
|
||||
frames * coin.weight * 0.8 * (flip ? 1-gameState.perks.helium*0.6 : 1);
|
||||
frames *
|
||||
coin.weight *
|
||||
0.8 *
|
||||
(flip ? 1 - gameState.perks.helium * 0.6 : 1);
|
||||
|
||||
if (gameState.perks.etherealcoins) {
|
||||
if (gameState.perks.helium) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue