Skip to content

[feat] Sound play!#98

Open
EnderXie23 wants to merge 10 commits intoYao-class-cpp-studio:mainfrom
EnderXie23:Sound-play
Open

[feat] Sound play!#98
EnderXie23 wants to merge 10 commits intoYao-class-cpp-studio:mainfrom
EnderXie23:Sound-play

Conversation

@EnderXie23
Copy link

Now we are able to enjoy sound in the gaming process. The use of a third-party library (irrKlang) is included. However, I only implemented the sound playing functions on Windows, and the player will have to install this library firsthand.

Since the "asset" directory has access limitations, I cannot add audio files to this directory. Currently, I don't quite understand how to use the asset management system, so I tried a relative-path solution which may not work for every computer/IDE. Might anyone help with this?

Ackowledgements to pixabay.com for their free audio files.

@EnderXie23
Copy link
Author

Partly solves #6, needs update and maintenance.

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.

1 participant