Xion Audio Player

Easy Colour Changer setup

Skinning Questions, Suggestions and Ideas

Postby Cliff Cawley » October 8th, 2006, 9:59 am

So while adding a certain feature to Xion, I was doing some testing to make sure I could add it how I wanted without breaking anything and I came up with a simple way to make a Colour changer for a skin. This could be used for more than just changing the colour, it could change a background image or shadow type, etc. I think it has many uses.

It's nothing astronomical, but it actually gives you another way to do action_layer_switch without the mess of all the unique layer id's.

You can download the PSD here -> http://xion.r2.com.au/reference/EasyColorChanger.psd

When you click the black button, it tells the animation set to play. Each frame in the animation tells the animation to stop, so every click you do, makes the animation move forward by one frame and stop.

I've put the delay at 1 so that the transition happens as soon as you click and I've added 'fadebetween' so that you see it fade nicely between the frames.

Up to you really, Enjoy ;)

Cliff :)
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 Uninvited » October 8th, 2006, 12:14 pm

nice job. I will definetly use that feature in the future.
User avatar
Uninvited
Xion Supporter
 
Posts: 7
Joined: October 5th, 2006, 12:41 pm

Postby SLoB » October 8th, 2006, 8:31 pm

yea good idea Cliff, altho the workaround with the ids wasnt hard to do but it does mean more possible choices as you can only put so much in the text for the layer in ps
half of that string is taken up with the anim_layer_switch and the modify

did you check the feature request for colour change, i reckon thats an even better route to try for at least colour wise ;)
User avatar
SLoB
Xion Junkie
 
Posts: 1340
Joined: September 11th, 2006, 9:21 pm
Location: UK

Postby SLoB » October 9th, 2006, 12:17 am

its also possible to use this as a toggle button to turn off VU :)

assumes you've already created your vu layersets

create a new layer set with name "animation animtype(0) id(togvu)" w/o quotes
add 4 layers, leave them invisible and the layerset invisible too

animation animtype(0) id(togvu)
name the layers:-
modify(vu1) action_anim_play passthrough
modify(togvu) action_anim_stop passthrough
modify(vu1) action_anim_stop passthrough
modify(togvu) action_anim_stop passthrough

add a button, you can also still use the 3 states too such as below:-
button_over modify(togvu) action_anim_play tooltip(Toggle Vis)
button_normal modify(togvu) action_anim_play tooltip(Toggle Vis)
button_down modify(togvu) action_anim_play tooltip(Toggle Vis)

both your VU layersets will have the same name "vu1", you could always put in 2 layers above to stop left/right but naming them the same will do the trick just aswell
change layer ids/names as you choose but make sure they correspond to the above

works a treat :)

posted in the skinning tricks thread also but its in the same context as the above workaround
User avatar
SLoB
Xion Junkie
 
Posts: 1340
Joined: September 11th, 2006, 9:21 pm
Location: UK

Return to General Skin Discussion

Who is online

Users browsing this forum: No registered users and 7 guests

cron