You must unload your sound resources when changing scene from the ResourceManager class. Otherwise the sound object will still be there.
Android Andengine Background music duplicate itself
-
03-10-2022 - |
Question
I'm developing a game via Andengine for Android. I have ResourseManager and SceneManager calsses. I loaded background music with ResourceManger. and use it in MenuScene. When I change the scene and come back the menu scene again, background music is duplicating itself. why can it be?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow