[pygame] What is preventing pygame.movie on Mac?

2008-02-17 Thread Tim Ansell
Hello, I know that the pygame.movie extension has not been implemented on Mac, I was just wondering why it hasn't? Does smpeg not compile on Mac or are there other considerations? Or has somebody just not got around to getting it to work? Tim 'Mithro' Ansell

Re: [pygame] Animated GIFs

2007-12-08 Thread Tim Ansell
You could look at my libmng-py - http://git.thousandparsec.net/repos/libmng-py/doc/ It's not perfect and libmng (which libmng-py is based on) can consume a large amount of memory for big animations. Tim Ansell On Fri, 2007-12-07 at 12:13 -0600, Dan Krol wrote: > What about a 24b

Re: [pygame] rect.collidedict() and rect.collidedictall() patch

2007-08-26 Thread Tim Ansell
Don't know where the doco got lost. The output below was from help(Rect) on Ubuntu which as pygame 1.7 Tim Ansell On Sun, 2007-08-26 at 10:00 +0200, DR0ID wrote: > http://www.pygame.org/docs/ref/rect.html#Rect.collidedict > > does not say so. > > ~DR0ID In [1]: import py

Re: [pygame] rect.collidedict() and rect.collidedictall() patch

2007-08-26 Thread Tim Ansell
in > the sprite). The 1.7 documentation is pretty clear about what you need to do, > Remember python dictionary keys must be immutable, Rects are not > immutable, so they cannot directly be, dictionary keys. You can > convert the Rect to a tuple with the tuple() builtin command. Tim Ansell

Re: [pygame] rect.collidedict() and rect.collidedictall() patch

2007-08-25 Thread Tim Ansell
ou can > convert the Rect to a tuple with the tuple() builtin command. Notice it is "rect style keys" rather then rect objects. My suggestions is, Rect.collidedictkeys <- Check against keys Rect.collidedictvalues <- Check against values and then map Rect.collidedict to the keys variety for backwards compatibility? Tim Ansell

[pygame] Compatitbility broken in Rect.collidedict

2007-08-06 Thread Tim Ansell
ys Rect.collidedictvalues <- Check against values and then map Rect.collidedict to the keys variety for backwards compatibility? Tim Ansell --- http://blog.mithis.net/ - Mithro Rants about Stuff http://www.thousandparsec.net/ - Conquer the Universe (and then some)

Re: [pygame] Re: Europython - FREE VACATION!

2007-04-28 Thread Tim Ansell
> I just wanted to do > something to combat the known problem that people who live outside > of Europe assume that Europython is not for them. Could the "Euro" part have something to do with it ;) > Laura Plus it's an evil 26 hour flight from most places in Austr

Re: [pygame] Scripting language

2006-12-18 Thread Tim Ansell
Computer Science courses. The biggest downside of Scheme is that it's bracket soup. Programs like DrScheme are pretty good in helping you write it however. If you are using Lisp anyway then this isn't a problem for you. Hope this help. Tim Ansell > If this is way too off-topic

Re: [pygame] ARGB vs. RGBA

2006-12-16 Thread Tim Ansell
Hello, You can use my SDL_Surface.py hack to get a ctypes pointer to the pixel data. http://www.thousandparsec.net/repos/libmng-py/mng/pygame/ I needed this to make libmng-py as fast as possible. Hope this helps! Tim Ansell On Sat, 2006-12-16 at 14:49 +0100, Jakub Piotr Cłapa wrote: > P

[pygame] pygameC and pygame-ctypes

2006-12-03 Thread Tim Ansell
once so I can easily test both versions? How would I then say which version to use? wxPython has a wxversions module which lets you select different types of wxPython. (IE Unicode, 2.6, 2.7, etc) Maybe something like this for pygame could be useful? Thanks for your time. Tim Ansell

[pygame] Directly accessing pixel data

2006-11-15 Thread Tim Ansell
darcsweb/darcsweb.cgi?r=libmng-py;a=tree Thanks for your time. Tim Ansell

Re: [pygame] ideas for renaming pygame-ctypes

2006-08-24 Thread Tim Ansell
I registered pystol.info just in case you want the name (and to stop any squatters from getting all the names). Pystol.net/Pystol.org are still free as well. Anyway... Tim Ansell On Thu, 2006-08-24 at 22:14 +0930, Tim Ansell wrote: > > current pygame-ctypes SDL-wrapping core => P

Re: [pygame] ideas for renaming pygame-ctypes

2006-08-24 Thread Tim Ansell
> current pygame-ctypes SDL-wrapping core => Pistol, or PistolCore > higher-level pygame-ctypes stuff (sprites, etc) => PistolGrip How about Pystol (pronounced Pistol) and Pystol.Grip (pygame compatibility lib) Python SDL & TOols Library Tim Ansell > So the PistolGrip is

Re: [pygame] BUG: pygame.event.peek

2006-07-30 Thread Tim Ansell
Hey, Peeking can be quite be useful in many cases. I would sorely miss it if it was gone. Mithro On Sun, 2006-07-30 at 11:40 +1000, René Dudfield wrote: > Hi, > > since peek is a kind of silly unthread safe function, maybe that > functionality should be removed. > > Anyone have any ideas about

Re: [pygame] wxPython

2006-07-30 Thread Tim Ansell
On Sat, 2006-07-29 at 15:00 -0700, Kamilche wrote: > I had the opportunity to look at wxPython in depth these last few days. > I was impressed! I like how easy they are to program and use, and their > stability. Their 'large demo' of all the controls was impressive - it > only crashed once. > >

Re: [pygame] Thread issue in my graphics API (pygame)

2006-07-27 Thread Tim Ansell
MacOS X, I'm not sure about Windows. This isn't a problem only restricted to pygame, wxWidgets also suffers from this problem. Hope this helps. Tim Ansell On Thu, 2006-07-27 at 12:01 -0400, David Muffley wrote: > Link to the mentioned file: http://dc.ubuntu-us.org/projects/gasp/ &

[pygame] Wrong Wiki

2006-07-27 Thread Tim Ansell
Hello, I came across this entry, http://www.pygame.org/wiki/gui in the Pygame Wiki, and I think "Why Gtk/Qt/WxWidgets... are bad" section is very wrong. I have used Pygame with both wxWidgets and GTK perfectly fine and easily before. The trick is that you don't try to "embed" the Pygame Window in

Re: [pygame] Frantic memory usage

2006-07-20 Thread Tim Ansell
Hello, Out of interest, have you tried loading the images on demand? I have found that computers and hard drives are fast enough these days to load the images as needed (as long as the animation doesn't run to fast). This way you may only keep 3-4 frames at one time. Another option is to use so

Re: [pygame] Use of PyScheme for game projects

2006-07-17 Thread Tim Ansell
e it helps. Mithro On Sun, 2006-07-16 at 22:39 -0700, andrew baker wrote: > Good, one specific question I have is "Is it safe?" Any known trivial > exploits? In Python, it is trivial for a malicious user to trash > someone's system. > > On 7/16/06, Tim Ansell <[E

Re: [pygame] Use of PyScheme for game projects

2006-07-16 Thread Tim Ansell
so trivial to implement a basic Scheme interpreter. There are also pretty good scheme learning environments like DrScheme and MzScheme. The implementation was pretty painless and has worked really well. Hope this helps. Tim Ansell On Sat, 2006-07-15 at 22:15 -0700, andrew baker wrote: > How