Animations (1 Viewer)

PhilippeB

Portal Member
May 1, 2006
14
0
I figured out how animations are working but I've a little problem :

I wanted to do an animated topbar, i've created several pngs of this top bar, and put X=0 & Y=0 to have it in the top left corner

It's running well, but my image is sized down, takes on 2/3 of its regular size

Litlle drawing :

-----------------------------------------------------------------------------------
! ! !
! ANIMATION ! !
! ! !
!--------------------------------------------- !
! !
! !
-----------------------------------------------------------------------------------


Any ideas how to get my animation in full size (taking all screen wide)

Thanks in advance
 

MrMario64

Retired Team Member
  • Premium Supporter
  • April 22, 2004
    822
    1
    50
    Home Country
    Netherlands Netherlands
    can you post the width in pixels of the animation?
    and show me the xml you generated.
     

    PhilippeB

    Portal Member
    May 1, 2006
    14
    0
    In my basic home xml :

    <control>
    <description>animationLogo</description>
    <id>99999</id>
    <posX>0</posX>
    <posY>0</posY>
    <type>animation</type>
    <textures>animations\1.png;animations\2.png;animations\3.png;animations\4.png;animations\5.png;animations\6.png;animations\7.png;animations\8.png;animations\9.png;animations\10.png;animations\11.png;animations\12.png;animations\13.png;animations\14.png;animations\15.png;animations\16.png;animations\17.png;animations\18.png;animations\19.png;animations\20.png</textures>
    <Duration>0:0:19</Duration>
    <RepeatBehavior>1</RepeatBehavior>
    <FillBehavior>HoldEnd</FillBehavior>
    </control>

    one of the png :

    http://www.philippeb.info/MPFR/anim1.png

    1024 wide

    Tried, bigger, shorter, and it's still the same, the animation takes 2/3 of the initial size
     

    MrMario64

    Retired Team Member
  • Premium Supporter
  • April 22, 2004
    822
    1
    50
    Home Country
    Netherlands Netherlands
    whats the resolution in references.xml ?
    And can you post a screenshot of how the topbar looks in MP when it's 2/3 of the size ?

    Did you set pixelratio ?
     

    PhilippeB

    Portal Member
    May 1, 2006
    14
    0
    This is what I have exactly :

    animationspb.jpg


    I wanted to animate the top bar frame by frame to have something very subtle with the lines moving (like a Sony PSP screen if you see what i mean)
     

    MrMario64

    Retired Team Member
  • Premium Supporter
  • April 22, 2004
    822
    1
    50
    Home Country
    Netherlands Netherlands
    so what happens when you make the animation 720 wide ?

    Pixelratio is the setting you do in mediaportal > settings.
    You can calibrate the GUI then and set that 1 square to look perfectly square. If you set that to shrink everything (because you use an anamorphic tv for instance) the animation will also be smaller.

    Anyway,
    The problem is (I think) that the picture is wider than the resolution you set in references.
    MP will compensate this by shrinking the picture resulting in this.

    The widest you can go is the width / height you set in references.xml.
    MP scales everything in reference to that resolution.

    So if you wanna make a higher resolution skin you need to fill in that native resolution in references.xml
     

    PhilippeB

    Portal Member
    May 1, 2006
    14
    0
    I tried :

    <width>720</width> in the file

    animation.png file of 720 width, and put <width>720</width> in the file

    It's still the same

    I see now about pixel ratio, I've tried on my plasma and on my pc, with different setups of "pixel ratio", but still have the same problem


    Do you think I should try a 720 pixels background ? i'm afraid it'll be the same
     

    Users who are viewing this thread

    Top Bottom