Page 1 of 1

TextInput in PASSWORD???

PostPosted: Tue Jun 12, 2007 7:51 am
by Bee-Ant
How to make it????such as...

"PASSWORD : _ _ _ _ _ OK CANCEL" (if use mouse click to access it)

What events and scripts I'll put in :
"PASSWORD :" actor???
"_ _ _ _ _" actor(get text input)???
"OK" actor(if the password are correct,will load last checkpoint..and if incorrect will show ERROR message)???
"CANCEL" actor(click this button will back to main menu)???
Tell me step by step plizzz...
:cry: :cry: :cry:

Re: TextInput in PASSWORD???

PostPosted: Tue Jun 12, 2007 10:26 am
by Caaz Games
I am really bored so I'm going to correct most of your grammatical mistakes
[quote="Bee-Ant"]How to make it????such as...

"PASSWORD : _ _ _ _ _ OK CANCEL" (if use mouse click to access it)

What events and scripts I'll put in :
"PASSWORD :" actor???
"_ _ _ _ _" actor(get text input)???
"OK" actor(if the password are correct,will load last checkpoint..and if incorrect will show ERROR message)???
"CANCEL" actor(click this button will back to main menu)???
Tell me step by step plizzz...
:cry: :cry: :cry:


"PASSWORD : _ _ _ _ _ OK CANCEL" (if use mouse click to access it)

What events and scripts I'll put in :
"PASSWORD :" actor???
"_ _ _ _ _" actor(get text input)???
"OK" actor(if the password is correct, will load the last checkpoint... and if it is incorrect will show anERROR message???)
"CANCEL" actor(click this button and it will go back to the main menu)???
Tell me step by step please...
:cry: :cry: :cry:


... I would use a key down event thats triggered by a sieries of buttons, like " P, A, S, S, W, O, R, D " and have it do a script editor thing that does this...
Code: Select all
Right = 1;
and on the ok actor I would use
Code: Select all
if(Right ==1)
{
      LoadGame(Game);
}
else
{
      ChangeTransparency(Error,0.00000,);
}
This code might not work becuase i might not have typed stuff right.

Hope this helps! :D

Re: TextInput in PASSWORD???

PostPosted: Tue Jun 12, 2007 2:47 pm
by Sgt. Sparky
Bee-Ant wrote:How to make it????such as...

"PASSWORD : _ _ _ _ _ OK CANCEL" (if use mouse click to access it)

What events and scripts I'll put in :
"PASSWORD :" actor???
"_ _ _ _ _" actor(get text input)???
"OK" actor(if the password are correct,will load last checkpoint..and if incorrect will show ERROR message)???
"CANCEL" actor(click this button will back to main menu)???
Tell me step by step plizzz...
:cry: :cry: :cry:

look at my login Demo:
http://game-editor.com/forum/tp-2989-Lo ... -all-.html
:D