All assets in main directory

In past forum comments I read that placing images, assets and maybe even lua files in folders within the main directory where main.lua is would be okay when running in the simulator, but once loaded into a device caused issues.(everything needs to be in one big directory)

Have recent upgrades to Corona SDK eliminated this issue, or does one STILL NEED TO KEEP all images, audio, sprites, lua files etc all in one directory???

Just looks so much cleaner if you can keep images/sprites in one folder, audio in another and maybe even lua files in yet another.
Thanks
[import]uid: 35148 topic_id: 24663 reply_id: 324663[/import]

Well actually it’s kind of the opposite problem. In older version’s of Corona, especially for Android builds, stuff had to be in the same folder as the main.lua file, but it hasn’t been that way for some time for both platforms.

Somethings like custom fonts, the TrueType fonts have to be in the same directory. The Icons and Default.png have to be in the same directory. But your core audio and graphics assets can be in folders. Even your lua files except main.lua can be in folders, but you have to reference them in a weird way so I leave them in the main folder.
[import]uid: 19626 topic_id: 24663 reply_id: 99910[/import]

Thanks Rob for the quick and detailed response. Very helpful! [import]uid: 35148 topic_id: 24663 reply_id: 99928[/import]