Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pygame.display.flip vs update

import pygame

pygame.display.flip() #will update the contents of the entire display
pygame.display.update() #allows to update a portion of the screen, 
#instead of the entire area of the screen. Passing no arguments, 
#updates the entire display
# Boutros
 
PREVIOUS NEXT
Tagged: #update
ADD COMMENT
Topic
Name
1+4 =