Hi, I don't know Pygame that well and have never used subsurfaces
but it it looks kinda interesting. Would you do the subsurface
approach in the following way?i = img.subsurface(pygame.Rect(-x*width, 0, width, img.get_height()))
def load_strip(filename, width):
imgs = []
img = load_image(filename)
for x in range(img.get_width()/width):
imgs.append(i)
return imgs