User Tag List

Results 1 to 3 of 3

Thread: Setting game Time

  1. #1
    No Products Registered

    Join Date
    Nov 2006
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Setting game Time

    How can I have the user input at the start of game how long the game will last and then to see the time tick down in the game.

    Thanks,

    Rick

  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: Setting game Time

    There are so many ways to do this that it's difficult to mention just one - it depends on the context that you're wanting it in...

    You need to take the value of a counter from one frame (or use Val(Edittext$("Edit object")) to get it from an Edit box, or something similar to that) - this time value should be stored in a global value and the in-game counter set to that value at the beginning of your actual game frame. Then subtract from this counter at regular intervals.

  3. #3
    No Products Registered

    Join Date
    Nov 2006
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Setting game Time

    Thanks David, That helped out a lot. I got it working

Similar Threads

  1. time/split time for racing game
    By ptiseigneur in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 24th September 2012, 06:05 PM
  2. Setting the screensaver time period...
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 16th December 2010, 01:59 AM
  3. Having a hard time properly setting up a Fast Loop
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 17th October 2010, 10:34 PM
  4. Toggle an in-game setting
    By Digitalic in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 21st June 2010, 04:05 PM
  5. MMF2 - Getting and Setting System Time and Date
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 7th August 2008, 08:33 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
  •