U
Uberpink
Guest
i have a text box where i can write stuff . need to have a huge list of words and if you write one of them into the textbox then some stuff happen
my code is as follows:
(create event)
text = ""
(some of the step event)
if (keyboard_check_pressed(vk_enter))
{
if text="aword" then....... //when i write "aword" then something could happen
}
(draw event)
draw_text(x,y,text);
so question is, would it be simple to make a list with words that are acceptable to write in the textbox and
once written , that word cant be used again (untill u restart game) ? never worked with tekst like that before so some tip from the pros would be nice
my code is as follows:
(create event)
text = ""
(some of the step event)
if (keyboard_check_pressed(vk_enter))
{
if text="aword" then....... //when i write "aword" then something could happen
}
(draw event)
draw_text(x,y,text);
so question is, would it be simple to make a list with words that are acceptable to write in the textbox and
once written , that word cant be used again (untill u restart game) ? never worked with tekst like that before so some tip from the pros would be nice
Last edited by a moderator: