Hey Ben, thanks for your help. I guess i have choosen a bad example but i thought pressing letters would make sense, but it was confusing. in my case i dont know the amout of different objects to create.
To specify it. Lets think of a random group of people. Everybody can go to the application and enter the ID of his ID Card. (no need to help here, just think of it as an event that pass this ID)
And now, it should create a class with this ID, lets say the bubble again with the ID showing. now everytime a different id is entered a new class should be created...
is the id already existing it should just create another instance of the class and add 1 to size. So if i entered my id 2 times, there are now two bubbles with my id and so one.
So the problem here again, i dont know how many objets will exist in the end, so i cant precreate them and turn them on and off.
but there is the part again where i get confused. what if it is all the same class with just a different ID variable, how do i check one group of ID objects against another one... for example, if and object with id 01 touches one with id 04 do XX
Thats where i get lost.
Hope it doenst confuse you to much
Thanks for your help!