Skip to content

Commit

Permalink
suppress play button
Browse files Browse the repository at this point in the history
  • Loading branch information
eonarheim committed Jan 17, 2025
1 parent e5f0703 commit 2821dbb
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -28,4 +24,4 @@ game.start('start', { // name of the start scene 'start'
})
}).then(() => {
// Do something after the game starts
});
});

0 comments on commit 2821dbb

Please sign in to comment.