Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - mweb

Pages: [1]
1
Python / Python,... bindings
« on: August 17, 2007, 01:16:35 am »
Hi I'm working on getting SWIG files to work with sfml. Since it is possible to create bindings for several languages with SWIG it should be possible to build it for different ones. I will only test it for python at I try to avoid any specialties of python in the first version.
The audio part is fully working, the window and graphics part are partly working yet. There are some problems with the Event class and the Color class. I haven't yet tested the network part. On the system part the randomizer is working i haven't yet tested the Clock. I didn't wrap the Threading yet since this would need some more work and I don't now if this is necessary since most scripting languages will provide threading support them self.
I just send you this message that you know someone is working on this so no one has to do same work ;-)
I try to get the bindings work as good as possible and adding the examples translated to python.

2
General discussions / why not using a namespace
« on: August 14, 2007, 11:14:43 pm »
Why did you choose to use prefixes in front of each class instead of using a namespace for the how SFML? I usualy prefer to use namespaces but maybe you got a good reason for it.

3
Python / short delays on playing wav/ogg
« on: August 14, 2007, 11:11:36 pm »
Hi first thanks for this lib. Im only using the audio part but it looks good.

I wrote a few swig files to use your audio lib with python. It works but i got a small problem that sometimes i get slowdown of the music it is playing. The same for wave effects. It will last usually for a second and then it will play normal again. Do you have any idea what this could be?
Here my sys specs:
I'm using Gentoo Linux with openal 0.8, libvorbis 1.1.2.
I also just get stereo even if i have a 5.1 setup. I got this problem with several linux programs but some can handle it (for example VLC). But shuldn't openal be able to use it?

My second question is would it not by nice to change the listener position i have seen that you set the camera position on the creation of the sfAudioDevice. I think it is easier to change the listener position than to change all the Sound objects.

Pages: [1]