From 2821dbb6b8675ea073c672334c3af0f03dd7950d Mon Sep 17 00:00:00 2001 From: Erik Onarheim Date: Fri, 17 Jan 2025 13:37:09 -0600 Subject: [PATCH] suppress play button --- src/main.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/main.ts b/src/main.ts index 1d00e75..ba971af 100644 --- a/src/main.ts +++ b/src/main.ts @@ -8,15 +8,11 @@ const game = new Engine({ width: 800, // Logical width and height in game pixels height: 600, displayMode: DisplayMode.FitScreenAndFill, // Display mode tells excalibur how to fill the window + suppressPlayButton: true, pixelArt: true, // pixelArt will turn on the correct settings to render pixel art without jaggies or shimmering artifacts scenes: { start: MyLevel - }, - // physics: { - // solver: SolverStrategy.Realistic, - // substep: 5 // Sub step the physics simulation for more robust simulations - // }, - // fixedUpdateTimestep: 16 // Turn on fixed update timestep when consistent physic simulation is important + } }); game.start('start', { // name of the start scene 'start' @@ -28,4 +24,4 @@ game.start('start', { // name of the start scene 'start' }) }).then(() => { // Do something after the game starts -}); \ No newline at end of file +});