Mittens 2018 will be in Boston this September. There are three spaces left, so check out the thread for details!

Author Topic: Buttons animate  (Read 891 times)

Vincent

  • Jump back into the pond
    • I can help with play testing
    •  
    • I can help with scripting
    •  
    • I can help with translating
    •  
Buttons animate
« on: 18 Jan 2017, 14:26 »
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.

Crimson Wizard

  • Local Moderator
  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: Buttons animate
« Reply #1 on: 18 Jan 2017, 14:39 »
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?
« Last Edit: 18 Jan 2017, 14:43 by Crimson Wizard »

Vincent

  • Jump back into the pond
    • I can help with play testing
    •  
    • I can help with scripting
    •  
    • I can help with translating
    •  
Re: Buttons animate
« Reply #2 on: 18 Jan 2017, 14:48 »
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.

Crimson Wizard

  • Local Moderator
  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: Buttons animate
« Reply #3 on: 18 Jan 2017, 14:55 »
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.
« Last Edit: 18 Jan 2017, 14:57 by Crimson Wizard »

Vincent

  • Jump back into the pond
    • I can help with play testing
    •  
    • I can help with scripting
    •  
    • I can help with translating
    •  
Re: Buttons animate
« Reply #4 on: 18 Jan 2017, 15:07 »
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

Crimson Wizard

  • Local Moderator
  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: Buttons animate
« Reply #5 on: 08 Jan 2018, 22:19 »
Done in AGS 3.4.1.