Sprite Properties
Editing a Sprite
 
Image bm106.GIF
 
The Delay Between Phases specifies the velocity, with which the individual pictures will vary during the sprite animation. The delay is indicated in milliseconds in form of an integer (greater than 0). In PC computers the resolution value is 55 milliseconds; the entered value will be modified to express a multiple of this value.
 
The Phases per Step entry represents the sprite motion speed. It specifies the change number of the animation pictures for the sprite to cover a unity distance (i.e. a distance of 1 square or 32 graphic pixels). By entering the value of 0 an instantaneous sprite transfer to a new position is brought about. Moving in place can be induced (in addition to using the standstill phases) by entering a large value for the phases number per step (This value should not exceed about 2000000000, i.e. 2 thousand of millions).
 
The Level to Be Displayed specifies the height level, in which a sprite will be painted. The height level defines the mutual relations of the sprites, determining, which sprite will be painted at the top, and which at the bottom. Positive levels are intended for the sprite motion above the item layer, negative ones are intended for the sprite motion below the item layer. The zero value indicates a level situated close above the items' surface.
 
The Standstill Phases indicate the pictures number necessary for the sprite animation in the quiescent condition. Their minimum value is 1, their maximum value is 1024.
 
The Moving Phases determine the pictures number necessary for the sprite animation in the moving condition. Their minimum value is 0, their maximum value is 1024.
 
The Directions specify the number of possible directions after the sprite's being rotated. Their minimum value is 1, their maximum value is 1024. These directions serve for displaying the sprite only; a sprite is allowed to move in all directions independently on direction definitions. For the sprite motion the nearest direction is used that corresponds to the division of the perigon (360 degrees) into the specified number of directions. The first direction angle is always 0.
 
The Picture Width and Height determine the size of one sprite picture. The size is expressed in units of steps (1 step corresponding to 32 pixels). The size may be also modified when editing the sprite picture. In this case the size may be specified in graphic pixels, too.

Full Html Context Help of The Peter - Gemtree Software & Children Programming