Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


Moving images with Command buttons


Moving images with Command buttons

Author
Message
Dark Nightmare
Dark Nightmare
Forum God
Forum God (683 reputation)Forum God (683 reputation)Forum God (683 reputation)Forum God (683 reputation)Forum God (683 reputation)Forum God (683 reputation)Forum God (683 reputation)Forum God (683 reputation)Forum God (683 reputation)

Group: Forum Members
Posts: 5, Visits: 1

Still rpg, this is getting old I am sure, but I am stupid and I apologies.  I was wondering if anybody knew how to move images up, down, left, and right with command buttons and not allow it to hit other images.  I would also like to have a set path for certain images, a infinate loop where they move along a certain non pologyon path.

My plan is to have a moving persont that you can move with command buttons.  I was wondering if anybody knew how to open a new form with the image, have like a battle then open up the previous form and have the image in the same spot as when the second form is open.

if anybody knows how to do any of this, plz let me know, it is greatly appreciated.



Lost and alone, I will always be...

Hoping to find what I will never see...

Longing for the love I can not find...

I am alone from now, until the end of time...


mojo
mojo
Forum God
Forum God (353 reputation)Forum God (353 reputation)Forum God (353 reputation)Forum God (353 reputation)Forum God (353 reputation)Forum God (353 reputation)Forum God (353 reputation)Forum God (353 reputation)Forum God (353 reputation)

Group: Forum Members
Posts: 1, Visits: 1

if u want to do it with command buttons them first make for command buttons named cmdup, cmddown, cmdright, cmdleft, now go into cmdup's code. just say the object u wanna mocve is imgobject type in:

imgobject.top = imgopbject.top - 20

 

the 20 can be modified to change the distance. i g2g now ill finish this later cya


GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search