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

Re: incorrect rect behavior... (was : [pygame] strange rect behavior...)



I thought that setting left and right will move the rect and not
change the size?  In that case the above behavior is correct.  When
you set rect.right to 50 it moved the rectangle left so the right edge
was at 50.  So the size is still 100 and the left edge is now at -50
so that the size is the same.

But I don't use rect's much so I could be wrong.