How do I pause game

0 favourites
  • 4 posts
From the Asset Store
five golem elements Sprites Sheet.Best for enemy or villain game characters.
  • i have game

    gun shooting to an Aim

    i want to shoot bullets when mouse button is released

    .

    when i click pause button

    .

    time scale works fine

    but bullets are spawned at Gun's Point and when i click play button all spawned bullets are fired together

    .

    even that when i click play button, reload button or any button

    bullet is fired

    .

    pls help me at this point

    .

    .

    if possible give any sample file

  • make a boolean in your bullet Action true

    and say... event: mouse is over obect pause action bullet is false

    else --action bullet is true

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thanks belle

    .

    i have solve this by

    when click on pause button > deactivate "Spawn" Group

    and

    when click play, reload button wait 0.30 second

    .

    and this is working for me

    .

    .

    pls suggest if this is not a good idea

  • means i have to give bullet boolean and true

    OK

    .

    then

    event: mouse is over object pause action bullet is false

    else --action bullet is true

    .

    .

    now question is

    what it does practically

    .

    bullet is false, what will it do ??

    make bullet invisible or disable ??

    make a boolean in your bullet Action true

    and say... event: mouse is over obect pause action bullet is false

    else --action bullet is true

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