Adding Folders to a Project - Using Outlaw

I’m using the Outlaw editor and I’m trying to add a folder to my project so that I can organize my images and some HTML files I’ll be using for my project.

How do you add folders to a project and then access the files in them.  I’m assuming it would be “folder\filename.ext” instead of just “filename.ext”, correct?

I don’t see any option to create a folder using the Outlaw editor and just copying the folder into the project directory doesn’t work either.

Any help would be appreciated.

Thank you!

The inability to create a folder inside Outlaw is a flaw that came from a specific design decision in the early days of the app. While I could change it now, the “fix” is so easy I hate to spend time on it.

Fix: Drag a folder from an Explorer or Finder window into your project. Ta-da! :wink:

At that point, yes, you just access the contents of the folder using slashes, althought I think you need forward slashes on Mac and Windows (it’s not an Outlaw thing, it’s a Lua thing, I believe): local ufo = display.newImage(“images/ufo.png”)

I hope that helps.

 Jay

Ok… I’ll try that.  I actually DID that before - it seems like the intuitive thing to do, but the folder doesn’t show up as a folder and can’t be expanded.  It shows up more like a document and the images/subfolders don’t appear in the project folders - even when I tell it to copy it to the project folders - like you would with an image, etc.

John

The inability to create a folder inside Outlaw is a flaw that came from a specific design decision in the early days of the app. While I could change it now, the “fix” is so easy I hate to spend time on it.

Fix: Drag a folder from an Explorer or Finder window into your project. Ta-da! :wink:

At that point, yes, you just access the contents of the folder using slashes, althought I think you need forward slashes on Mac and Windows (it’s not an Outlaw thing, it’s a Lua thing, I believe): local ufo = display.newImage(“images/ufo.png”)

I hope that helps.

 Jay

Ok… I’ll try that.  I actually DID that before - it seems like the intuitive thing to do, but the folder doesn’t show up as a folder and can’t be expanded.  It shows up more like a document and the images/subfolders don’t appear in the project folders - even when I tell it to copy it to the project folders - like you would with an image, etc.

John