User Tag List

Results 1 to 3 of 3

Thread: Question about Time / timer / timing games

  1. #1
    No Products Registered

    Join Date
    Nov 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question about Time / timer / timing games

    Question. I know how to time a single frame, that's easy.

    Is there any way to start a "global timer" at frame 2, and then output the "total time" expended across frames 2, 3, 4, and 5, and output the time on Frame 6?

    Thanks guys

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about Time / timer / timing games

    Yes - I tend to do it by counting the number of gameplay frames that have been drawn by having events in each frame that Always -> Add 1 to [a global value], and then calculating the time elapsed from that at the end.

    But if you're just after a simple timer, you could also do it by having "Every 1 second -> Add 1 to [a global value]" on each frame that you want to time, to get the total number of seconds at the end. The number stored in the global value will be carried over between frames, so each frame will add to it further.

  3. #3
    No Products Registered

    Join Date
    Nov 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about Time / timer / timing games

    That's absolutely brilliant, David! Thank you so very much! You're the best!

Similar Threads

  1. Real time timer?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 23rd June 2012, 05:51 AM
  2. Timer in racing games
    By videogiochi in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 19th May 2011, 07:21 PM
  3. Question sur timer .
    By ApocKalipsS in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 7th January 2009, 06:59 PM
  4. Bug R243 - Timer action set time.
    By joewski in forum File Archive
    Replies: 0
    Last Post: 26th January 2007, 03:41 AM

Posting Permissions

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