text actor

Non-platform specific questions.

text actor

Postby d-soldier » Sun May 20, 2007 6:02 am

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?
Attachments
wwii_02.jpg
wwii_02.jpg
User avatar
d-soldier
 
Posts: 703
Joined: Sun Apr 08, 2007 2:13 am
Score: 61 Give a positive score

...

Postby d-soldier » Sun May 20, 2007 6:07 am

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???
User avatar
d-soldier
 
Posts: 703
Joined: Sun Apr 08, 2007 2:13 am
Score: 61 Give a positive score

Postby Sgt. Sparky » Sun May 20, 2007 1:32 pm

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.)
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby d-soldier » Sun May 20, 2007 4:13 pm

Hmm.. switching the text input box to "no" was all it took... guess I should play around with stuff before posting about it... :oops:
User avatar
d-soldier
 
Posts: 703
Joined: Sun Apr 08, 2007 2:13 am
Score: 61 Give a positive score

Postby Sgt. Sparky » Tue May 22, 2007 2:31 pm

xD
that is okay,
text input is for typing. :D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest