This commit is contained in:
Renan LE CARO 2025-04-25 11:02:34 +02:00
parent 30e684e838
commit 19ec28a027
4 changed files with 15 additions and 9 deletions

View file

@ -14,19 +14,24 @@ Break colourful bricks, catch bouncing coins and select powerful upgrades !
# Changelog
## To do
- save global stats locally (sum of broken bricks, paddle hits, misses,)
- rewoks perks choices :
- rewoks perks choices
- goal : limit perk fatigue, avoid wall of texts, clarify challenges, allow users to skip
- remove rerolls
- offer to pick 1 upgrade out of 3 choices
- playing well adds 1 upgrade and 1 choice
- playing even better adds 1 choice
- more choices add 1 choice
- "more choices" perk adds 1 choice
- you can skip the upgrades and they'll be saved for later
- you can take pick one choice multiple time to level it up
- when you don't play well enough, the choice you would have had are shown greyed out with unlock condition.
- you can pick an upgrade multiple time to level it up
- missed challenges show as greyed out choices (with unlock condition).
## Done
- better default value for mobile mode
## 29092809
- fixed: crash when running out of levels (i think, i didn't try)
- fixed: context menu and tooltip stuck on windows
## 29091656

4
dist/index.html vendored

File diff suppressed because one or more lines are too long

View file

@ -364,7 +364,7 @@
"upgrades.pierce.verbose_description": "The ball normally bounces as soon as it touches something. With this perk, it will continue its trajectory for up to 3 bricks broken. \n\nAfter that, it will bounce on the 4th brick, and you'll need to touch the paddle to reset the counter.",
"upgrades.pierce_color.name": "Color pierce",
"upgrades.pierce_color.tooltip": "The ball goes through bricks of the same color",
"upgrades.pierce_color.verbose_description": "+{{lvl}} damage to bricks of the ball's color.\n\nWhenever a ball hits a brick of the same color, it will just go through unimpeded. \n\nOnce it reaches a brick of a different color, it will break it, take its color and bounce.\n\nIf you have sturdy bricks, the ball might still bounce off a brick of the same color.",
"upgrades.pierce_color.verbose_description": "Normally, balls do 1 damage and bricks have 1 health point (HP). S\nEach level of this perk increase the damage balls do to bricks of their color. \nWhen a ball does more damage than the brick's health points, it will continue straight instead of bouncing;\n\nWhenever a ball hits a brick of the same color, it will just go through unimpeded. \nOnce it reaches a brick of a different color, it will break it, take its color and bounce.\nIf you have sturdy bricks, the ball might still bounce off a brick of the same color.",
"upgrades.puck_repulse_ball.name": "Soft landing",
"upgrades.puck_repulse_ball.tooltip": "Paddle repulses balls",
"upgrades.puck_repulse_ball.verbose_description": "When a ball gets close to the paddle, it will start slowing down, and even potentially bouncing without touching the paddle.",

View file

@ -12,7 +12,8 @@ export const options = {
help: t("settings.sounds_help"),
},
"mobile-mode": {
default: window.innerHeight > window.innerWidth,
default: window.innerHeight > window.innerWidth ||('ontouchstart' in window) ||
(navigator.maxTouchPoints > 0) ,
name: t("settings.mobile"),
help: t("settings.mobile_help"),
},