Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
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
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:
Develop games in your browser. Powerful, performant & highly capable.
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