Hi I'm trying to make a Lego style game and I've come across two problems I need help with.
When a block is placed it snaps to a Lego slot which is every 32 pixels on the x axis.
The two problems I have are;
Firstly, collision with the blocks I have placed. I don't want the blocks which are snapped into place to move when I'm dragging the other blocks around.
Secondly, how do I make the z-order go from bottom of the screen to the top (so the Lego peices don't show their connectors)
If you can help with either of these issues it will be greatly appreciated, thank you