I have a series of files images categorised by subdirectory in the data directory of the sketch. Is it possible to load the images using a path *relative* to the main data directory rather than an absolute path.
The sketch I'm working on will be running on different machines so the absolute paths will change and I want avoid hardcoding anything.
Edit:
Somehow this has been put in the wrong section. This should be Programming Questions. Is it possible to move it?
The sketch I'm working on will be running on different machines so the absolute paths will change and I want avoid hardcoding anything.
Edit:
Somehow this has been put in the wrong section. This should be Programming Questions. Is it possible to move it?
1