I looked at web, there is transparency, but it affects all picture not just corners. For that I suppose I will need Sprite class from Pygame, but I wanted to check if there is any solution for this, before moving to sprites.
Z
Ups I didnt post any code so:
[source lang="python"]def draw_circle(radius, color): size = radius*2 pict = pygame.Surface((size, size)) pygame.draw.circle(pict, color, (radius, radius), radius) return pict, pict.get_rect()ball, ball_rect = draw_circle(10, [0, 100, 50])[/source]
Edited by Zed McJack, 06 November 2012 - 05:35 AM.







