Build 29068637

This commit is contained in:
Renan LE CARO 2025-04-08 15:17:14 +02:00
parent 4651bb396c
commit b530bf38d5
8 changed files with 30 additions and 25 deletions

View file

@ -29,8 +29,8 @@ android {
applicationId = "me.lecaro.breakout" applicationId = "me.lecaro.breakout"
minSdk = 21 minSdk = 21
targetSdk = 34 targetSdk = 34
versionCode = 29068622 versionCode = 29068637
versionName = "29068622" versionName = "29068637"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables { vectorDrawables {
useSupportLibrary = true useSupportLibrary = true

File diff suppressed because one or more lines are too long

36
dist/index.html vendored

File diff suppressed because one or more lines are too long

View file

@ -16,6 +16,6 @@
], ],
"start_url": "/index.html?isPWA=true", "start_url": "/index.html?isPWA=true",
"display": "fullscreen", "display": "fullscreen",
"theme_color": "#5DA3EA", "theme_color": "#000000",
"background_color": "#ffffff" "background_color": "#ffffff"
} }

View file

@ -1,5 +1,5 @@
// The version of the cache. // The version of the cache.
const VERSION = "29068622"; const VERSION = "29068637";
// The name of the cache // The name of the cache
const CACHE_NAME = `breakout-71-${VERSION}`; const CACHE_NAME = `breakout-71-${VERSION}`;

View file

@ -1 +1 @@
"29068622" "29068637"

View file

@ -690,8 +690,10 @@ export async function setLevel(gameState: GameState, l: number) {
// This caused problems with accented characters like the ô of côte d'ivoire for odd reasons // This caused problems with accented characters like the ô of côte d'ivoire for odd reasons
// background.src = 'data:image/svg+xml;base64,' + btoa(lvl.svg) // background.src = 'data:image/svg+xml;base64,' + btoa(lvl.svg)
background.src = "data:image/svg+xml;UTF8," + lvl.svg; background.src = "data:image/svg+xml;UTF8," + lvl.svg;
document.body.style.setProperty("--level-background", lvl.color || "#000000");
document.body.style.setProperty("--level-background", lvl.color || "#000"); document
.getElementById("themeColor")
?.setAttribute("content", lvl.color || "#000000");
} }
function setBrick(gameState: GameState, index: number, color: string) { function setBrick(gameState: GameState, index: number, color: string) {

View file

@ -13,6 +13,7 @@
content="A breakout game with roguelite mechanics. Break bricks, catch coins, pick upgrades, repeat. Play for free on mobile and desktop." content="A breakout game with roguelite mechanics. Break bricks, catch coins, pick upgrades, repeat. Play for free on mobile and desktop."
/> />
<link rel="manifest" href="./PWA/manifest.json" /> <link rel="manifest" href="./PWA/manifest.json" />
<meta name="theme-color" content="#000000" id="themeColor" />
<style> <style>
@import "game.less"; @import "game.less";