Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sf::Music music;
- if (!music.openFromFile("Resources/Sounds/music.ogg")) cout << "failed to load music" << endl; // error
- music.setLoop(true);
- music.setVolume(75);
- music.play();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement