Welcome to the Creatures Wiki! Log in and join the community.

Gait

From Creatures Wiki
Jump to navigation Jump to search
A baby male Banana Norn's default gait.

A gait is a series of poses that define a creature's walking animations. They are defined in the gait genes in its genome. Special gaits are used in certain circumstances as part of creatures' behavior, for example mating dances.

The gait to use is selected based on the current strongest gait receptor locus.

The animation is interpolated smoothly between each pose defined in the gait, tilting each body part closer to the desired angle each tick until the pose is reached. In this sense, the poses can be thought of as a sequence of key frames that are used to generate the full animation. The amount of tilt required between each pose is also used to update the muscles emitter locus so that the biochemistry system knows how much energy is being used.

The creature will move based on the location of its feet during each animation frame, giving it a smooth, realistic walking animation.

Creatures 1 gait strings

Gait strings are defined similarly to a normal animation string, but use two-digit numbers to refer to poses instead of single-digits.

Creatures 1 pose strings

Pose strings are 15-character long strings, where each character specifies the angle for a certain body part, or a dynamic angle based on the current pose or target of attention. The sprite to use is determined based on the angle of the part and current direction the creature is facing.

The order of angles is: direction, head, body, left thigh, left shin, left foot, right thigh, right shin, right foot, left humerus (upper arm), left radius (forearm and hand), right humerus, right radius, tail root, and tail tip.

Editnorn.png This stub could use more information.

Creatures 1 gait example

In Creatures 1, the normal norn gait is 13141516R, used when no other gait loci are being stimulated. This gait defines a sequence of four poses, with indexes 13, 14, 15, and 16, infinitely repeating.

The poses associated with these indexes are:

  • ?201221010012XX
  • ?201013221101XX
  • ?101011221200XX
  • ?203221010111XX

After interpolation, the full animation becomes:

  • ?201221010012XX
  • ?...112121101..
  • ?201013221101XX
  • ?1....2...2.0..
  • ?101011221200XX
  • ?2.212.110111..
  • ?203221010111XX
  • ?..2......0.2..

with non-changing parts shown as ..


See also

  • NY Walker, a named mutation in the gait genes.