• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GML Why can't i use "/**/*.json" to find file?

TheAsk

Member
When I use file_find_first(), "/*. json" can work normally, but "/**/*. json" cannot.
How should I find the specified files in all subdirectories under the parent directory?
 

TsukaYuriko

☄️
Forum Staff
Moderator
First get all subdirectories in the current directory (and then subdirectories of those, and then subdirectories of those, and...), then get all files in each of those subdirectories. :)
 
Top