[?][SUG][ED] Right click & drag an object to bypass snap to grid

Started by Silken Healer, December 27, 2021, 09:15:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Silken Healer

My suggestion is, even if snap to grid is on, you can hold down right click and move an object or piece of terrain around freely without it snapping to the grid. This wouldn't toggle snap to grid off, however it would bypass whether snap for grid is on while right click is held down. This could be useful for instance if you used snap to grid mode, but had to align the trigger area of an object precisely and didn't want to turn it off just to turn it on again in a few secs.

WillLem

The SLX Editor now has customisable hotkeys, so this could absolutely be added as a hotkey to which any mouse button + modifier combo could then be assigned.

WillLem

Before I go ahead with this, @Silken - did you know it's possible to move pieces by 1px even when the grid is active*? I wonder whether moving the piece with the mouse to a location that's close enough to the desired position and then fine-tuning with the keys is sufficient?

(*Arrow keys in SLX Editor (by default, can be re-mapped), Ctrl + Arrow keys in NL Editor).

Silken Healer

I'm not sure why this thread has been moved from it's original board. I thought NeoLemmix was still accepting editor suggestions.

Anyway, to answer your question, I'm sorry, but I can't remember if I knew this when I suggested this, nor can I get in the frame of mind I was in when I initially suggested this to figure out if I would've still considered the feature nessercary when considered with the fact they could be moved with the arrow keys. I suggested this three years ago. I haven't had interest in making NeoLemmix levels for ages either. I suppose being able to use the arrow keys to fine tune would supersede the need for this feature though. You're making your own improved version of the editor now right with custom hotkeys? Maybe it would be a good idea for the future too add "escape snap to grid" as a something that can be changed by a hotkey. I don't know; I'll leave it up to you.

WillLem

Quote from: Silken Healer on March 29, 2025, 06:23:26 PMI'm not sure why this thread has been moved from it's original board. I thought NeoLemmix was still accepting editor suggestions.

Namida had closed all NL suggestions, including Editor ones. I think it's safe to assume he's done with the Editor as well, then (although I could be wrong).

Meanwhile, the SLX Editor is still fully capable of creating and editing levels for NeoLemmix, and support has recently been added for a "NeoLemmix Mode" which essentially hides all SLX-exclusive features to make the SLX Editor more accessible for NL users. The latest version will also be included with all NL-CE downloads from now on.

So, I thought I'd re-open a few old suggestions to see if people might be interested in these features being added to the SLX Editor. Since this Editor can (and always will) support both engines, it seems more appropriate to keep the suggestion topics on the NL-CE board.

Quote from: Silken Healer on March 29, 2025, 06:23:26 PMMaybe it would be a good idea for the future too add "escape snap to grid" as a something that can be changed by a hotkey

F9 is the default snap-to-grid hotkey, but it's a toggle rather than a hold key. I guess I could add a hold key for the grid, but it does seem a bit superfluous given that there's already a hotkey to quickly toggle the grid on and off, plus (as agreed) the arrow keys can be used to fine-tune position after a piece has been dragged.

With that said, if we make it an "invert grid option" hold key, then users who've opted not to use the grid could also momentarily apply it to snap a piece into place. I'm not sure exactly how that would ever be useful, but it does seem like something the Editor should be capable of anyway.

Thoughts? More support for this idea? If there are no more replies, I'll add it to the to-do list and probably get around to it at some point.