Simple Sprite Motion Assignment

From WLCS
  • Create a visual basic program that looks like SimpleSprite.jpg
  • Each of the arrow keys is a button with an arrow on it, or you can use the words "Up," "Down," "Left," and "Right"
  • You should put a colored label on the screen
  • You may control the location properties of the label (label1.Top and label1.Left)
    • If you want to change the horizontal position by 10 pixels: label1.Left = label1.Left - 10;
    • Figure out how you would want to change the vertical position
  • Your program should change the position of the label on the screen when you hit the buttons. For example, if you hit the Up button, then your label should move