Go Back   Flash Flash Revolution > Gaming > Stepmania
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
Old 05-17-2011, 11:31 PM   #1
Goldenwind
FFR Simfile Author
FFR Simfile AuthorFFR Veteran
 
Goldenwind's Avatar
 
Join Date: Jan 2006
Location: Canada
Age: 36
Posts: 762
Default 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..
Goldenwind is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 08:50 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution