Yao-class-cpp-studio / GameX

0 stars 73 forks source link

[feat] Sound play! #98

Open EnderXie23 opened 8 months ago

EnderXie23 commented 8 months ago

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 commented 8 months ago

Partly solves #6, needs update and maintenance.