Xion Audio Player

Animated buttons

Feature Requests and Ideas

Postby Pixel-Z » February 7th, 2009, 7:38 pm

I like to be able to start an animation when a button is pressed or mouseover. I think this is the easiest way to have animated or flashing buttons.
Thanks
User avatar
Pixel-Z
Xion Supporter
 
Posts: 20
Joined: September 2nd, 2007, 2:18 am
Location: Croatia

Postby logokas » February 7th, 2009, 10:20 pm

I think there was some talk about it. No, wait..those were indicators.

Animations should be possible to trigger via _hover and _down layers. Read up on the documentation and give it a try.
I shoot and ask questions later.

Take no offense of it.
User avatar
logokas
Xion Addict
 
Posts: 668
Joined: February 25th, 2008, 8:44 am
Location: Estonia

Postby Pixel-Z » February 11th, 2009, 4:45 am

logokas Wrote:I think there was some talk about it. No, wait..those were indicators.

Animations should be possible to trigger via _hover and _down layers. Read up on the documentation and give it a try.


My idea was to start an animation when you just place the cusor over a button and another animation when you press the same button. Here is an example:

play_over modify(animation_over) acanplay
play_normal modify(animation_normal) acanplay
play_down modify(animation_down) acanplay

1 Button with 3 states, each state starts different animation

I think something like this is not present in the newest build, tell me if I'm wrong
User avatar
Pixel-Z
Xion Supporter
 
Posts: 20
Joined: September 2nd, 2007, 2:18 am
Location: Croatia

Postby Jikaru » February 11th, 2009, 12:01 pm

That might already work, you should try it. It looks like it would work.
User avatar
Jikaru
Xion Fan
 
Posts: 306
Joined: December 26th, 2007, 1:56 pm
Location: Orlando, FL, USA

Postby Cliff Cawley » February 11th, 2009, 1:36 pm

Pixel-Z Wrote:play_over modify(animation_over) acanplay
play_normal modify(animation_normal) acanplay
play_down modify(animation_down) acanplay


This won't work in the way you want it to.

modify is executed when you click on a button, and currently that comes from the _normal.

Essentially this will just play the animation, animation_normal when you click the play button.

modify is for interaction in the sense of a click, i'd have to add something special to trigger when the layer shows itself instead.

Cliff :)
Last edited by Cliff Cawley on February 11th, 2009, 7:44 pm, edited 1 time in total.
Cliff Cawley
Creator of Xion
r2 Studios
http://www.r2.com.au
http://xion.r2.com.au
User avatar
Cliff Cawley
Creator of Xion
 
Posts: 1955
Joined: September 3rd, 2006, 11:33 am
Location: Brisbane, Australia

Postby Lance » February 11th, 2009, 4:25 pm

I've also been wanting this since my first skinning experience with Xion. Thanks for clearing that up though Cliff as I've tried sooo many different methods to try and trigger on hovers. I guess this is still a healthy request then. +1 from me.

Peace, Lance
I made the Xion Default skin. Ask me questions and stuff.

DeviantArt
User avatar
Lance
Xion Fan
 
Posts: 402
Joined: April 10th, 2008, 12:07 pm
Location: East Yorkshire, England

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 16 guests

cron