Hello, I just started VVVV and i have a problem with Match(string) node.
I’m trying to make a moving circle in the GDI renderer, however the input of Match(string) takes Up, Down, Left, Right but output is in capital letters so i cant make an output with it.
how can i fix this? or is there another way to make the input and output names same?
I can’t understand your issue, as Match output pins are boolean value (1\0;true\false); your issue may be the < and > which should be around Up when string is fed to the node. You either feed the node with <Up> or remove the lesser\greater symbols.
Ok I had a look at it, and I didn’t quite know Match node as I thought.
So, the < and > are used to match a string rather than just a single char.
It seems also that Match node doesn’t like ø, which is an empty spread.
You would use Keymatch node, with keyboard input.
What follows therefore is not the best practice (sorry it’s early in the morning here), but nonetheless could be of some help for other projects. [wrong]
So you could put an AvoidNil (String) after Keyboard node, then a Quote node (set to AngleBrackets) and link Quote’s output to Match. [/wrong]
Here it works really fine.
Edit: On a side note, what happened to your Mouse nodes, @cosmicowl377?
please have a look at the helppatch of KeyMatch (Keyboard), which is the one you should use. then also see
girlpower\IO\Keyboard-Mouse-Touch
for more related examples.
it seems to me you’re learning from an old example, since the “KeyMatch” node indeed previously was named “Match” but the rename was already done some years ago. please point out which example you started from so we can avoid such confusion in the future.