User Tag List

Results 1 to 3 of 3

Thread: PMO Jumping Issue..Bug Help

  1. #1
    Clicker Fusion 2.5
    darkmanx_429's Avatar
    Join Date
    Jun 2010
    Posts
    365
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PMO Jumping Issue..Bug Help



    Trying to fix a slight bug with my jumping with no avail. Can someone help me out? I posted an example of my code. Basically I assigned "A" on the keyboard to be my jump button. I made some alterable values to switch between single and double jumps for the character. It's all cool and that is working, however when I repeatedly press A the character jumps forever. How do I make it so that the character jumps only once when the button is pressed and not forever to the moon! I want the character to be able to jump again only after the animation is done playing; not for the player to rapidly press the button and jump forever...

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS 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)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In your Double_Jump events, you probably want to only have it so the user is only pressing A once instead of "Repeat while A is pressed". The same in your next event. If you constantly send that the user is holding A then that event is constantly being sent as well and the "Jump" action in your PMO is going to trigger every time.

  3. #3
    Clicker Fusion 2.5
    darkmanx_429's Avatar
    Join Date
    Jun 2010
    Posts
    365
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by RhysD View Post
    In your Double_Jump events, you probably want to only have it so the user is only pressing A once instead of "Repeat while A is pressed". The same in your next event. If you constantly send that the user is holding A then that event is constantly being sent as well and the "Jump" action in your PMO is going to trigger every time.
    hmmm...i'll try that. I'll let you know! Thanks for the quick feedback!

Similar Threads

  1. Counter updating issue or code issue?
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 14th March 2013, 01:48 PM
  2. Jumping
    By trav101 in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 4th April 2011, 10:30 PM
  3. Jumping in mid-air
    By Bugsey in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 4th February 2008, 01:57 AM
  4. Jumping [2 qs]
    By RagingTiger in forum File Archive
    Replies: 9
    Last Post: 3rd June 2007, 02:17 AM
  5. jumping
    By elautor in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 10th September 2006, 10:39 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
  •