Config.pauseKey - Pixelize
import { createGame } from "pixelize-engine";
const game = createGame({
pauseKey: "p", // 100 fps
});
Config.pauseKey
sets the key that will pause the game. Defaults to "Escape"
.
import { createGame } from "pixelize-engine";
const game = createGame({
pauseKey: "p", // 100 fps
});
Config.pauseKey
sets the key that will pause the game. Defaults to "Escape"
.