In my game I want it so if you enter a certain code, it'll change something in the game. Like for example, if you enter "anim1" it'll play Animation 1 and "anim2" is Animation 2 and stuff like that. Is there a way for me to program it so if you enter a code via TextInput, something like that happens?
Develop games in your browser. Powerful, performant & highly capable.
It just kind of string matching that read from input text compared to string in variable it's refer. It's like string matching for user login. If there is a list of keyword, probably using loop 'for' to looping through the list is a must.