ah - have to click on Visualizer to make it top window - now works ..... but
<KeyPress Keys="A">
<OnPressed>
<ZExpression>
<Expression>
<![CDATA[//
debugReset = debugReset + 1;]]>
</Expression>
</ZExpression>
</OnPressed>
</KeyPress>
debugReset increments by 3 or 4 for every keypress because OnUpdate runs multiple times while I am trying to press key as quickly as possible .... how do you get around this? Thanks
..... OK
RepeatDelay
A delay in seconds for which a keypress is repeated.
.... saw this but was not sure what it meant ..... set it to 2 secs and everything wonderful!
Mic.
no KeyPress for Visualizer? (revised)
Moderator: Moderators
no KeyPress for Visualizer? (revised)
Last edited by Mic on Fri Nov 04, 2011 9:44 pm, edited 2 times in total.
Hi mic,
Keyboard input works just fine ( apart from the arrow keys and a couple others ) .. just like mouse, joystick and MIDI input.
K
Keyboard input works just fine ( apart from the arrow keys and a couple others ) .. just like mouse, joystick and MIDI input.
Unfortunately not no. Would have been great if you could add bool / text / bitmap etc. fields to a preset .. instead of floats only.Mic wrote:Presuming the Visualizer code is locked, right? I cannot add e.g. an entry field etc.
Sure, you can read / write files from a preset if you wantMic wrote:Does it make any sense if KeyPress does not work, to type instructions into a file and have ZGE read that file at intervals and parse the instructions?
K