Pygame is a free and open-source cross-platform library for the development of multimedia applications like video games using Python. It uses the Simple DirectMedia Layer library and several other ...
creates a text object that can be added to a menu ARGS: text (string): the text displayed font (pygame.font.Font object): text font color (3 tuple, string, hex code): text color pos (2 tuple): top ...