Can't I have folders with assets? (400+ assets)

Hello,

I’m working on a project where we have around 400 small images: they are placed in subfolders, and they all have the same name, which makes difference are the folder names, example:

type1/
1.png
1@2x.png
2.png

type2/
1.png
1@2x.png
2.png

etc.

I tried using a spritesheet: it works, but even loading the HD spritesheet by hand, the content is not adjusted accordingly. So for now spritesheets aren’t an option.

Then when I build to device, the app can’t find any image. I’ve read that this is the normal behavior. But what kind of workaround may I do in this case?

I have just too many resources + count audio files per action + menu images = 400+ assets.

Thanks so far! :slight_smile: [import]uid: 10990 topic_id: 6093 reply_id: 306093[/import]

Ops… solved.

The problem weren’t the assets within the subfolders.
I had lua modules inside subfolders. Now that they are all on the root, everything works, even with all the subdirectories structure.
[import]uid: 10990 topic_id: 6093 reply_id: 20860[/import]