jeudi 26 juin 2014

PyGame set_alpha not working


Vote count:

0




I want to blit the draw_screen into the screen with a transparency: I'm doing:



screen.fill((131,124,86))
draw_screen.fill((131, 124, 86))
pygame.draw.circle(draw_screen,(255,0,0),(25,25),10)
draw_screen.set_alpha(128)
screen.blit(draw_screen,(0,0))
pygame.display.flip()


It doesn't matter what value I set in alpha, it does nothing.



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire