mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-23 05:26:15 -04:00
Build and deploy of version 29020161
This commit is contained in:
parent
fdccf12657
commit
f993766d11
7 changed files with 18 additions and 20 deletions
|
@ -1415,7 +1415,7 @@ function ballTick(ball, delta) {
|
|||
!bricks[hitBrick]) {
|
||||
bricks[hitBrick] = "black";
|
||||
ball.sapperUses++
|
||||
console.log('Sapper used')
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1707,7 +1707,7 @@ function explodeBrick(index, ball, isExplosion) {
|
|||
console.error({points})
|
||||
debugger
|
||||
}
|
||||
console.log('Spawned a coin with ' + points + ' points')
|
||||
|
||||
coinsToSpawn -= points
|
||||
|
||||
const cx= x + (Math.random() - 0.5) * (brickWidth - coinSize),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue