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

Re: [pygame] How to make a (fast) smooth movement on 30 frames



On 6/22/06, Kai Kuehne <kai.kuehne@xxxxxxxxx> wrote:
Thanks for the explanation.
I'm just wondering *what* causes the nearly 100% cpu time.
Currently, there's only the player-ship and one enemy on the screen.
And they don't move. ;-)

Even if you only have two static sprites, I'm presuming you are re-painting the whole screen. For software surfaces, this is done entirely by the CPU.

--
Sami Hangaslammi