mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-24 22:16:14 -04:00
wip
This commit is contained in:
parent
6bec479d07
commit
a38b9481e0
2 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,8 @@ At the end of each level, you get to select an upgrade.
|
||||||
- perk : n/10 of the broken bricks respawn when the ball comes back
|
- perk : n/10 of the broken bricks respawn when the ball comes back
|
||||||
- perk : bricks take twice as many hits but drop 50% more coins
|
- perk : bricks take twice as many hits but drop 50% more coins
|
||||||
- perk : wind (puck positions adds force to coins and balls)
|
- perk : wind (puck positions adds force to coins and balls)
|
||||||
|
- perk : balls repulse each other
|
||||||
|
- perk : balls repulse coins
|
||||||
|
|
||||||
## maybe
|
## maybe
|
||||||
|
|
||||||
|
|
|
@ -2078,6 +2078,7 @@ function toggleSetting(key) {
|
||||||
|
|
||||||
scoreDisplay.addEventListener("click", async (e) => {
|
scoreDisplay.addEventListener("click", async (e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
running=false
|
||||||
const cb = await asyncAlert({
|
const cb = await asyncAlert({
|
||||||
title: `You scored ${score} points so far`, text: `
|
title: `You scored ${score} points so far`, text: `
|
||||||
<p>You are playing level ${currentLevel + 1} out of ${max_levels()}. </p>
|
<p>You are playing level ${currentLevel + 1} out of ${max_levels()}. </p>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue