Studio Oost's Recent Forum Activity

  • You do not have permission to view this post

  • 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?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Studio Oost's avatar

Studio Oost

Member since 14 Apr, 2020

None one is following Studio Oost yet!

Trophy Case

  • 4-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

6/44
How to earn trophies