When I try and run the ‘LoadingAndSaving’ project I get the following error messages:
013-04-28 15:02:37.719 Corona Simulator[1576:707] WARNING: Cannot create path for resource file ‘files/level01.txt ‘. File does not exist.
2013-04-28 15:02:37.719 Corona Simulator[1576:707] Runtime error …e/NetBeansProjects/code/LoadingAndSaving/loading.lua:25: bad argument #1 to ‘open’ (string expected, got nil) stack traceback: [C]: ? [C]: in function ‘error’ ?: in function ‘gotoScene’ …lake/NetBeansProjects/code/LoadingAndSaving/main.lua:6: in main chunk
I’ve looked at the file that is causing the error and it looks fine (I even tried a blank file with same name) but I still go the same error message. The file structure looks fine so not sure what the issue is? The ‘LoadingAFile’ project runs OK