feat: detached actual sound files from code

This commit is contained in:
2020-10-29 21:33:46 +01:00
parent 62fb8d35bc
commit 655787f58f
3 changed files with 152 additions and 4 deletions

View File

@@ -53,8 +53,8 @@ scheduler = sched.scheduler()
walle = WallE()
walle.setup()
audio = AudioSystem(scheduler)
audio.queue_sound('/home/rick/Downloads/Wall-E Sounds/wav/Startup1.wav')
audio = AudioSystem(scheduler, 'sounds.json')
audio.queue_sound('walle.boot')
def walle_tick():