User Tag List

Results 1 to 5 of 5

Thread: Date and calcul

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Date and calcul

    Hi,

    Is there a way to calcul date with the iOS runtime ? I mean something like TODAY + 245 days = xx/xx/xx ?
    I guess it's possible with the calendar object, but it's not avalaible for this runtime.

    So, two questions, is it possible and is Clickteam planned to port this extensions to the iOS runtime (or the date calculation support) ?

    Thanks

  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    up :/

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    paobrasil's Avatar
    Join Date
    Apr 2012
    Location
    Rio de Janeiro, Brazil
    Posts
    1,146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not in home now so I can't test what I'm thinking...but I think is possible to get the time then you can retrieve it and add a counter value (245).....

  4. #4
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi paobrasil - it would be really great if you was able to help me on this.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    paobrasil's Avatar
    Join Date
    Apr 2012
    Location
    Rio de Janeiro, Brazil
    Posts
    1,146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello my friend...I've tried here but I can't do it now....I'm not so good in math....but is totally possible....use the Date & Time Object that is avaliable to iOS Exporter.....

    You need to create 3 counters: day counter; month counter; year counter...

    Each counter will retrieve the value on Start of Frame of the determinated name of the Date & Time Object (month counter retrieve the month value, day counter retrive day value, year counter retrieve the year value).

    Then you will do fastloop to add the 245 number in the day counter......and some fastloops to detect if:

    the day counter passes the 31 value on months 1,3,5,7,8,10,12.......so add 1 to month counter
    the day counter passes the 30 value on months 4,6,9,11.......so add 1 to month counter
    the day counter passes the 28 value on month 2.......so add 1 to month counter
    the month counter passes the 12 value.......so add 1 to year counter....

    doing this you will get what you want...

    sorry for didn't make a MFA example...my brain it's just over these days because I finished my game ...

    There's a lot of betters maths members in this community that maybe can do it more easly....

    well...best regards, hope that this can help you..!

Similar Threads

  1. calcul
    By jose in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 18th December 2012, 10:06 PM
  2. calcul entre 2 dates
    By ladite in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 30th July 2012, 06:21 PM
  3. [bug] Date&time object doesn't show date
    By qenio in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 19th March 2012, 09:49 PM
  4. Calcul itinéraire
    By ecluse in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 15th April 2010, 02:14 PM
  5. Calcul mathématique
    By ecluse in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 31st October 2007, 04:47 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
  •