Re: [pygame] Pygame CTypes

2008-11-24 Thread pymike
I've looked at it before. The ctypes stuff was a bit over my head, but yeah it was very clean looking. I got an SDL window pop up and an image draw to it, but I wasn't returning sdl_surfaces right (or something) so I got some pretty bad crashes LOL The event stuff is pretty hard to do too :S For s

Re: [pygame] Pygame CTypes

2008-11-24 Thread Peter Shinners
pymike wrote: I still think it'd be cool to have a simple pure-python SDL wrapper. I tried a few times but I kept blowing up my computer ;-( On Mon, Nov 17, 2008 at 9:42 AM, Luke Paireepinart <[EMAIL PROTECTED] > wrote: The SoC student who wrote Pygame Ctypes is

Re: Re: [pygame] Pygame CTypes

2008-11-17 Thread pymike
I still think it'd be cool to have a simple pure-python SDL wrapper. I tried a few times but I kept blowing up my computer ;-( On Mon, Nov 17, 2008 at 9:42 AM, Luke Paireepinart <[EMAIL PROTECTED]>wrote: > The SoC student who wrote Pygame Ctypes is one of the main authors of > Pyglet, so check th

Re: Re: [pygame] Pygame CTypes

2008-11-17 Thread Luke Paireepinart
The SoC student who wrote Pygame Ctypes is one of the main authors of Pyglet, so check that out if you're curious, OP. RJones is the other (he replied earlier in this thread.) On 11/16/08, Nicholas Dudfield <[EMAIL PROTECTED]> wrote: > Unacceptable Right Doun To Mah Tippy Teepee Toes

Re: Re: [pygame] Pygame CTypes

2008-11-16 Thread Nicholas Dudfield
Unacceptable Right Doun To Mah Tippy Teepee Toes

Re: Re: [pygame] Pygame CTypes

2008-11-16 Thread pymike
> > Acceptable... Tomatoes, Tomahtoes > To mah toes! Sorry, couldn't resist... :-D -- - pymike "Stop loling into a false sense of hilarity"

Re: Re: [pygame] Pygame CTypes

2008-11-16 Thread Nicholas Dudfield
>>> >>> too hard to get working at an acceptable level. >>> That's not correct. It was a working implementation of pygame. Acceptable... Tomatoes, Tomahtoes

Re: Re: [pygame] Pygame CTypes

2008-11-16 Thread Richard Jones
Noah Kantrowitz <[EMAIL PROTECTED]> wrote: > No, at last I heard it was still too hard to get working at an > acceptable level. That's not correct. It was a working implementation of pygame. Richard

Re: [pygame] Pygame CTypes

2008-11-16 Thread Noah Kantrowitz
No, at last I heard it was still too hard to get working at an acceptable level. CTypes is very handy for a lot of things, but it does have some non-trivial downsides, including a good bit of overhead thanks to the ffi. --Noah On Nov 16, 2008, at 4:35 PM, Stuart Axon wrote: I just ran ac

Re: [pygame] pygame-ctypes?

2006-10-18 Thread Simon Wittber
On 10/19/06, Alex Holkner <[EMAIL PROTECTED]> wrote: Simon Wittber wrote: > An easy_install'able pygame-ctypes would be very handy... There are .eggs for all versions of Python at http://pygame.org/ctypes/. I haven't looked into whether more is required to make it easy_installable, but would be

Re: [pygame] pygame-ctypes?

2006-10-18 Thread Alex Holkner
Simon Wittber wrote: Whats the status of pygame ctypes atm? Functionality is complete. The few modules that are not implemented are unofficially deprecated in Pygame, so will probably never get implemented (pygame.movie, pygame.overlay). There are no outstanding bugs that I'm aware of (th

Re: [pygame] Pygame-ctypes 0.08

2006-08-21 Thread Alex Holkner
Lenard Lindstrom wrote: On 21 Aug 2006 at 12:21, Alex Holkner wrote: Thanks, fixed in r937. This must be getting annoying, but I have yet another bug. The Not at all, you have some great test cases. following program should display a red square, but gives me a blue one instead.

Re: [pygame] Pygame-ctypes 0.08

2006-08-20 Thread Lenard Lindstrom
On 21 Aug 2006 at 12:21, Alex Holkner wrote: > Thanks, fixed in r937. > This must be getting annoying, but I have yet another bug. The following program should display a red square, but gives me a blue one instead. Apparently the red and blue color channels are switched. import pygame from pyg

Re: [pygame] Pygame-ctypes 0.08

2006-08-20 Thread Alex Holkner
Lenard Lindstrom wrote: Also calling Surface.set_colorkey() without arguments raises an exception as demonstrated by the following program: import pygame pygame.init() screen = pygame.display.set_mode((100,100)) s = pygame.Surface((10,10)) s.set_colorkey((0,0,0,0)) s.set_colorkey() Tha

Re: [pygame] Pygame-ctypes 0.08

2006-08-20 Thread Lenard Lindstrom
On 20 Aug 2006 at 10:50, Alex Holkner wrote: > Lenard Lindstrom wrote: > > >Downloaded the latest SVN version. Found that > >pygame.mouse.get_cursor() returns a 6, not 4, element tuple. The size > >and hotspot values are not tuples. > > > > > Thanks again, and fixed. > Also calling Surface.s

Re: [pygame] Pygame-ctypes 0.08

2006-08-19 Thread Alex Holkner
Lenard Lindstrom wrote: Downloaded the latest SVN version. Found that pygame.mouse.get_cursor() returns a 6, not 4, element tuple. The size and hotspot values are not tuples. Thanks again, and fixed. Alex.

Re: [pygame] Pygame-ctypes 0.08

2006-08-19 Thread Lenard Lindstrom
On 19 Aug 2006 at 16:02, Alex Holkner wrote: > Lenard Lindstrom wrote: > > > > Ok, fixed now, thanks again. The fixes are going to the SVN repository; > you can either grab the latest changes from their (see details on > pygame-ctypes web page), or wait a few days for the next release. > Down

Re: [pygame] Pygame-ctypes 0.08

2006-08-18 Thread Alex Holkner
Luke Paireepinart wrote: Lenard Lindstrom wrote: On 19 Aug 2006 at 12:21, Alex Holkner wrote: Hi, sorry to announce-spam the list :-) Pygame-ctypes 0.08 is up now at http://www.pygame.org/ctypes. This one is friendlier to Windows and Mac users, but is otherwise mostly bug fixes since

Re: [pygame] Pygame-ctypes 0.08

2006-08-18 Thread Luke Paireepinart
Lenard Lindstrom wrote: On 19 Aug 2006 at 12:21, Alex Holkner wrote: Hi, sorry to announce-spam the list :-) Pygame-ctypes 0.08 is up now at http://www.pygame.org/ctypes. This one is friendlier to Windows and Mac users, but is otherwise mostly bug fixes since the previous version. Ther

Re: [pygame] Pygame-ctypes 0.08

2006-08-18 Thread Alex Holkner
Lenard Lindstrom wrote: On 19 Aug 2006 at 15:12, Alex Holkner wrote: Lenard Lindstrom wrote: The following: event = pygame.event.poll() raises this exception: File "C:\prg\pygame-ctypes-0.08\pygame\event.py", line 168, in poll return Event(0, sdl_event=event, keep_userdat

Re: [pygame] Pygame-ctypes 0.08

2006-08-18 Thread Lenard Lindstrom
On 19 Aug 2006 at 15:12, Alex Holkner wrote: > Lenard Lindstrom wrote: > > >The following: > > > >event = pygame.event.poll() > > > >raises this exception: > > > > > > File "C:\prg\pygame-ctypes-0.08\pygame\event.py", line 168, in poll > >return Event(0, sdl_event=event, keep_userdat

Re: [pygame] Pygame-ctypes 0.08

2006-08-18 Thread Alex Holkner
Lenard Lindstrom wrote: The following: event = pygame.event.poll() raises this exception: File "C:\prg\pygame-ctypes-0.08\pygame\event.py", line 168, in poll return Event(0, sdl_event=event, keep_userdata=True) File "C:\prg\pygame-ctypes-0.08\pygame\event.py", line 455, in __ini

Re: [pygame] Pygame-ctypes 0.08

2006-08-18 Thread Lenard Lindstrom
On 19 Aug 2006 at 12:21, Alex Holkner wrote: > Hi, sorry to announce-spam the list :-) > > Pygame-ctypes 0.08 is up now at http://www.pygame.org/ctypes. This one > is friendlier to Windows and Mac users, but is otherwise mostly bug > fixes since the previous version. > > There's a good chance

Re: [pygame] pygame-ctypes installation [was: Sound to Light]

2006-08-18 Thread Alex Holkner
Luke Paireepinart wrote: Alex - I'm having trouble with your pygame-ctypes. First off - it installs into lib/site-packages/pygame? doesn't this mean it conflicts with regular pygame? Yes it does -- I wouldn't recommend installing it (as there's nothing to compile, it will run from it's own