spacer graphic
spacer graphic
Montage of games AGS Logo
spacer graphic

 

spacer graphic
Menu
spacer graphic Home
About
News
Features
Download AGS
spacer graphic Games 
Games main page
Award Winners
Picks of the month
Short games
Medium length games
Full length games
In Production
Hints & Tips
Community
Forums
AGSers World Map
Member websites
Chat
Resources
Tutorials
FAQ
Knowledge Base
Downloads
Links
AGS-related links
* AGS Manual
  * Scripting
    * Character functions and properties

MovementLinkedToAnimation property

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


User comments and notes
There are currently no user comments on this page.
The user comment facility is currently disabled.