Using Shadow command will not show animation? (1 Viewer)

stdly

MP Donator
  • Premium Supporter
  • April 19, 2008
    238
    41
    Home Country
    Canada Canada
    I am trying to use the shadow affect instead of using 2 text labels offset, to save resources but have never got animation to work with the shadow commands below. The animation command works with the label but not with the shadow.
    Am I doing something wrong or will this not work?

    Code:
        <control>
          <description>text label</description>
          <type>label</type>
          <id>1</id>
          <posX>150</posX>
          <posY>460</posY>
          <label>Ratio : </label>
          <align>right</align>
          <textcolor>ffffffff</textcolor>
          <shadowAngle>45</shadowAngle>
          <shadowDistance>1</shadowDistance>
          <shadowColor>FF000000</shadowColor>
          <animation effect="fade" time="300">WindowOpen</animation>
          <animation effect="fade" time="300">WindowClose</animation>	  
        </control>
    Steve
     

    stdly

    MP Donator
  • Premium Supporter
  • April 19, 2008
    238
    41
    Home Country
    Canada Canada
    Thanks allot guys maybe I'll give 1.2 a try!
    I just finished going through all my skin files and replacing all the shadow commands for dual offset text @ all animations. I guess I will be going back to change it to the shadow command soon.
    Steve
     

    stdly

    MP Donator
  • Premium Supporter
  • April 19, 2008
    238
    41
    Home Country
    Canada Canada
    Now I think more about this will it actual save resources when all is in place (shadow commands and the animation effect) compared to double offset text? I believe this was the reason for implementing it into MP and ease of code.

    Is this a bug report and should I start a post somewhere else as a bug?
    Steve
     

    ajp8164

    Portal Pro
    January 9, 2008
    575
    1,166
    Atlanta, GA
    Home Country
    United States of America United States of America
    Now I think more about this will it actual save resources when all is in place (shadow commands and the animation effect) compared to double offset text? I believe this was the reason for implementing it into MP and ease of code.

    Is this a bug report and should I start a post somewhere else as a bug?
    Steve

    Using the shadow feature (tags) will definitely save resources over using double-drawn text. Drawing of shadows occurs at a very low level in the skin engine and does not include the need to separately create and manage a second skin control (as you do when you create your own shadows with multiple labels). Creation of a second skinc ontrol for the shadow puts alot of overhead on the window manager (CPU/GPU cycles and memory consumption).
     

    Users who are viewing this thread

    Top Bottom