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
okay yeah set text every 0.1 secs now its blinking so that means that it sets text to "bot5" every tick
forgot to share ze link drive.google.com/file/d/1WuCyE-1nuVZWH8sZmdbjbz2QYWWfhJ82/view
When you parse the text file, your names contain a line break in the beginning. If you make the text objects much bigger (taller), you will see it.
Add trim() expression - trim(tokenat(tokenat(AJAX.LastData, i, "|"),1, ";"))
Develop games in your browser. Powerful, performant & highly capable.
Thank you a lot, it helped.
But I didnt use trim, I rather draged all the boxes to no.1 place like in the screenshot. Now I can finnaly try to make an online leaderboard instead of this offline one. Thanks.
imgur.com/a/5HZGtt6
imgur.com/a/RTbxCsY
This is not a good solution, better use trim.
Okay in which event does trim go? in the loop or start of the layout???
Everywhere you have tokenat(tokenat(AJAX.LastData, i, "|"),1, ";") - wrap it in trim():
trim(tokenat(tokenat(AJAX.LastData, i, "|"),1, ";"))
Okay done thanks
How do I add a new sccira arcade leaderboard to my game? I can only edit versions and description and stuff. I added Sccira arcade object and there is an action to submit your score to a leaderboard with an ID which I dont have??
brunopalermo Actually, with multidimensional arrays in Construct array.at(X) is equivalent to array.at(X,0) or array.at(X,0,0)
Hmmm... Didn't know that! Thanks for the info.