[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] Rects and subpixel values
ShredWheat writes:
> hello david. the idea to use floats is definitely correct.
> this type of game timing is used in 3D a lot more, and works
> well since everything is positioned with floats anyways.
>
> i'd like to hear how it goes. you'll just need to keep some
> separate floating position data. the only other option would
> be some simple fixed point data, but outside of C any
> gains from all interger math would likely be lost.
Brilliant. Changed 8 out of 800 lines of code, and it works perfectly
now. Thanks Pete!
--
David Clark
silenus@telus.net
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org