User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Platform movement - Only going one direction

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Aug 2010
    Location
    Sweden
    Posts
    351
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Platform movement - Only going one direction

    Hi

    I'm making a platform game, using the platform movement, and I only want the character to be able to move to the right. How do I do this? This seemingly insignificant problem has been driving me crazy. Is there a way to make it so that it ignores the left key? I've been trying to stop, or making the speed 0 of the character when the left key is pressed, or when it's facing the left direction, but neither seems to work. I'm sure there's a real easy fix, I'm just not seeing it. I want to keep using the platform movement as it is doing everything else perfect.

    Thanks

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Aug 2010
    Location
    Sweden
    Posts
    351
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform movement - Only going one direction

    No one?

  3. #3
    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: Platform movement - Only going one direction

    Well, you could do this:


    Repeat while moved left
    * Set direction to right
    * Set acceleration to 0

    X Repeat while moved left
    * Set acceleration to 50 (use the value from the movement settings)

    EDIT: Then again this doesn't work properly with jumping... meh, you should look at the examples of the "Platform Movement Object", an extension that gives you more control over this!

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Aug 2010
    Location
    Sweden
    Posts
    351
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform movement - Only going one direction

    No jumping, so that shouldn't be a problem. I did try the Platform Movement Object, I just can't get it to feel as good as the standard platform movement does. But I'll try what you said.

  5. #5
    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: Platform movement - Only going one direction

    ...Really?! The Platform Movement Object objectively is better than the inbuilt platform movement The inbuilt one has a lot of bugs and oddities (and limitations like this) that make it dreadful to use.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jun 2006
    Location
    UK
    Posts
    519
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform movement - Only going one direction

    Once you learn how to use the platform movement object properly (and it isn't that difficult) you will never go back .

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Aug 2010
    Location
    Sweden
    Posts
    351
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform movement - Only going one direction

    Haha, well I'll guess I'll have to give it a second try then.

  8. #8
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform movement - Only going one direction

    When you say the PMO doesn't "feel as good" are you talking about gravity, speed, etc.? If so, if you double click on the icon for the PMO extension, it will pop up a window with values you can adjust to fine tune what you want. You can also change these values in the event editor on the fly. Unless you're trying to attempt some really complex movements with your game, the PMO is about perfect.

  9. #9
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export Module
    Chaos's Avatar
    Join Date
    Aug 2006
    Location
    Burnsville, MN, USA
    Posts
    806
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform movement - Only going one direction

    Not to continue to spam my PMO examples, but I have two variations of PMO examples on my site. (Link in the signature) - I have a beginner and then an advanced for your typical platform game, and then I have a fighting game example that uses it.

    Good luck!

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Aug 2010
    Location
    Sweden
    Posts
    351
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Platform movement - Only going one direction

    Yes I know you can change the parameters, I just couldn't get the slope detection to work satisfactionary, but you've made your points, I probably just didn't try enough. Thanks for the tip Chaos.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. direction tire pour mouvement platform
    By Cyril5 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 11th February 2014, 02:49 PM
  2. Moving Platform in Platform Movement Object
    By radel999 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 16th July 2012, 01:49 PM
  3. Spaceship movement left and right trought bouncing ball movement instead 8 direction?
    By daryuss in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd May 2012, 09:33 PM
  4. multiple instances - platform direction change
    By arfa in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 22nd October 2010, 01:49 PM
  5. Platform direction
    By Robin_Manager in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 14th July 2008, 12:34 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
  •