Jump to content

Animation with a textlabel

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
rubanus

rubanus

    Newbie

  • Members
  • Pip
  • 4 posts
Hi everyone,

I want to make a program wich animated a label from point 302; 170 to
point 302; 238 but not that is appears but that you can see it moves

I hope you can help me :)

thanks Rubanus

#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
You simply need to change it's location and redraw.

Here is an example from a "racecar" game I had to make:

' move each picture box toward the finish line
        whitePictureBox.SetBounds(whiteNewLocation - whitePictureBox.Width, _
            0, 0, 0, BoundsSpecified.X)
        redPictureBox.SetBounds(redNewlocation - redPictureBox.Width, _
                    0, 0, 0, BoundsSpecified.X)

red and whiteNewLocation are just integers and would be 302 in your case.

#3
rubanus

rubanus

    Newbie

  • Members
  • Pip
  • 4 posts
hi thaks for your reply I'm sorry that I respond so late but I was on vakance :cool: I had an other solution founded with a timer and that it moves at every 'tick'