It is currently May 1st, 2024, 11:24 am

Flip string?

Get help with creating, editing & fixing problems with skins
Lightz39
Posts: 98
Joined: August 1st, 2012, 12:48 am

Flip string?

Post by Lightz39 »

Is it possible to flip a string so the text is reversed? I'm trying to make a reflection for my clock, I used angle to get it upside down but I'm not to sure how to flip it horizontally.
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: Flip string?

Post by Kaelri »

I suspect this is possible with Transformation Matrix, but that's not my area of expertise. Might require some experimentation.
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: Flip string?

Post by Kaelri »

So, this is what we in the IRC have come up with. I have to be honest and say that I don't completely understand how or why it works.

Code: Select all

DynamicVariables=1
TransformationMatrix=1;0;0;-1;0;(([#CURRENTSECTION#:Y]+[#CURRENTSECTION#:H])*2)
There's a very comprehensive tutorial on Transformation Matrices here. It has defeated me numerous times, so all I can say at the moment is "good luck."
Lightz39
Posts: 98
Joined: August 1st, 2012, 12:48 am

Re: Flip string?

Post by Lightz39 »

Haha, I was reading through it. Math :? Thank you for the help.