Hi there,
I'm currently facing a problem with my background sound file.
I coded it like that.
and it works fine for the moment, but after like 1 min in the game, the game becomes very laggy.
I once had the same issue with my pictures, I solved it with setting it final in the field like that.
and I've heard that there is a similar way to do this with sound files, but couldn't find a proper solution so far.
The sound file I'm using is .mp3 (3.5Mb) and I've removed all the tags. I also tried it with a .wav file, but it doesn't work either.
Greenfoot.playSound("track.mp3");public static final GreenfootImage picture1 = new GreenfootImage("picture.png");

