Xion Audio Player

[Added: 155] External Button Signals

Feature Requests and Ideas

Postby Lance » October 12th, 2013, 2:09 am

I'll place a scenario first. You have an animation that loops while a track is playing. You create a custom pause button that tells the animation to freeze on it's current frame and resume again when unpaused. Easy enough with a bit of knowhow.

A problem arises, though, when you use physical buttons on your keyboard to control software, as do I. Obviously, pausing from your keyboard bypasses your custom button and the animation will keep playing since it's a raw signal.

So, the idea is a keyword that detects incoming control signals and converts them into a software click. For example, adding "externalpause" to a button object will detect an incoming hardware pause and execute via the button instead of directly controlling Xion.

Hoping that makes sense. Hoping it's possible...

Peeeeaaace.
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

Postby logokas » October 12th, 2013, 2:31 pm

That's a really roundabout way of doing it. Much better solution would be to simply hook animations to actions rather than button presses, so that the actual paused state of the player triggers animations, rather than the press of the pause button itself.
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 Lance » October 12th, 2013, 8:00 pm

Hmm, yeah that's a better solution. Could be implemented as an animtype, which only functions while a song is playing, else it freezes on the current frame.

EDIT: Or NOT an animtype, but an additional keyword to any animation.
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

Postby Cliff Cawley » January 5th, 2014, 11:15 am

This has been added for build 155.

It's been added as new anim_ keywords. See the Help page for more information. It's under the Animation State Binding section here: http://www.xionplayer.com/page/help/top ... te-Binding
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

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 10 guests

cron