Re: [pygame] [GSOC] svn and compile problem with pygame-svn

2009-05-03 Thread el lauwer
Oi, Ok, I will use git as for my daily work, and submit my code to svn if I need a global feedback. I have solved the problem with architecture, but now I get the following syntax error in the pygame code: rc/transform.c:57: error: syntax error before ‘_state’ src/transform.c:58: warning:

Re: [pygame] Pygame font issues

2009-05-03 Thread Peter Chant
On Sunday 03 May 2009, René Dudfield wrote: hi, what are the permissions of the font file? Maybe something weird is going on there? Bingo. the default font was set to 700, set it to 644 and it worked. Sounds like a pygame installation issue, but then if it is surely someone else would

Re: [pygame] Pygame font issues

2009-05-03 Thread René Dudfield
heh, I guess not. It'd be good to report to slackware. Please let me know if you do... otherwise I'll report the bug. On Sun, May 3, 2009 at 6:45 PM, Peter Chant p...@petezilla.co.uk wrote: On Sunday 03 May 2009, René Dudfield wrote: hi, what are the permissions of the font file?

Re: [pygame] Cairo + SDL

2009-05-03 Thread Yanom Mobis
Is cairo used for game programming? --- On Sat, 5/2/09, Chris McCormick ch...@mccormick.cx wrote: From: Chris McCormick ch...@mccormick.cx Subject: [pygame] Cairo + SDL To: pygame-users@seul.org Date: Saturday, May 2, 2009, 12:16 PM -Inline Attachment Follows- Hi all, Recently there

Re: [pygame] vector type: mutable or immutable

2009-05-03 Thread Lorenz Quack
Hi, I'm against implementing both. I think it makes what should be a rather simple class overcomplicated. Imagine the zoo of class we would have: Vector2d, Vector2dConst, IntVector2d IntVectro2dConst, Vector3d, ... I think we should make up our minds and then sick with one. And I have to add

Re: [pygame] [GSOC] svn and compile problem with pygame-svn

2009-05-03 Thread Brian Fisher
My automated build machine is having the same problem on OS X, so I'd say it's nothing wrong with your setup: http://thorbrian.com/pygame/builds.php On Sun, May 3, 2009 at 12:14 AM, el lauwer el.lau...@gmail.com wrote: Oi, Ok, I will use git as for my daily work, and submit my code to svn if

Re: [pygame] nokia s60 branch merge...

2009-05-03 Thread Jussi Toivola
Hello, I merged the latest trunk revisions(1993-2052) to symbian_s60 branch and tested the compilation on Ubuntu as well. The tests passed on Ubuntu, except audio tests because it's on a virtual machine without any audio devices and testLoadIcon, which was unable to locate pygame/pygame_icon.bmp(

Re: [pygame] vector type: mutable or immutable

2009-05-03 Thread Lorenz Quack
Hi again, I just did a quick performance test. The first run uses an in-place operation (as could be used with mutable types) the second run on the other hand uses the equivalent expression without the in-place operator (as would be necessary if we go with immutable types). here are the

[pygame] draw text and rectangle with pygame

2009-05-03 Thread He Jibo
Hello, Could anyone please give me some hint on how to draw text and box in the same screen with pygame? If you can share me some sample code, that would be great! I wish I could draw a screen looks like the one in the following link, that would be great!

Re: [pygame] vector type: mutable or immutable

2009-05-03 Thread Jake b
For naming, I prefer 'Vector3' vs 'Vector3d'. I think the 'd' is unnecessary/redundant. -- Jake

Re: [pygame] vector type: mutable or immutable

2009-05-03 Thread Gregor Lingl
Lorenz Quack schrieb: Hi again, I just did a quick performance test. The first run uses an in-place operation (as could be used with mutable types) the second run on the other hand uses the equivalent expression without the in-place operator (as would be necessary if we go with immutable

Re: [pygame] vector type: mutable or immutable

2009-05-03 Thread Lorenz Quack
Gregor Lingl wrote: Lorenz Quack schrieb: Hi again, I just did a quick performance test. The first run uses an in-place operation (as could be used with mutable types) the second run on the other hand uses the equivalent expression without the in-place operator (as would be necessary if we

Re: [pygame] vector type: mutable or immutable

2009-05-03 Thread DR0ID
Hi Brian Fisher pointed out two advantages of immutable vector types: 1) they prevent bugs in programs like the following (adopted from Brian): class Angel(object) def __init__(self, offset): self.offset = offset t = Angel() halo_pos = t.offset halo_pos.y -= 5 # BUG: this

Re: [pygame] vector type: mutable or immutable

2009-05-03 Thread Gregor Lingl
Lorenz Quack schrieb: Gregor Lingl wrote: ... pression without the in-place operator (as would be necessary if we go with immutable types). Hi Lorenz, I'd propose not to confuse two things: (1) use of syntax x = x + x versus x += x (2) use of immutable versus mutable datatypes In python

[pygame] PyGame and SVG

2009-05-03 Thread Daniel Jo
I was thinking about UIs today and recalled a post by Brad Wardel about the UI in Galactic Civilizations. He mentioned how it would look pretty much the same regardless of the resolution one runs the game at, due to the use of SVG. Presumably, the UI is designed as vector drawings and at runtime

Re: [pygame] Cairo + SDL

2009-05-03 Thread Marius Gedminas
On Sun, May 03, 2009 at 07:32:39AM -0700, Yanom Mobis wrote: Is cairo used for game programming? There are a few games using Cairo: http://lists.cairographics.org/archives/cairo/2006-May/007032.html It was not designed specifically for games, though, unlike SDL. Marius Gedminas -- We don't

Re: [pygame] [GSOC] svn and compile problem with pygame-svn

2009-05-03 Thread René Dudfield
hi, looks like some changes from the py3k merge that Lenard just did. Note, that the build bot last built successfully: revision 2047 So you can always check out that revision, that built successfully on osx, until trunk is fixed. This is also points out how changes on one platform can

Re: [pygame] Movie module information

2009-05-03 Thread Tyler Laing
Thanks Rene, Lenard! I'll begin looking at the two libraries, and learning the ins and outs of writing a c-library for Python over the next week. -Tyler On Sat, May 2, 2009 at 10:20 PM, René Dudfield ren...@gmail.com wrote: Hi, it looks like SDL_ffmpeg 1.0 has been released:

Re: [pygame] [GSOC] svn and compile problem with pygame-svn

2009-05-03 Thread René Dudfield
... and it looks like Lenard has fixed it already too. Latest svn trunk compiles on osx again. cu, On Mon, May 4, 2009 at 8:03 AM, René Dudfield ren...@gmail.com wrote: hi, looks like some changes from the py3k merge that Lenard just did. Note, that the build bot last built successfully: