Here is my coding contribution for the day laugh This works, but I feel like there is probably a better way to do it ...

It allows a user to use inkey to assign a name to a string (level_string), then uses that string to create folder to save game files.


Quote:
str_cpy(save_dir,level_string);

compatibility = 8;

galaxy_write = file_open_write(level_string);

file_str_write(galaxy_write,"SAVE TEST");
file_str_write(galaxy_write,",");

file_close(galaxy_write);

compatibility = 10;//resumes normal compatibility


When I keep compatibility on 8, it causes weird problems in my game levels. By turning it back to 10, it allows play to resume its normal behavior. However, if I don't set it to 8, it will not create a directory. As I said, it seems to work fine, but I'm just wondering if there is another, better way to approach this? I'm also worried that it might cause unforeseen issues later on, any thoughts?