|
-
Feb 1st, 2001, 05:03 PM
#1
Thread Starter
Fanatic Member
all I want to know is what is the easyist way to move an image on my form?
then how do I tell if it 'hits' something?
thanks
-
Feb 1st, 2001, 05:36 PM
#2
Junior Member
This will move the picture
To move the picture box you could put these in a timer. To start/stop it Enable/Disable the timer. To change the speed change the interval of the timer
'Move Up:
Picture1.Top = Picture1.Top - 10
'Move Down:
Picture1.Top = Picture1.Top + 10
'Move Left:
Picture1.Left = Picture1.Left - 10
'Move Right:
Picture1.Left = Picture1.Left + 10
You could use combonations of these, and change the 10 to make the picture move in different angles.
-
Feb 1st, 2001, 06:13 PM
#3
Frenzied Member
There are TONS of collision detection threads...do a search for them...I've replied to most.
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
|