I am creating a looping sound in my game but have a issue that it is looping the song over and over the other creating a not so nice sound...?
1 2 3 4 5 6 7 8 9 10 | public void musicPlay() { GreenfootSound music = new GreenfootSound( "WormMusic.wav" ); if (!music.isPlaying()) { music.play(); } } |