User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 16 of 16

Thread: Stop player from jumping

  1. #11
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,554
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    Nice example Dave

  2. #12
    Clicker Fusion 2.5

    Join Date
    Jul 2015
    Location
    Northern California
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you both for taking the time to make the example files!!! I am downloading them now to take a look!

  3. #13
    Clicker Fusion 2.5

    Join Date
    Jul 2015
    Location
    Northern California
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dave - I have been studying your example files and I am starting to understand all the events. One thing I am uncertain over is line 23 where for the player, the internal flag is set to off. Perhaps it is my lack of understanding of flags in this instance. I have read they are similar to booleens but again I not certain why one is needed in this case.

  4. #14
    Clicker Fusion 2.5Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    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)
    advaith's Avatar
    Join Date
    Jun 2015
    Location
    SF Bay Area, California, USA
    Posts
    1,324
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Look for the event where the flag is set to on, the flag is default set to off.

    A flag is just an alterable value with two modes: ON and OFF.

  5. #15
    Clicker Fusion 2.5Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    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)
    advaith's Avatar
    Join Date
    Jun 2015
    Location
    SF Bay Area, California, USA
    Posts
    1,324
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    In this example, when you press shift the flag is set to on, and when you do not press shift the flag is set to off.

    This means that every time you want the player to jump from the ground, you need to press shift again. (You can't keep holding shift the whole time.)

    This restriction is not in the first frame, only in the second.

    Note: in line 23, the flag is not set to off, it is checking if the flag is off.

    the flag is set on in line 27, and set off in line 28.

  6. #16
    Clicker Fusion 2.5

    Join Date
    Jul 2015
    Location
    Northern California
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Advaith - thanks, I think I understand it now.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Player sliding forever after jumping (MFA included)
    By Aloan in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 7th January 2015, 01:32 PM
  2. Player bouncing off walls when it's supposed to stop
    By kEwLiO in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 31st March 2013, 05:01 PM
  3. player movement and block jumping animation
    By trav101 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 4th April 2011, 02:44 PM
  4. how do you stop active from moving while jumping?
    By Meegol in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 6th February 2009, 10:40 AM
  5. stop jumping while key is pressed
    By elautor in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 21st October 2006, 03:36 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
  •