[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Adonthell-devel] Audio feedback
From: |
Chris Frey |
Subject: |
Re: [Adonthell-devel] Audio feedback |
Date: |
Tue, 3 Jul 2012 18:15:15 -0400 |
User-agent: |
Mutt/1.4.2.2i |
On Sat, Jun 30, 2012 at 11:41:33AM +0200, Josh Glover wrote:
> 2012/6/29 Chris Frey <address@hidden>:
>
> > Is it possible to configure which sounds you want to have play during
> > the game?
>
> The way I've implemented it, it is just an event handler, so a Python
> game script has to register handlers to play sounds. Those sounds are
> whichever ogg files the script chooses. Nothing is hard-coded, except
> in the worldtest demo.
If everything is events, maybe we just need an extra bitmask for
enable/disable. To disable certain sounds, it would just filter the
events.
The rest of the code would remain the same.
Just an idea...
- Chris