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
Hey everyone. Is it possible to fill an array with multiple items from text input?
EG: Textinput = a,b,c,d,e ( Seperated by commas )
Array values index 0=a , 1=b, 2=c etc.
Thanks !
Set array size to (0,1,1) Repeat tokencount(text, ",") times Array push back tokenat(text, loopindex, ",")
Develop games in your browser. Powerful, performant & highly capable.
> Set array size to (0,1,1) Repeat tokencount(text, ",") times Array push back tokenat(text, loopindex, ",")
Works great! Thank you. Attached an image for anyone that is struggling with it.