I have a question. For my game there is a server that has a list of top 100 fastest people. I have a highscore list from 1 through 100. Is there an efficient way to do the following?
Have the text be: 1 - (data.0.userName) & (data.0.userScore)
2 - (data.1.userName) & (data.1.userScore)
3 - (data.2.userName) & (data.2.userScore)
etc.
Right now I am not using any scripts since I don't know how to work with those in Construct. I have a ajax GET function, then when it is done parse JSON AJAX.lastdata and set text to 1 & name & score and get a NewLine and repeat this, but this would take too long to do for all 100.
In short: How can I get a loop, with the same function over and over but with 1 or 2 numbers changing in that function?