0 votes

How to implement the function "load_csv()" of GMS(gamemakerstudio) in Godot and read the corresponding values in the CSV file and store in a Variable[x,y]?

get_csv_line():Its just read one line and only first line (By seek() change but too troubles)

asked Oct 6, 2018 in Engine by fish2091852127 (49 points)

1 Answer

0 votes

There is a basic example in the docs but what you probably want to do is loop through each line of the csv file while there is more to read of the file

while not save_game.eof_reached():
  for l in get_csv_line():
    print(l)
answered Oct 15, 2018 by flurick (888 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.