Experience-Monks / f1

A stateful ui library
MIT License
78 stars 5 forks source link

Tween/Shortcut #14

Open mikkoh opened 8 years ago

mikkoh commented 8 years ago

Add in the ability to do something like

ui.tween("stateIWantToBeIn", { duration: 0.5, delay: 0, ease: easefunction})

which disregards any path finding and just Tweens from the current calculate state to "stateIWantToBeIn".

This will allow for "shortcuts" to just quickly animate to a state if needed. However the only issue I could see is that people would completely disregard path finding.