mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-05-05 03:07:14 -04:00
wip
This commit is contained in:
parent
258d578ad3
commit
9731d694f3
8 changed files with 791 additions and 722 deletions
|
@ -10,7 +10,7 @@ import {
|
|||
max_levels,
|
||||
reachRedRowIndex,
|
||||
telekinesisEffectRate,
|
||||
yoyoEffectRate,
|
||||
yoyoEffectRate, zoneLeftBorderX, zoneRightBorderX,
|
||||
} from "./game_utils";
|
||||
import { colorString, GameState } from "./types";
|
||||
import { t } from "./i18n/i18n";
|
||||
|
@ -517,9 +517,9 @@ export function render(gameState: GameState) {
|
|||
ctx,
|
||||
gameState,
|
||||
(redLeftSide && "#FF0000") || "#FFFFFF",
|
||||
gameState.offsetXRoundedDown - 1,
|
||||
zoneLeftBorderX(gameState),
|
||||
0,
|
||||
gameState.offsetXRoundedDown - 1,
|
||||
zoneLeftBorderX(gameState),
|
||||
height,
|
||||
1,
|
||||
);
|
||||
|
@ -528,9 +528,9 @@ export function render(gameState: GameState) {
|
|||
ctx,
|
||||
gameState,
|
||||
(redRightSide && "#FF0000") || "#FFFFFF",
|
||||
width - gameState.offsetXRoundedDown + 1,
|
||||
zoneRightBorderX(gameState),
|
||||
0,
|
||||
width - gameState.offsetXRoundedDown + 1,
|
||||
zoneRightBorderX(gameState),
|
||||
height,
|
||||
1,
|
||||
);
|
||||
|
@ -565,9 +565,9 @@ export function render(gameState: GameState) {
|
|||
ctx,
|
||||
gameState,
|
||||
"#FF0000",
|
||||
gameState.offsetXRoundedDown,
|
||||
zoneLeftBorderX(gameState),
|
||||
1,
|
||||
width - gameState.offsetXRoundedDown,
|
||||
zoneRightBorderX(gameState),
|
||||
1,
|
||||
1,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue