User Tag List

Results 1 to 2 of 2

Thread: Maximum movement speed

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Maximum movement speed

    Hi
    I have a Player object which move in the X direction ( left and right ) by using 2 AlterableValues:
    - Input_ ( ranges from -5 to 5, the user controls the input by holding the left and right arrow buttons )
    - Environment_ ( Push/ gravity fields in the level affect the Players environment AlterableValue )
    ( Both components values represent movement in pixles )
    ...
    Player also has a MaxSpeed_ value which defines the maximum speed of which the Player object can move in either X direction ( left or right ).
    ...
    How can i limit Players movement speed to Players MaxSpeed_?

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    New Condition: Player Moves Right (or forward)
    + Alt.Value [Moving_Speed] < Alt.Value [MaxSpeed]

    for the other direction, maybe

    New Condition: Player Moves Left (or backward)
    + Alt.Value [Moving_Speed] < Alt.Value [MaxSpeed] *-1

    or maybe reverse the < for >, I guess.

    Alt.Value [Moving_Speed] > Alt.Value [MaxSpeed] *-1

Similar Threads

  1. maximum event? / maximum d'événement
    By Sevennemesis in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 21st December 2012, 03:24 PM
  2. Bar Graph Counter: Maximum size not dependent on Maximum value?
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 19th July 2012, 03:39 AM
  3. movement speed
    By jaaj302005 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 21st October 2011, 11:04 AM
  4. Get movement speed?
    By Atom in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th November 2008, 07:30 AM
  5. Path movement speed
    By Nickydude in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 14th May 2007, 11:25 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
  •