From a388cd0898cb0869dbefdf57e16c7d83468c9315 Mon Sep 17 00:00:00 2001 From: Renan LE CARO Date: Fri, 18 Apr 2025 21:17:32 +0200 Subject: [PATCH] Build 29083397 --- Readme.md | 8 +- app/build.gradle.kts | 4 +- app/src/main/assets/index.html | 1 + dist/index.html | 209 +++++++++++++++++------- src/PWA/sw-b71.js | 2 +- src/creative.ts | 8 +- src/data/version.json | 2 +- src/game.less | 40 +++++ src/game.ts | 112 ++++++++----- src/gameStateMutators.ts | 15 +- src/game_utils.ts | 9 ++ src/i18n/ar.json | 14 +- src/i18n/b71.babel | 282 ++++++++++++++++++++++++++++++++- src/i18n/de.json | 14 +- src/i18n/en.json | 16 +- src/i18n/es.json | 14 +- src/i18n/fr.json | 16 +- src/i18n/ru.json | 14 +- src/i18n/tr.json | 14 +- src/index.html | 1 + src/newGameState.ts | 2 +- src/options.ts | 10 ++ src/render.ts | 34 ++-- src/sounds.ts | 1 + src/types.d.ts | 1 + src/upgrades.ts | 3 +- 26 files changed, 691 insertions(+), 155 deletions(-) create mode 100644 app/src/main/assets/index.html diff --git a/Readme.md b/Readme.md index 6b87b17..69172ec 100644 --- a/Readme.md +++ b/Readme.md @@ -24,11 +24,15 @@ Other translation are very welcome, contact me if you'd like to submit one. ## To do - redo video presentation -- make Corner Shot scale like Need Some Space ## Done -- disable irrelevant options +- highlight last used creative level +- access autoplay mode from the menu +- access stress test mode from the menu, show real time stats +- Render bottom border differently to show how far the puck can go +- Corner Shot: scale like Need Some Space +- grey out irrelevant options in the settings - Back to Creative Menu at the end of a Creative level ## 29080170 diff --git a/app/build.gradle.kts b/app/build.gradle.kts index a88c778..847ebd3 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -29,8 +29,8 @@ android { applicationId = "me.lecaro.breakout" minSdk = 21 targetSdk = 34 - versionCode = 29083143 - versionName = "29083143" + versionCode = 29083397 + versionName = "29083397" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { useSupportLibrary = true diff --git a/app/src/main/assets/index.html b/app/src/main/assets/index.html new file mode 100644 index 0000000..3233977 --- /dev/null +++ b/app/src/main/assets/index.html @@ -0,0 +1 @@ +Breakout 71 \ No newline at end of file diff --git a/dist/index.html b/dist/index.html index 10b498d..09b27d4 100644 --- a/dist/index.html +++ b/dist/index.html @@ -552,12 +552,55 @@ h2.histogram-title strong { .palette > span[data-selected="true"] { border: 2px solid #fff; } + +#stats { + color: #fff; + z-index: 3; + pointer-events: none; + opacity: 1; + width: 100vw; + max-width: 400px; + position: fixed; + top: 40px; + left: 0; +} + +#stats > div { + background: #26262680; + position: relative; +} + +#stats > div > div { + transform-origin: 0 0; + background: #6262ea; + position: absolute; + inset: 0; +} + +#stats > div > strong { + padding: 0 5px; + position: relative; +} + +.highlight { + position: relative; +} + +.highlight:before { + content: ""; + mix-blend-mode: screen; + opacity: .3; + background: linear-gradient(-45deg, #6262ea, #0000); + position: absolute; + inset: 0; +} +