davelehnen's Recent Forum Activity

  • I'm posting this in case anyone else struggles with AJAX reading in a local text file.

    If your text file has carriage returns in it, and you write to an array using tokenat, ajax.lastdata, etc, those carriage returns will be written to the array's last item of each row. When viewing the array in the debug window, you won't see it. When trying to use those elements to match up values in other objects' instance variables, you won't get a match. It took me 2+ days of troubleshooting the array to figure out that was the problem.

    Again, only posting this to hopefully avoid several days of headaches for the next person coming across this.

  • Try Construct 3

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

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

davelehnen

Member since 2 Oct, 2018

None one is following davelehnen yet!

Trophy Case

  • 6-Year Club
  • Email Verified

Progress

7/44
How to earn trophies