tweening
Installation
SKILL.md
Tweening
Tween property animation, easing curves, chaining, and lifecycle management define smooth programmatic motion.
Available Scripts
juice_manager.gd
Expert tween-based juice system with reusable effect presets (bounce, shake, pulse, etc.).
NEVER Do in Tweening
- NEVER create tweens without killing previous — Spam click button, create 100 tweens? Memory leak + conflicting animations. ALWAYS
if tween: tween.kill()before creating new. - NEVER tween in _process without create_tween() —
create_tween()every frame? 60 tweens/second × 60 frames = 3600 tween objects. Create ONCE, reuse OR kill old. - NEVER forget to set_parallel for simultaneous — Chain
tween_property()expecting simultaneous? Sequential by default. Usetween.set_parallel(true)first. - NEVER use 0-duration tweens for instant changes —
tween_property(x, 0.0)for teleport? Overhead of tween system. Just set property:sprite.position = target. - NEVER skip finished signal for cleanup — Tween completes, node still references it? Memory held. Connect
tween.finishedfor cleanup OR null reference. - NEVER use linear interpolation for UI —
TRANS_LINEARfor button hover? Robotic feel. UseEASE_OUT + TRANS_QUADOREASE_IN_OUT + TRANS_CUBICfor organic motion.