# Head layers, blinking animations, separate layers or baked into animations?

**URL:** <https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118>\
**Category:** Development/Design\
**Created:** [September 10, 2018, 1:14pm UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118 "2018-09-10T13:14:48Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevenstarar](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/stevenstarar/32/57_2.png) [@stevenstarar](https://forums.thimbleweedpark.com/u/stevenstarar)\
**Post date:** [September 10, 2018, 1:14pm UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118/1 "2018-09-10T13:14:48Z")

</div>

I’m interested in the method used for eye blinking in TP animations, and the head layer organisation.

- The characters in TP blink when left unattended and any way other than back, are the eyes a separate layer, or are they animation frames that are part of the body or head layer?

- Are the head layers turned off during normal walking, idle, non-talking states?

- Sometimes, the players eyes react to dialogue (like a shifty glace reaction to a line someone has spoken), are the frames called in script during dialogue, and are these part of the body head animation, or just the head layer?

- Finally, is the head position matched to a point on the body so as to move up and down during walking cycles? (I presume this is a big yes)

I’m working on my own engine and I’m just trying to get some ideas for how to tackle the head/eyes/body for talking phonemes, TP has a really wonderful set-up.

---

<div class="post-metadata">

**Author:** ![Guga](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/guga/32/14476_2.png) [@Guga](https://forums.thimbleweedpark.com/u/Guga)\
**Post date:** [September 10, 2018, 2:09pm UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118/2 "2018-09-10T14:09:54Z")

</div>

> [@stevenstarar](#):
>
> Sometimes, the players eyes react to dialogue (like a shifty glace reaction to a line someone has spoken), are the frames called in script during dialogue, and are these part of the body head animation, or just the head layer?

I can answer this one. Some dialogue lines can call special animations - you get a line like “{eyes\_left}Yeah, right”. The eyes position is explicitly called then. I don’t know about the blinking.

---

<div class="post-metadata">

**Author:** ![Someone](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Someone](https://forums.thimbleweedpark.com/u/Someone)\
**Post date:** [September 10, 2018, 2:13pm UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118/3 "2018-09-10T14:13:42Z")

</div>

> [@Guga](#):
>
> I don’t know about the blinking.

Hasn’t Ron said somewhere that the blinking is randomized? 🤔

---

<div class="post-metadata">

**Author:** ![stevenstarar](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/stevenstarar/32/57_2.png) [@stevenstarar](https://forums.thimbleweedpark.com/u/stevenstarar)\
**Post date:** [September 10, 2018, 2:14pm UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118/4 "2018-09-10T14:14:22Z")

</div>

Yeah, but it could still be part of the same animation image, rather than a separate layer.

---

<div class="post-metadata">

**Author:** ![Guga](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/guga/32/14476_2.png) [@Guga](https://forums.thimbleweedpark.com/u/Guga)\
**Post date:** [September 10, 2018, 2:15pm UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118/5 "2018-09-10T14:15:25Z")

</div>

Then I’m pretty sure it’s an explicit head frame, no extra layer (I mean, they have a whole head layer for each eye state)

---

<div class="post-metadata">

**Author:** ![stevenstarar](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/stevenstarar/32/57_2.png) [@stevenstarar](https://forums.thimbleweedpark.com/u/stevenstarar)\
**Post date:** [September 10, 2018, 2:17pm UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118/6 "2018-09-10T14:17:03Z")

</div>

So presumably they couldn’t change eye states during talking, since the talking is a separate frame?

---

<div class="post-metadata">

**Author:** ![Someone](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Someone](https://forums.thimbleweedpark.com/u/Someone)\
**Post date:** [September 10, 2018, 2:20pm UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118/7 "2018-09-10T14:20:09Z")

</div>

If don’t find the content of my bonus disk from the box ATM, but every state of the face seems to be a single frame (no layers). You can find some of the frames in the art book.

---

<div class="post-metadata">

**Author:** ![Guga](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/guga/32/14476_2.png) [@Guga](https://forums.thimbleweedpark.com/u/Guga)\
**Post date:** [September 10, 2018, 2:22pm UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118/8 "2018-09-10T14:22:52Z")

</div>

I suppose they replicated the different eye/mouth configurations except for blinking. I don’t remember I saw the characters blinking while talking.

---

<div class="post-metadata">

**Author:** ![stevenstarar](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/stevenstarar/32/57_2.png) [@stevenstarar](https://forums.thimbleweedpark.com/u/stevenstarar)\
**Post date:** [September 10, 2018, 2:23pm UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118/9 "2018-09-10T14:23:20Z")

</div>

Oh yeah, I forgot about that! I actually bought a usb floppy drive just to do that, I totally forgot all the frames were in there!

---

<div class="post-metadata">

**Author:** ![Someone](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Someone](https://forums.thimbleweedpark.com/u/Someone)\
**Post date:** [September 10, 2018, 2:26pm UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118/10 "2018-09-10T14:26:07Z")

</div>

Beside that _I_ would do it without layers, because it’s much more easier to maintain in the engine. (Assuming that you would like to make an engine similar to the TWP engine.)

---

<div class="post-metadata">

**Author:** ![RonGilbert](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/rongilbert/32/7_2.png) [@RonGilbert](https://forums.thimbleweedpark.com/u/RonGilbert)\
**Post date:** [September 11, 2018, 12:00am UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118/11 "2018-09-11T00:00:44Z")

</div>

Eyes open is baked into the head, there is a seperate layer for looking left, right and blink. There is a blink timer that fires off every few seconds that turns on and then off the blink layer, but only if they are look forward. If they are looking left or right, it skips the blink. It might also skip the blink if they are talking. If they layer doesn’t exist, it’s also ignored, so if the actor blinks while using a special-case animation, nothing breaks.

---

<div class="post-metadata">

**Author:** ![ZakPhoenixMcKracken](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/zakphoenixmckracken/32/41_2.png) [@ZakPhoenixMcKracken](https://forums.thimbleweedpark.com/u/ZakPhoenixMcKracken)\
**Post date:** [September 11, 2018, 4:26am UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118/12 "2018-09-11T04:26:03Z")

</div>

You really thought of everything.  
Just missing that they ask to go to the bathroom every now and then!

---

<div class="post-metadata">

**Author:** ![Someone](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Someone](https://forums.thimbleweedpark.com/u/Someone)\
**Post date:** [September 11, 2018, 8:50am UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118/13 "2018-09-11T08:50:11Z")

</div>

> [@RonGilbert](#):
>
> It might also skip the blink if they are talking.

So they blink only if they are standing still and nothing else happens? (I have to check that 🙂 )

---

<div class="post-metadata">

**Author:** ![stevenstarar](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/stevenstarar/32/57_2.png) [@stevenstarar](https://forums.thimbleweedpark.com/u/stevenstarar)\
**Post date:** [September 11, 2018, 9:19am UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118/14 "2018-09-11T09:19:59Z")

</div>

Thanks so much @RonGilbert for the detail, really helping me organise this as I really admire how TP handles the face layers, but I couldn’t quite imagine it exactly. Are the blinking frame seconds randomised or just played after a predetermined number of seconds? Agent Reyes is the only character who does a sly look to his right and chuckles, is that exactly after so many seconds or random \> than so many seconds?

---

<div class="post-metadata">

**Author:** ![RonGilbert](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/rongilbert/32/7_2.png) [@RonGilbert](https://forums.thimbleweedpark.com/u/RonGilbert)\
**Post date:** [September 12, 2018, 12:33am UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118/15 "2018-09-12T00:33:35Z")

</div>

The time between blinks is random.

---

<div class="post-metadata">

**Author:** ![Nor\_Treblig](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/nor_treblig/32/216_2.png) [@Nor\_Treblig](https://forums.thimbleweedpark.com/u/Nor_Treblig)\
**Post date:** [September 12, 2018, 3:22pm UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118/16 "2018-09-12T15:22:01Z")

</div>

> [@RonGilbert](#):
>
> The time between blinks is random.

Is it? Or is it rather [pseudo-random](http://memory-alpha.wikia.com/wiki/Blinking).

---

<div class="post-metadata">

**Author:** ![stevenstarar](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/stevenstarar/32/57_2.png) [@stevenstarar](https://forums.thimbleweedpark.com/u/stevenstarar)\
**Post date:** [September 12, 2018, 3:49pm UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118/17 "2018-09-12T15:49:03Z")

</div>

Thanks! Should be fun to try recreating this head/eye architecture!

---

<div class="post-metadata">

**Author:** ![besmaller](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/besmaller/32/40_2.png) [@besmaller](https://forums.thimbleweedpark.com/u/besmaller)\
**Post date:** [September 18, 2018, 12:12am UTC](https://forums.thimbleweedpark.com/t/head-layers-blinking-animations-separate-layers-or-baked-into-animations/3118/18 "2018-09-18T00:12:59Z")

</div>

I had a lot of fun trying to get the eye animations working in a semi-realistic fashion working on the podcast animation (which I am so ashamed as taken a very long back burner to other things in my life this year). [Animated Podcasts](https://forums.thimbleweedpark.com/t/animated-podcasts/2124/183?u=besmaller)

It’s super interesting to get @RonGilbert 's comments on how they handled the eye animation. I didn’t think of some of those things, like skipping the blink when talking or when looking left or right…
