Bennu Game Development

English Forums => Helpdesk => Topic started by: Imerion on April 07, 2011, 08:24:04 PM

Title: Question about set_panning
Post by: Imerion on April 07, 2011, 08:24:04 PM
In one of my older games, made using Fenix 0.92, i used a command called set_panning to change which speaker the sound would come from.
I tried the same in Bennu, using :

set_panning(Channel,Left Speaker (0-255),Right Speaker (0-255));
So :
set_panning(0,255,255); <- Middle
set_panning(0,0,255); <- Right Speaker
set_panning(0,255,0); <- Left Speaker

It doesn't seem to work though. I tried changing channel to -1 instead of 0, but that didn't work either. Any ideas?
Title: Re: Question about set_panning
Post by: l1nk3rn3l on April 08, 2011, 05:38:19 AM
exist in bennupack a "3d sound" dll
Title: Re: Question about set_panning
Post by: Imerion on April 09, 2011, 12:25:21 PM
I see. Thanks! Do you know if there's a Linux version of it btw? Otherwise maybe I can compile one if the code is available.
Title: Re: Question about set_panning
Post by: l1nk3rn3l on April 10, 2011, 01:25:07 AM
http://fenixpack.googlecode.com/files/3DSound_linux.tar.lzma
Title: Re: Question about set_panning
Post by: Imerion on April 11, 2011, 01:21:20 PM
Awesome, thanks!