This commit is contained in:
Renan LE CARO 2025-03-20 21:05:30 +01:00
parent 760fa5715b
commit 551f9657f5
6 changed files with 8 additions and 7 deletions

View file

@ -11,8 +11,8 @@ android {
applicationId = "me.lecaro.breakout"
minSdk = 21
targetSdk = 34
versionCode = 29041682
versionName = "29041682"
versionCode = 29041685
versionName = "29041685"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary = true

File diff suppressed because one or more lines are too long

4
dist/index.html vendored
View file

@ -1271,7 +1271,7 @@ const upgrades = (0, _upgrades.rawUpgrades).map((u)=>({
}));
},{"./data/palette.json":"ktRBU","./data/levels.json":"8JSUc","./data/version.json":"iyP6E","./upgrades":"1u3Dx","./getLevelBackground":"7OIPf","./levelIcon":"6rQoT","@parcel/transformer-js/src/esmodule-helpers.js":"gkKU3"}],"iyP6E":[function(require,module,exports,__globalThis) {
module.exports = JSON.parse("\"29041682\"");
module.exports = JSON.parse("\"29041685\"");
},{}],"1u3Dx":[function(require,module,exports,__globalThis) {
var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");
@ -3392,7 +3392,7 @@ function renderAllBricks() {
(0, _game.gameState).bricks.forEach((color, index)=>{
const x = (0, _gameUtils.brickCenterX)((0, _game.gameState), index), y = (0, _gameUtils.brickCenterY)((0, _game.gameState), index);
if (!color) return;
let redBecauseOfReach = (0, _game.gameState).perks.reach && (0, _gameUtils.countBricksAbove)((0, _game.gameState), index) && !(0, _gameUtils.countBricksBelow)((0, _game.gameState), index);
let redBecauseOfReach = (0, _game.gameState).perks.reach && (0, _game.gameState).combo > (0, _gameStateMutators.baseCombo)((0, _game.gameState)) && (0, _gameUtils.countBricksAbove)((0, _game.gameState), index) && !(0, _gameUtils.countBricksBelow)((0, _game.gameState), index);
let redBorder = (0, _game.gameState).ballsColor !== color && color !== "black" && redBorderOnBricksWithWrongColor || redBecauseOfReach;
drawBrick(canctx, color, redBorder && "red" || color, x, y);
if (color === "black") {

View file

@ -1,5 +1,5 @@
// The version of the cache.
const VERSION = "29041682";
const VERSION = "29041685";
// The name of the cache
const CACHE_NAME = `breakout-71-${VERSION}`;

View file

@ -1 +1 @@
"29041682"
"29041685"

View file

@ -418,6 +418,7 @@ export function renderAllBricks() {
let redBecauseOfReach =
gameState.perks.reach &&
gameState.combo > baseCombo(gameState) &&
countBricksAbove(gameState, index) &&
!countBricksBelow(gameState, index);
let redBorder =