Spawn ghost gems where gems used to be.
This commit is contained in:
parent
2dc354229d
commit
111eb33429
6 changed files with 37 additions and 6 deletions
1
game.js
1
game.js
|
@ -58,6 +58,7 @@ window.addEventListener("load", async () => {
|
|||
},
|
||||
canvas: {
|
||||
getContext: (elem, type) => elem.getContext(type),
|
||||
setGlobalAlpha: (ctx, alpha) => ctx.globalAlpha = alpha,
|
||||
setFillColor: (ctx, color) => ctx.fillStyle = color,
|
||||
setFont: (ctx, font) => ctx.font = font,
|
||||
setTextAlign: (ctx, align) => ctx.textAlign = align,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue