User Tag List

Results 1 to 3 of 3

Thread: Glitch with Alterable Variables and Set Position

  1. #1
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Glitch with Alterable Variables and Set Position

    I found another glitch with MMF. It works in and out of HWA. Both objects that move have the same copy of the code and everything except one is set to go the opposite direction and yet one travels further. This makes coding stationary sinewaves from scratch impossible obviously and would subtly screw up platform engines built from scratch when it comes to jumping if they used this method which just about everyone who does this does.
    Attached files Attached files

  2. #2
    No Products Registered

    Join Date
    Apr 2009
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Glitch with Alterable Variables and Set Position

    I found a way around this a while back.

    What is happening is when you set it to the position its alterable value is at it will Floor() the value every time.

    That works fine when you are working with numbers greater than 0, but when you start going lower than zero flooring it makes it go down way further than it should.

    The way I've gotten around it is by making it Ceil() the values if you're trying to move it to a position lower than it currently is.
    Here is the file with a work-around. I just added a Ceil() call around the positioning of the one moving negatively.


    I don't think I've explained this very well, but hopefully it makes sense. Maybe someone else can explain it better.

    Definitely a bug I think.
    Attached files Attached files

  3. #3
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Glitch with Alterable Variables and Set Position

    Ah thanks for the info. I imagine it probably was unintentional.

Similar Threads

  1. Remember Alterable Variables
    By AnD4D in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 23rd May 2012, 11:49 AM
  2. Request: Alterable variables on the iPhone objects
    By AndyH in forum iOS Export Module Version 2.0
    Replies: 10
    Last Post: 26th February 2011, 11:10 AM
  3. Renaming Qualifier Alterable Variables?
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 18th April 2008, 08:32 AM
  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
  •