hello. i'm making 16*16 grid base puzzle game.
I'm using [set position to round(Mouse.X/16)*16, round(Mouse.Y/16)*16] for grid.
and
sprites On Dragdrop drop
---sprites is overlapping other sprites.
-------sprites is not overlapping other sprites at offset (16,0) set position to round((self.X+16)/16)*16, round(Mouse.Y/16)*16
-------else1...
-------else2
-------else3
to prevent overlapping sprites.
but if sprites overlapping exactly from center, it just do nothing.
I don't know how to sprites not overlap each other in any circumstances.
is there any good way?
thank you.