| |
 |  |  |
 | Command |  | Argument |
 | Datatype |  | Default |  | Min |  | Max |
 |  |  | Format: |  | AnimateImage | | Image selection,
|  | SELECTION |  | - |  | - |  | - |  |
 | |  | | | Enter = fromLeft
| fromRight | fromTop | fromBottom | Circle | Jump | BlendLeft | BlendRight | BlendTop
| BlendBottom | Pop, |  |
STRING |  | fromLeft |
 | - |
 | - |  |  | |
 | | | Rest
= Time to rest on screen in update cycles, |  | INT |  | 200 |  | - |
 | - |
 |  | |  |
| | Leave = toLeft | toRight | toTop | toBottom | Circle | Drop
| BlendLeft | BlendRight | BlendTop | BlendBottom | Pop, |
 | STRING |  | toRight |  |
- |  | - |  |  | |  | | | Steps = Number of steps to complete enter/leave animations in
update cycles |  |
INT |  | 100 |  | - |  | - |  |  |
 | Python: |
 | AnimateImage(selection1,enter=None,rest=None,leave=None,steps=None) |
 |  |  | Menu: |  | Effects > Image > Animate |  |  |  | Related: |
 | LoadBMP
, LoadPNG, ShowImage
, AutoMoveImage, HideImage
, DelImage, SwapImage
, UnrestImage, MakeImageObj
|  |  |
 | Required: |  |  |  |
 |
If you want the image to rest on screen until a mouse button is pressed,
choose a very long rest time (e.g. 100000), then issue a Wait
command and finally use UnrestImage to continue the animation.
Example 1:
AnimateImage 2,Enter=fromRight,Rest=200,Leave=toBottom,Steps=100
Let image 2 enter the screen from the right side with 100 steps,
rest on screen for 200 cycles, and leave to the bottom with 100 steps.
Example 2:
AnimateImage 3,Enter=Circle,Rest=300,Leave=BlendTop,Steps=150
Let image 3 fly onto the screen in a circle with 150 steps,
rest on screen for 300 cycles, and blend it away to the top.
|