SHARE
TWEET

Untitled

a guest Jun 19th, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def write_time(surface,size,color,pos):
  2.         pygame.font.init()
  3.         font = pygame.font.SysFont('verdana',size)
  4.         time = pygame.time.get_ticks()/1000
  5.         surface.blit(font.render(str(time),1,color),pos)
RAW Paste Data
Want to get better at Python?
Learn to code Python in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top