pygame.font.init() my_font = pygame.font.SysFont('Comic Sans MS', 30) text_surface = my_font.render('Clicks: ' + str(clicks), False, (255, 255, 255))
DISPLAYSURF.blit(text_surface, (0,0))
if explosion_on == 1: DISPLAYSURF.blit(explosion_frames[explosion_frames_nr], (200,200)) explosion_frames_nr = (explosion_frames_nr +1) if explosion_frames_nr == 64: explosion_on = 0 explosion_frames_nr = 0
No due date set.
This issue currently doesn't have any dependencies.
Deleting a branch is permanent. It CANNOT be undone. Continue?
pygame.font.init()
my_font = pygame.font.SysFont('Comic Sans MS', 30)
text_surface = my_font.render('Clicks: ' + str(clicks), False, (255, 255, 255))
DISPLAYSURF.blit(text_surface, (0,0))