Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for loading audio files in asset manager #2

Open
ufrshubham opened this issue Oct 5, 2022 · 0 comments
Open

Add support for loading audio files in asset manager #2

ufrshubham opened this issue Oct 5, 2022 · 0 comments
Labels
enhancement New feature or request hacktoberfest

Comments

@ufrshubham
Copy link
Owner

Right now AssetMan class only supports loading textures and fonts. It would be good to have support for loading audio assets as well. This will open up possibility to play background music and sound effects in future.

Here is an example from another SFML game where this has been implemented:
https://github.com/ufrshubham/2D-Snake-Game/blob/cmake-build/include/AssetMan.hpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant