Every Second Event Across Frames

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.
  • I have a very basic set up that is: every 1 second, +1 to global value A. The problem is that when you change frames the second timer of course resets, so you could keep switching frames and the count would never go up. There is probably some way to save how many milliseconds are left in that 1 second and save it to another global value to be retrieved every frame change but I cannot figure out how you turn an 'every 01"00' event into a number that signifies time left before the second is complete.... Would really appreciate some help!

    EDIT: After some time, I finally figured it out by not using the every second event and instead have a global counter count up to 100 (1 every millisecond) then reset. This allowed me to save the counter to a global variable at the end of the frame and load in at the start of the frame, simples! (Sorry for the post)

    Edited 4 times, last by Siddd1 (November 24, 2019 at 7:45 PM).

  • Don't apologise, this post may help someone else out in the future, you solved it yourself :)

    If you ever need pinpoint accuracy with time(s), then frame counting is the best way to do it, similar to what you're already doing, you can even go as far as using delta-time, but you seemed to have took that step to alternative thinking and that's the best way to approach Fusion.

    There are a Please login to see this link. that will get you thinking out of the box of standard Fusion conditions and events. Don't forget the Please login to see this link..

    Game Launcher Creator V3 - Please login to see this link.
    Bespoke Software Development - Please login to see this link.
    Learn Clickteam Fusion 2.5 - Please login to see this link.

    Danny // Clickteam

Participate now!

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