natinusala / borealis

Hardware accelerated, controller and TV oriented UI library for PC and Nintendo Switch (libnx)
Apache License 2.0
255 stars 81 forks source link

Add view properties animators #150

Open natinusala opened 3 years ago

natinusala commented 3 years ago

We should be able to animate views / their properties. Animations can have multiple steps, animating multiple parts.

For example animate the scale from 0 to 1 in 10s then animate translationX for 25s while animating rotation for 10s, etc...

Animations could be defined programmatically but in XML files too if necessary. Since animations can have multiple steps / keyframes, it might be interesting to have a nice XML format to define it once and play it on multiple occasions. Or it might be overkill.

API is to be designed before starting working on this issue.