All pastes #72132 Raw Edit

Untitled

public text v1 · immutable
#72132 ·published 2006-06-26 16:08 UTC
rendered paste body
 #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)