User Tag List

Results 1 to 4 of 4

Thread: My movement is ignored and I can't press a button to restore it

  1. #1
    Clicker 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
    May 2016
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    My movement is ignored and I can't press a button to restore it

    Maybe there is an easy work around but I never encountered this problem because I never used joysticks before. When my character press button 1 I say ignore controls. But it can't press button 1 to restore them because they are ignored. How do I fix this? Help would be greatly appreciated.

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    800
    Mentioned
    58 Post(s)
    Tagged
    0 Thread(s)
    I can't see how that would work - because you would always be activating / deactivating the controls in an endless loop - the first time you press the button you deactivate it, the next time you activate it, but then you would need to press it again to fire for example, and that press will deactivate it again. Ignore controls will ignore the built-in features, not ignore the button being pressed but you do have to tell Fusion what should happen then if the button is pressed.

    In any event the way you'd go about it would be something like this:

    Set an alterable or global value and then test for that value:

    button is pressed
    + value x = 0
    + flag is off
    set value x = 1
    set flag on
    ignore control

    button is pressed
    +value x = 1
    +flag is off
    set value x = 0
    set flag on
    restore control

    Is flag on?
    set flag off (This is just a block to make sure the 2 lines don't run consecutively and place this bit ahead of the other 2 lines.)

  3. #3
    Clicker 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
    May 2016
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So this still doesn't work because once he is ignored he can't press again to return because the button is apart of the controls that is being ignored. I tried this too but it still didn't work. Any other ideas?

  4. #4
    Clicker Fusion 2.5

    Join Date
    Dec 2009
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Put your joystick controls that affect your character's movement and actions into a group of events that you can deactivate/activate with a button press.

Similar Threads

  1. Several events happening on same button press
    By Jugeek in forum Fusion 2.5
    Replies: 5
    Last Post: 24th March 2019, 08:14 PM
  2. Game does not terminate when I press my quit button, but...
    By amiman99 in forum iOS Export Module 2.5
    Replies: 3
    Last Post: 29th December 2016, 03:01 PM
  3. Press and Hold button help
    By GameOverHDX in forum Android Export Module 2.5
    Replies: 3
    Last Post: 27th April 2014, 11:50 PM
  4. Application pauses with every button press.
    By LemonyLime in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 23rd March 2012, 09:40 AM
  5. Can I force MMF2 to press a button?
    By Iwantmyrpg in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 24th August 2008, 05:58 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
  •