Spinning "Movie Wheel" Animation Possible?
#1
I apologize if this post is in the wrong section, as I'm not super clear on how to delineate between "add-ons" and "skins". I've been a long time Kodi user, done some skin hacking, and have worked with Python outside of Kodi, but I've never built an add-on before.

My concern is that I don't want to get too far down the rabbit hole if the animation system in Kodi ultimately can't do what I need it to do to make my add-on work.

I'm wanting to build a "spin the wheel" movie selector add-on. The graphical elements would consist of a main "wheel" graphic, some lines to divide it up into sections, and the main poster image for each movie which is "on the wheel". I'm not sure if its possible to just like build a control group and then just rotate the whole thing. Attempting to animate all the components individually would be a nightmare.

The other issue is, is it possible to have the speed of rotation slow down gradually? I'd want to have the wheel's turning speed slow down at a non-linear rate.

Thanks
Catchy Signature Here
Reply
#2
(2016-09-02, 20:50)SleepyP Wrote: Attempting to animate all the components individually would be a nightmare.

yup, but that's how it's done i'm afraid ;-)

have a look at the Revolve skin, it has all kinds of rotating effects. perhaps you could use some of their code as a starting point.

docs about animations and stuff:
http://kodi.wiki/view/Animating_Your_Skin
http://kodi.wiki/view/Tweeners
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
I was afraid of that! I'll give Revolve a look. Like said, I may be able to adapt my concept into something that's doable in Kodi. Thanks for the pointers!
Catchy Signature Here
Reply

Logout Mark Read Team Forum Stats Members Help
Spinning "Movie Wheel" Animation Possible?0