Automatic deploy 29000798

This commit is contained in:
Renan LE CARO 2025-02-20 11:38:38 +01:00
parent 54512644ab
commit 8e258d77a3
3 changed files with 15 additions and 15 deletions

View file

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

View file

@ -2670,6 +2670,7 @@ function drawMainCanvasOnSmallCanvas() {
}
let nthFrame = 0, gifFrameReduction = 2
function recordGifFrame() {
gifCtx.globalCompositeOperation = 'screen'
gifCtx.globalAlpha = 1 / gifFrameReduction
@ -2707,7 +2708,8 @@ function startRecordingGame() {
gifCanvas.width = Math.floor(gameZoneWidthRoundedUp * scale / 2)
gifCanvas.height = Math.floor(gameZoneHeight * scale / 2)
// if(isSettingOn('basic')){
// Gif worker won't work there
if (window.location.protocol !== "file:") {
levelGif = new GIF({
workers: 2,
quality: 10,
@ -2717,9 +2719,7 @@ function startRecordingGame() {
height: gifCanvas.height,
dither: false,
});
// }else{
// levelGif=null
// }
}
// drawMainCanvasOnSmallCanvas()
const recordedChunks = [];

View file

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