I have some code that will blit text to the screen, but I can only align it to the, but I want it on the left. Here is what i have right now:
smallText = pygame.font.Font('freesansbold.ttf', 25)
textSurf, textRect = text_objects(coins, smallText, black)
textRect.center = ((displayWidth-50), (38))
gameDisplay.blit(textSurf, textRect)
This will align the center of the text to the coordinates given, but I want to be able to select the coordinates of the leftmost point, or top left corner.
I tried textRect.left
but it didn't work.
Before anyone says 'Google it', I already have, that's why I have come here.