goes with video: https://youtu.be/PWd2CJfdx1A Shows technique for scrolling text up within a Surface in PyGame. And then I do a walkthough explaining the code itself ...
#example.py import pygame from pgcentering import Button, BadButton, Text, TextButton if __name__ == "__main__": pygame.init() clock = pygame.time.Clock() screen_dim ...