User Tag List

Results 1 to 2 of 2

Thread: I need more Alterable Values

  1. #1
    No Products Registered

    Join Date
    Oct 2007
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    I need more Alterable Values

    I am currently building a physics engine in MMF2, and I have used (and renamed) a large amount of the alterable values of my active object to do it. Specifically I have used A to V (1 to 22 out of 26). My concern is that there will be very few alterable values left over for handling gameplay related tasks. Thus I have the following questions.
    1: Does anyone know if there is an object that is equivalent to an active object but with more alterable values?
    2: Would it be difficult to make to an active object with more alterable values as an extension? (I presume one would need the source code for the original active object, and I don’t know off hand if it has been released.)
    3: Is there any tried and true work around for this problem that? (e.g. Using an objects "fixed value" or an "alterable value spread" to store and retrieve values in an array.)
    4: Is there any work around at all that will allow the storage of floating point numbers? (e.g. Again, using an objects "fixed value" or an "alterable value spread" to store and retrieve values in an array, and using the "Store Float" object to do the conversions.)
    5: Does anyone know if there is a version of MMF2 coming that will allow a user specified number of alterable values, or at the very least, more?
    6: Most ideally, does anyone know if there is a work around that does not involve more extension objects? (e.g. Create some twin active object that does nothing but store alterable values, and associate it with the objects by "fixed value". Sort of like making a linked list.)

    I don’t know why there are only 26 alterable values to begin with. If the concern was memory, why not just make the default 26, and allow the user to specify a different number as they desire. It seams like the only thing that would have to change, is that all the appropriate hard coded appearances of 26 throughout MMF2’s alterable value code could be replaced with a variable whose value is taken from some option box in the object’s properties. After all, it was already changed from 3 to 26 between MMF and MMF2.

    I have already tried using the following objects:
    Array: It can’t store string based keys, and as such is not as useful for storing and retrieving variable data by variable name.
    Array 3D: Again, it can’t store string based keys, and thus no variable names.
    Associative Array: Very cool extension, but is doesn’t seem to store floats.
    Named Variables: Again, a very nice object, but it doesn’t appear to store floats.

    I am currently working on using the LUA (programming language) in the hopes that I might be able to dimension a few arrays to store the extra data. Just the same, I would prefer an alternative solution.

    At any rate, any help would be appreciated.
    Thanks.

  2. #2
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: I need more Alterable Values

    Have you tried the magic deque object. It can handle multiple arrays and has many advanced features.

Similar Threads

  1. Global Values & Alterable Values with same names
    By Gustav in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 7th November 2012, 06:15 PM
  2. 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
  3. Display values on screen from Alterable Values
    By mikeh in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 13th May 2008, 01:59 PM
  4. 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

Posting Permissions

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