User Tag List

Results 1 to 6 of 6

Thread: "Smooth" movement

  1. #1
    No Products Registered

    Join Date
    Apr 2008
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    "Smooth" movement

    Is there a way to move faster than the normal always event (.01 seconds?) and slower than a loop (nearly instant). Basically, I'm having things move at 6 pixels every always loop, which gives a sort of "choppy" movement. Not a big deal, but it would be awesome if I could break it down instead to 6 independent 1 pixel moves over the time of a 6 pixel move, if that makes sense.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: "Smooth" movement

    I dont know if this solution works for you, but if you're just moving in one direction I'd suggest using the ball movement. It can be set to any speed (not superfast) and scrolls very smoothly...

  3. #3
    No Products Registered

    Join Date
    Apr 2008
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "Smooth" movement

    I just found the MoveIt function (actually looking for a new drawline extension haha, I guess they never made it for MMF2) which allows me to set the time and/speed to a position. It's working great! My preferred solution to the ball movement because you have more control over its direction

    Thanks for the reply though, HolyMonkey!

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "Smooth" movement

    Just so you know, increasing the frame rate of your app will run the event loop more often, so "Always" conditions will be called faster.

  5. #5
    No Products Registered

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

    Re: "Smooth" movement

    Quote Originally Posted by Jaffob
    Just so you know, increasing the frame rate of your app will run the event loop more often, so "Always" conditions will be called faster.
    But that does not solve his choppiness problem, only masks it in some cases. Your best bet would be to use a fastloop, and move the object a single pixel in X and Y directions, if it is a linear movement. Even though it is using "fast"loops, that does not necessarily mean that it will be a "fast" movement. The speed depends entirely on how many times the loop is run and other factors. And just as a side note, you would check collisions within the loops as well.

    Another alternative, albeit less sophisticated, is to just copy and paste the Always or timed action so you have a bunch of them, 10 for example. The number of lines that you add will directly effect how fast it moves.

  6. #6
    No Products Registered

    Join Date
    Jun 2007
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "Smooth" movement

    Quote Originally Posted by pirodaggar
    I just found the MoveIt function (actually looking for a new drawline extension haha, I guess they never made it for MMF2) which allows me to set the time and/speed to a position. It's working great! My preferred solution to the ball movement because you have more control over its direction

    Thanks for the reply though, HolyMonkey!
    I have a MoveIt extension in mmf2
    is that the same one?

    I don't know where I downloaded it , but it does exist.

Similar Threads

  1. "Cannot load joystick2.mfx" when "Compress the runtime" unchecked. Fine when checked.
    By DistantJ in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 14th September 2013, 09:44 PM
  2. "Bug" For Saving and Loading Frame Positions AND "Timer Glitch"?
    By Zarpo in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th March 2012, 12:40 PM
  3. "smooth resizing"?
    By Pedro Almeida in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 12th February 2012, 01:45 AM
  4. Issues with "Clickteam Movement Controller" and "Runtime" Object
    By jimmyorpheus in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 29th November 2011, 07:10 AM
  5. "Path Find" & "Advanced Path Movement" extensions
    By kikiriki in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 8th April 2010, 08:59 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
  •