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
Hey folks. Quick question: can anyone come up with a way to do the following:
This would be trivial for any other programming tool but I can't seem to find anything in C2 which can do it easily.
Develop games in your browser. Powerful, performant & highly capable.
Nevermind, got it!
local number token = 0
Repeat (tokencount(textbox.text, newline) times
-> Push back Array (tokenat(textbox.text, token, newline)
-> Add 1 to token
EDIT: instead of the local variable you can actually just use loopindex