Help moving graphic objects...
I'm currently writing a chess game in vb.net, I need some pointers on the graphical side of the game, basically i want the user to be able click on a piece and drag it to new square and when the mouse button is released it needs to snap to the centre of the square. Also i want the piece to move smoothly as its dragged across the 'board'.
I'm not sure how best to do this, I've done a fair bit of game programming in my younger days on an Amiga using sprites etc, do such things exist in VB.Net ?
Thanks in advance for any info.
Re: Help moving graphic objects...
You should redraw the board when the mouse moves and dlace the piece being moved on the mouse's position.
When it is dropped you determine over which square it is.