We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello, I'm sorry if the answer is simple but I'm new to Processing and I need to program a simple sketch for an exam.
I'll explain my idea: I have a background and two simple stick men. I want to change the texture of their head with various facial expressions (drawn by me in Photoshop and saved as jpg) when the mouse is pressed on that area.
How can I do that?
I tried to create a shape for their heads but the sketch doesn't run. I tried to create a specific area (100x100 px) but nothing.