STROOP: Difference between revisions

584 bytes added ,  14 April 2019
Line 149: Line 149:
== Variables ==
== Variables ==


Variables are found in a Variable Panel. An variable has 2 parts to it: a name (on the left) and a value (on the right). On every STROOP update, the value updates. Some variables are values in memory, while other variables are calculated manually (referred to as special variables). While memory variables can always be set, special variables may or may not be able to be set.
Variables are found in a Variable Panel. A variable has 2 parts to it: a name (on the left) and a value (on the right). On every STROOP update, the value updates. Some variables are values in memory, while other variables are calculated manually (referred to as special variables). While memory variables can always be set, special variables may or may not be able to be set. If you try to set a variable and it doesn't go through (either because the variable can't be set or because you entered an illegal value), then the variable will flash red to indicate this.
 


All variables come with the following options when right clicked:
All variables come with the following options when right clicked:
Line 189: Line 188:
* '''Display as Inverted''':
* '''Display as Inverted''':


Separately, if you right click on a variable that's selected, then you'll see a different set of options, which affect all selected variables. Options prefixed with "Angle:" only affect angles. Many of these options have just been covered, but the ones which haven't been are:
Variables can be selected by clicking on them. You can hold shift and click on a variable to select the range of variables from the previously selected variable to the currently selected variable. To toggle whether a variable is selected or not without unselecting all variable, click on the variable while holding control. To unselect all variables, click on the variable panel. If you right click on a variable that's selected, then you'll see a different set of options from normal, and these options will affect all selected variables. Options prefixed with "Angle:" only affect angles. Many of these options have just been covered, but the ones which haven't been are:
* '''Show Variable XML''':  
* '''Show Variable XML''':  
* '''Show Variable Info''':  
* '''Show Variable Info''':  
Line 203: Line 202:


There are also many keyboard shortcuts that can be performed on variables, namely by clicking on a variable when holding one or more keys. These are:
There are also many keyboard shortcuts that can be performed on variables, namely by clicking on a variable when holding one or more keys. These are:
* '''Double Click''':
* '''Click + Shift + Number''':  
* '''Click + Shift + Number''':  
* '''Click + Number''':  
* '''Click + Number''':  
Line 226: Line 226:
* '''Click + Plus''':  
* '''Click + Plus''':  
* '''Click + Q''':  
* '''Click + Q''':  
* '''Click + O''':
* '''Click + O''':
* '''Double Click''':


== Controllers ==
== Controllers ==