- Posts: 133
- Thank you received: 5
This is the optional category header for the Suggestion Box.
State Varible
- Sat32
- Topic Author
- Offline
- User
-
Less
More
1 year 9 months ago #3542
by Sat32
State Varible was created by Sat32
I really like the new Linear VU but loading from a overlay upon a volume change is to slow to be functional. But playing around with the slider I found using a state variable to hide un-hide makes this type of gui element actually usable. I could just use a panel to hide the control when not in use but I'm using a textured background that wouldn't line up right. So any chance there could be state variables could be added to the linear VU and other gauges
Thanks
Thanks
Please Log in to join the conversation.
- Sat32
- Topic Author
- Offline
- User
-
Less
More
- Posts: 133
- Thank you received: 5
1 year 9 months ago - 1 year 9 months ago #3566
by Sat32
Replied by Sat32 on topic State Varible
Two videos of some of the idea I've been playing with the second relies on state variables alot instead of loading overlays to make remote more responsive.
Opinions??
Opinions??
Last edit: 1 year 9 months ago by Sat32.
Please Log in to join the conversation.
- Sat32
- Topic Author
- Offline
- User
-
Less
More
- Posts: 133
- Thank you received: 5
1 year 9 months ago #3567
by Sat32
Replied by Sat32 on topic State Varible
Please Log in to join the conversation.
- Nillaz
- Offline
- User
-
Less
More
- Posts: 443
- Thank you received: 36
1 year 9 months ago #3569
by Nillaz
Replied by Nillaz on topic State Varible
That's a clever setup you've got there! I'm particularly intrigued by what looks like a drop down menu for your surround mode.
I also found using these kinds of widgets in an overlay to be unusable so I might have to steal some of your ideas here. Hope you don't mind!
I also found using these kinds of widgets in an overlay to be unusable so I might have to steal some of your ideas here. Hope you don't mind!
Please Log in to join the conversation.
- Sat32
- Topic Author
- Offline
- User
-
Less
More
- Posts: 133
- Thank you received: 5
1 year 9 months ago #3571
by Sat32
Replied by Sat32 on topic State Varible
The drop down is super easy to setup the only issue is the font can't be adjusted so it's a little small.
That setup was done with a overlay loading on volume change or mute with a transparent button the entire size of the screen, So touching the screen would cause it to load into a scene that used visible on load with the volume overlay
Mute Macro
Volume
Exiting the scene with
That was saved with volume or mute returning to whatever scene you started at.
I keep changing the gui finding new ways to do stuff right now the gui in the second video is what I think I'm going to stick with.
If you see something and want to know how don't hesitate to ask
Thanks
That setup was done with a overlay loading on volume change or mute with a transparent button the entire size of the screen, So touching the screen would cause it to load into a scene that used visible on load with the volume overlay
Mute Macro
Code:
Macro|
// The macro is responsible for controlling volume muting in a room!
AV|{{livingroom_avamp_id}}~Mute~<p1>!
// gui settings!
Math|Add~ui_{{livingroom_smartremote_id}}_controltime~{{current_uptimesecs}}~0!
if|IsEQ##{{ui_{{livingroom_smartremote_id}}_controlon}}##false##SetVariable|ui_{{livingroom_smartremote_id}}_activescene~{{activescene_smartremote}}!
if|IsEQ##{{av_{{livingroom_avamp_id}}_mute}}##1##SetVariable|ui_{{livingroom_smartremote_id}}_controlon~in-use!
if|IsEQ##{{av_{{livingroom_avamp_id}}_mute}}##1##WebCmd|{{clientname}}~Show|control-overlay!
if|IsEQ##{{av_{{livingroom_avamp_id}}_mute}}##0##WebCmd|{{clientname}}~refreshpage!
if|IsEQ##{{av_{{livingroom_avamp_id}}_mute}}##0##SetVariable|ui_{{livingroom_smartremote_id}}_controlon~true!
Volume
Code:
Macro|
if|IsEQ##{{av_{{livingroom_avamp_id}}_mute}}##1##SetVariable|ui_{{livingroom_smartremote_id}}_controlon~false!
// The macro is responsible for controlling volume in a room!
AV|{{livingroom_avamp_id}}~Volume~<p1>~3!
// Commands for volume gui!
Math|Add~ui_{{livingroom_smartremote_id}}_controltime~{{current_uptimesecs}}~3!
if|IsEQ##{{ui_{{livingroom_smartremote_id}}_controlon}}##false##SetVariable|ui_{{livingroom_smartremote_id}}_activescene~{{activescene_smartremote}}!
if|IsEQ##{{ui_{{livingroom_smartremote_id}}_controlon}}##false##WebCmd|{{clientname}}~Show|control-overlay!
if|IsNE##{{ui_{{livingroom_smartremote_id}}_controlon}}##in-use##SetVariable|ui_{{livingroom_smartremote_id}}_controlon~true!
Exiting the scene with
Code:
Macro|LoadScene|{{ui_{{livingroom_smartremote_id}}_activescene}}!
I keep changing the gui finding new ways to do stuff right now the gui in the second video is what I think I'm going to stick with.
If you see something and want to know how don't hesitate to ask
Thanks
The following user(s) said Thank You: Nillaz
Please Log in to join the conversation.
- Nillaz
- Offline
- User
-
Less
More
- Posts: 443
- Thank you received: 36
1 year 9 months ago #3578
by Nillaz
Replied by Nillaz on topic State Varible
This looks pretty straightforward so I should be able to adapt it without too much difficulty. Thanks! It's fascinating to see what design choices people make when they decide to push things beyond the default template.
Please Log in to join the conversation.
Time to create page: 0.177 seconds