Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def write_time(surface,size,color,pos):
- pygame.font.init()
- font = pygame.font.SysFont('verdana',size)
- time = pygame.time.get_ticks()/1000
- surface.blit(font.render(str(time),1,color),pos)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement