mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-21 04:26:14 -04:00
wip
This commit is contained in:
parent
8eb2e049c8
commit
e1c20627bc
15 changed files with 302 additions and 56 deletions
|
@ -100,7 +100,8 @@ export function render(gameState: GameState) {
|
|||
const brightness = isOptionOn("extra_bright") ? 3 : 1;
|
||||
|
||||
haloCanvasCtx.globalCompositeOperation = "lighten";
|
||||
haloCanvasCtx.globalAlpha = 0.1;
|
||||
haloCanvasCtx.globalAlpha =
|
||||
0.1 + (0.5 * 10) / (liveCount(gameState.coins) + 10);
|
||||
forEachLiveOne(gameState.coins, (coin) => {
|
||||
const color = getCoinRenderColor(gameState, coin);
|
||||
drawFuzzyBall(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue