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))
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))