Item Animation Related System Attributes: Difference between revisions

From Planimate Knowledge Base
Jump to navigation Jump to search
m (Breakout)
 
mNo edit summary
Line 3: Line 3:
<onlyinclude>
<onlyinclude>
These attributes are intended for run time assignment so their settings are not currently saved with the model and in fact cannot be edited directly, only via a routine calculation.  
These attributes are intended for run time assignment so their settings are not currently saved with the model and in fact cannot be edited directly, only via a routine calculation.  
</onlyinclude>
</onlyinclude>  


Name Read / Write Description
----


Item X Scale Item Y Scale R/W These enable an item's image to be scaled in the x and y direction. They are specified as a percentage, normally 100.
Name


Item Image X StepItem Image Y Step R/W These control how stepping through images is performed (for multi-icon items) If X step is non zero, the x co-ordinate divided by the value is used to index an image, the default of 8 changes the image every 8 screen pixels. Likewise for Y (by default this is 0)
Read / Write


Item Image Time Step (ms) R/W The Time Step value uses the system real time clock to step images at a specified time interval (20ms is a good start) so the image will change at a regular interval no matter how fast the item is moving. Note: Time stepping cannot be used to animate items or objects which are not actually moving. Yet.
Description


[[Category:Runtime Engine]]
----
[[Category:Routine]]
 
[[Category:Item]]
 
[[Category:Attribute]]
 
'''ItemXScale&nbsp; /&nbsp; ItemYScale '''
 
R/W
 
These enable an item's image to be scaled in the x and y direction.
 
They are specified as a percentage, normally 100.
 
 
 
'''ItemImageXStep&nbsp; /&nbsp; ItemImageYStep '''
 
R/W
 
These control how stepping through images is performed (for multi-icon items)
 
If X step is non zero, the x co-ordinate divided by the value is used to index an image, the default of 8 changes the image every 8 screen pixels.
 
Likewise for Y (by default this is 0)
 
 
 
'''ItemImageTimeStepMS '''
 
R/W
 
The Time Step value uses the system real time clock to step images at a specified time interval (20ms is a good start) so the image will change at a regular interval no matter how fast the item is moving.
 
Note: Time stepping cannot be used to animate items or objects which are not actually moving. Yet.
 
 
 
[[Category:Runtime_Engine]] [[Category:Routine]] [[Category:Item]] [[Category:Attribute]]

Revision as of 14:07, 14 December 2008

Item Animation Related System Attributes

These attributes are intended for run time assignment so their settings are not currently saved with the model and in fact cannot be edited directly, only via a routine calculation.



Name

Read / Write

Description



ItemXScale  /  ItemYScale

R/W

These enable an item's image to be scaled in the x and y direction.

They are specified as a percentage, normally 100.


ItemImageXStep  /  ItemImageYStep

R/W

These control how stepping through images is performed (for multi-icon items)

If X step is non zero, the x co-ordinate divided by the value is used to index an image, the default of 8 changes the image every 8 screen pixels.

Likewise for Y (by default this is 0)


ItemImageTimeStepMS

R/W

The Time Step value uses the system real time clock to step images at a specified time interval (20ms is a good start) so the image will change at a regular interval no matter how fast the item is moving.

Note: Time stepping cannot be used to animate items or objects which are not actually moving. Yet.