문제

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?

도움이 되었습니까?

해결책

You must unload your sound resources when changing scene from the ResourceManager class. Otherwise the sound object will still be there.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top