How do I move ovehead object to other position?

  • Hi!

    How can to move a object position if this object is near of other object?

    Example, if a floating coin (like mario), is near from a box (overhead), move the coin in x or y position to leave to overhead.

    And other question.

    If i have a score, how can to save this score for a specific player and to make a ranking?

    Thanks!

  • Do you mean something like:

    coin is overlapping

    or

    coin is overlapping at offset - coin set x = self.x + 5

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • How to do that?, i have a random generator of boxes, this boxes are generated in random x y positions, also i have obstacles in specific positions, but the boxes when are generated, overlapping the obstacles:

    The idea is to move the box generation some pixels far of obstacle, depending of your position.

    *******EDIT*****

    I found the option, in the object functions appears is overlapping to object. If i click this option and after set the new positions the problem is solved.

  • the boxes have the same parameters ? do a need to create a new box?

  • Yes, the same parameters, u put a box, and then copy and copy ...

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)