mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-25 14:36:15 -04:00
wip
This commit is contained in:
parent
9201a78de2
commit
0622e63eb5
6 changed files with 404 additions and 11370 deletions
|
@ -3,6 +3,7 @@ const MAX_PARTICLES = 600;
|
|||
const canvas = document.getElementById("game");
|
||||
let ctx = canvas.getContext("2d", {alpha: false});
|
||||
|
||||
|
||||
let ballSize = 20;
|
||||
const coinSize = Math.round(ballSize * 0.8);
|
||||
const puckHeight = ballSize;
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
<button id="score"></button>
|
||||
<canvas id="game"></canvas>
|
||||
<script>window.appVersion="?v=29017191".slice(3)</script>
|
||||
<script src="palette.js?v=29017191"></script>
|
||||
<script src="levels.js?v=29017191"></script>
|
||||
<script src="game.js?v=29017191"></script>
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
25
app/src/main/assets/palette.js
Normal file
25
app/src/main/assets/palette.js
Normal file
|
@ -0,0 +1,25 @@
|
|||
|
||||
const palette={
|
||||
_:'',
|
||||
B:'black',
|
||||
W:'white',
|
||||
g:"#231f20",
|
||||
y: "#ffd300",
|
||||
b:"#6262EA",
|
||||
t:"#5DA3EA",
|
||||
s:"#E67070",
|
||||
r:"#e32119",
|
||||
R:"#ab0c0c",
|
||||
c:"#59EEA3",
|
||||
G:"#A1F051",
|
||||
v:"#A664E8",
|
||||
p:"#E869E8",
|
||||
a:"#5BECEC",
|
||||
C:"#53EE53",
|
||||
S:"#F44848",
|
||||
P:"#E66BA8",
|
||||
O:"#F29E4A",
|
||||
k:"#618227",
|
||||
e:"#e1c8b4",
|
||||
l:"#9b9fa4"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue