[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] feature request?
On Sun, 25 Nov 2001, Pete Shinners wrote:
> Ben Smith wrote:
>
> > I've been using the Rect type recently and I'd really like to set a rect's
> > absolute position for the upper left corner
>
>
> already done, and (hopefully) easier than you had imagined.
> the Rect objects have several attributes, like "topleft", "center", etc
> these can also be assigned to, and the Rect will move to make the
> assignment work.
>
Sheesh. I read this in the docs yesterday, and am using topleft in a
couple of places but just as read only, though I remember noting I could
write to them. Thanks!
-b
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org