Build 29069860

This commit is contained in:
Renan LE CARO 2025-04-09 11:40:16 +02:00
parent 13627b6c09
commit b565d47c56
8 changed files with 19 additions and 27 deletions

View file

@ -27,10 +27,9 @@ Some upgrades currently are not really useful
# Changelog # Changelog
## To do ## To do
- translate to spanish, german, arabic
## Done ## Done
- added machine translation, so that translators can try the game in their language first : ar,de,es,ko,ru,ur,uz,zh
- change translation keys to get better sorted files - change translation keys to get better sorted files
- change fortunate ball to work more like coin magnet, carrying the balls around to catch them at next puck bounce - change fortunate ball to work more like coin magnet, carrying the balls around to catch them at next puck bounce
- add a test to forbid more than 5% grey bricks on black background, remove grey bricks border - add a test to forbid more than 5% grey bricks on black background, remove grey bricks border

View file

@ -29,8 +29,8 @@ android {
applicationId = "me.lecaro.breakout" applicationId = "me.lecaro.breakout"
minSdk = 21 minSdk = 21
targetSdk = 34 targetSdk = 34
versionCode = 29069848 versionCode = 29069860
versionName = "29069848" versionName = "29069860"
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

9
dist/index.html vendored

File diff suppressed because one or more lines are too long

View file

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

View file

@ -68,21 +68,21 @@
{ {
"name": "Swiss", "name": "Swiss",
"size": 7, "size": 7,
"bricks": "________RRRRR__RRWRR__RWWWR__RRWRR__RRRRR", "bricks": "________RRRRR__RRWRR__RWWWR__RRWRR__RRRRR________",
"svg": 13, "svg": 13,
"color": "" "color": ""
}, },
{ {
"name": "Germany", "name": "Germany",
"size": 6, "size": 4,
"bricks": "_______gggg__rrrr__yyyy", "bricks": "____ggggrrrryyyy",
"svg": 8, "svg": 8,
"color": "#5da3ea" "color": "#5da3ea"
}, },
{ {
"name": "France", "name": "France",
"size": 8, "size": 6,
"bricks": "_________ttWWrr__ttWWrr__ttWWrr__ttWWrr__ttWWrr________", "bricks": "______ttWWrrttWWrrttWWrrttWWrrttWWrr",
"svg": null, "svg": null,
"color": "" "color": ""
}, },
@ -731,8 +731,8 @@
}, },
{ {
"name": "China", "name": "China",
"size": 8, "size": 6,
"bricks": "_________RRyRRR__RyRyRR__RRyRRR__RRRRRR", "bricks": "______RRyRRRRyRyRRRRyRRRRRRRRR______",
"svg": null, "svg": null,
"color": "" "color": ""
}, },

View file

@ -1 +1 @@
"29069848" "29069860"

View file

@ -20,12 +20,8 @@ export function levelIconHTML(
c.width = size; c.width = size;
c.height = size; c.height = size;
if (color) { ctx.clearRect(0, 0, size, size);
ctx.fillStyle = color;
ctx.fillRect(0, 0, size, size);
} else {
ctx.clearRect(0, 0, size, size);
}
const pxSize = size / levelSize; const pxSize = size / levelSize;
for (let x = 0; x < levelSize; x++) { for (let x = 0; x < levelSize; x++) {
for (let y = 0; y < levelSize; y++) { for (let y = 0; y < levelSize; y++) {