[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] blit a list containing surfaces
- To: pygame-users@xxxxxxxx
- Subject: [pygame] blit a list containing surfaces
- From: ANKUR AGGARWAL <coolankur2006@xxxxxxxxx>
- Date: Wed, 13 Apr 2011 04:18:06 +0530
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Tue, 12 Apr 2011 18:48:34 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=dSBLMdIBW+sFanrpjlafItG/X8XVjoR5coEvbuGunkQ=; b=H7q1AVC8IUPDABaEuYWhr+ujrH/peVOrqhOwXcZbHut+TpCjUrw/gm337k6s3C4ljq mlu5lQjxTAKiKwSKGwaqdOQnIA4C+N/lYfNyScEiJm5sMoksEHCEqe7Nwgx5rVcv9mjd VOiPr2EEJW7sDS4vpk+YKpgtTME/nh2lD2UG0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=Ml0Yo4GfQBAzIpWFPtUZJ6qTt3diqCMf9vBroymtKMPzas+NY3JE1LbtOkcAJ77XHe Sc+mn9VL7yHlyqnnsNPQw8mwbtWZL59jOqJx908B2oRsUDFMVl/5yCj7x0P+EvdeRwFu W2gVNJ+2+V+ytl9rKfNr1ZLhQ2yEcqlnfFYlQ=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
I created a list which contains the subsurfaces of the sprite image. Now i want to blit it on the screen so that it seems to be like a animation. I tried but unable to do so. So kindly help me in the algo of how to blit this list (Images=[<Surface(16x16x32 SW)>, <Surface(16x16x32 SW)>, <Surface(16x16x32 SW)>, <Surface(16x16x32 SW)>, <Surface(16x16x32 SW)>, <Surface(16x16x32 SW)>, <Surface(16x16x32 SW)>, <Surface(16x16x32 SW)>]).
Thanks in advance
Ankur Aggarwal