User Tag List

Results 1 to 5 of 5

Thread: Adding momentum to 8-dir movement

  1. #1
    No Products Registered

    Join Date
    Aug 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Adding momentum to 8-dir movement

    Does anyone know a way to add skidding/momentum to the standard 8-dir movement?

    Like, say the player is going to the right at full speed, and then he turns left. Instead of immediately going left at full speed I want him to continue going right, but decrease his speed until it is 0, and then accelerate leftwards up to full speed. And the same for up/down.

    I can do this with fastloops, but that will open up a whole new can of worms, so I would prefer to avoid that.

  2. #2
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Adding momentum to 8-dir movement

    You can have more than 1 movement per active. Try the ball movement as a 2nd movement and try to work with that also. maybe even race car movement.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  3. #3
    No Products Registered

    Join Date
    Aug 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Adding momentum to 8-dir movement

    Eeeh, I can´t seem to get it working with those movements either...specifically, I can´t get it to work without using "Set X/Y position to..." which is what I am trying to avoid.

    Any ideas?

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Adding momentum to 8-dir movement

    You could either use the Vector Movement, which involves having to code the speed/force code yourself, or try this. It even comes with an example for what you want.

  5. #5
    No Products Registered

    Join Date
    Aug 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Adding momentum to 8-dir movement

    Ah, the 360 movement thing looks promising, I will try that, vielen Dank!

Similar Threads

  1. Touch-scrolling with momentum widget/example
    By DistantJ in forum iOS Specific Example Files
    Replies: 34
    Last Post: 15th April 2014, 04:07 AM
  2. Adding 1
    By Jibs in forum Multimedia Fusion 2 - Technical Support
    Replies: 17
    Last Post: 6th November 2011, 08:57 PM
  3. Adding Animations in Platform Movement Object
    By Namo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 2nd February 2011, 02:29 AM
  4. Conserving Momentum Between Movement Types
    By dmcclure in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th April 2010, 01:01 PM
  5. Adding a zero.
    By Fimbul in forum File Archive
    Replies: 1
    Last Post: 15th November 2009, 10:06 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
  •