Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,10 @@ const createGame = () => {
// paints the actual visible background each frame
app.world.backgroundColor.setColor(0, 0, 0, 0);

// Register the debug panel and open it by default. The `S` key (its
// usual toggle) is bound by `GameController` for WASD-down movement,
// so the panel would never come up via keyboard here — calling
// `show()` directly side-steps that conflict.
// Register the debug panel. Its usual toggle key (`S`) is bound by
// `GameController` for WASD-down movement, so the panel won't open
// via keyboard here — toggle it via the debug-plugin button instead.
plugin.register(DebugPanelPlugin, "debugPanel");
(plugin.cache.debugPanel as DebugPanelPlugin).show();

// Audio init — mp3 preferred (universal), m4a as a fallback for
// AAC-only browsers, ogg last for the Firefox/Linux path. Howler
Expand Down
Loading
Loading