diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-01-31 18:29:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-31 18:29:34 +0100 |
commit | dfcfa7d256809130af827f33d4cfeffcedc01dc3 (patch) | |
tree | 21849afbc5dbb019e7a89e9844c5d96a9d145637 /doc/classes/AnimationPlayer.xml | |
parent | 60c4a7ebbe4d59041ed6d9bc50ee3e13188a1cf2 (diff) | |
parent | 810b1341cef475c28c97cc476f54e1199f5c3d2d (diff) |
Merge pull request #35790 from Calinou/doc-animationplayer-vs-tween
doc: Add a short AnimationPlayer versus Tween comparison
Diffstat (limited to 'doc/classes/AnimationPlayer.xml')
-rw-r--r-- | doc/classes/AnimationPlayer.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/AnimationPlayer.xml b/doc/classes/AnimationPlayer.xml index 8bc2c34c6d..bb1754b810 100644 --- a/doc/classes/AnimationPlayer.xml +++ b/doc/classes/AnimationPlayer.xml @@ -5,6 +5,7 @@ </brief_description> <description> An animation player is used for general-purpose playback of [Animation] resources. It contains a dictionary of animations (referenced by name) and custom blend times between their transitions. Additionally, animations can be played and blended in different channels. + [AnimationPlayer] is more suited than [Tween] for animations where you know the final values in advance. For example, fading a screen in and out is more easily done with an [AnimationPlayer] node thanks to the animation tools provided by the editor. That particular example can also be implemented with a [Tween] node, but it requires doing everything by code. Updating the target properties of animations occurs at process time. </description> <tutorials> |