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
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:
>
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.
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]
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
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
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
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
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
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-
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
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
13 matches
Mail list logo