mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-21 04:26:14 -04:00
Automatic deploy 29007301
This commit is contained in:
parent
1cec9a7a0c
commit
e4a0d149ab
6 changed files with 2551 additions and 9 deletions
|
@ -203,7 +203,11 @@ adapted to my usage over time.
|
||||||
Some of the pixel art is taken from google image search results, I hope to replace it by my own over time :
|
Some of the pixel art is taken from google image search results, I hope to replace it by my own over time :
|
||||||
[Heart](https://www.youtube.com/watch?v=gdWiTfzXb1g)
|
[Heart](https://www.youtube.com/watch?v=gdWiTfzXb1g)
|
||||||
[Mushroom](https://pixelartmaker.com/art/cce4295a92035ea)
|
[Mushroom](https://pixelartmaker.com/art/cce4295a92035ea)
|
||||||
|
https://prohama.com/whale-2-pattern/
|
||||||
|
https://prohama.com/shark-2-pattern/
|
||||||
|
https://prohama.com/bird-1-size-13x12/
|
||||||
|
https://prohama.com/pingwin-4-pattern/
|
||||||
|
https://prohama.com/dog-21-pattern/
|
||||||
|
|
||||||
I wanted an APK to start in fullscreen and be able to list it on fdroid and the play store. I started with an empty view and went to work trimming it down, with the help of that tutorial
|
I wanted an APK to start in fullscreen and be able to list it on fdroid and the play store. I started with an empty view and went to work trimming it down, with the help of that tutorial
|
||||||
https://github.com/fractalwrench/ApkGolf/blob/master/blog/BLOG_POST.md
|
https://github.com/fractalwrench/ApkGolf/blob/master/blog/BLOG_POST.md
|
||||||
|
|
|
@ -11,8 +11,8 @@ android {
|
||||||
applicationId = "me.lecaro.breakout"
|
applicationId = "me.lecaro.breakout"
|
||||||
minSdk = 21
|
minSdk = 21
|
||||||
targetSdk = 34
|
targetSdk = 34
|
||||||
versionCode = 29007124
|
versionCode = 29007301
|
||||||
versionName = "29007124"
|
versionName = "29007301"
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables {
|
vectorDrawables {
|
||||||
useSupportLibrary = true
|
useSupportLibrary = true
|
||||||
|
|
|
@ -19,7 +19,7 @@ allLevels = allLevels.filter(l => {
|
||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
allLevels.forEach((l, li) => {
|
allLevels.forEach((l, li) => {
|
||||||
l.threshold = li < 8 ? 0 : Math.round(Math.min(Math.pow(10, 1 + (li + l.size) / 30) * 10, 10000) * (li))
|
l.threshold = li < 8 ? 0 : Math.round(Math.min(Math.pow(10, 1 + (li + l.size) / 30) * 10, 5000) * (li))
|
||||||
l.sortKey = (Math.random() + 3) / 3.5 * l.bricks.filter(i => i).length
|
l.sortKey = (Math.random() + 3) / 3.5 * l.bricks.filter(i => i).length
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -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=29007124" />
|
<link rel="stylesheet" href="style.css?v=29007301" />
|
||||||
<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=29007124".slice(3)</script>
|
<script>window.appVersion="?v=29007301".slice(3)</script>
|
||||||
<script src="gif.js"></script>
|
<script src="gif.js"></script>
|
||||||
<script src="levels.js?v=29007124"></script>
|
<script src="levels.js?v=29007301"></script>
|
||||||
<script src="game.js?v=29007124"></script>
|
<script src="game.js?v=29007301"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -23,7 +23,8 @@ const colorsList = [
|
||||||
'#e32119',
|
'#e32119',
|
||||||
'#ffd300',
|
'#ffd300',
|
||||||
'#e1c8b4',
|
'#e1c8b4',
|
||||||
'#618227'
|
'#618227',
|
||||||
|
'#9b9fa4'
|
||||||
]
|
]
|
||||||
const palette = document.getElementById('palette');
|
const palette = document.getElementById('palette');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue