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
Animation with a textlabel
Started by rubanus, Jul 16 2007 11:02 PM
2 replies to this topic
#1
Posted 16 July 2007 - 11:02 PM
|
|
|
#2
Guest_Jordan_*
Posted 23 July 2007 - 11:18 AM
Guest_Jordan_*
You simply need to change it's location and redraw.
Here is an example from a "racecar" game I had to make:
red and whiteNewLocation are just integers and would be 302 in your case.
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
Posted 10 August 2007 - 01:04 PM
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'


Sign In
Create Account

Back to top









