"short answer: update() is usually faster than flip()." ==> I do not agree. It depends on the area of the surface to be updated. In most cases, update() is really needed only if one needs to update only a few fractions of the screen each frame. Moreover, even in that case, flip() could be sufficient ; however, sometimes performance is critical for other reasons (assume we make a lot of computations each frame for some reasons), and it that case the use of update is really relevant if not all the screen needs to be updated. ________________________________________ De : owner-pygame-us...@seul.org [owner-pygame-us...@seul.org] de la part de tom arnall [kloro2...@gmail.com] Envoyé : mercredi 26 août 2015 22:52 À : pygame-users@seul.org Objet : Re: [pygame] Difference between flip and update?
short answer: update() is usually faster than flip(). On 8/26/15, Bob Irving <bob...@gmail.com> wrote: > What is the difference? Is there a reason to use one over the other? > > Thanks! > Bob Irving > Porter-Gaud School > Charleston, SC > > -- > Twitter: @birv2 > www.bob-irving.com > http://www.scoop.it/t/on-the-digital-frontier > -- ..... “Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy.” Albert Einstein ..... “I have no special talents, only a passionate and stubborn curiosity.” Albert Einstein