godot-animation
Installation
SKILL.md
Animation Systems for Godot 4.x
Comprehensive patterns for character animation, state machines, and visual effects in Godot 4.x.
AnimationPlayer vs AnimationTree
AnimationPlayer — Simple Animations
Use AnimationPlayer for linear sequences, cutscenes, and simple property animations.
@onready var anim_player = $AnimationPlayer
func play_attack():
anim_player.play("attack")
func play_transition(target: String, fade_time: float = 0.2):
anim_player.play(target, fade_time)