Re: [pygame] Difference between flip and update?

2015-08-26 Thread bw
Hi again, Bob. From a teaching standpoint... flip updates the entire screen by swapping display buffers each game loop. update uses dirty rects to define the regions that need to be drawn each game loop. update is harder to learn and use. You have to track the areas of the screen that were

[pygame] Difference between flip and update?

2015-08-26 Thread Bob Irving
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

Re: [pygame] Difference between flip and update?

2015-08-26 Thread Ian Mallett
On Wed, Aug 26, 2015 at 11:40 AM, Bob Irving bob...@gmail.com wrote: What is the difference? Is there a reason to use one over the other? ​The docs http://pygame.org/docs/ref/display.html are pretty clear on the basic difference. Do you have a more specific question?​

Re: [pygame] Difference between flip and update?

2015-08-26 Thread tom arnall
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