Can I load an image of a buffer and add it to a sprite

I don’t know how to do it, the simple way is not working, is there any way to so it?? I am getting error like pathOfIndex is not defined on my loadImage line. Plz help me fast…

It’s a bit hard to say what’s wrong without a code example. Out of the blue, my guess is that you are using wrong character to define the path. Windows uses ‘’-character and other systems uses ‘/’-character. Second option is that you down refer the path correctly against the working directory of Processing

nope, found another way. and sharing the massive 500 liner code is pretty much impractical. in my code, the conditional programming is at its peak, you wouldn’t understand without seeing the whole code… @SomeOne