User Tag List

Results 1 to 3 of 3

Thread: Deceleration problem

  1. #1
    No Products Registered

    Join Date
    Oct 2008
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Deceleration problem

    I'm trying to make a platform game...I created 2 Alterable Values which are "Grav" & "Horiz" to set the gravity and the horizontal movement of a character and it works well. But it is too stiff the path the character moved. Then I add a value "slowdown" to smoother the path, but it doesn't work for me...
    It's hard to explain...I post my file here...
    http://rapidshare.com/files/15669921...tform.mfa.html

  2. #2
    No Products Registered

    Join Date
    Oct 2008
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Deceleration problem

    Oh..I should say that the path the character jumped,not the path it moved, is too stiff.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Deceleration problem

    I'm not sure what you're trying to accomplish with the value "Slowdown" - if you want to decelerate the character as it walks, you could do it by always moving the value of Horiz closer to 0 by, say, 0.5 at the bottom of the event list (that is, if it's below 0 add 0.5 and if it's above 0 subtract 0.5).

    Similarly, you can play with the jump strength (Set Grav to X in the first event) and acceleration due to gravity (Set Grav to Grav + 0.5 in the second event) to get a path that suits you for jumping.

Similar Threads

  1. A little problem in my drag with deceleration
    By paobrasil in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 23rd February 2013, 08:36 PM
  2. screen drag with deceleration
    By Sumo in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 1st October 2012, 05:29 AM
  3. Decimal movement deceleration
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 24th March 2012, 02:54 AM
  4. Sliding with deceleration
    By Azeo in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 27th June 2008, 09:24 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
  •