mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-22 13:06:15 -04:00
Build 29058469
This commit is contained in:
parent
b2e6e3c9e4
commit
19729d4599
7 changed files with 9 additions and 9 deletions
|
@ -11,8 +11,8 @@ android {
|
||||||
applicationId = "me.lecaro.breakout"
|
applicationId = "me.lecaro.breakout"
|
||||||
minSdk = 21
|
minSdk = 21
|
||||||
targetSdk = 34
|
targetSdk = 34
|
||||||
versionCode = 29058459
|
versionCode = 29058469
|
||||||
versionName = "29058459"
|
versionName = "29058469"
|
||||||
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
4
dist/index.html
vendored
4
dist/index.html
vendored
|
@ -1461,7 +1461,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) {
|
},{"./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("\"29058459\"");
|
module.exports = JSON.parse("\"29058469\"");
|
||||||
|
|
||||||
},{}],"1u3Dx":[function(require,module,exports,__globalThis) {
|
},{}],"1u3Dx":[function(require,module,exports,__globalThis) {
|
||||||
var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");
|
var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");
|
||||||
|
@ -4301,7 +4301,7 @@ function gameOver(title, intro) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
let unlockedItems = list.filter((u)=>u.threshold > startTs && u.threshold < endTs);
|
let unlockedItems = list.filter((u)=>u.threshold > startTs && u.threshold < endTs);
|
||||||
if (unlockedItems.length) unlocksInfo += `<p>${(0, _i18N.t)('gameOver.unlocked_count', {
|
if (unlockedItems.length) unlocksInfo += `<p>${(0, _i18N.t)("gameOver.unlocked_count", {
|
||||||
count: unlockedItems.length
|
count: unlockedItems.length
|
||||||
})} ${unlockedItems.map((u)=>u.title).join(", ")}</p>`;
|
})} ${unlockedItems.map((u)=>u.title).join(", ")}</p>`;
|
||||||
// Avoid the sad sound right as we restart a new games
|
// Avoid the sad sound right as we restart a new games
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// The version of the cache.
|
// The version of the cache.
|
||||||
const VERSION = "29058459";
|
const VERSION = "29058469";
|
||||||
|
|
||||||
// The name of the cache
|
// The name of the cache
|
||||||
const CACHE_NAME = `breakout-71-${VERSION}`;
|
const CACHE_NAME = `breakout-71-${VERSION}`;
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
"29058459"
|
"29058469"
|
||||||
|
|
|
@ -108,7 +108,7 @@ export function gameOver(title: string, intro: string) {
|
||||||
(u) => u.threshold > startTs && u.threshold < endTs,
|
(u) => u.threshold > startTs && u.threshold < endTs,
|
||||||
);
|
);
|
||||||
if (unlockedItems.length) {
|
if (unlockedItems.length) {
|
||||||
unlocksInfo += `<p>${t('gameOver.unlocked_count', { count: unlockedItems.length })} ${unlockedItems.map((u) => u.title).join(", ")}</p>`;
|
unlocksInfo += `<p>${t("gameOver.unlocked_count", { count: unlockedItems.length })} ${unlockedItems.map((u) => u.title).join(", ")}</p>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Avoid the sad sound right as we restart a new games
|
// Avoid the sad sound right as we restart a new games
|
||||||
|
|
|
@ -555,7 +555,7 @@ export function addToScore(gameState: GameState, coin: Coin) {
|
||||||
gameState.score += coin.points;
|
gameState.score += coin.points;
|
||||||
gameState.lastScoreIncrease = gameState.levelTime;
|
gameState.lastScoreIncrease = gameState.levelTime;
|
||||||
addToTotalScore(gameState, coin.points);
|
addToTotalScore(gameState, coin.points);
|
||||||
if (gameState.score > gameState.highScore ) {
|
if (gameState.score > gameState.highScore) {
|
||||||
gameState.highScore = gameState.score;
|
gameState.highScore = gameState.score;
|
||||||
localStorage.setItem(
|
localStorage.setItem(
|
||||||
"breakout-3-hs-" + gameState.mode,
|
"breakout-3-hs-" + gameState.mode,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue