Hi guys!
Just wondering if there's a way for an item to change families during runtime.
Say for example I want a circle to move around the screen and bump into another circle... the player would then lose control of the first, and start controlling the second. I could do this with 1 or two, but say I want to be able to do this with hundreds of circles. I would have a code that reads:
If family.control touches family.noControl then change family.control to family.noControl and change family.noControl to family.control.
Hmm... confused myself there. In any case. Anybody got an idea on whether this is possible, and if so, care to share how?
I can figure out how to have the objects take control of one another like a zombie mode (touch gives player control over additional objects until you're controlling all 100), but I do not know how to have it so you only control 1 at a time.