Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: freshpaint on Fri 01/08/2008 00:28:17

Title: Stop a button animating
Post by: freshpaint on Fri 01/08/2008 00:28:17
This is probably a dumb question, but...

I can animate a gui button, but is there any way to stop it animating?  I want it to flash or ring or jump around or whatever using an animation view, but then stop when the player clicks on it.  Would love to put it on the icon bar.

Am currently using an object for this as a test, which is great if you know what rooms you want this to happen in.  However -- I don't want to code stuff for each room if I can do it once somewhere.

Am using ver. 3.10 of the editor.
Title: Re: Stop a button animating
Post by: Maverick on Fri 01/08/2008 09:00:41
You can abort an animation at any time by setting the button's NormalGraphic property, or starting a new animation on the same button.

Title: Re: Stop a button animating
Post by: Khris on Fri 01/08/2008 09:22:32
It IS a dumb question, in the face of this being mentioned right in the manual entry. :=

http://www.adventuregamestudio.co.uk/manual/Button.Animate.htm
Title: Re: Stop a button animating
Post by: freshpaint on Fri 01/08/2008 14:29:19
Sorry.  Somehow missed it.