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

Re: [pygame] Re: using alpha for a circle



Jan Filip Tristan wrote:

either I made a mistake or it doesn't work with Screen as a Surface

screen=pygame.display.set_mode(SCREEN_SIZE,pygame.SRCALPHA,32)
pygame.draw.circle(screen,(200,200,255,0.4)
(self.blit_pos[0],self.blit_pos[1]),int(gdata.cans[self.akt][1]))

Something doesn't make sense here. I don't understand why
the *destination* surface should need an alpha channel in
order to draw onto it with a partially transparent colour.

--
Greg