I started using pygame and I want to do simple game. One of the elements which I need is countdown timer. How can I do the countdown time (eg 10 seconds) in PyGame?
This is actually quite simple. Thank Pygame for creating a simple library!
import pygame x=0 while x < 10: x+=1 pygame.time.delay(1000)
That's all there is to it! Have fun with pygame!