I am trying to read some level data into AppGameKit and have set up the loops to read this in using the ReadInteger command...but I seem to be missing something fundamental in my understanding of txt files.
I just want to read consecutive integers in a file (e.g. 12,5,0,0,2,65 etc.). I have tried creating text files that use comma seperators, space speerators, and one file where I have only put a single integer on each line, but still I just get random numbers in AppGameKit rather than the numbers in my text file. I am using Notepad to create the text file and am editing on Windows 7.
I looked at the examples provided with AppGameKit, ran the 'reading from file' example (which creates an integer (10), float (1,23) and string ("Hello")) and looked at the created text file to try and understand how I should be formatting my data - but the created file didnt help as it didnt look like numbers (it created something like this:" ¤p?hello")according to Notepad.
What am I missing? How do you format a .txt file with multiple consecutive integers so that AppGameKit can read it succesfully? I'm bamboozled!