Bitmap help with VB.Net 2003

Started by
0 comments, last by Tang of the Mountain 19 years, 2 months ago
Ok I have a gotten a bitmap to be taken from file and put onto the form, how do i make it move around with the arrow keys?
Advertisement
you move the bitmap by incrementing/decrementing the coords as the arrow key is presssed. You are probably drawing your bitmap from the top left corner...so you know where these two points are, so

if(LEFT_ARROW_PRESSED)
{
BMP_X_COORD--;
}
if(UP_ARROW_PRESSED)
{
BMP_Y_COORD--;
}

and the reverse for the other two directions

We have youth, how about a fountain of smart.e4 e5 f4 d5

This topic is closed to new replies.

Advertisement