User Tag List

Results 1 to 7 of 7

Thread: Compare to Time?

  1. #1
    No Products Registered

    Join Date
    Apr 2007
    Location
    Summerville, SC
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Compare to Time?

    I'm making this game with big levels, but I want it so that if the time is, say, past 6:00 P.M. the game changes the sky to monotone, like night-time. Is there a way to do this? I tried to do the 'Compare to to general Values', retrieved data from the button that says 'Retrieve Hours', then in the other box I put '6', as if 6:00. Though I don't think that would work. That seems like it would be after 6 hours, the sky will change. Is there a way to coorindate the current real-time with your game? Thanx.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Paul_Boland's Avatar
    Join Date
    Jun 2006
    Location
    Waterford, Ireland.
    Posts
    2,739
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Compare to Time?

    Use the DateTime object. You can retrieve the hour time with it and then program your game accordingly.
    KnightTrek Productions
    http://www.knighttrek.com

  3. #3
    No Products Registered

    Join Date
    Apr 2007
    Location
    Summerville, SC
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Compare to Time?

    That's what I used. Then I did "Retrieve hours" with the 'Compare to two general Values', and I put 'Greater or Equals' then I put 6, like 6:00 PM, but it seems like that would only make the sky change after 6 hours of play.:S

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    658
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Compare to Time?

    Does it use a 12 hour format or 24 hour format?

  5. #5
    No Products Registered

    Join Date
    Apr 2007
    Location
    Summerville, SC
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Compare to Time?

    Well, I have it set on 24 hour, which coordinates with the time on your computer.

  6. #6
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Compare to Time?

    if its 24hours then you will need to put in 1800 as thats 6pm

    if you just use 6 then it will think 6AM!

    xxx

  7. #7
    No Products Registered

    Join Date
    Apr 2007
    Location
    Summerville, SC
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Compare to Time?

    Oh, I get it! Thanks!

Similar Threads

  1. [REQ] Compare time elapsed function
    By RhysD in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 5th March 2013, 11:43 AM
  2. 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
  3. 'Compare to one of the alterable values' VS 'Compare two general values'
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st January 2012, 06:26 PM
  4. Make a time machine run with lower time complexity
    By Pixelthief in forum Multimedia Fusion 2 - Technical Support
    Replies: 48
    Last Post: 12th March 2009, 10:10 PM
  5. Compare Ini Item to Value
    By Gerblegod7 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 3rd March 2007, 04:26 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
  •