indigo
indigo copied to clipboard
Tweening
Original comment below.
A fuller animation framework... something like:
Node
.Animate
.start(Node.moveTo(0, 0))
.end(Node.moveTo(1,1))
.withEasing(Ease.In)
.for(Seconds(1))
.emitEvent(Events.Moved)
.andThen()
.start(Node.withAlpha(1))
.end(Node.withAlpha(0))
.for(Seconds(2))
.emitEvent(Events.Finished)
Tweening classes. Signals (Pure, Reader, State) in disguise that handle all the hard stuff of telling a thing when to be where, when to start moving, and when to stop.