How do I make an object wait until I press start?

  • I want to be able to have something start firing bullets once the game starts, but not before the player presses start. The "Wait for signal" event wont make a looping timer wait, so I'm not sure how to do it.

  • You can activate and disable event groups. Put the events that are responsible for firing in a group, and have it disabled by default. When the player presses start, enable that group.

    https://www.scirra.com/manual/80/groups

  • You could run add "Add object to Target" when the button is clicked otherwise. But the option above would work too. I like disabling and starting groups... it's a good way to not check everything all the time

  • You can activate and disable event groups. Put the events that are responsible for firing in a group, and have it disabled by default. When the player presses start, enable that group.

    https://www.scirra.com/manual/80/groups

    Hmm, I did this, but it still didint work. Am I supposed to put the events in the group in a specific order?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > You can activate and disable event groups. Put the events that are responsible for firing in a group, and have it disabled by default. When the player presses start, enable that group.

    >

    > https://www.scirra.com/manual/80/groups

    >

    Hmm, I did this, but it still didint work. Am I supposed to put the events in the group in a specific order?

    I think his suggestion was to have it start as a disabled group and then activate it when you click the start button.

    My idea was to just add the action directly to the "Turret"

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