Re: [pygame] Good code for text wrapping?

2008-09-24 Thread Charlie Nolan
Sure, I'm always happy to help. I guess the first issue to look at is where to put this. One possibility would be methods on the font.Font class. Pro: * Right next to the normal render method and hence an obvious place to look. * We might even be able to fold it into the main render function. Con

Re: [pygame] Good code for text wrapping?

2008-09-24 Thread René Dudfield
hey, would you like to work with me in creating something for inclusion in pygame? This would mean working out a simple api, making docs, examples, and unittests. Something basic that we can have a look at, for adding the most easy and useful features. We can try and avoid most of the tricky is

Re: [pygame] question about transparent surfaces and alpha-value

2008-09-24 Thread Horst JENS
thanks for the advice, i updated the code at http://www.spielend-programmieren.at/wiki/doku.php?id=code:colordemo1.py -Horst signature.asc Description: Dies ist ein digital signierter Nachrichtenteil

Re: [pygame] question about transparent surfaces and alpha-value

2008-09-24 Thread kschnee
> Hi List, > just want to make sure i got this right, please correct me if i'm wrong: > > if i have a jpg-file, i can set the transparency with the command > > pygame.Surface.set_alpha(alpha-value). > > but if i hav a .png-file with already transparent background, i can not > set the alpha-valu