I want my characters (Leora and Una) to walk back to the third character (Eliena) and give her a hug. Here’s my code:
ELIENA (deepbreath)
I should have stopped them.
@LEORA moves to layer 1 @UNA walks to spot 1.073 174 87 in zone 2 and UNA is walk_neutral_rear and LEORA walks to spot 1.118 89 76 in zone 2 and LEORA is walk_neutral_rear and UNA faces right and LEORA faces left @UNA is hug_neutral_loop_rear and LEORA is hug_neutral_loop_rear and LEORA faces left and UNA faces right and ELIENA is hug_surprised_loop
However, between the second line of code (by which I mean the line beginning with the second @) and the third, the characters face away from each other completely for a moment before completing the third line.
Use “does it while” instead of “is” when you make characters walk while doing an animation. This will get rid of that awkward pause and facing front. This way they go straight into the hugging animation after walking.
&UNA walks to spot 1.073 174 87 in zone 2 and UNA does it while walk_neutral_rear and UNA faces right then UNA is hug_neutral_loop_rear and UNA faces right and ELIANA is hug_surprised_loop @LEORA walks to spot 1.118 89 76 in zone 2 and LEORA does it while walk_neutral_rear and LEORA faces left then LEORA is hug_neutral_loop_rear and LEORA faces left