Skip to content

Fix background music on Windows - #114

Open
wingkuitsoi wants to merge 2 commits into
luiges90:masterfrom
wingkuitsoi:fix-win-music-20260619
Open

Fix background music on Windows#114
wingkuitsoi wants to merge 2 commits into
luiges90:masterfrom
wingkuitsoi:fix-win-music-20260619

Conversation

@wingkuitsoi

Copy link
Copy Markdown
Contributor

The game is missing background music when running on a local Windows computer.

Changes:

  • Implement GetFilesBasic() in PlatformDesktop.cs
  • Use OGG audio files instead of MP3 on Windows 11

@luiges90 luiges90 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change may break old versions relying on certain file extensions. Audio file extensions are also fairly unreliable. I recommend accepting all ogg, mp3 and wav formats and use try-catch to skip files that cannot be read.

@wingkuitsoi

Copy link
Copy Markdown
Contributor Author

Change based on suggestions.

@wingkuitsoi
wingkuitsoi marked this pull request as draft June 20, 2026 02:54
@wingkuitsoi
wingkuitsoi marked this pull request as ready for review June 20, 2026 02:54
@wingkuitsoi
wingkuitsoi requested a review from luiges90 June 20, 2026 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants