tanema / gween

Tween animation library for go with a simple interface.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: Sequence?

SolarLune opened this issue · comments

Hello!

Would it be in line with this library to add Sequences? I don't think it's good to bloat packages, so I'd understand if not, but a Sequence that allows you to execute Tweens consecutively would be useful for animations or movements in games.

If so, I can submit a PR for it.

It has been a while since I have touched this library, if you have a good proposal for how to do it, I am definitely open to it.

OK, I've opened a PR in #3 with a new Sequence struct. I'm a bit unsure of if I should put the sequence in its own package? Or maybe in gween.go instead of its own file? If you have any suggestions for this, or anything else, let me know.