How do I Scale objects proportionaly

Get help using Construct 2

Post » 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
11
S
3
G
1
Posts: 418
Reputation: 1,780

Post » 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.
Nothing goes unanswered!
B
24
S
5
G
1
Posts: 434
Reputation: 3,446

Post » 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
11
S
3
G
1
Posts: 418
Reputation: 1,780

Post » Fri Nov 14, 2014 6:47 pm

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

height = width* OriginalHeight/OriginalWidth
B
91
S
31
G
103
Posts: 5,234
Reputation: 67,754

Post » Fri Nov 14, 2014 6:58 pm

uff maybe it woulb easier to just implement it into construct :-)) , thank you for answers
B
11
S
3
G
1
Posts: 418
Reputation: 1,780

Post » 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
91
S
31
G
103
Posts: 5,234
Reputation: 67,754

Post » 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
11
S
3
G
1
Posts: 418
Reputation: 1,780

Post » 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
11
S
3
G
3
Posts: 206
Reputation: 2,379


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests