User Tag List

Results 1 to 8 of 8

Thread: Why are these platforms moving so wrong?

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    Why are these platforms moving so wrong?

    Okay, say I have 3 different colored moving platforms. I gave them their own qualifiers to keep from having to make multiple copies of the same events for different moving platforms. They should only move when I need them to. But instead, if one colored platform hits an arrow, it applies to the other colored platforms. Why is this happening?

    Here's the DL link of my .mfa file to show the problem.
    http://www.sendspace.com/file/cb1nxk
    One platform is hitting the arrows, but making the others move awkward when they are not supposed to.

  2. #2
    Clicker Multimedia Fusion 2 Developer

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

    Re: Why are these platforms moving so wrong?

    There is definitely a bug in MMF there.

    Seems comparing an alterable value of a qualifier after a collision test on that qualifier in the same event is screwing it up. It might apply to other conditions too.

    I've made a much simpler version, which works fine. I'm just posting it to the file archive.
    Basically I replaced:
    Collision with arrow
    +alt value is wrong
    -multiply alt value by -1
    with:
    collision with arrow
    -set alt value to correct number

    I also got rid of the flags, and just set the alt value to 0 for not moving up/down or left/right.

    EDIT: http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=147245&#Post147 245
    I also posted your broken file there in case it gets removed from "sendspace" before clickteam get a chance to investigate the bug.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    Re: Why are these platforms moving so wrong?

    Hmm...... This fix is nice, but you set an absolute value in these events for the platforms. Doesn't that lose the purpose of me setting a default velocity x and velocity y of my alterable values?
    In other words, I set their velocities of X to 2 and Y to 2. But in your fix in the event editor, you set them to 1. Maybe I can make it so it still reads the fixed velocities, but change in direction when needed? Or will that bug up the movements again?

  4. #4
    Clicker Multimedia Fusion 2 Developer

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

    Re: Why are these platforms moving so wrong?

    Have a 3rd value for speed, and add X * speed and Y * speed to the position (or set the x and y to +/- speed instead of +/- 1).

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    Re: Why are these platforms moving so wrong?

    So... what you're saying is, make an event to set Alterable Value A (Vel of platform to Alterable value C (Speed) to whatever I set this to? Or do I use the events in your fix, but replace the 1 with Alterable Value C (speed) of platform?

    The always command is using alterable value A for velocity X, and Value B for velocity Y. And the arrow flags are just saying "set alterable value A to 1". Would't I have this say "set alterable value A to Alterable Value A *-1" or something? Or was that the very reason my version had the bugs.

  6. #6
    Clicker Multimedia Fusion 2 Developer

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

    Re: Why are these platforms moving so wrong?

    Yours had bugs because of the "Alterable Value .. of Qualifier > 0" line after a "Qualifier collides with ...". That combination seems to be broken in MMF. Your code should have worked.

    Quote Originally Posted by N64Mario
    Or do I use the events in your fix, but replace the 1 with Alterable Value C (speed) of platform?
    This.

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    Re: Why are these platforms moving so wrong?

    What is really "odd" about this is, my code seems to work well if all my platforms are copies (duplicates) of the very same platform active object. While it seems to have a bug on different kinds of moving platform objects. It's like what you said, it must be a MMF bug. X_X

    But yea, I did what you said. I have Values A & B named 'Move X' and 'Move Y', and Values C & D named 'Velocity X' and 'Velocity Y' seems to work. Although I don't see why this was needed if there already is a velocity x and velocity y value from before. But I suppose since Values A & B are used to actually "move" the position of the platforms on the screen, while Values C & D are the speed/velocity values of how fast/slow they go? That's the only explanation I can come up with. @_@

  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: Why are these platforms moving so wrong?

    You could get away with only one "speed" (alt value C), unless you want platforms that go up at a different speed to across.

    But yes, A & B are for the current movement, while your C (& D) are for the speed it CAN go.

Similar Threads

  1. Moving Platforms and the PMO
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 12th January 2016, 09:15 AM
  2. Moving Platforms
    By PimeX in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 23rd January 2011, 01:55 PM
  3. Moving Platforms
    By RickyRombo in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 8th June 2010, 02:38 AM
  4. Moving Platforms help
    By N64Mario in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 18th May 2009, 10:44 PM
  5. Moving platforms using PMO
    By willy in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 30th March 2008, 02:05 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
  •