21.4.2 How Position Animation Works

The system calculates where to display the object based on the specified word address, [Source Range], and [Position Range].

This section explains the operations that takes place in the system during a Horizontal Animation set up, as an example.

Setting Example

Source Range: From = 0, To = 100.

Position Range Start = 0, End = 200.

If you stored "50" in the word address:

The Source Range (the range between the [From] and [To] values) is 100. The value of "50" is divided by 100. The result is applied to the Position Range to determine where the object is displayed.

If you place the object outside of the screen editing area, that position becomes the [Start] point for the Position Range. In this case, the object appears as it moves into the screen from outside.

Similarly, if you specify the [End] point outside of the screen size, the object appears as it moves out of the screen.

Setting Example

Object size (width x height): 40x40

Object location (coordinates): -40, 30

Source Range: From = 0, To = 100.

Position Range Position Range: Start = 0, End = 680 (object's location + screen width)

Example

You can display an object so that it enters into the screen from left side, and moves out of the screen to the right side. If you have specified the minimum value "0" or the maximum value "100" for the word address, the object is not displayed because it is outside of the screen.