[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Partially Transparent Color-Dynamic Rectangles



So like:

bar_surface = pygame.Surface((bar_width, bar_height))
bar_surface.fill(#custom color)
surface.blit(bar_surface, (bar_pos_x, bar_pos_y))