VB.net Moving objects on forms and looping to start

Sdílet
Vložit
  • čas přidán 17. 10. 2017
  • How to move a picturebox around on a form so that when it reaches the end of the form it will loop back to the other side.

Komentáře • 27

  • @thevoice4758
    @thevoice4758 Před 2 lety +1

    For a test I have opened a form screen and drawed some graphic lines on it (walls of my own pacman game).
    After this I wanted to move a "ghosts" on the screen.
    I have put a picture box on the screen and loaded the picture (ghost) in it.
    The displacement of the ghost picture works fine although the (wall) lines disappear from the screen ??? (the lines should stay on the screen). What should I do ? What do I wrong ?

  • @jimmysindia
    @jimmysindia Před 5 lety

    thank you

  • @joshuasalem902
    @joshuasalem902 Před 6 lety

    sir i cannot find location changed in the properties of my picture box
    i use VB.net 2013

  • @uwew6126
    @uwew6126 Před 3 lety

    Nach dem Code ist doch Links in die andere Richtung wo du 2 Punkte verfährst, oder weiss ich nicht mehr wo links und rechts ist ?

  • @momol2l285
    @momol2l285 Před 4 lety +4

    How to make it stop at a point?

  • @jebigaming2312
    @jebigaming2312 Před 4 lety +2

    and how about from top to bottom is it Height? Can you send some codes please

  • @kylerhannon9791
    @kylerhannon9791 Před 5 lety +1

    How would it work going right to left?

    • @momol2l285
      @momol2l285 Před 4 lety

      Just invert the changeing of the values

    • @nyziegaming6403
      @nyziegaming6403 Před 2 lety

      @@momol2l285 how?

    • @momol2l285
      @momol2l285 Před 2 lety +1

      @@nyziegaming6403 instead of making it subtractmake it add and vice versa

    • @nyziegaming6403
      @nyziegaming6403 Před 2 lety

      @@momol2l285 I am sorry brother, I tried it but its not working

    • @momol2l285
      @momol2l285 Před 2 lety

      @@nyziegaming6403 danm idk then

  • @nyziegaming6403
    @nyziegaming6403 Před 2 lety +1

    what about for left to right sir?
    please give us the solution

  • @pittacuss_lore9910
    @pittacuss_lore9910 Před 4 lety

    How to make background transparant?

    • @xodus8042
      @xodus8042 Před 3 lety

      ocapacity changed to a lower intiger in proporties or in the code

    • @DannyFliton
      @DannyFliton Před 2 měsíci

      @@xodus8042help

  • @alexanderrodriguez9963

    Sir what if I started to the right going left? How can I loop it again?

  • @potatas_
    @potatas_ Před 5 lety

    "+=" didn't work?