Hello!
I am currently working on a game where the player sprite moves according to commands that I type into a text box.
What I could achieve was simple text comparison. For example, if I enter "go" move 50 pixels to the right.
But what I want is something to analyse different parts of the input command, so for example if I enter "right50" it will recognize "right" and the number after it and move according to what I entered.
Its simply like in programming languages where you have a command and some stuff after it to explain how the command should be done, like in Python where for example print("hello") "print()" was the command and "hello" was the "stuff" or in C++ cout << "hello" "cout" was the command and " << 'hello' " was the "stuff".
I hope I explained as much as you need to understand what I mean
Thank you