(Somewhere this was posted, but I just found stuff and pasted it all in here...)
Yep, Duck...
Badnik: Here, gitter dun yerself!:
def __init__(self):
[COLOR=black][COLOR=blue]self.StartMusicTimer = 0[/COLOR][/COLOR]
[COLOR=black]def HazardsOn(self, on):[/COLOR]
[COLOR=black][COLOR=blue]self.game_music = plus.createSound("Sounds/[COLOR=seagreen]BalladOfJedClampet[/COLOR].wav", False, (0,0,0))[/COLOR][/COLOR]
[COLOR=black]def __del__(self):[/COLOR]
[COLOR=blue]plus.stopSound(self.game_music)[/COLOR]
[COLOR=blue]plus.removeSound(self.game_music)[/COLOR]
[COLOR=black]Arenas.SuperArena.__del__(self)[/COLOR]
[COLOR=black]def Tick(self):[/COLOR]
[COLOR=blue]if self.StartMusicTimer <= 20:[/COLOR]
[COLOR=blue] self.StartMusicTimer += 1[/COLOR]
[COLOR=blue]if self.StartMusicTimer == 20: # This number dictates when music will start.[/COLOR]
[COLOR=blue] plus.loopSound(self.game_music)[/COLOR]
--------
Or here it is already dun did:
MusicBoxArena --------
(previously posted, but useful example:) Here's some juicy video secretly taken in ACAMS' backyard:
Paparazzi Exclusive!