Hi,
How do I make a search feature? For example if User input text 'John' than a sprite will load a picture which variable contain text 'John' in it.
Thanks in advance
Develop games in your browser. Powerful, performant & highly capable.
You can compare the text in the input field (system->compare two values) with predefined strings (like "John"). If condition is met - > create a certain sprite.
If you have many different sprites to create, you can also use the "nickname" plugin by rexrainbow for easy sprite creation:
Nickname Plugin
Thanks for your reply
Yes that would work
But what i really meant is that:
If user input data 'John'
Than it will result sprite with the name 'John Carter', 'John Cena'
Because the data the user input containing text 'John'
Sorry for my bad english