On Thu, Dec 29, 2011 at 6:59 PM, Ian Mallett <
geometrian@xxxxxxxxx> wrote:
> On Thu, Dec 29, 2011 at 1:52 PM, Sean Wolfe <
ether.joe@xxxxxxxxx> wrote:
>>
>> frames = [image1, image2, image3]
>> running = True
>> while running:
>> for event in pygame.event.get():
>> if event.type == MOUSEBUTTONDOWN:
>> clock.tick(10)
>> for img in frames:
>> screen.blit(background, (0,0))
>> screen.blit(img, position)
>> pygame.display.flip()
>> clock.tick(10)
>
> You do realize that you're only ever drawing when the mouse is pressed,
> right? So, you'll have to click for every frame.
>
> Also, you're drawing every frame in the animation on top of each other.
>
> Ian