How do I Scale objects proportionaly

Get help using Construct 2

» Fri Nov 14, 2014 6:04 pm

Hello, i am trying to scale some sprites inside of the Construct image editor, but there is no scale proportionally option. Is the only way to do it in bitmap editor?
B
13
S
3
G
1
Posts: 429
Reputation: 1,852

» Fri Nov 14, 2014 6:07 pm

I've never been able to find this myself, I just either make my sprites the correct size when making them or work out the ratio with a handy calculator and set each value separately.
B
24
S
5
G
1
Posts: 434
Reputation: 3,446

» Fri Nov 14, 2014 6:34 pm

Thank you,

PS: Where can i get such calculator? When i enter first value and it will automaticaly enter the second value
B
13
S
3
G
1
Posts: 429
Reputation: 1,852

» Fri Nov 14, 2014 6:47 pm

Here's the formula for calculating the proportional height from the width.

height = width* OriginalHeight/OriginalWidth
B
94
S
33
G
128
Posts: 5,488
Reputation: 81,539

» Fri Nov 14, 2014 6:58 pm

uff maybe it woulb easier to just implement it into construct ) , thank you for answers
B
13
S
3
G
1
Posts: 429
Reputation: 1,852

» Fri Nov 14, 2014 7:12 pm

In the editor you can hold down shift when dragging resize handles to scale proportionally.

In events you can use the set scale action to set the scale proportionally to the original size. 1 ortiginal, 0.5 haf, 2 double.
B
94
S
33
G
128
Posts: 5,488
Reputation: 81,539

» Fri Nov 14, 2014 7:26 pm

Thank you , but scalling image in the editor does scale the actual image? or it is just make it smaller but the resolution stays the same?
B
13
S
3
G
1
Posts: 429
Reputation: 1,852

» Fri Nov 14, 2014 7:38 pm

Using the resize tool inside the image editor does actually resize the image. But there is not option to keep the proportions, you have to enter both values (the Width and Height) yourself. You can calculate the proportions using a calculator.
B
12
S
3
G
3
Posts: 206
Reputation: 2,404