Hi Pierre
Thank you so much for LL! I picked up eXtreme because the base version was just so functional I wanted to support development. I have a couple of feature requests [and I apologize if I haven’t figured out how to do them if they exist].
Pinning widgets for specific scrolls: Is it possible to have it so we can pin an app ONLY for for horizontal or vertical scrolling? Right now, if it’s pinned it’s pinned all the time. It would be nice if I could have a widget pinned in place if I use a vertical scroll, but it will slide over if I scroll horizontally.
Forward/Backwards positions and scrolling animations: I have no clue if this is even possible, but the sidebar animation in Flow for Reddit is incredibly well done [see video at bottom]. Is there someway we could set scroll animations and positions to allow sidebars to be underneath our content and revealed on a swipe rather than pulled in?
These are just a couple things in building one of my themes I thought would be awesome to have [and maybe I just don’t know and they’re possible right now].
Again, thank you for LL!
]]>
< ![CDATA[
The directional pinning is already there. Long press your widget/app shortcut>customize item>more>+.>Pin Mode
]]>
< ![CDATA[
Ah! Nice! Thank you. Now if there was a way to get a slide animation like in that video my theme would be super awesome!
http://i.imgur.com/KB5T3nK.png
]]>
< ![CDATA[
I think that is referred to as parallax scrolling. I know it’s been talked about here, but I just looked and couldn’t find it in Pierre Hébert’s to do list. If you want to check it out, there’s a link in the About This Community category.
]]>
< ![CDATA[
Paralax and other features will be possible when scripting will be enabled. But don’t expect it very soon ( or maybe yes, I don’t know) because it’s something hard to do. Check Pierre’s post for more information.
]]>
< ![CDATA[
Thanks Pasquale J. Festa for your support and feedback !
Indeed, parallax could be something that can be done with scripting, though it would also need to darken the object behind. Moving the object alone without changing its tint may not provide the same effect. I am not sure about performances too. Scripting will be primarily for infrequent events and action, I don’t know yet how it will behave with 20/30Hz frequencies.
]]>
< ![CDATA[
Pierre Hébert I think something like this would be needed to be implemented “natively” in LL. Especially if scripting can’t work at 20/30Hz. The UI in Android runs at 60Hz, so you’d need at least that much.
Also not only this parallax, but a bigger selection of transition animations would be nice all around in LL.
I just got an idea:
what if you wouldn’t need to produce the animation itself by scripting?
Maybe it would be possible to implement a configurable/tunable animation, with many parameters? Most basic ones would be speed, interpolator. And/or you could only define the logic/behaviour of the animation by script, but the actual animating would be done by the LL engine itself…
I don’t know how understandable is this…
Also you could manipulate the behaviour of animations by scripts, but the basic parameters could be set through normal settings too.
]]>
< ![CDATA[
This is a good idea although that not all effects are animation that can be configured before to be played. The parallax effect is one of these: it requires a few hooks in the code and views are configured according to the current state. By contrast, the few existing animations in LL are defined once, then played (using a ViewAnimator to be exact). That can be changed.
In order to let the script configure native animations, it would require quite a lot of hooks and bindings, but the general idea “keep the control on the screep side, and do the bulk of work on the native side” is definitely the way to go.
]]>