Automatic deploy 29009918

This commit is contained in:
Renan LE CARO 2025-02-26 19:38:09 +01:00
parent 31fba7dc8c
commit 7375adc934
3 changed files with 18 additions and 7 deletions

View file

@ -1032,7 +1032,7 @@ function tick() {
decreaseCombo(perks.hot_start, puck, gameZoneHeight - 2 * puckHeight);
}
if (remainingBricks < perks.skip_last) {
if (remainingBricks <= perks.skip_last) {
bricks.forEach((type, index) => {
if (type) {
explodeBrick(index, balls[0], true);
@ -2594,6 +2594,17 @@ Click an item above to start a test run with it.
allowClose: true,
})
if (tryOn) {
if(!currentLevel || await asyncAlert({
title:'Restart run to try this item?',
text:'You\'re about to start a new test run with just the selected unlocked item, is that really what you wanted ? ',
actions:[{
value: true,
text:'Restart game to test item'
},{
value:false,
text:'Cancel'
}]
}))
nextRunOverrides = tryOn
restart()
}

View file

@ -8,17 +8,17 @@
/>
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Breakout 71</title>
<link rel="stylesheet" href="style.css?v=29008583" />
<link rel="stylesheet" href="style.css?v=29009918" />
<link rel="icon" href="./icon.svg" />
</head>
<body>
<button id="menu"><span> menu</span></button>
<button id="score"></button>
<canvas id="game"></canvas>
<script>window.appVersion="?v=29008583".slice(3)</script>
<script>window.appVersion="?v=29009918".slice(3)</script>
<script src="gif.js"></script>
<script src="levels.js?v=29008583"></script>
<script src="game.js?v=29008583"></script>
<script src="levels.js?v=29009918"></script>
<script src="game.js?v=29009918"></script>
</body>