bool Character.MovementLinkedToAnimation
Gets/sets whether the character's movement is linked to their animation. By default
this is true, which means that when the character is walking their movement across
the screen will be kept in sync with their animation frame changing. Without this, the
character can appear to "glide" across the screen.
In some special cases you may wish to turn this off though, and to do so you can set this
property to false.
In previous versions of AGS, this setting was known as "Anti-glide mode" and was a game-wide
setting.
Example:
player.MovementLinkedToAnimation = false;
player.Walk(50, 100, eBlock);
player.MovementLinkedToAnimation = true;
will turn off movement-linked animation for the player character, walk him to (50,100),
then turn it back on again.
Compatibility: Supported by AGS 3.1.1 and later versions.
See Also:
Character.Move,
Character.Moving,
Character.Walk
|