2 Attachment(s)
Switch Object Places & Flying Animation
This example shows the general coding idea to switch the places of two objects, and have them fly to thier new location. When you click on one object it follows your mouse, waiting for you to click on the other object, and they will swap.
The only problem is, the Select Object's condition Select Last x Number of Currently Select Objects of Type doesn't work for qualifiers, which are needed for Athanor77's game.
I am sure I know a fix to get around the issue of the broken condition, but for now you can see the code and understand how it works :)
EDIT: Fixed a small issue that you could click on flying pieces and mess them up :crazy:
Re: Switch Object Places & Flying Animation
Thanks LB, i appreciate your help and i'll keep you informed for if i can properly implement it on my game design =)
Thanks to dynasoft too for this cool extension, hope you can implement LB's request too! =)
2 Attachment(s)
Re: Switch Object Places & Flying Animation
Thanks to the new update to the ForEach object by Ross, I have found another way of selecting the last X objects from a qualifier. (Or First X, I am not sure. It works either way, at least)