none
Animate Image! RRS feed

  • Question

  • Hello friends I want to help me move this image around the screen this and the code!
    Path = ImageList.LoadImage("C:\Users\Public\Pictures\Sample Pictures\Sin ttulo.png")
    GraphicsWindow.DrawImage(Path,0,0)

     


    Abraham Guy
    Wednesday, January 26, 2011 12:40 AM

Answers

  • You can use Shapes.Animate(shape, x, y, delay), or use a loop:

    shape1 = shapes.AddRectangle(50, 50)
    For i = 1 To 100
       x = x + 1
       y = y + 1
     shapes.Move(shape1, x, y)
     Program.Delay(5)
    EndFor


    ~~AirWaves!!~~
    Wednesday, January 26, 2011 2:39 AM