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)

in Engine by (56 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():
by (953 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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.