[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] character animation with pygame
- To: pygame-users@xxxxxxxx
- Subject: [pygame] character animation with pygame
- From: Manuel Quiñones <manuel.por.aca@xxxxxxxxx>
- Date: Sat, 13 Aug 2005 02:12:26 -0300
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Sat, 13 Aug 2005 01:12:38 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=CFmG3s8fp78nplO+YNDSD3Agy5dQ4bzMOJKxXeJJ9mTfgygJIjHIsCK9Bpsb9qx+r9+MktSr2+Gb3NdoBF2ArNdmAfYH8sGMeEm95bRPQH/SbP9Xrd31Gu35BX9UmWTUwg2gArrppmOZyrmThNuADJcdPiq94wcLasifFqF8zpA=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hello, remember The Neverhood? :)
I'm making a simple module to handle some character animation with pygame.
You can get the current version here:
http://es.geocities.com/manuel_por_aca/anis.zip
At the momment the character do what a script says (a list of actions,
actually), but i want to also implement a stack of actions that can be
captured pressing the arrow keys.
Each cell of the animations is stored in one image. If you have gimp,
you can see how i calculate the next position of the rect, by adding
vectors. The xcf files are in the package.
I'm sorry but the comments are in spanish, I can translate them I
someone finds this useful.
Regards, Manuel.