Hello everyone. This is a short tutorial on how to make your characters blink.
First things first, You need two images!
One with the character's eyes open and the other with his/her eyes closed (Yes. In the same pose too.)


As you can see, The files are named differently.
Since Evangelos' route is in progress, I used him as the example.
Now, I named my files with the B1 and B2 to stand for Blink 1 and Blink 2.

I then defined both images. Keep in mind that the background behind him is transparent.
This is the small piece of code that will let your character blink. It uses two frames.

The "image evansmile" (or however you named your character) is what you'll use to actually show the character.
The "evansmileB1" is when he has his eyes open. The "evansmileB2" is when he has his eyes closed. His other expressions are also like this, but named differently. Such as "evansadB1" and "evansadB2".
Anyways, The pause 0.1 does as expected; Making the images pause as they go.
At the end, The pause 1.0 is the pause between blinks. And the repeat makes it loop.
Here's the result:

If you would like to add more frames, here's the code:

As you can see, this is the true ending CG for Ciro. It has more frames, three to be exact. This allows the animation to be a lot smoother and more natural. Feel free to name everything as you like according to your own characters.
Also, another quick little bonus for you. Let's animate some rain! For this, you'll need three images. I'll be honest that when I made my rain for Love's Apathy, I used images where I scattered the droplets. They're barely visible anyways.

Result:

Comments (1)
I like this