Anonymous
public text v1 · immutable #Game Logic
#Handle Score
score += 50 * len(MeteorCollision)
String = "Score: ", score
font = pygame.font.Font(None, 36)
text = font.render("Score: ", 1, (10, 10, 10))
textpos = text.get_rect()
textpos.top = 0
textpos.centerx = 200
screen.blit(text, textpos)