|
-
Aug 21st, 2000, 06:19 PM
#1
Thread Starter
Member
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.
-
Aug 21st, 2000, 09:19 PM
#2
This [url="http://members.home.net/theluckyleper/"]Website[/b] may be of help to you.
-
Aug 21st, 2000, 09:52 PM
#3
Frenzied Member
You must make the picbox enabled to flase. then:
Code:
'in the forms keydown event
if keycode = vbkeyright then pic1.left = pic1.left + 10
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|