User Tag List

Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 21

Thread: how to test if no keys are being pressed help

  1. #11
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to test if no keys are being pressed help

    The animation will continue itself even if the condition doesn't.

    If you exclude the "Only One Action When Event Loops" the condition will repeat - which may also cause the problem of the animation continuously being sent to the 1st frame, and not just potentially reducing performance.

  2. #12
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to test if no keys are being pressed help

    If the animation is already being played it won't restart. It will only change to it if something else is being played.

  3. #13
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to test if no keys are being pressed help

    Okay. That's good.

  4. #14
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Mar 2008
    Location
    Singapore, Singapore
    Posts
    281
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to test if no keys are being pressed help

    how do u had the negate part?

  5. #15
    Clicker Fusion 2.5

    Join Date
    Nov 2006
    Location
    South America
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to test if no keys are being pressed help

    Right click over the condition.
    There are some options: Insert, Replace, etc. What you're looking for is 'Negate'.

  6. #16
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Mar 2008
    Location
    Singapore, Singapore
    Posts
    281
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to test if no keys are being pressed help

    It still doesn't work :cry:

  7. #17
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Derby, United Kingdom
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to test if no keys are being pressed help

    Use the 'Any Key Being Pressed' condition and negate it, that should give you a positive when nothing is being pressed.

  8. #18
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    688
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by IsaacBoy View Post
    Use the 'Any Key Being Pressed' condition and negate it, that should give you a positive when nothing is being pressed.
    That would be Great if that was an option.
    I was actually going to suggest to the Developers that this needs to be an option. The Negate for "ANY KEY BEING PRESSED " is grayed out and not available.

  9. #19
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    688
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Oreo View Post
    How do you test if no keys are being pressed?
    Here ya go. I made this little game example to show how you can check for no keys pressed.
    Basically and unfortunately, you need to keep track of all keys you use.

    I.E. You said " D " runs to the right. You need to NEGATE the "User presses " for " D " and any other keys in one line.

    Example at this link: https://community.clickteam.com/threads/109920-ENDLESS-GAME-Example-Only-7-lines-of-code?p=776657#post776657

    Hope this helps.

  10. #20
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    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)Firefly 3D Module (Steam)

    Join Date
    Jun 2006
    Location
    Killeen, TEXAS
    Posts
    1,155
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    so this thread ended 14 years ago..... btw, the answer is: use control X.

Page 2 of 3 FirstFirst 1 2 3 LastLast

Similar Threads

  1. No key pressed.
    By Fanotherpg in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 7th December 2011, 01:54 AM
  2. never experienced this? What have i pressed?
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 9th May 2009, 07:36 PM
  3. accelerator keys aka hot keys don't work
    By Gitaarheld in forum Install Creator and Patch Maker
    Replies: 1
    Last Post: 23rd February 2009, 10:05 AM
  4. List of all current keys being pressed
    By MechatheSlag in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 10th August 2008, 02:06 AM
  5. Detect if Alt key is pressed?
    By Joeyotrevor in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 27th May 2008, 11:24 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
  •