Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
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:
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