Change alpha on Dpad type control bar  

Share your tips and tricks here or get help with any Panotour 2.0+ problem!
No bug reports (of any kind) in this forum!
User avatar
signmaster
Member
 
Topic author
Posts: 289
Likes: 52 posts
Liked in: 36 posts
Joined: Thu Aug 21, 2008 1:55 pm
Location: Swan Hill, Australia
Info

Change alpha on Dpad type control bar

by signmaster » Tue Sep 04, 2018 9:46 am

Hi
I have created a new corner control bar based on an existing one. I have it almost as I like it but need the white sections before mouseover to match the other buttons. Would anyone know what code I need to change in the XML file?

Steve

ctrl bar.jpg

no avatar
benji33
Kolor Team
 
Posts: 5848
Likes: 92 posts
Liked in: 199 posts
Joined: Tue Apr 09, 2013 10:59 am
Location: France
Info

Re: Change alpha on Dpad type control bar

by benji33 » Wed Sep 05, 2018 2:00 pm

Try that:

1. Change all alpha="0.2" attributes to alpha="1.0"
2. Change all set(layer[LAYER_NAME_HERE].alpha, 0.2); actions to set(layer[LAYER_NAME_HERE].alpha, 1.0);

If desired only:
3. Into "controlBar_dpadvertical_onover_action" action change the alpha value from 1 to an other alpha value from 0.0 to 1.0.
4. Into "controlBar_dpadhorizontal_onover_action" action change the alpha value from 1 to an other alpha value from 0.0 to 1.0.
5. Into "controlBar_dpadnav_onover_action" action change the alpha value from 1 to an other alpha value from 0.0 to 1.0.
Benjamin

User avatar
signmaster
Member
 
Topic author
Posts: 289
Likes: 52 posts
Liked in: 36 posts
Joined: Thu Aug 21, 2008 1:55 pm
Location: Swan Hill, Australia
Info

Re: Change alpha on Dpad type control bar

by signmaster » Wed Sep 05, 2018 11:22 pm

Thanks, Benjamin, worked like a charm after trying a few different alpha settings.

Steve


Who is online

Users browsing this forum: No registered users and 3 guests

cron