Page 1 of 1

Write stuff

PostPosted: Tue Jan 18, 2005 1:54 am
by willg101
Any one here have an idea of how i could create a notepad type actor,
where you type something in, say, 'keeps', and it says 'keeps'. (The tutorial 'catch any key' does not work on my computer for some reason)

PostPosted: Tue Jan 18, 2005 6:35 pm
by makslane
Future versions will have an Input Actor.
What's happen with the tutorial in your machine?

reply

PostPosted: Tue Jan 18, 2005 9:05 pm
by willg101
the tutorial goes through all the steps, but when you test it out, it doesn't work.(nothing happens)

I have Windows XP SP1

PostPosted: Wed Jan 19, 2005 10:28 am
by makslane
You don't see nothing in game mode? Neither the keyboard input tips?

nope

PostPosted: Wed Jan 19, 2005 2:11 pm
by willg101
no, absolutely nothing happens
:(

PostPosted: Wed Jan 19, 2005 3:42 pm
by Just4Fun
Hi Will:

I apologize for jumping into this conversation and my thoughts are probably a too elementary solution, but have you tried uninstalling GE and then reinstalling it?

I've used GE with XP SP-1 and all the tutorials work just fine. I've upgraded to SP-2 now and GE works fine with it too. Could there be a glitch in the installation? :idea:

I'm using the registered version 1.2.7 (I think it is the latest version of GE.)

ok

PostPosted: Wed Jan 19, 2005 4:36 pm
by willg101
Thanks!
Does running game editor off my (USB) Jump Drive make any difference?

got it!

PostPosted: Wed Jan 19, 2005 6:15 pm
by willg101
8) i found the problem! it wasn't SP 1, SP 2, or even GE! In the programming, it said:
Code: Select all
int keyCode = getLastKey();

strcpy(view.text, getKeyText(keyCode));

I had to change it too
Code: Select all
int keyCode = getLastKey();

strcpy(tinter.text, getKeyText(keyCode));

('tinter' is the name of my actor)

Does this tutorial work on anyone else's computer?

PostPosted: Wed Jan 19, 2005 11:21 pm
by Just4Fun
I've run GE off of a CF card and external hard drives so it should run just fine off of your jump drive.

Ahhh, now I understand what you were talking about regarding the getKey tutorial! You are correct.

After running the tutorial, I also had to change the code from the view actor to the key actor in order to see the changing key text on the screen.

It confused me at first too. :lol:

PostPosted: Thu Jan 20, 2005 12:39 pm
by makslane
view.text? there is an error on tutorial. The correct is myactor.text!

PostPosted: Thu Jan 20, 2005 7:31 pm
by LEO (LCG)
Yep. It's view.text here too.

The mouse don't click on the right actor (actors button).

Good, its not a bug! :)