I want that while you are playing the Mario theme is in the background but we wrote it so and it start the theme many timees ant once but i want just one theme that is going to loop.
Thanks for helping!!
public void act()
{
if (!Greenfoot.isKeyDown("l"))
{
Greenfoot.playSound("MarioThemeAcapella.mp3");
}
}

