22 lines
1.2 KiB
Markdown
22 lines
1.2 KiB
Markdown
With animations, you can create a beautiful experience for users while interacting with your program.<br>
|
|
|
|
| | |
|
|
|---|---|
|
|
|[add](objects/Animation/add.md)|Adds a new custom function to call at the current time
|
|
|[wait](objects/Animation/wait.md)|Adds a amount to the animation time
|
|
|[play](objects/Animation/play.md)|Plays the animation
|
|
|[cancel](objects/Animation/cancel.md)|Cancels the animation
|
|
|[setObject](objects/Animation/setObject.md)|Sets an object on which predefined animations should work on
|
|
|[move](objects/Animation/move.md)|Predefined animation: moves the object to a new position
|
|
|[offset](objects/Animation/offset.md)|Predefined animation: Changes the offset of that object
|
|
|[size](objects/Animation/size.md)|Predefined animation: Changes the size on a object
|
|
|[changeText](objects/Animation/changeText.md)|Predefined animation: Changes the text (object needs a setText method)
|
|
|[changeTextColor](objects/Animation/changeTextColor.md)|Predefined animation: changes the foreground/textcolor on a object
|
|
|[changeBackground](objects/Animation/changeBackground.md)|Predefined animation: changes the background on a object
|
|
|
|
# Events
|
|
|
|
| | |
|
|
|---|---|
|
|
|[onDone](objects/Animation/onDone.md)|Gets called as soon as the animation has finished
|