Pixel-snapping in editor (DEFEDIT-472)

I would like to have a checkbox in the editor that allows me to turn on pixel-snapping. That is, preventing any object that is moved or placed from ending up at a position between pixels. It would be like a one-pixel-size grid in addition to the standard grid-functionality, since I still want to be able to have grid snapping as well.

Right now when building levels, I spend a lot of time manually setting my translation-values on props to integers. In one project I’ve even placed a script on every prop-gameobject that floors its x and y positions but I’d rather not have that.

3 Likes

Yes, pixel-snapping would be really useful. @Ingela_Garneij or @Ragnar_Svensson is this in the backlog for the new editor?

Yes, this is in our backlog, and will be prioritised when the new Editor is released. Thanks for poking us about it!

Are there any news about this item? It is really necessary for pixel-art games.

@britzl, would be nice move objects with arrows on editor.
ex.:
KEY_RIGHT = Move Right 1px.
SHIFT + KEY_RIGHT = Move Right 10px or 20px

It would also be great a trackpad support on editor. I’d love to use pinch to zoom and scroll with two finger to move viewport.

I totally agree! The new editor does currently not support it either, but it is still in beta so I think we’ll see it implemented at some point. Right @Ragnar_Svensson and @Erik_Angelin?

1 Like

Added issue DEFEDIT-472

1 Like