Re: [pygame] antialiased circles

2010-03-02 Thread Marcus von Appen
On, Wed Mar 03, 2010, Luke Paireepinart wrote: > I'd like to draw antialiased circles but it doesn't seem to be included in > Pygame.Is this feature included in Pygame 2? Yes, it is included in pygame2, and uses the SDL_gfx library- Regards Marcus pgpM1s6RfLawi.pgp Description: PGP signatu

Re: [pygame] Unprintable characters

2010-03-02 Thread Chris McCormick
On Tue, Mar 02, 2010 at 04:21:01PM -0800, B W wrote: > On Tue, Mar 2, 2010 at 2:54 PM, Greg Ewing wrote: > > > B W wrote: > > > >> Assuming these are UTF8 characters, the encoding is backwards compatible > >> with ASCII. Therefore, you should be able to use the ASCII chart to > >> classify > >> n

Re: [pygame] antialiased circles

2010-03-02 Thread Luke Paireepinart
Thanks for the quick response, Ian. Been a fan of your work for a while, hope to see you in PyWeek next month! I'll give the lib a try and if I end up needing to / being able to optimize it somehow I'll let you know. I'll also post if I come up with a better solution but I'll likely just use yo

Re: [pygame] antialiased circles

2010-03-02 Thread Ian Mallett
Hi--I wrote some code that makes an anti-aliased circle in my PyGame Graphics Library. It essentially does a box blur on a circle.

[pygame] antialiased circles

2010-03-02 Thread Luke Paireepinart
I'd like to draw antialiased circles but it doesn't seem to be included in Pygame.Is this feature included in Pygame 2? I found an example for drawing antialiased circles by using a bunch of AA lines but it was pretty slow and also didn't fill in the circle. What would you guys recommend I do?

Re: [pygame] Unprintable characters

2010-03-02 Thread B W
On Tue, Mar 2, 2010 at 2:54 PM, Greg Ewing wrote: > B W wrote: > >> Assuming these are UTF8 characters, the encoding is backwards compatible >> with ASCII. Therefore, you should be able to use the ASCII chart to classify >> non-printable character codes (0-31 and 127). >> > > There's no standard A

Re: [pygame] Unprintable characters

2010-03-02 Thread Greg Ewing
B W wrote: Assuming these are UTF8 characters, the encoding is backwards compatible with ASCII. Therefore, you should be able to use the ASCII chart to classify non-printable character codes (0-31 and 127). There's no standard ASCII code for arrow keys, however, and I've seen at least some sys

[pygame] Code review for Pygame2 example

2010-03-02 Thread Evan Kroske
Last year, I tried to create a large example game to demonstrate several of Pygame2's features. In retrospect, I should have created lots of independent examples, each demonstrating one function of Pygame2, but I chose instead to show them all at once. Here's the resulting "example": http://pygame2

Re: [pygame] Unprintable characters

2010-03-02 Thread B W
Assuming these are UTF8 characters, the encoding is backwards compatible with ASCII. Therefore, you should be able to use the ASCII chart to classify non-printable character codes (0-31 and 127). Gumm On Tue, Mar 2, 2010 at 1:43 AM, Greg Ewing wrote: > René Dudfield wrote: > >> Hi, >> >> I guess

Re: [pygame] Unprintable characters

2010-03-02 Thread Greg Ewing
René Dudfield wrote: Hi, I guess you could compare to various K_ variables? That's probably the most reliable way. An alternative would be to write a small test program to find out the unicode chars produced for various keys by experiment. I'm not sure they would be the same on all platforms,