On one of my apps, my particle jsons and png’s are stored in my Documents directory.
I have no problem retrieving and decoding the json file to obtain the emitter params.
The issue I’ve been having is that I always have the “Failed to find image” and “CAN’T find texture name” errors when trying to find the png files.
I’ve attempted to reset the textureFileName by appending the documents directory to the start of the png file name. I’ve tried both “…” and system.pathForFile(). I’ve even tried following Ingemar’s example. But I unfortunately continue getting these errors.
Is it the case that the API can only find these files if in the ResourceDirectory?
Thank you!