Adventure Game Studio | Forums

AGS Development => Editor Development => Topic started by: Vincent on Wed 18/01/2017 14:26:54

Title: Buttons animate
Post by: Vincent on Wed 18/01/2017 14:26:54
Hello, good evening to all AGSer.

I am not sure if this is the right place where I should post this pseudo question.
I don't understand why (Characters and Objects) have the "Animating" command since they could use the command "Animate"
And buttons doesn't have any "Animating" command... since they could use the command "Animate" like Characters and Objects ? So my main question is why buttons doesn't have this property ?
How to check exactly if a button is animating ?
Also, why buttons doesn't have the "Frame" property ?
This is very frustrating anytime.

I'm sorry in advance if these questions have already been asked.
Title: Re: Buttons animate
Post by: Crimson Wizard on Wed 18/01/2017 14:39:10
Quote from: Vincent on Wed 18/01/2017 14:26:54
I don't understand why (Characters and Objects) have the "Animating" command since they could use the command "Animate"
And buttons doesn't have any "Animating" command... since they could use the command "Animate" like Characters and Objects ? So my main question is why buttons doesn't have this property ?
<...>
Also, why buttons doesn't have the "Frame" property ?
Answer: because no one made those properties yet. And they did not exist from beginning, because AGS creator forgot to, or was lazy, or did not have enough time, idk.
I am not sure if you really needed this answer though?
Title: Re: Buttons animate
Post by: Vincent on Wed 18/01/2017 14:48:33
Sure, I noticed that as well.
I'm sorry for my rhetorical questions so far.
But it would be great to implement these commands for buttons too.
I'm sure that would make the job less frustrating.
Also because I do not see the reason why the buttons do not have these properties...
Because from what I explained would make perfect sense.
Title: Re: Buttons animate
Post by: Crimson Wizard on Wed 18/01/2017 14:55:51
Yes, of course they should be implemented.

The reason they were not is that such things are rarely reminded, so developers forget about them.

We need a big list of missing properties for all types of objects that we could stick somewhere on this forum and add them group by group.
Title: Re: Buttons animate
Post by: Vincent on Wed 18/01/2017 15:07:48
Quote from: Crimson Wizard on Wed 18/01/2017 14:55:51
Yes, of course they should be implemented.

Crimson Wizard, you are the man that could do that properly. :)
It would be simply fantastic to have those commands for buttons in a newest version of AGS.
In my first post I forget to mention the property "Loop" as well too.

So, at the moment, these are the commands that missing for the button so far...

A) readonly bool Button.Animating
B) int Button.Frame
C) int Button.Loop
Title: Re: Buttons animate
Post by: Crimson Wizard on Mon 08/01/2018 22:19:23
Done in AGS 3.4.1.