Q: Implementing timer into Pygame game I'm new to Pygame. For a class assignment, I decided to make the game of Wormy from a tutorial. After I finished making the basic game, I decided to implement some new features into it. 
A simple feature I want to implement is a very basic "loading" screen at the beginning of the game, which consists of a large blue screen with "Loading" printed on it. Then comes the tricky part: I would like to make another line of text appear after 10 seconds the "Loading" text showed up on screen. I was thinking of implementing some form of timer into it, but the code (see below) won't work. Does any of you have any ideas? Any ideas would be highly appreciated.
FPS = 8 # Already declared at the beginning
.
.
.
def showStartScreen(): # Start screen function that is to be called in  
main()     
    loadingFont = pygame.font.SysFont('centurygothic', 50)
    loadingText = loadingFont.render('Loading...', True, WHITE)
    tick_counter = 0

    while True:
        pygame.time.Clock.tick(FPS)
        tick_counter += 1
        DISPLAYSURF.fill(DEEPSKYBLUE)
        DISPLAYSURF.blit(loadingText, (WINDOWWIDTH / 2 - 
          loadingText.get_width() // 2, 235))
        if tick_counter >= 40:
            drawPressKeyMsg()
            pygame.display.update()
            pygame.time.wait(1000)
            checkForKeyPress() # clear out any key presses in the event 
              queue
            if checkForKeyPress():
                pygame.event.get() # clear event queue
                return
            pygame.display.update()

