We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › loading files from folder
Page Index Toggle Pages: 1
loading files from folder (Read 311 times)
loading files from folder
Mar 17th, 2009, 11:49pm
 
I am writing a function right now that displays a listing of map names on a list. The bad thing is though is that I need to have it dynamically load the filenames from a specific folder, and I have not been able to find a refence for this. All will be xml files but I am planning on being able to download more map files from within the game, which will be a total bitch unless they are: treeplace.xml, judohorizon.xml and so on. Thanks.
Re: loading files from folder
Reply #1 - Mar 18th, 2009, 12:20am
 
See Java's File.listFiles.
Page Index Toggle Pages: 1