[pygame] Announcing SplatGL

2014-10-29 Thread Michael Dale Long
Hello, This is more PySDL2 related news than it is PyGame related, but this list seems to be the best place to post it. I've created a simple OpenGL/SDL2-based render library called SplatGL. SplatGL is written in C, and also provides Python bindings, which rely on marcusva's PySDL2 bindings

Re: [pygame] immutable vectors in math package

2014-10-29 Thread Christopher Night
I have not used either the original API nor yours, so this suggestion may be off base, but if they're going to be immutable, why not subclass collections.namedtuple("Vector2", "x y"), and get a few handy methods defined for free? -Christopher On Wed Oct 29 2014 at 7:41:54 PM Greg Ewing wrote: >

Re: [pygame] immutable vectors in math package

2014-10-29 Thread Greg Ewing
Lorenz Quack wrote: * you cannot access the components x/y/z directly... > use ... new accessor methods x()/y()/z() Is this change really necessary? It will be a big backward step for code readability. There shouldn't be any reason you can't provide read-only access using attribute notation.

[pygame] unsubscribe pygames-users

2014-10-29 Thread Guillaume Proux

[pygame] immutable vectors in math package

2014-10-29 Thread Lorenz Quack
Hello list, I recently got convinced that immutable types are preferable (massive generalization, I know). Therefore I went ahead and created a branch making the Vector2 and Vector3 types in the pygame.math package immutable. If you want to check it out the branch is called immutable_vectors[1]

Re: [pygame] emulating /replacing py2exe for pygame projects using python 3 and abore

2014-10-29 Thread Ian Dickinson
Thanks thats great On 29 October 2014 16:58, Thomas Kluyver wrote: > On 29 October 2014 08:14, NuMedia wrote: > >> Can i emulate py2exe for python version 3 and above i also use pygame any >> suggestions for a basic staring script would be greatly appreciated >> > > I'm involved with two projec

Re: [pygame] Using sound with python 2.7 and above

2014-10-29 Thread Ian Dickinson
no change it still prints warning On 29 October 2014 16:43, Alec Bennett wrote: > And if you put that line after the pygame.init() line? > > > > On Wed, Oct 29, 2014 at 7:37 AM, NuMedia > wrote: > >> Hi can any one help with this when using python 2.7 and above or 3.X the >> line >> >> if no

Re: [pygame] emulating /replacing py2exe for pygame projects using python 3 and abore

2014-10-29 Thread Thomas Kluyver
On 29 October 2014 08:14, NuMedia wrote: > Can i emulate py2exe for python version 3 and above i also use pygame any > suggestions for a basic staring script would be greatly appreciated > I'm involved with two projects that do similar things, and work on Python 3: cx_Freeze (http://cx-freeze.s

[pygame] Excuse me for a moment

2014-10-29 Thread Nekoninja
Hello sir, I tried to register as a new member of Pygmalion.org but the registrations is disabled for a long time. I wanted to sign up but can't. Does anyone have direct contact with the webmaster to fix the problem? Thank you for your time replying, John

Re: [pygame] Using sound with python 2.7 and above

2014-10-29 Thread Alec Bennett
And if you put that line after the pygame.init() line? On Wed, Oct 29, 2014 at 7:37 AM, NuMedia wrote: > Hi can any one help with this when using python 2.7 and above or 3.X the > line > > if not pygame.mixer: > print 'Warning, sound disabled' > > message gets printed how do i get round t

[pygame] emulating /replacing py2exe for pygame projects using python 3 and abore

2014-10-29 Thread NuMedia
Can i emulate py2exe for python version 3 and above i also use pygame any suggestions for a basic staring script would be greatly appreciated Thanks Ian -- View this message in context: http://pygame-users.25799.x6.nabble.com/emulating-replacing-py2exe-for-pygame-projects-using-python-3-and-

[pygame] Using sound with python 2.7 and above

2014-10-29 Thread NuMedia
Hi can any one help with this when using python 2.7 and above or 3.X the line if not pygame.mixer: print 'Warning, sound disabled' message gets printed how do i get round this thanks NuMedia code below #-- impo

Re: [pygame] Requesting a hand with a simple Death Counter

2014-10-29 Thread Lorenz Quack
Hi, in general the python error messages are quite useful and usually point you at the right location of the Problem. Not always but most of the time and certainly in this case! It says the line "events = OnKeyboardEvent.event.get()" has an "AttributeError: 'function' object has no attribute 'ev