Page 1 of 1
partial animation
Posted: Fri Sep 14, 2007 8:50 pm
by Recca Phoenix
If I wanted to do blinking character graphics, is it possible to have the animation in 2 images:
1)closed eyes (No face, just the eyes)
2) the actual face
sort of like an overlay? Or do I have to have the faces twice?
Re: partial animation
Posted: Fri Sep 14, 2007 9:54 pm
by DaFool
You can have
1.) The full face, eyes open
2.) Closed eyes but with a bit of skin so when you composite them with the face, they cover the open eyes.
I'll have a sample in a bit...
Re: partial animation
Posted: Fri Sep 14, 2007 10:00 pm
by DaFool
Code: Select all
$ tbase = im.Composite((225, 600), (0, 0), "blank.png", (0, 300), "trollbase.png")
$ tblink = im.Composite((225, 600), (0, 0), "blank.png", (0, 300), "trollbase.png", (0, 300), "trollblink.png")
I can then use tbase and tblink as the two states of animation.
Don't mind my "blank.png", it's for proper positioning of all the sprites so that the headshots don't get messed up.