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

Re: [pygame] Text at an angle



Yeah, pure PyGame.  I've been contemplating using OpenGL to see if
that speeds things up a bit (I'm doing a full-screen refresh most
frames, thanks to scrolling).  Need to look up the 2D drawing stuff.

Thanks
-FM

On Mon, Dec 8, 2008 at 12:12 AM, Ian Mallett <geometrian@xxxxxxxxx> wrote:
> Hi,
>
> I'm assuming you're using pure PyGame (no PyOpenGL) and that you know about
> pygame.font.
>
> Yes, I would recommend rendering the image in the largest font size, then
> using pygame.transform.rotozoom() to zoom in and rotate.  Alternately, if
> the text is static and there's not too much of it, you can just use an
> image.
>
> Ian
>