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

Re: [pygame] moving text



Why not make a sprite for your text?  Then you can move that sprite
around by changing it's rect.

On Sun, 2003-06-22 at 20:53, Matt Ficken wrote:
> i generated a font using pygame.font.Font, and then rendered it and
> displayed it with:
> 
> screen.blit ( rendered_text, ( x, y ) )
> 
> I would later like to move the rendered text to a different position.
> I called 'move' on blit's return value but it doesn't move the
> rendered text. How do I move the text
-- 
+-------------------------------------------------------------+
| Shandy Brown                               Digital Thinkery |
| shandy@geeky.net             http://www.digitalthinkery.com |
+-------------------------------------------------------------+