2015-09-08, 05:31
Mike,
I thought I would post here in the event I might save you some time. I noticed you hadn't incorporated the newest changes from the main branch and thought I would share my experience after getting stuck on one element.
You will notice the Plot is now a part of the same GroupList that contains the Cast, Similar Movies, Director Movies and Writer Movies. The problem is the disc art is also part of the plot, which is now part of a larger GroupList.
Previously, the disc art would come in from the side and spin into place. Now, because it is part of a GroupList, starting the animation from the side causes the disc to be cut-off. Perhaps, you can find a solution, but it took me quite awhile to find out why the disc art wouldn't appear with the correct visibility condition.
What I discovered is the disc art animation now needs to be constrained within the new GroupList. Setting the <left> or <posx> to a value less than 0 or greater than 1920 will lead to the disc not appearing at all.
The animation I settled on is similar to MadNox. At a <left> of 0, the disc art starts at the left of the textbox and stops at the right, staying within its borders.
With the disc in place, it looks like below:
My code for the disc art is as follows:
Just a heads-up so you are aware.
I thought I would post here in the event I might save you some time. I noticed you hadn't incorporated the newest changes from the main branch and thought I would share my experience after getting stuck on one element.
You will notice the Plot is now a part of the same GroupList that contains the Cast, Similar Movies, Director Movies and Writer Movies. The problem is the disc art is also part of the plot, which is now part of a larger GroupList.
Previously, the disc art would come in from the side and spin into place. Now, because it is part of a GroupList, starting the animation from the side causes the disc to be cut-off. Perhaps, you can find a solution, but it took me quite awhile to find out why the disc art wouldn't appear with the correct visibility condition.
What I discovered is the disc art animation now needs to be constrained within the new GroupList. Setting the <left> or <posx> to a value less than 0 or greater than 1920 will lead to the disc not appearing at all.
The animation I settled on is similar to MadNox. At a <left> of 0, the disc art starts at the left of the textbox and stops at the right, staying within its borders.
With the disc in place, it looks like below:
My code for the disc art is as follows:
Code:
<!-- Add Plot with Disc Art -->
<control type="textbox" id="4">
<description>Plot</description>
<left>36</left>
<top>10</top>
<width>788</width>
<height>400</height>
<font>font15_textbox</font>
<align>left</align>
<label>$INFO[ListItem.Plot]</label>
<textcolor>white</textcolor>
<pagecontrol>-</pagecontrol>
<visible>!IsEmpty(ListItem.Art(discart))</visible>
<autoscroll time="3000" delay="6000" repeat="6000">Skin.HasSetting(Enable.AutoScroll)</autoscroll>
<animation effect="fade" start="0" end="100" time="500" tween="sine" easing="inout">VisibleChange</animation>
<animation effect="fade" start="100" end="78" time="300" tween="sine" easing="inout" condition="!Control.HasFocus(900171)">Conditional</animation>
</control>
<control type="image">
<left>0</left>
<top>69</top>
<width>320</width>
<height>320</height>
<aspect>keep</aspect>
<texture background="true">$INFO[ListItem.Art(discart)]</texture>
<animation type="WindowOpen" reversible="false">
<effect type="slide" start="0,0" end="845,0" delay="1000" time="1160" tween="quadratic" easing="out" />
<effect type="rotate" start="0" center="auto" end="-720" delay="1000" time="1160" tween="quadratic" easing="out" />
</animation>
<animation type="WindowClose" reversible="false">
<effect type="slide" start="845,0" end="1265,0" time="320" tween="quadratic" easing="out" />
</animation>
<visible>!IsEmpty(ListItem.Art(discart))</visible>
</control>
Just a heads-up so you are aware.