Stellaferox,
I'm not familiar with the 'famous' boucing ball but here's a little somthing I knocked up whist having my dinner at work -
Code:
Sub Globals
Height=100: LastHeight=100: Direction=5
End Sub
Sub App_Start
Form1.Show
Form1.Line(0,200,Form1.Width,200,cBlack)
Form1.ForeLayer=True
BounceBall
Timer1.Enabled=True
End Sub
Sub BounceBall
Form1.FCircle(Form1.Width/2,100,5,cRed,F)
LastHeight=100
End Sub
Sub Timer1_Tick
Height=LastHeight+Direction
Form1.FErase(Form1.Width/2-5,LastHeight-5,Form1.Width/2+5,LastHeight+5)
Form1.FCircle(Form1.Width/2,Height,5,cRed,F)
LastHeight=Height
If Height=195 Then Direction=-5
If Height=100 Then Direction=5
End Sub
It's a never ending bouncing ball and the code needs some polishing up but at least it gives you the idea. I'm sure that you could gradually make the bounces smaller until finally coming to a stop and turn the timer off.
Regards,
RandomCoder