Re: Framework, my new set of tools for audiogame creation in python3
Hi all.
So today i am facing a new problem:
I am using a sound_manager to play a sound in 3d, and updating it also.
So here is what i am doing:
I say player.pool.play_3d("sounds/test.mp3", sound_x, sound_y, sound_z, False)
then i say player.pool.update_3d(player.pool, sound_x, sound_y, sound_z)
How ever if i execute my code, the sound plays on the right even though the position of the sound is at the exact same position as the player is at.
Can any one please tell me why it is doing that?
As far as i am consurned, if the sound's position is at the exact same position as the player, it should play infront of the player. not to the right...
And i do have code to check that the sound of the 3d is at the player's co ordinates. I am basicly coding a camera to move around. I am not sure...
Can any one please tell me if i done some thing wrong or is there some thing i am missing?
Oh and edit:
The reason why i used player.pool.update_3d(player.pool,sound_x,sound_y,sound_z) is because in the readme it told me that sound_manager.play_3d returns a slot for later use. I can't seem to figure out how to access the slot.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector