I was hoping someone here could help me out with a few things for VB
Firstly I'd like to know how to detect the mouse position in the form, I'd like to do this so that when I click, the program displays a 1x1 square in that position.
Secondly, I'd like to know how to implement gravity, this is so the 1x1 square falls down after clicking.
Lastly, Id like to know how to check for collisions or if there is another block near the 1x1 block after it finishes falling, like if it hits the ground then checks if there is a block to the left and bottom, if not it moves there, kinda like how water flows (idk if this makes sense :/ )
I'd really appreciate if someone could help me out here, I'm at a loss.