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

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?



On Mon, Feb 05, 2007 at 05:26:46PM -0500, Charles Christie wrote:
> 
>    Is there any way to get pygame to get the right y coordinates of a rect?
>    because I would like to have my text on the right side of the screen and
>    if I knew how to get that, it would be a walk in the park. I know you can
>    do it with some sort of freaky math but I'm trying to figure out how. I'm
>    pretty sure if I googled it longer I could have figured it out but I have
>    1 minute before I have to get out of this classroom...

What you want to do can be done. Easily. 
http://www.pygame.org/docs/ref/rect.html is your friend.

---
Bob the Hamster