mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-23 13:36:15 -04:00
Build 29044319
This commit is contained in:
parent
b0c7e8decd
commit
e3f37a4cd9
6 changed files with 9 additions and 13 deletions
|
@ -11,8 +11,8 @@ android {
|
|||
applicationId = "me.lecaro.breakout"
|
||||
minSdk = 21
|
||||
targetSdk = 34
|
||||
versionCode = 29044306
|
||||
versionName = "29044306"
|
||||
versionCode = 29044319
|
||||
versionName = "29044319"
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
useSupportLibrary = true
|
||||
|
|
File diff suppressed because one or more lines are too long
2
dist/index.html
vendored
2
dist/index.html
vendored
|
@ -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("\"29044306\"");
|
||||
module.exports = JSON.parse("\"29044319\"");
|
||||
|
||||
},{}],"1u3Dx":[function(require,module,exports,__globalThis) {
|
||||
var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// The version of the cache.
|
||||
const VERSION = "29044306";
|
||||
const VERSION = "29044319";
|
||||
|
||||
// The name of the cache
|
||||
const CACHE_NAME = `breakout-71-${VERSION}`;
|
||||
|
|
|
@ -1 +1 @@
|
|||
"29044306"
|
||||
"29044319"
|
||||
|
|
|
@ -251,14 +251,11 @@ export function explosionAt(
|
|||
y: number,
|
||||
ball: Ball,
|
||||
) {
|
||||
|
||||
const size = 1 + gameState.perks.bigger_explosions;
|
||||
const size = 1 + gameState.perks.bigger_explosions;
|
||||
schedulGameSound(gameState, "explode", ball.x, 1);
|
||||
if(index!==-1){
|
||||
|
||||
if (index !== -1) {
|
||||
if (gameState.bricks[index] == "black") delete gameState.bricks[index];
|
||||
|
||||
|
||||
const col = index % gameState.gridSize;
|
||||
const row = Math.floor(index / gameState.gridSize);
|
||||
// Break bricks around
|
||||
|
@ -276,7 +273,6 @@ export function explosionAt(
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
// Blow nearby coins
|
||||
forEachLiveOne(gameState.coins, (c) => {
|
||||
|
@ -1001,7 +997,7 @@ export function gameStateTick(
|
|||
clamp(b.y - y, -limit, limit) +
|
||||
((Math.random() - 0.5) * limit) / 3;
|
||||
|
||||
let index = brickIndex(x, y);
|
||||
let index = brickIndex(x, y);
|
||||
explosionAt(gameState, index, x, y, a);
|
||||
}
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue