Talk:Spray Play
Jump to navigation
Jump to search
Adding custom colored XOs
Currently, the X is a PNG with fixed colors, and the O is just a colored circle.
One can key out a 3-color image (inner, outer, transparent)
ball = pygame.image.load("test.png")
ball.set_palette([(255, 0, 0), (255, 0, 0), (0, 0, 0)])
-Bjordan 13:09, 10 June 2007 (EDT)