In my program I am calling size(mWidth, mHeight, JAVA2D) to set 2d rendering so the text that is drawn for a GUI will display properly. I am then using a back buffer and creating and instance of a Scene to be drawn into it with the rest of my objects. This allows me to have precise camera controls without running into issues with the graphics being laggy. The issue I am running into is selecting objects. None of my custom objects were made with interactive frames initially, and when I added them to my program they were not detected when I clicked or moused over the object. It also caused a large amount of memory usage when implementing the InteractiveFrames. What in anyone's opinion would be the easiest way to implement proscene's grabbing methods in this situation? I have 100+ objects being drawn and in the example below I show a similar situation but there are only 100 objects being drawn. Thanks in advance guys and gals!
for this example to work you need both the proscene and controlP5 libraries.
this snippet is designed to make it easy for people to copy and paste the code then make quick and easy edits. The original code is thousands of lines and 30 ish classes. For these reasons the variables here are left as public as to save the time need to ensure correct encapsulation. This is not the case in the real project.