We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello, I'm trying to set the size of my sketch via Java-Properties read from a configuration file. So the code for that has to be executed before settings() and setup(). Is this even possible in processing?
Answers
I haven't tried it, but you could load the conf file in settings and then set the size there. When it comes to working with images of different size, that is the way to do it. Reading a text file shouldn't be any different.
Kf
https://forum.Processing.org/two/discussion/16705/null-pointer-exception-when-loading-image-in-settings-p3-1-1#Item_1