FPS bug when using Layer Object

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi guys,

    I found a very weird FPS bug caused by the "Layer object". The problem occurs when modifying (with a condition that is executed constantly, like "Always") certain parameters such as effects or the position of a layer.

    Please login to see this media element.

    As shown in the video we can see that if we monitor the FPS with an external app (RivaTuner in this case) we can see that the FPS are always shown twice what my application shows and if the events of the "Layer Object" are deactivated the FPS return to normal.
    If we activate "Vsync" we will see that the FPS shown by RivaTuner are adapted to the frequency of the monitor (75hz in my case) and the FPS shown in my application are equivalent to half. If we deactivate the events we see that the FPS are normalized as in the previous case.

    Another very strange thing is that if we place a "Combo Box" object and deploy it, it makes the fps work normally as if we had disabled the "Layer Object" events.

    I attach an example in case any staff member wants to analyze the problem.

    Please login to see this link.

    Hispanic Community of MMF2 and CF2.5 / Comunidad Hispana de MMF2 y CF2.5: Please login to see this link.

  • I just realized that the problem doesn't seem to be the "Layer Object" but the "Combo Box" object, if I delete it or make it not be created at the start, the FPS works fine but apparently there is a conflict between both objects as can be seen in the video.

    Hispanic Community of MMF2 and CF2.5 / Comunidad Hispana de MMF2 y CF2.5: Please login to see this link.

  • Any Windows interface element is problematic, specially if you're targeting high framerates, they are rendered separated on top of everything, basically they are floating interface elements following the window.
    My suggestion is making a custom combo box, it may be a little complicated but if you're worrying about smoothness in general that's the best way.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!