-
I havent been programming in anything for long, I needed to know how to make a picture box move in the direction that the keys control it (i.e. left makes it go left say 10 pixels, etc. ) I have currently 1 form and 1 pic box if that help :( Thanx in advance for any help.
Also does anyone know how to make a graphic 'fly' like the ship in asteroids, how it seems to glide across the screen then slow down? Thanx again.
-
This [url="http://members.home.net/theluckyleper/"]Website[/b] may be of help to you.
-
You must make the picbox enabled to flase. then:
Code:
'in the forms keydown event
if keycode = vbkeyright then pic1.left = pic1.left + 10