User Tag List

Results 1 to 9 of 9

Thread: Alterable Value Limit?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Alterable Value Limit?

    Like in thread name, is there any maximum limit for alterable value? Because of counter there is one (999999999 or something like that)... And for alterable values?

    I was looking in the help file information about it but it wants me to go for Common Properties page, which doesn't exist so... I'm asking here.

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Alterable Value Limit?

    I believe it is 999999999

  3. #3
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Alterable Value Limit?

    Just wondering, are there any conventional programing-wise limits in MMF2? Like chars, shorts, short longs, longs, ints, floats, ect? Do counter objects automatically resize when you set thier min and max to the appropriate range? Or is all this a bit pointless because of how the system works? I'd be very interested to find out how this works.
    Working as fast as I can on Fusion 3

  4. #4
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Alterable Value Limit?

    The limits depends if the number is stored as a decimal value or an integer. As far as I know MMF only works with 32 bit integers and floats, at least parameters for extensions do.

    If the value is an integer the range is -2147483648 to 2147483647, if the result of a calculation or similar ends up outside these boundaries the value will wrap around.

    I'm not sure what the exact limit is for floating point numbers, they can go higher than integers but they lose accuracy the higher they get.

  5. #5
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Alterable Value Limit?

    The maximum alterable values for objects is 26, but global values I have no idea

  6. #6
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Alterable Value Limit?

    bigredron, I think the question was how high the number can go for an Alterable Value. Hopefully, Fanotherpg will slap me around if I'm wrong.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  7. #7
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Alterable Value Limit?

    Yeh you are probably right, im sure he know's how MMF works by now as he is an active community member. Thought I would answer anyway for the newbies reading

  8. #8
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Alterable Value Limit?

    Alterable values are stored as 32-bit ints or double-precision (64-bit) floating point values, which have an incredible range. It's a weakness of the extension SDK that extensions can only use 32-bit float parameters and returns.

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Alterable Value Limit?

    Thanks all for answering.

    Nivram you are right my point was about how big value can be not how many we can use.

    Bigredon yes we've got 26 values but thanks to ValueAdd extension it becomes unlimited.

    Also it causes that still I have to sent updated version of my game to Klikdisc - and help me to find one IMHO bad design in MMF itself. But about that later on.

Similar Threads

  1. Alterable Strings as Alterable Values?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 27th March 2012, 07:14 PM
  2. Alterable Strings and Alterable Values limit :(
    By Pedro Almeida in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 13th October 2006, 06:38 AM
  3. Alterable Value and Alterable String conflict
    By Patrick in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 28th September 2006, 02:51 PM
  4. Alterable Value & Alterable String BUG!!
    By Patrick in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 20th September 2006, 01:40 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
  •