Rotating items
#1
I've been playing with the new xbox design, I think it has great potential for a new skin. The main problem I've encountered is kind of a dealbreaker. if this doesn't work, the whole skin doesn't work. What I want is to have a group of images and lists slide across the screen based on which item of the main menu has focus. It works for the most part with slide animations, but I can't control where to slide based on which direction the navigation goes. Maybe a video to explain a bit more:
http://www.youtube.com/watch?v=Xxf-DwiU-1E
As you can see, the animations goes the wrong way when the direction is opposite.
here is the code for the slide animations:
Code:
<animation effect="slide" start="0" end="900" time="200" reversible="true" condition="Container(300).HasFocus(1)">Conditional</animation>
      <animation effect="zoom" start="100" end="70" center="400,300" time="200" reversible="true" condition="Container(300).HasFocus(1)">Conditional</animation>
      <animation effect="slide" start="0" end="-900" time="200" reversible="true" condition="Container(300).HasFocus(3)">Conditional</animation>
      <animation effect="zoom" start="100" end="70" center="900,300" time="200" reversible="true" condition="Container(300).HasFocus(3)">Conditional</animation>
I've already tried to add OnNext/OnPrevious visibility conditions and that didn't work.
I don't think this is doable in the current skinning engine, but please feel free to correct me. If I'm right, is there a change this could be coded somehow?
Reply
#2
Hmm, I would have thought using the normal coverflow tricks would work I think?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
They don't because the items need to be visible when out of focus. There are 5 positions for the items and it needs to be controlled where to slide based on which position the main menu has focus and which item has focus next.
Reply
#4
Have you tried -

PHP Code:
<animation effect="slide" start="0" end="900" time="200" reversible="true" condition="Container.OnNext">Focus</animation
Reply
#5
if You are after something like this: http://www.youtube.com/watch?v=hWVI15t-PAQ
here is sample code for this: http://pastebin.com/34nshZZn

If you will need me to explain it, let me know!
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
Reply
#6
Hitcher Wrote:Have you tried -

PHP Code:
<animation effect="slide" start="0" end="900" time="200" reversible="true" condition="Container.OnNext">Focus</animation
Yeah, that won't work because it's not actually a list, so it never has focus.
pieh Wrote:if You are after something like this: http://www.youtube.com/watch?v=hWVI15t-PAQ
here is sample code for this: http://pastebin.com/34nshZZn

If you will need me to explain it, let me know!
Thx, this is genius. Never would have thought about making a group of all the items and making the slides part of that group and then the zoom for the items in the group. This works perfectly!
Reply
#7
Ah, so you wanted it the original Alaska way.
Reply
#8
Okay, I see now that Alaska indeed has the same principal.
So, next to the color scheme (expect red is green here) it already has the same home menu animation. I'll have to be careful here to not turn this into an Alaska (Revisited) clone.
Reply
#9
Big_Noid Wrote:I'll have to be careful here to not turn this into an Alaska (Revisited) clone.

Isn't that what the new Xbox User Experience is anyway? Wink
Reply
#10
Well, the white/grey color scheme definitely is, but I've never seen the tiles before.
Reply

Logout Mark Read Team Forum Stats Members Help
Rotating items0