Page 1 of 1

text actor

PostPosted: Sun May 20, 2007 6:02 am
by d-soldier
I've noticed that sometimes (which is why I think it's a bug, because the behavior is inconsistant) my text object that displays the score collects keydowns aswell.... meaning if i start typing random keys (which are not assigned to anything as a keydown event) they show up in the textactor... Anyone else experience this?

...

PostPosted: Sun May 20, 2007 6:07 am
by d-soldier
I figured out that it only happens after either shift key is pressed... not held down, just pressed at any time, and the textactor starts to receive every key pressed... Anyone???

PostPosted: Sun May 20, 2007 1:32 pm
by Sgt. Sparky
wow.

I have never experienced it,
I am sorry I do not know what the problem is. :(

but:
do you have it set up to recieve key events,
do you have a script for you text actor that looks like,
Code: Select all
char keytext = GetKeyText();
strcpy(text, keytext);

?
but not with that exact code,
just similar?
(anything that would allow it to recieve key events.)

PostPosted: Sun May 20, 2007 4:13 pm
by d-soldier
Hmm.. switching the text input box to "no" was all it took... guess I should play around with stuff before posting about it... :oops:

PostPosted: Tue May 22, 2007 2:31 pm
by Sgt. Sparky
xD
that is okay,
text input is for typing. :D