Theming Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Goldenwind
    FFR Simfile Author
    FFR Simfile Author
    • Jan 2006
    • 762

    #1

    Theming Question

    Hey guys. I'm trying to do an advanced thing with themes.
    Breaking the problem down...

    I have a vertical line graphic. I change its length periodically using zoomy.

    Now, there are actually multiple lines.
    The first one, mentioned before, goes upwards, hence zoomy works.

    The next one is actually at 72° (Assuming up is 0°).
    The problem here is, I can't control the length of the second line, since zoom, zoomx and zoomy are applied after rotationz. I can make it the proper length, but it also makes the line very thick.

    How can I have each of my lines the proper width, while getting their length to where it should be?

    First line:
    zoomy,1.9*Function()

    Second line:
    zoomx,math.cos(18)*2.7*Function();zoomy,-math.sin(18)*Function()*2.7;rotationz,72

    The above make the lines the right length, but the second line gets thicker.
    (The function returns a percentage that controls the length of the line, like a status bar)

    How could I handle this?
    Last edited by Goldenwind; 05-17-2011, 10:35 PM.
    They say there's a sun in the sky...
Working...