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
## To do
- translate to spanish, german, arabic
## 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 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

View file

@ -29,8 +29,8 @@ android {
applicationId = "me.lecaro.breakout"
minSdk = 21
targetSdk = 34
versionCode = 29069848
versionName = "29069848"
versionCode = 29069860
versionName = "29069860"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
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.
const VERSION = "29069848";
const VERSION = "29069860";
// The name of the cache
const CACHE_NAME = `breakout-71-${VERSION}`;

View file

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

View file

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

View file

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