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