How to start one sound at different events?

0 favourites
  • 3 posts
From the Asset Store
Adjusting the game screen for different resolutions (Letterbox scale)
  • Faced a problem.

    I have a laser when the laser is superimposed on the player - the sound is played. (when laser 1 all works well)

    I use the following conditions.

    - When the Player is superimposed on the Laser, then the sound plays.

    - When the player is not superimposed on the laser - stop the laser sound

    The problem arose when I became 3.

    Since they all fulfill the condition

    - If the player is not superimposed on laser 1 - then stop the sound

    - If the player is not superimposed on laser 2 - then stop the sound

    - If the player is not superimposed on the laser 3 - then stop the sound

    Therefore, when Laser 1 is superimposed on the Player, the sound still does not play, since, by the condition above, it stops.

    How to make a condition?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hard to tell without seeing an example. you should make a small c3p and share the google drive link here.

    perhaps all lasers are instances of the same parent object and you are not using For Each?

    could be a Trigger Once in a condition. could be many things...

  • hard to tell without seeing an example. you should make a small c3p and share the google drive link here.

    perhaps all lasers are instances of the same parent object and you are not using For Each?

    could be a Trigger Once in a condition. could be many things...

    You just really helped me figure it out) I forgot about the family) Thank you very much)

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