2011-06-10, 01:45
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:
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?
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 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?