I’m writing a game in python with pygame and need to render text onto the screen.
I want to render this text in one colour with an outline, so that I don’t have to worry about what sort of background the the text is being displayed over.
pygame.font doesn’t seem to offer support for doing this sort of thing directly, and I’m wondering if anyone has any good solutions for achieving this?
I can give you a quick and bad solution:
print the text 8 times, to surround it, plus one more time for the inner text, like this
U for outer color and I for the inner color.