Advertisement
jabela

Draw Car 1C

Dec 19th, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. #The Loop
  2. while running:
  3.     for event in pygame.event.get():
  4.         if event.type == pygame.QUIT:
  5.             running = False
  6.  
  7.     window.fill((0, 0, 0))
  8.     window.blit(car1.image,car1.rect)
  9.     pygame.display.update()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement