How to not overlap movable actors?

Hi,
I’m trying to have to 1 actor and create 2 instances with the following properties:
-Never overlapping.
-Movable with “Touch”.
-If Actor1 is released overlapping Actor2, Actor1 goes back to the closed position were both actors are not overlapping. Actor2 should not change position.
Same properties if Actor2 is released on Actor1.

I tried by using the overlapping rule, but when I release for example Actor1 on Actor2, it works for Actor1, but Actor2 also moved. How can I make sure that Actor2 doesn’t move at all?

Thanks,
Nicolas

Answers

  • CodeMonsterCodeMonster ACT, AustraliaMember Posts: 1,078
    umm im not sure what your trying to tell but if you dont want actor2 to move at all go into actor2's properties/physics and uncheck movable
  • nico11nico11 Member Posts: 3
    It wasn’t really clear…

    I want be able to move Actor1 with the mouse everywhere on the scene.
    If Actors1 is released on Actor2 (overlapping), then Actor1 is replaced next to Actor2 without overlapping. Actor2 should not move.

    Now the same should apply to Actor2:
    I want be able to move Actor2 with the mouse everywhere on the scene.
    If Actors2 is released on Actor1 (overlapping), then Actor2 is replaced next to Actor1 without overlapping. Actor1 should not move.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    This is hard. It might be doable if the actors are both the same size. Can you give a little more in the way of details? Do you have a screenshot of the game or a description of how the gameplay works?

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    @nico11 How's this?

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.