User Tag List

Results 1 to 2 of 2

Thread: Animation speed based on player speed

  1. #1
    Clicker Fusion 2.5Fusion 2.5+ DLCAndroid Export ModuleHTML5 Export Module
    Fusion 2.5 (Steam)
    render8's Avatar
    Join Date
    Sep 2015
    Posts
    64
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Animation speed based on player speed

    EDIT - I thought maybe just attaching the project to make things easier to see.

    Hi folks! New guy here and been having some good fun learning fusion over the last few days. I worked with some basic stuff to get to grips with Fusion and then recently moved into working on a platformer project. I've been working with the fast loop platform tutorial and so far I have to say everything is pretty easy and working as intended. I'm just a little stumped on how to keep the walking animation going until the player object comes to a complete stop.

    The best example I could use would be like in 2d mario games where you'll be walking, but when you let go of the walk button, mario gradually slows down until stopping, but the animation of the walking also gradually slows down until completely stopped, so it gives a better illusion of actually slowing down. At this stage I've got acceleration and deceleration working perfectly fine, but when I let go of the walking button, the animation jumps right back to the stop sequence and the player keeps sliding due to deceleration, then stops. Hope that's easy to visualize.

    I've taken the same approach as the tutorial, with having a player object, detector, and another object with the player animations attached to the player object. The detector is for checking collisions on ground for jumping purposes.

    I really don't know if I can post the project only because I was using a mario animation for testing purposes and I don't want to cause trouble with copyright, even though it's just temp since I needed an animation quickly. I guess I'm just looking for some ideas on how to keep the walking animation going once I let go of the button, but make it slow down with the horizontal speed of the player object.

    If there's any other info that would help with this, let me know.
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5Fusion 2.5+ DLCAndroid Export ModuleHTML5 Export Module
    Fusion 2.5 (Steam)
    render8's Avatar
    Join Date
    Sep 2015
    Posts
    64
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Just wanted to say I figured it out. I just needed to add a check to the horizontal speed and if the key was released.

Similar Threads

  1. Need help making a shot arrow rotate mid-air based on its speed!
    By edman3d in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 4th February 2013, 12:03 PM
  2. Animation speed?
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 16th November 2011, 04:08 PM
  3. Speed Minimum for player object!
    By scurvy in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 17th February 2011, 07:59 PM
  4. Animation speed
    By Eckumin in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 6th April 2008, 05:46 AM
  5. X Speed Based on Distance
    By Strider in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 6th January 2008, 12:31 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
  •