mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-20 20:16:16 -04:00
Moved more variables to gamestate
This commit is contained in:
parent
4fb4c97734
commit
b6fe46c9bc
5 changed files with 217 additions and 209 deletions
|
@ -1,4 +1,4 @@
|
|||
import { fitSize, gameCanvas } from "./game";
|
||||
import { fitSize } from "./game";
|
||||
|
||||
export const options = {
|
||||
sound: {
|
||||
|
@ -29,7 +29,7 @@ export const options = {
|
|||
name: `Mouse pointer lock`,
|
||||
help: `Locks and hides the mouse cursor.`,
|
||||
afterChange: () => {},
|
||||
disabled: () => !gameCanvas.requestPointerLock,
|
||||
disabled: () => !document.body.requestPointerLock,
|
||||
},
|
||||
easy: {
|
||||
default: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue