|
Post by johnno56 on Aug 1, 2022 13:41:22 GMT -6
Ok. Apart from creating a GUI system, is there a routine, that can show a list of specific files from which to choose?
I could probably use the System() command to output the files to a text file, (eg: system("ls *.png > files.txt") then display it on the screen with a prompt for the user to select a file. But, if someone has a better way of doing it, I would prefer not to "re-invent the wheel"... lol
Purpose: My sprite editor has 'load' and 'save' buttons. Instead of using hard coded images, I would like to actually choose which file to load....
|
|
|
Post by n00b on Aug 1, 2022 21:09:22 GMT -6
Check out the part in my response here: System FilesLook at the section called "LIST FILES IN CURRENT DIRECTORY" ( Line 45 ).
|
|