good info, thanks. I'm going to experiment with them both. On Sun, Jan 15, 2012 at 1:18 PM, Rastagong <rayman3...@gmail.com> wrote: > pygame.display.update() affects only a part of the screen, whereas > pygame.display.flip() updates the whole screen. Therefore, using update() > can increase the perfs of your game. > > However, if you update many parts of the screen at the same time (for > instance when you use scrolling, or when you load a full map) it becomes > totally useless. It only makes the screen shine during each update, and it > is pretty annoying to see. > > So you have to think about the accurate moment to use update(). I would > suggest calling this function when you update a single surface. > > Rastagong > > > 2012/1/15 Zack Baker <zbaker1...@gmail.com> >> >> That email brings me too a question I've had for awhile now. What is >> better to use pygame.display.flip() or pygame.display.update()? >> >> -Zack >> >> >> On Jan 14, 2012, at 11:48 PM, Silver <rockac...@gmail.com> wrote: >> >> > Oops, got my rect width argument wrong... Never mind. > >
-- A musician must make music, an artist must paint, a poet must write, if he is to be ultimately at peace with himself. - Abraham Maslow