Skip to content

Commit

Permalink
move sfx to dedicated folder
Browse files Browse the repository at this point in the history
  • Loading branch information
amcolash committed Jan 9, 2025
1 parent 26eb615 commit 2887e04
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/scenes/Preloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ export class Preloader extends Scene {
);

// sound effects
this.load.audio('warp', 'sounds/warp.mp3');
this.load.audio('ladder', 'sounds/ladder.mp3');
this.load.audio('door', 'sounds/door.mp3');
this.load.audio('warp', 'sounds/sfx/warp.mp3');
this.load.audio('ladder', 'sounds/sfx/ladder.mp3');
this.load.audio('door', 'sounds/sfx/door.mp3');

// optionally preload intro
if (!localStorage.getItem(saveKey)) {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const Panel = (name: string, fg: string, bg: string): PanelType => {
context.fillRect(
GRAPH_X + PR * i,
GRAPH_Y,
PR,
PR + (2 - scale),
Math.min(GRAPH_HEIGHT - PR, Math.max(PR, round((1 - percent) * GRAPH_HEIGHT)))
);
}
Expand Down

0 comments on commit 2887e04

Please sign in to comment.