MAKING A MENU, SOUNDS

This forum is currently in read-only mode.
From the Asset Store
Make your own platformer for both the web and mobile easy with this Santas Platformer Template, FULLY DOCUMENTED
  • Hi, everybody

    In my attempt to learn Construct, I occasionally stumble across lots of difficulties.

    It's good to know there's always someone on this forum, to give a helping hand.

    THANK YOU FOR THAT!!!

    Now for my question,

    I,ve made sort of a menu with some mouse over effects.

    If you click on the buttons you go to another layout.

    So far so good...

    What i'd like to have is a soundeffect when the mouse is over a button.

    I've managed to output an .ogg sound but, it keeps reloading as long my mouse pointer is over the buttons.

    Resulting in a Construct error!

    How do i prevent the sound from looping, or is there a way to make it only sound one time, per mouse over?

    http://www.willhostforfood.com/access.php?fileid=64054

  • Where you have event with "Mouse is Over" stuff, add to this event a new condition: System -> Trigger Once While True. This way playing sounds will be only one time the whole time mouse is over object.

  • Where you have event with "Mouse is Over" stuff, add to this event a new condition: System -> Trigger Once While True. This way playing sounds will be only one time the whole time mouse is over object.

    Could'nt add ann condition, but i made a new event.

    Works like a charm! Thank you!

  • No need to shout :/

  • Shout? Who shouted? Please only contribute to threads if you have something useful to add.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > Where you have event with "Mouse is Over" stuff, add to this event a new condition: System -> Trigger Once While True. This way playing sounds will be only one time the whole time mouse is over object.

    >

    Could'nt add ann condition, but i made a new event.

    Works like a charm! Thank you!

    Why couldn't you add a new condition to an existing event? This is how it should be done correctly; the mouse over then the trigger once condition. Right click existing events and select 'add new condition' to do this.

    Also, I believe Lemming is referring to the topic title, which is all caps .

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