User Tag List

Results 1 to 2 of 2

Thread: Every Second Event Across Frames

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Mar 2018
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Every Second Event Across Frames

    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)

  2. #2
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,010
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    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 few tutorials here that will get you thinking out of the box of standard Fusion conditions and events. Don't forget the YT Tutorial Channel here.
    Want to learn Clickteam Fusion 2.5?




Similar Threads

  1. Replies: 3
    Last Post: 23rd June 2019, 11:28 PM
  2. Replies: 5
    Last Post: 3rd September 2015, 01:59 AM
  3. Popup minigames - frames within frames?
    By XJM in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 29th August 2014, 04:13 PM
  4. Few frames vs Multiple frames - game help needed
    By Marllux in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 4th September 2013, 05:13 PM
  5. Event editor area size apply to other frames
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 5th March 2010, 01:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •