Click to See Complete Forum and Search --> : How can I stop this timer...?


Mark1
June 29th, 2001, 07:49 AM
Hi,

In my game, I have 2 buttons called "Forward" and "Down".

When I press the `Down`, my `Downward facing` image shows and starts to fall :

Image.Pic = ImageFall.Pic
Image.Top = Image.Top + 30

But, when I then want to "Level off" and select my "Forward image" button :

Image.Pic = ImageForward.Pic
Image.Left = Image.Left + 5

... The forward facing image continues to fall, as in the first example.

Is there anyway I can disconnect the timer for the "ImageFall", or is there a way to resolve this.

Thanks

Mark

John G Duffy
June 29th, 2001, 08:01 AM
Simply disable the timer like so

Timer1.Enabled = false



"Timer1" being the name of your timer.
This will stop the timer. TO restart it do a .ENABLED = TRUE

John G