All pastes #71954 Raw Edit

Anonymous

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