Automatic deploy 29010003

This commit is contained in:
Renan LE CARO 2025-02-26 21:03:39 +01:00
parent 0c6f20a687
commit df04c652db
4 changed files with 19 additions and 10 deletions

View file

@ -163,9 +163,17 @@ There are many possible perks left to implement :
The "engine" could be better The "engine" could be better
- add mouse lock / hide curso options - add pointer lock when game is running (lock to play area )https://mdn.github.io/dom-examples/pointer-lock/
- hide cursor options
- offline mode with service worker - offline mode with service worker
- add pwe manifest - add pwe manifest
- keyboard support
- start/stop with space
- left and right arrow for moving the puck
- up down for choosing menu entry
- space to click entry
- escape to close menu
- see how to do fullscreen on ios, or at least explain to do aA/hide toolbars
- experiment with showing the combo somewhere else, maybe top center, maybe instead of score. - experiment with showing the combo somewhere else, maybe top center, maybe instead of score.
- make coins look,sound and roll like coins - make coins look,sound and roll like coins
- limit GC by reusing coins and particles - limit GC by reusing coins and particles

View file

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

View file

@ -480,7 +480,7 @@ const upgrades = [
"id": "slow_down", "id": "slow_down",
"name": "Slower ball", "name": "Slower ball",
"max": 2, "max": 2,
"help": "Slows down the ball", "help": "slow down the ball",
extraLevelsHelp: `Make it even slower` extraLevelsHelp: `Make it even slower`
}, },
{ {
@ -1887,7 +1887,7 @@ function render() {
if (isSettingOn("mobile-mode")) { if (isSettingOn("mobile-mode")) {
ctx.fillRect(offsetXRoundedDown, gameZoneHeight, gameZoneWidthRoundedUp, 1); ctx.fillRect(offsetXRoundedDown, gameZoneHeight, gameZoneWidthRoundedUp, 1);
if (!running) { if (!running) {
drawText(ctx, "Keep pressing here to play", puckColor, puckHeight, { drawText(ctx, "Press and hold here to play", puckColor, puckHeight, {
x: canvas.width / 2, y: gameZoneHeight + (canvas.height - gameZoneHeight) / 2, x: canvas.width / 2, y: gameZoneHeight + (canvas.height - gameZoneHeight) / 2,
}); });
} }
@ -2612,7 +2612,8 @@ Click an item above to start a test run with it.
...optionsList, ...optionsList,
(document.fullscreenEnabled || document.webkitFullscreenEnabled) && (document.fullscreenElement !== null ? { (document.fullscreenEnabled || document.webkitFullscreenEnabled) &&
(document.fullscreenElement !== null ? {
text: "Exit Fullscreen", text: "Exit Fullscreen",
help: "Might not work on some machines", help: "Might not work on some machines",
value() { value() {

View file

@ -8,17 +8,17 @@
/> />
<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=29009984" /> <link rel="stylesheet" href="style.css?v=29010003" />
<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=29009984".slice(3)</script> <script>window.appVersion="?v=29010003".slice(3)</script>
<script src="gif.js"></script> <script src="gif.js"></script>
<script src="levels.js?v=29009984"></script> <script src="levels.js?v=29010003"></script>
<script src="game.js?v=29009984"></script> <script src="game.js?v=29010003"></script>
</body> </body>