Automatic deploy 29002316

This commit is contained in:
Renan LE CARO 2025-02-21 12:56:30 +01:00
parent a4f20abb23
commit d952139eeb
3 changed files with 10 additions and 7 deletions

View file

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

View file

@ -137,6 +137,9 @@ const fitSize = () => {
const {width, height} = canvas.getBoundingClientRect(); const {width, height} = canvas.getBoundingClientRect();
canvas.width = width; canvas.width = width;
canvas.height = height; canvas.height = height;
ctx.fillStyle=currentLevelInfo()?.color||'black'
ctx.globalAlpha=1
ctx.fillRect(0,0,width,height)
backgroundCanvas.width = width; backgroundCanvas.width = width;
backgroundCanvas.height = height; backgroundCanvas.height = height;

View file

@ -8,16 +8,16 @@
/> />
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> <meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Breakout 71</title> <title>Breakout 71</title>
<link rel="stylesheet" href="style.css?v=29002312" /> <link rel="stylesheet" href="style.css?v=29002316" />
<link rel="icon" href="./icon.svg" /> <link rel="icon" href="./icon.svg" />
</head> </head>
<body> <body>
<button id="menu"><span> menu</span></button> <button id="menu"><span> menu</span></button>
<button id="score"></button> <button id="score"></button>
<canvas id="game"></canvas> <canvas id="game"></canvas>
<script>window.appVersion="?v=29002312".slice(3)</script> <script>window.appVersion="?v=29002316".slice(3)</script>
<script src="gif.js"></script> <script src="gif.js"></script>
<script src="levels.js?v=29002312"></script> <script src="levels.js?v=29002316"></script>
<script src="game.js?v=29002312"></script> <script src="game.js?v=29002316"></script>
</body> </body>
</html> </html>