mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-20 20:16:16 -04:00
Build 29048147
This commit is contained in:
parent
35ea8e952a
commit
10bae8f47c
8 changed files with 836 additions and 751 deletions
|
@ -11,8 +11,8 @@ android {
|
||||||
applicationId = "me.lecaro.breakout"
|
applicationId = "me.lecaro.breakout"
|
||||||
minSdk = 21
|
minSdk = 21
|
||||||
targetSdk = 34
|
targetSdk = 34
|
||||||
versionCode = 29046953
|
versionCode = 29048147
|
||||||
versionName = "29046953"
|
versionName = "29048147"
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables {
|
vectorDrawables {
|
||||||
useSupportLibrary = true
|
useSupportLibrary = true
|
||||||
|
|
File diff suppressed because one or more lines are too long
40
dist/index.html
vendored
40
dist/index.html
vendored
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
||||||
// The version of the cache.
|
// The version of the cache.
|
||||||
const VERSION = "29046953";
|
const VERSION = "29048147";
|
||||||
|
|
||||||
// The name of the cache
|
// The name of the cache
|
||||||
const CACHE_NAME = `breakout-71-${VERSION}`;
|
const CACHE_NAME = `breakout-71-${VERSION}`;
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
"29046953"
|
"29048147"
|
||||||
|
|
|
@ -163,10 +163,13 @@ export function normalizeGameState(gameState: GameState) {
|
||||||
putBallsAtPuck(gameState);
|
putBallsAtPuck(gameState);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Math.abs(gameState.lastPuckPosition - gameState.puckPosition) > 1 && gameState.running) {
|
if (
|
||||||
|
Math.abs(gameState.lastPuckPosition - gameState.puckPosition) > 1 &&
|
||||||
|
gameState.running
|
||||||
|
) {
|
||||||
gameState.lastPuckMove = gameState.levelTime;
|
gameState.lastPuckMove = gameState.levelTime;
|
||||||
}
|
}
|
||||||
gameState.lastPuckPosition = gameState.puckPosition
|
gameState.lastPuckPosition = gameState.puckPosition;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function baseCombo(gameState: GameState) {
|
export function baseCombo(gameState: GameState) {
|
||||||
|
@ -847,7 +850,6 @@ export function gameStateTick(
|
||||||
gameState.combo,
|
gameState.combo,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
gameState.balls = gameState.balls.filter((ball) => !ball.destroyed);
|
gameState.balls = gameState.balls.filter((ball) => !ball.destroyed);
|
||||||
|
|
||||||
const remainingBricks = gameState.bricks.filter(
|
const remainingBricks = gameState.bricks.filter(
|
||||||
|
|
|
@ -61,7 +61,7 @@ export function pickedUpgradesHTMl(gameState: GameState) {
|
||||||
let list = "";
|
let list = "";
|
||||||
for (let u of upgrades) {
|
for (let u of upgrades) {
|
||||||
for (let i = 0; i < gameState.perks[u.id]; i++)
|
for (let i = 0; i < gameState.perks[u.id]; i++)
|
||||||
list += `<span title="${u.name}">${icons["icon:" + u.id]}</span>`;
|
list += `<span title="${u.name}">${icons["icon:" + u.id]}</span>`;
|
||||||
}
|
}
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
1523
src/render.ts
1523
src/render.ts
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue