Re: [pygame] pygame.sprite collision callback functions patch.

2008-04-22 Thread René Dudfield
Cool, thanks :) I should be able to commit your patches tonight. I agree that we should probably figure out which vector classes we're going to add to pygame, and if we might add something like a physics engine to pygame. Good point. I think we should probably come up with something for the pyg

RE: [pygame] Can any one help me on how to render non_ascii(unicode) chars on pygame screen?

2008-04-22 Thread Lenard Lindstrom
Yes, I have been preoccupied. That was a copyright symbol. It was unicode anyway. :-) Lenard Quoting Madhubala <[EMAIL PROTECTED]>: > Thank you, but u00a9 is not giving trademark. > Using u'Gap\u2122' gives Trademark Symbol. > > -Madhubala > > > -Original Message- > From: [EMAIL

RE: [pygame] Can any one help me on how to render non_ascii(unicode) chars on pygame screen?

2008-04-22 Thread Madhubala
Thank you, but u00a9 is not giving trademark. Using u'Gap\u2122' gives Trademark Symbol. -Madhubala -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lenard Lindstrom Sent: Tuesday, April 22, 2008 9:02 PM To: pygame-users@seul.org Subject: Re: [pygame]

Re: [pygame] No data from joystick

2008-04-22 Thread Jason M. Marshall
Neil, Joystick motion is an event. In the docs is a script named eventlist.py. It prints events on the screen as they occur. If your joystick's movements are reported by eventlist.py, then there's not a problem. Link to docs for Windows: http://www.pygame.org/ftp/pygame-1.8-docs-setup.exe This i

RE: [pygame] pygame.sprite collision callback functions patch.

2008-04-22 Thread John Krukoff
Heh, can I get away with just writing tests for collide_circle_ratio, since that's the only "new" code? Just kidding, though working with unittest again feels like I'm back in 2006. Attached is a set of unit tests that exercise all the collide* functions, and expand upon the tests that were alrea

Re: [pygame] Can any one help me on how to render non_ascii(unicode) chars on pygame screen?

2008-04-22 Thread Lenard Lindstrom
Quoting Madhubala <[EMAIL PROTECTED]>: > Hi, > > can any one help me in rendering trademark symbol (char) on pygame > surface. Try this. The string passed to font.render is unicode ( u'GAP\u00a9' ). # -*- coding: utf-8 -*- import pygame from pygame.locals import* def main(): pygame.ini

[pygame] Need help with CashTrainer!

2008-04-22 Thread John Eriksson
Hi, I've just reelesed the first version of my latest project Cash Trainer. http://www.pygame.org/project/715/?release_id=1245 Cash Trainer is a tool for cash calculation training. This is what I could use some help with: * General testing of the application. * Check the languanges (especially

[pygame] issue - not all wxevents are sent to wxWindow when pygame is displyed using wxWindow handle

2008-04-22 Thread Madhubala
Hi, I am using pygame integrated with wxWindow (wxpython). As mentioned earlier in this mailing list regarding this type of integration pygame events are not working . i have impelmented window events (onChar, OnScroll) handlers and in the handlers pygame window is modified as if pygame window i

[pygame] Can any one help me on how to render non_ascii(unicode) chars on pygame screen?

2008-04-22 Thread Madhubala
Hi, can any one help me in rendering trademark symbol (char) on pygame surface. i tried the following way ,but couldn't get result. i am using pygame 1.8 and os is Windows xp import pygame from pygame.locals import* def main(): pygame.init() resolution = 800, 400 screen = pyg