Lunarovich's Forum Posts

  • Thank you. I have just tested the function calling with normal objects, and it appears that it works differently from other actions. Namely, I can directly reduce the opacity in this way

    This means that the action for setting opacity gets called/executed as many times as the number of picked objects by the condition and for any affected object.

    On the contrary, if I want to use the function to do the similar thing

    the function gets called only once and seemingly for the arbitrary instance.

    Either this is a Construct 2 quirk/inconsistency or I cannot see the purpose behind this behavior. Can you, please, give me more details concerning this subject?

  • Hello! I am implementing a simple selection box selection behavior. Now, when I try to implement it with this code

    the selection action in the game previews selects only one random family member enclosed in the selection box, as shown by the reduced opacity of the selected object:

    Now, when I add "for each" condition, the selection seems to work:

    As shown here

    Now, If I try to implement the same functionality with objects directly, it does work as expected without the for each addition.

    I was trying to find a proper explanation of family picking in the manual (very unclear explanation ) and on the forum, but I found nothing.

    Thanks in advance for explaining me how family picking works or pointing me the proper explanation on internet.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In fact, all of the objects are created! I just checked in the debugger (did not occur to me to check it before ) They are not aligned one with each other. That is, I realised I have to set a position at the start for each collision object to its corresponding visual object.

    Now, I can set the event for every single object type to be positioned at its corresponding container member object. Is there a way to do it for all objects with one script only?

  • Hello. I am experiencing a strange problem. I defined a container for two objects: a sprite object and a collision mask object (I want to have separate overlap and collision testings).

    Now, when I create one of the objects belonging to container, the other one is created automatically only on a random basis: sometimes it is created, sometimes it is not created.

    Has anyone experienced the same strange container behavior?

    Thnx