On Fri, Aug 29, 2008 at 7:01 PM, Luke Miller <[EMAIL PROTECTED]> wrote:
> Unfortunately I'd
> have no idea where to begin. Anyone got any ideas on how to do some
> image deformation? I know that's a fairly general question! haha

Well, since you asked for ideas rather generally I will try to help :)

>From my understanding, you need vector drawings to do skeleton based
animation on 2D, otherwise you wouldn't manage to get a way to control
specific parts of your image like an arm of a character. Maybe - I'm
guessing here, 'cause I never used it - you could use the svg lib
Squirtle that was mentioned in this list before for loading vector
drawings. If possible to get the vertices (I don't know if it's
apropriate to call it like this) of the vector drawing you want to
animate and associate a group of them with a 2D bone with position and
orientation I think it would be possible to do what you want. Ideally
you would load bone and animation information from your animation
package and load inside your game.

For pixel based images it would be rather difficult to do, unless you
divided your characters in separated images for each part of the body
you would like to move independently.

-- 
Kao Cardoso Félix

Página pessoal: http://www.inf.ufrgs.br/~kcfelix
Blog: http://kaofelix.blogspot.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to