mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-20 12:15:06 -04:00
Automatic deploy 29009984
This commit is contained in:
parent
7375adc934
commit
0c6f20a687
4 changed files with 21 additions and 8 deletions
|
@ -163,6 +163,12 @@ There are many possible perks left to implement :
|
||||||
|
|
||||||
The "engine" could be better
|
The "engine" could be better
|
||||||
|
|
||||||
|
- add mouse lock / hide curso options
|
||||||
|
- offline mode with service worker
|
||||||
|
- add pwe manifest
|
||||||
|
- experiment with showing the combo somewhere else, maybe top center, maybe instead of score.
|
||||||
|
- make coins look,sound and roll like coins
|
||||||
|
- limit GC by reusing coins and particles
|
||||||
- convert captures to mp4 unsing ffmpeg wasm because reddit refuses webm files
|
- convert captures to mp4 unsing ffmpeg wasm because reddit refuses webm files
|
||||||
- few puck bounces = more choices / upgrades
|
- few puck bounces = more choices / upgrades
|
||||||
- disable zooming (for ios double tap)
|
- disable zooming (for ios double tap)
|
||||||
|
|
|
@ -11,8 +11,8 @@ android {
|
||||||
applicationId = "me.lecaro.breakout"
|
applicationId = "me.lecaro.breakout"
|
||||||
minSdk = 21
|
minSdk = 21
|
||||||
targetSdk = 34
|
targetSdk = 34
|
||||||
versionCode = 29009918
|
versionCode = 29009984
|
||||||
versionName = "29009918"
|
versionName = "29009984"
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables {
|
vectorDrawables {
|
||||||
useSupportLibrary = true
|
useSupportLibrary = true
|
||||||
|
|
|
@ -1371,8 +1371,7 @@ function gameOver(title, intro) {
|
||||||
</p>
|
</p>
|
||||||
`
|
`
|
||||||
})
|
})
|
||||||
|
const previousUnlockAt = findLast(list, u => u.threshold <= endTs)?.threshold || 0
|
||||||
const previousUnlockAt = list.findLast(u => u.threshold <= endTs)?.threshold || 0
|
|
||||||
const nextUnlock = list.find(u => u.threshold > endTs)
|
const nextUnlock = list.find(u => u.threshold > endTs)
|
||||||
|
|
||||||
if (nextUnlock) {
|
if (nextUnlock) {
|
||||||
|
@ -3009,6 +3008,14 @@ function captureFileName(ext) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function findLast(arr, predicate){
|
||||||
|
let i = arr.length
|
||||||
|
while(--i)
|
||||||
|
if(predicate(arr[i],i,arr)){
|
||||||
|
return arr[i]
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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=29009918" />
|
<link rel="stylesheet" href="style.css?v=29009984" />
|
||||||
<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=29009918".slice(3)</script>
|
<script>window.appVersion="?v=29009984".slice(3)</script>
|
||||||
<script src="gif.js"></script>
|
<script src="gif.js"></script>
|
||||||
<script src="levels.js?v=29009918"></script>
|
<script src="levels.js?v=29009984"></script>
|
||||||
<script src="game.js?v=29009918"></script>
|
<script src="game.js?v=29009984"></script>
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue