[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Fwd: Re: [pygame] shaking images]]
- To: pygame-users@xxxxxxxx
- Subject: [Fwd: Re: [pygame] shaking images]]
- From: "michael gross" <mich@xxxxxxxxx>
- Date: Wed, 4 Jan 2006 18:34:06 +0100 (CET)
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Wed, 04 Jan 2006 12:34:58 -0500
- Importance: Normal
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- User-agent: SquirrelMail/1.4.2
ok I understand, so I am wondering if there is a free algorithm which does
a similar thing.
> 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.