How do I Create only one Object from "Is in Touch"condition?

  • I want the game to only create one object when is in touch or when I'm holding the left key.

    When I make a line for the player to bounce off it creates many objects and I only want one. Idk if im clear but I uploaded a pic. Hope anyone can help me. Thanks.

  • It doesn't work if you just put all that left mouse button down code into the left button clicked?

    If not for some reason, you could use a variable and use the general condition compare two general values. Use the variable as the first and check if its 0. If it is and the mouse button is pressed, create the object. In the body of the left mouse button is down, set the variable to 1 so its not 0. Then, when you let up the mouse button, set it to 0. That way it only works again when you let off the mouse.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What i want to do is create a line like fruit ninja but instead of a line i want it to be an object but when i drag to make the line i get many objects instead of one

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