-
Notifications
You must be signed in to change notification settings - Fork 916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proportional scaling in IDE #6160
Comments
Hey 👋 |
Hi @al-humea I think you can take it, no one has started to work on it yet. |
Object instances are resized by the
The shift key is checked by GDevelop/newIDE/app/src/InstancesEditor/index.js Lines 969 to 978 in 7b70f91
But, personally, I think this issue may not really a "good 1st issue" as the scene editor is a bit hard to grasp. |
Actually, this feature already exists. You can use Shift to scale an instance proportionally. |
No, sorry, Shift doesn't do the same thing. |
If no one is working on this I would like to give it a try. |
Hi @sundhar010 ! |
Sure |
While holding the Alt key and resizing an instance, both sides are resized. This was achieved by doubling the scaling factor and updating the new X and Y coordinates without using a fixedPoint. Closes issue 4ian#6160 Co-authored-by: David Palma <[email protected]>
While holding the Alt key and resizing an instance, both sides are resized. This was achieved by doubling the scaling factor and updating the new X and Y coordinates without using a fixedPoint. Closes issue 4ian#6160 Co-authored-by: David Palma <[email protected]>
Description
Its very common in IDE and drawing app, to use ALT + the handles on a sprite to rescale the sprite on both side at same time based on the center.
While Shift is scalling on all side from the top left corner.
Here I'm requesting for the Alt use.
Presently with Shift in GDevelop:
Expected with Alt (example from Figma):
The text was updated successfully, but these errors were encountered: