Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: sunrosea on August 26, 2012, 12:31:12 PM

Title: Curved scale line?
Post by: sunrosea on August 26, 2012, 12:31:12 PM
Hi!
I installed a couple of days ago the WME, and I love it so far :)
I have a question regarding the green horizontal scale lines which I haven't found an answer to yet here in the forums.
You see, the ground of my background is not straight horizontally, its going upwards a bit at the left side of the screen, like a hill kind of.
The part where my character is walking up a bit on the hill, is a bit further away, and therefore I want her to be scaled to 80% of her size.
So i put one of the scaling lines there and changed it to 80%, but when shes walking down the hill for example, the line "registers" it like shes scaling bigger because shes going further away from the line, even tho its at the same distance, just that its going downwards. I hope you catch my drift.
Is there a way to curve the horizontal scaling line so that it follows the hill or is there another setting i can do to make her stay at 80% walking down and up the hill?
Or maybe you somehow can add another horizontal line, i actually would need three of them.
Title: Re: Curved scale line?
Post by: Spellbreaker on August 26, 2012, 02:22:43 PM
Hey there!

You can add as many lines as you want, using the two buttons on the left side ( see screenshot )
(http://www.apeironstudios.com/wmeboard/scale.png)

If you set two lines with the same value ( as in my example the two 120% lines), you have created a region where the scale of an actor is "fixed".

Hope this helps, same goes for vertical scaling lines too.

Greets,

Spellbreaker
Title: Re: Curved scale line?
Post by: sunrosea on August 27, 2012, 09:52:09 AM
Wow, that simple to find it! I should have looked a bit harder. ;D
Thanks a lot! :)