4ian / GDevelop

🎮 Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.
https://gdevelop.io
Other
11.2k stars 863 forks source link

Instance creations from draging objects don't take into account "ignore grid" with Alt key #5493

Open D8H opened 1 year ago

D8H commented 1 year ago

Is there an existing issue for this?

Describe the bug

New instances created by dragging objects from the list align on the grid even when the "Alt" modifier key is pressed.

Steps to reproduce

GDevelop platform

Desktop

GDevelop version

5.2.166

Platform info

Not relevant.

Additional context

No response

LuniMoon commented 1 year ago

Pressing "Alt" is supposed to ignore the grid snap alignment? Why having a grid on if you don't want the objects to perfectly fit your defined grid?

D8H commented 1 year ago

The grid can be useful for tiles, but decorations can be spread at random positions. Pressing Alt is quicker than toggling the grid.

LuniMoon commented 1 year ago

Aren't decoration graphics following grid proportions?... But I see the idea.

I would probably try to build under today's interaction rule (grid on = snap to grid, grid off = free placement) instead of adding the keypress modifier while the grid is still on. I'd also display the commands on the grid menu so users become aware of their existence

Screenshot 2023-08-09 at 15 00 17

-I've used on/off grids commands in Adobe, so I think users are more familiar with this, so I might be easier to learn and accept-

D8H commented 1 year ago

Sorry, I forgot to answer to your question. Yes, "Alt" is already used to ignore the grid when moving instances.

LuniMoon commented 1 year ago

;( Oh well...