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
Our educational partners
Free education resources to use in the classroom
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
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
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
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