There's a couple ways one can go about creating a blink cycle... "fast" blinking and "slow" blinking. Both are fairly easy to pull off, but the "slow" version is a bit trickier to set up.
- Fast Blinking -
Typically, blinking is a fast motion which can be done in about 1/15th - 2/15ths of a second. (Basically, 2-4 frames at 30fps.) At those speeds, you generally don't need to bother creating an animated transition between the opened and closed state.
To do this kind of blinking:
1. Create a copy of your eye object.
2. Delete everything in the copy, except for the eye white.
3. Change the fill color of the eye white to match the color of your character's face.
4. Create a new group layer in your layer window.
5. Move both the eye layer and the modified layer to the group folder. (Placing the modified version on top.)
6. To open the eye, select the modified eye layer in the layer window.
7. Click the "..." button.
8. In the general tab, uncheck "visible", so the unmodified eye layer is visible.
9. To close the eye, check "visible" in the general tab to hide the eye again.
The timeline in moho tracks changes in the layer visible property. This is done to allow animators to swap out certain objects with others where shape tweening isn't possible.
Here's an example of the fast blink:
-
http://www.bones3d.com/moho/fastblink.moho
(8K Moho 5.3 document)
- Slow Blink -
The slow blink is a blink that last longer than the 2-4 frames a fast blink uses. While you can use the fast blink method with a lot more layers, it's not really necessary. Instead, you can use layer masks. The advantage of using layer masks over layer swaps for blinking is that they can be tweened to create smooth movement.
To do this kind of blinking:
1. Create your eye object, using one layer for the eye white, and one for the pupil/iris.
2. Create another layer and draw a box slightly larger than the eye with a fill color similar to your character's face. (This will become the eyelid)
3. Move the box so that it is above the eye object.
4. Create a new layer group in the layers window.
5. Move all of your object layers to this group folder, making sure the eye white is at the bottom and the eyelid is at the top with the iris/pupil in between.
6. Select the layer group folder in the layers window.
7. Click the "..." button.
8. Under the masking tab, set the "group mask" to "hide all".
9. Select the eye white layer.
10. Click the "..." button.
11. Under the masking tab, set the "layer mask" to add to mask. (your eye white and pupil should become visible again.
12. Select the eyelid layer.
13. Advance the timeline ahead a few frames.
14. Move the box (which should look like an outline only at this point) so that it covers the eye white area.
If you advance the timeline back and forth, it should blink.
Here's an example:
-
http://www.bones3d.com/moho/slowblink.moho
(8K Moho 5.3 document)