Snapping to grid: The definitive thread!

Hello grid snap lovers!

Grid snapping is essential to be able to effectively use Defold as a level editor outside of tilemaps. There are a few related posts on Github and the forum, but seemingly no actual plan of implementation.

The feature would basically be to add a “snap to grid” checkbox to the recently added grid settings. When enabled, any object dragged in the editor would snap to the grid.

Before I add a feature request on Github, can I confirm this feature is not planned?

– 8< –

Github:

Related posts:

9 Likes

I would love to have this checkbox! And it’s great that it is accessible in the grid settings and not hidden somewhere in the preferences. If I may suggest something, it would be good to have a keyboard shortcut that temporarily enables/disables snapping to the grid during movement (like holding Alt in some software), and another one to toggle it on and off (like Caps Lock).

It would also fix some inconsistencies. For example, in Defold 1.12.2, when I move a collision shape (via pivot arrow) in a game object, it snaps to the grid (and I honestly don’t know how to disable this ;D). However, when the same GO is placed inside a collection and I move (also via arrow) the collision shape, it does not snap to the grid. The functionality you suggested should fix this inconsistency.

3 Likes
7 Likes

Yes, please :slight_smile:

3 Likes