mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-05-01 09:19:13 -04:00
5 colors /level, sound when ball or brick change color
This commit is contained in:
parent
b6fe46c9bc
commit
2e3ab3011f
21 changed files with 1379 additions and 598 deletions
|
@ -33,6 +33,7 @@ export function moveLevel(level: RawLevel, dx: number, dy: number) {
|
|||
}
|
||||
|
||||
export function setBrick(level: RawLevel, index: number, colorCode: string) {
|
||||
console.log('setBrick', level.name, index, colorCode)
|
||||
const {size} = level
|
||||
const newBricks=[]
|
||||
for (let x = 0; x < size; x++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue