[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] New pygame tutorial: feedback wanted



Not bad for a first attempt.

Only major crit is that it seems to move a bit too quickly.

On 7/4/05, Andre Roberge <andre.roberge@xxxxxxxxx> wrote:
> On 7/4/05, Benjamin Hess <benjamin.hess@xxxxxxxx> wrote:
> > Hi
> >
> > Are you sure that you want the default colorkey_pixel=(0,0)?:
> >
> > 11 *def* load_image(filename, colorkey_pixel = (0, 0)):
> >
> > so this:
> >
> > 18 *    if* colorkey_pixel* is** not* None:  # select transparent colour
> >
> > will only return False when the colorkey is set to None -->
> > load_image('test.gif', None) everything else will have a colorkey =
> > (0,0) and not None
> >
> >
> > Cheers,
> > Benjamin
> Excellent point.  Thanks!
> André
> 


-- 
Science is open source religion