Need help with "every xxx miliseconds" events

This forum is currently in read-only mode.
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • Hello fellow Constructors,

    I have this problem with the game I'm developing and I hope you can help me.

    The application has two layouts, 1 start menu and a stage.

    The problem is, when I start the application for the first time everything is ok, but if (ingame) I return to the start menu and start the stage again, all the "every xxx miliseconds" events take some seconds to trigger, and when they do, they start all at the same time.

    I've tried activating this events with the help of global variables to detect the layout i'm in and stuff like that but it doesn't work.

    Also, the time it takes to start, seems to be the same time I spend in the menu.

    Help, pretty please?

  • I don't know what could be wrong, how do you restart the level? I think Go to layout action should restart timers, is the menu on the differnet layout or layer? Try this topic

    maybe it'll help.

  • The menu is in a different layout. When i'm in the stage I return to the the menu with "go to layout", and start the stage again with "go to layout" also.

    All the variables start with the correct values, like the timer, they just take this weird time to start

    I have no idea of what is happening, it makes no sense....

  • I'm using a platformer tutorial similar system for the AI, witch uses a lot of "every xxx milliseconds" events, and I have a lot of time based events.

    I really appreciate you help lucid, but isn't there another way?

  • Solved! It's a bug!

    When going to the menu from the stage, removing the fade transition solved the problem.

  • Glad you figured it out

    But

    Post the bug to the tracker please that way it can get fixed.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok, right away

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