Slaughtersoft's Forum Posts

  • 13 posts
  • 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!

  • 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

  • Thank you all so much!

    I've figured out my problem. An animation frame from one of the buttons, caused the problem.

    ( should not have another frame...)

    Also I've fiddled with the family thing, and it worked out like i intended!

    Thank you all for the clear explanation.

    And thank you for welcoming me!

    Construct is a bit different to use for me ( I was using MMF 2 before )

    Oh and here is my file, maybe one of you has got any handy pointers

    http://willhostforfood.com/?Action=down ... leid=63403

  • wait

    there's an easier way

    make a mouse and keyboard object

    then two events

    system - always
         offsprite.set visible: visible
         onsprite.set visible: invisible
    
    mouse/keyboard - mouse over object - offsprite
         offsprite.set visible: invisible
         onsprite.set visible: visible
    [/code:l2ubcu1a]
    
    [url=http://willhostforfood.com/access.php?fileid=63355]click here for cap[/url]
    

    I tried this before but can't get it to work... what am I doing wrong?

    Here is my .cap http://willhostforfood.com/?Action=down ... leid=63389

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello everybody,

    I have question about making a menu in construct.

    I want it to be the starting screen, with 3 buttons.

    I have two .PNG graphics for each button.

    How do i get a mouse over effect?

    Thank you in advance.

  • Yes I can reproduce in 0.93:

    Start of layout => Play music =>

    then, Remove "start of layout". "Play music" remains, then run all layout a few times. Baddaboombaddabing construct craches after a few times ( doesn't respond anymore ).Or saving file freezes, corrupt .cap file

  • Yep, It has that starfox feel allright!

    I remember playing the first starfox on snes...

    Ooooh those days.

  • Hmm, NOT COOL....

    Maybe it's got something to do with events and actions...

    Ever tried to make an event wich plays a music file at start of layout? When you remove the condition, and leave the action to play the music, and run all layout, construct craches..... sometimes.

  • Any solutions yet? Or is this a bug?

    ADD:

    Had another error:

    I shuffled the layouts a bit, ran all layouts a few times, Removed an event, added same event again.

    Then when i wanted to close construct, i was prompted

    with the question if i wanted to save. I clicked yes

    And contruct crashed. So i control -alt deleted to shutdown contruct because the saving progress didn't progress. And once again I have a corrupt cap file....

    Again this error : "Expecting class CLayer, but recieved CObj"

    Major bug for me....

  • Thanks for the help, hope this can be solved.

    Maybe i'm doing something wrong?

    I've added a link for my cap file.

    http://www.mediafire.com/?y3gxwju54ow

    I also can order my layouts, but i CANNOT change the order in wich they are run...and that is what i want.

    It just runs the first layout i have made, no matter what!

  • I'm using version 0.93 Latest i think.

  • Click and drag the layouts in the project bar!

    I tried that, but didn't work....

    Then I thought maybe I have to save first,

    so I did. But construct froze, and gave me an error.

    I can't open my file anymore....

    This is the error it gives now:

    "Expecting class CLayer, but recieved CObj"

    and

    "an attempt was made to access an unnamed file past it's end "

    I have made the hole thing again, but still no luck..

    I want to run a layout that i have made ( later ) before my excisting layouts, help?

  • Hello, i'm new to contruct and I love it!

    I have a question:

    Is it possible to edit the order in wich the layouts run?

    I have made an intro screen wich i want to run before my other layouts.

  • 13 posts