I\'ve been wondering: is it possible to use Universal Tween Engine in LibGDX to - for example - change the volume of a song? I wrote my own MusicAccessor with code similar t
I personally haven't used Tween Engine myself yet, but I think it might be because Music
is actually just an interface.
There are several implementations for the different backends and different file formats. For example AndroidMusic
, GwtMusic
, and three more implementations of OpenALMusic
(they are all called Music
and are located in the com.badlogic.gdx.backends.openal.mp3/ogg/wav
packages). You could either register them all with your accessor, or you can use Tween.cast() which I found in the code, but not in the official JavaDoc of the tween engine. It might be only in the latest version.