How to play background music across all the scenes? #1971
Unanswered
meehjeevan
asked this question in
Q&A
Replies: 1 comment 2 replies
-
SimpleAudioEngine was removed in Cocos2d-x v4.
Have you tried placing breakpoints on the relevant methods that would stop a sound in AudioEngine, to see where they are being called from when you replace the scene? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to play background music across all the scenes?
is SimpleAudioEngine not available in Axmol?
I played a sound as background music with AudioEngine::play2d(filename, true);
but it stops when I replaceScene.
Beta Was this translation helpful? Give feedback.
All reactions