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

Re: [pygame] shaking images]



>> Even though you have floating point positions for your object, SDL and
>> Pygame use integer coordinates for all blits and drawing. The shaking
>> you are seeing is caused by the 'stepping' of the integer positions.
>>
>> Flash does filtering on its renderer so you can do subpixel positioning
>> of objects.

> ok I understand, so I am wondering if there is a free algorithm which does
> a similar thing.

You might find some info about it on this page:
http://freespace.virgin.net/hugo.elias/graphics/x_main.htm



Alan