SilverKnightVGM / pywright

Automatically exported from code.google.com/p/pywright
0 stars 0 forks source link

Integrate interface sounds from e.d revolution #146

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Gui sounds are very cool and should be easy to integrate. Add some default 
variables for the gui sounds:

set _guisound_casescroll sfx/casescroll.ogg

then replace e.d.s code with:

assets.play_sound(getvar("_guisound_casescroll"))

Original issue reported on code.google.com by saluk64007@gmail.com on 20 Jan 2014 at 8:19

GoogleCodeExporter commented 8 years ago
Fixed in #895

Original comment by saluk64007@gmail.com on 25 Jan 2014 at 2:26

GoogleCodeExporter commented 8 years ago
Just for information:

It uses subscript("sound_[section]_[action]") to hook into all the sounds, and 
then there is a macro guisounds.mcro that defines them all. Theoretically, you 
could add more complex stuff than just sounds for these things.

Original comment by saluk64007@gmail.com on 25 Jan 2014 at 2:27