[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] moving the ship
Does it actually save any time, or just typing effort? The conversion
still has to take place, doesn't it?
On Wed, 2002-10-09 at 12:43, Brendan Becker wrote:
> >>> screen.blit(ship, (10.3, 100.66))
> >> Blimey. I never knew that...
>
> This has got to be one of my favourite english words. =]
>
> >of course, this just truncates the numbers to integers. no exciting
> >"sub-pixel" blitting i'm afraid. heh.
>
> But it'll save you some time on integer conversion if you're doing a lot of it....
> ____________________________________
> pygame mailing list
> pygame-users@seul.org
> http://pygame.seul.org
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org