Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- put this somewhere above the while-loop:
- pygame.font.init()
- shopFont = pygame.font.SysFont('Arial', 10)
- statsFont = pygame.font.SysFont('Arial', 20)
- put this right underneath each shop button being created:
- message = coolFont.render('Pawn: $100', False, (0, 0, 0))
- screen.blit(message, (415, 50))
- put this right before pygame.display.flip():
- healthText = statsFont.render('Health: 100', False, (0, 0, 0))
- screen.blit(healthText, (0,0))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement