Build 29060283

This commit is contained in:
Renan LE CARO 2025-04-02 20:03:57 +02:00
parent 8104b8d4a9
commit eb05f7d182
6 changed files with 11 additions and 9 deletions

View file

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

File diff suppressed because one or more lines are too long

5
dist/index.html vendored
View file

@ -1475,7 +1475,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("\"29060272\"");
module.exports = JSON.parse("\"29060283\"");
},{}],"1u3Dx":[function(require,module,exports,__globalThis) {
var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");
@ -2930,7 +2930,8 @@ function resetCombo(gameState, x, y) {
return lost;
}
function increaseCombo(gameState, by, x, y) {
if (by > 0) gameState.combo += by;
if (by <= 0) return;
gameState.combo += by;
if ((0, _options.isOptionOn)("comboIncreaseTexts") && typeof x !== "undefined" && typeof y !== "undefined") makeText(gameState, x, y, "gold", "+" + by, 25, 400 + by);
}
function decreaseCombo(gameState, by, x, y) {

View file

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

View file

@ -1 +1 @@
"29060272"
"29060283"

View file

@ -222,9 +222,10 @@ export function increaseCombo(
x: number,
y: number,
) {
if (by > 0) {
gameState.combo += by;
if (by <= 0) {
return;
}
gameState.combo += by;
if (
isOptionOn("comboIncreaseTexts") &&
typeof x !== "undefined" &&