05-17-2011, 11:31 PM | #1 |
FFR Simfile Author
Join Date: Jan 2006
Location: Canada
Age: 36
Posts: 762
|
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?
__________________
They say there's a sun in the sky...
Last edited by Goldenwind; 05-17-2011 at 11:35 PM.. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|