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
i would like to know if i can search for specific keywords in the text object . so if the user types something into a textbox, can i search for specific keywords?
You can use regular expression for text matching purpose, as it's powerful and well supported in c2.
I've attached a capx to demonstrate the regex usage. Here's a few links that may help you to understand regular expression:
https://developer.mozilla.org/en/docs/W ... cts/RegExp
Develop games in your browser. Powerful, performant & highly capable.
Herks thanks but that's not what i want
i want the game to search not the user. the user types something and the game searches for keywords in what the user has typed and do accordingly