2011-05-20, 16:58
2011-05-20, 18:30
+1
Would be nice to have that.
Would be nice to have that.
2011-05-21, 00:42
Do I understand it right - this would alter list or fixedlist way of scrolling?
2011-05-22, 10:13
Yes.
2011-05-22, 10:36
Hitcher Wrote:Yes.
What would happen if you press and hold up/down on a list? I guess it we would need separate tween?
EDIT: I don't know if you meant item to item scroll (you keep pressing up/down) or fast list scroll (you press and hold up/down). Don't know if tweeners could help, but it would be nice to have smooth scrolling in general (Containers and ControlGroups), instead of jumping positions.
2011-06-22, 13:10
A friendly ping for Hitcher's nice suggestion.
2011-06-22, 14:51
Check this related topic http://forum.xbmc.org/showthread.php?tid=54704.
This is different than control animation tweeners: here animation can be changed in middle. Calculating new params isn't as trivial as it may sound. Check tween charts (http://wiki.xbmc.org/?title=Tweeners) and imagine we are in middle of animation let's say in t=0.5 now we press up again and our target changes from [1,1] to [0.5+1,2] - what should new chart look like? Simply stretched?
This is different than control animation tweeners: here animation can be changed in middle. Calculating new params isn't as trivial as it may sound. Check tween charts (http://wiki.xbmc.org/?title=Tweeners) and imagine we are in middle of animation let's say in t=0.5 now we press up again and our target changes from [1,1] to [0.5+1,2] - what should new chart look like? Simply stretched?
2011-06-22, 15:04
As asked for in that thread, it's a tween animation for when the list stops scrolling that I think we're all after.
Thanks.
Thanks.
2011-06-22, 16:14
pieh Wrote:Calculating new params isn't as trivial as it may sound. Check tween charts (http://wiki.xbmc.org/?title=Tweeners) and
From my point of view, and I may not understand all things under the hood, we have now linear scrolling between items of the list and it applies to a list as a whole, too - when you press and hold UP/DOWN.
What would improve user experience and make it much smoother would be if you could specify alternate for above 2 scrollings, where item 2 item and list scrolling would behave _similar to_ tween=cubic easing=inout animation.
Maybe I misunderstood you, but I'm not saying animation should be used for this, we may just call it smooth scrolling.
2011-06-22, 16:23
pieh Wrote:Check this related topic http://forum.xbmc.org/showthread.php?tid=54704.
This is different than control animation tweeners: here animation can be changed in middle. Calculating new params isn't as trivial as it may sound. Check tween charts (http://wiki.xbmc.org/?title=Tweeners) and imagine we are in middle of animation let's say in t=0.5 now we press up again and our target changes from [1,1] to [0.5+1,2] - what should new chart look like? Simply stretched?
I won't pretend to understand XBMC's inner workings either, but could it not be made so that it works similar to reversible="false" like skinners can use in animations? In other words, the animation has to be finished before new input is executed? Just wondering, I realize it's probably more complicated.
2011-06-22, 18:04
Here's a quick video of the effect I'm after. The first half is standard scrolling and the second I've added a conditional slide to the list to get the same effect.
Test
Test
2011-06-22, 23:44
If you have env for xbmc building - You can try my initial work on it: https://github.com/pieh/xbmc/tree/container_tween - this adds support for <scrolltime tween="foo" easing="bar">time</scrolltime> (same tweens and eases as in animations)
2011-06-23, 02:02
Very excellent! :-) Diky.
Unfortunately I cannot build, so I'll have to wait for the nightly.
Now, if I'm allowed, one more really small, hairsplitting, request:
Can we have a name tag in sounds.xml that can map a sound for Container.Scrolling is TRUE situation? Or, it can be anything else that would allow for turning the nav sound off while container is scrolling.
Item 2 item sounds are OK, but repetitive beeps while _container_ is scrolling are rather nasty (some of you may remember Manic Miner).
Video that Hitcher made in a post above illustrates this.
Unfortunately I cannot build, so I'll have to wait for the nightly.
Now, if I'm allowed, one more really small, hairsplitting, request:
Can we have a name tag in sounds.xml that can map a sound for Container.Scrolling is TRUE situation? Or, it can be anything else that would allow for turning the nav sound off while container is scrolling.
Item 2 item sounds are OK, but repetitive beeps while _container_ is scrolling are rather nasty (some of you may remember Manic Miner).
Video that Hitcher made in a post above illustrates this.
2011-06-23, 02:36
pecinko Wrote:Very excellent! :-) Diky.you will probably be waiting a while then this is just test code in pieh personal branch not in the main xbmc
Unfortunately I cannot build, so I'll have to wait for the nightly.
.....
2011-06-23, 07:49
this is just work in progress and in current state there is no way it will get in - I'm just going "offline" for 3 days and wanted to leave you something to play with.