Welcome to the Rockbox Technical Forums!
"%xd(animation, %xx(<timeout>, <max count>))"
well, right now we dont have a tag which just counts, animations are done with sublines but if a counter tag was added I tihnk we could make that work here also... %xd(animation, %xx(<timeout>, <max count>)) no need for mod at all.
I wasn't really thinking like subline animations.Rather, for example, volume more or less returns a value on Player X between -80 and 0 (just as example numbers).So if you gave it a four frame image, and then "volume" as the tag to use, and put it inside the "volume is changing conditional" as you adjusted volume you'd cycle through those four frames continually, moving upward or downward in line with the rate you were changing volume. This would mean that it wouldn't be "a frame every 2 seconds" or whatever, but rather "a frame every time the volume level changes" to match activity (something similar could be done for, say, fast forward such as the tape wheels on the tape animation spinning in a rate in line with the seconds position in the song, so as FF accelerates, the wheels spin faster).Just an idea though. Still not sure if I'm quite explaining it clearly. But basically, use the existing value tags like location in the song or volume as the index, but modulo it the number of frames so that you constantly cycle through a shorter fixed animation at a rate equal to change. It adds some feel of interactivity beyond what we have now.
I couldnt be bothered with the hassle of breaking themes so the old way still works.
Page created in 0.226 seconds with 70 queries.