User Tag List

Results 1 to 2 of 2

Thread: Quick Question About Movement Switching

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Nov 2019
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Quick Question About Movement Switching

    Alright, so I've figured out how to get the drag and drop system to work in general.

    However; what I'm trying to do is make it to where I can "drag and drop" two different items...
    the first, a cookie, was easy I just have it to where it's movement in general is the drag and drop type.

    the second on the other hand, is a creature that has a "bouncing ball" movement as it's default movement because that was the best way I could get a "random movement" look for it walking around.

    The issue I'm having with the creature is this:
    It doesn't want to drag and drop.

    My issue before this was that I was using an active object as my custom cursor which I didn't know that would cause as many issues as it did.
    Ok got rid of the mouse controlled active object and replaced it with the actual cursor object. Done.

    What's odd is, I can make the creature be able to have the drag and drop movement work if I tell it to "run this event once" but if I change how I'm doing things and get rid of that one command it don't work again.

    If you know any way to make the swap between bouncing ball and drag and drop movements work that would be awesome, otherwise how do I go about looping the thing that works when running an event one time means that it will never run again?

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleMac Export Module
    dsilvers's Avatar
    Join Date
    Jun 2008
    Location
    Boston, MA
    Posts
    573
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Drag and Drop is super easy to do without having to change the object's built-in movement system. Especially since you're using a Clickteam system instead of a custom one, you shouldn't have to worry too much about physics or anything like that.

    The simplest way to do this is Repeat while Left Mouse Button is Clicked and Repeat while Mouse is Over Creature. Both of these can be found under the Mouse/Keyboard control. Then, set the creature's X and Y position to XMouse and YMouse respectively.

    That's the barebones way to do it. You can get more complicated later on to help clear up any collision issues, but at the very least you'll be able to keep the bouncing ball movement on the creature and not have to swap between movement sets for basic inputs.

Similar Threads

  1. quick question about invader movement
    By MonDieu72 in forum Fusion 2.5
    Replies: 9
    Last Post: 14th February 2014, 06:25 PM
  2. Switching between frames movement bug
    By Top_of_the_Temple in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th August 2013, 06:18 AM
  3. Movement switching problem
    By Gimbabwe in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 22nd March 2013, 05:47 PM
  4. Switching to MMF and have a question
    By marioman in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 23rd June 2009, 08:01 PM
  5. Movement Switching (Possible Bug)
    By Atom in forum File Archive
    Replies: 3
    Last Post: 3rd March 2009, 08:22 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
  •