We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, I'm reaallllly new to Processing and I'm trying to create a drag and drop dress-up game.
What's the best way to go about grouping upload images together so I can apply a mousePressed and mouseReleased function too all of them at the same time? So each image can be dragged and dropped.
Answers
You need to create a class that will have the needed functionality. Your image would be a part of the class. Something like this, but can be improved:
For storing multiple objects, read about arrays.