User Tag List

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

Thread: Key Object - "reset last key" feature?

  1. #11
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: Key Object - "reset last key" feature?

    Quote Originally Posted by Quinto
    But it would very helpful to include a "reset last pressed/released key"-action like the ctrlx-object has one to get double input of the same key or trigger keystrokes in general. Any chance to add this feature?
    Sorry I posted some pseudo-code that wasn't much helpful. I've posted a commented example on how to test for any combo / key strokes in the files archive:
    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=60950

    Quote Originally Posted by dingdong
    Could we have an "On Any Key Pressed" Action?
    This condition doesn't exist but you can test for the last key pressed. See attached example line 4.

  2. #12
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Posts
    311
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Key Object - "reset last key" feature?

    Quote Originally Posted by Dynasoft
    It looks like it's for beat-em-up style key combos.
    Yeah, that's it!

    @OliverPearl
    Thanks for the example.

    Quote Originally Posted by LIJI
    I didn't understand your question. Can you write it differently?
    OK, i'll try...
    The key object works fine, when a key-combo is known (like UPUPDOWNDOWN).
    But i would like to recognize random user input, do this for now with this code:
    if lastkey <> counter: set counter to lastkey and do something.
    But cause the lastkey never is reset, its not possible to recognize when a key is pressed several times (like "aa" or "bb").
    If, for example, key A is pressed, lastkey is always 65 until a different key is pressed.
    But this applies only to applications who are running in background, otherwise the on-any-key-condition is a solution.

  3. #13
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on
    LIJI's Avatar
    Join Date
    Jun 2006
    Location
    Israel
    Posts
    1,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Key Object - "reset last key" feature?

    Then use this condition to mimic a On Any Key Pressed condition:

    On Key Pressed lastkey

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. "Load text file" from "The Edit Object" BUG?
    By MOBii in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th December 2013, 05:43 AM
  2. Issues with "Clickteam Movement Controller" and "Runtime" Object
    By jimmyorpheus in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 29th November 2011, 07:10 AM
  3. Suggestion: "Find and Replace" feature for events
    By Sebaceous in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 19th May 2009, 04:55 PM
  4. Requested feature "Install Creator Pro"
    By MedXChange in forum Install Creator and Patch Maker
    Replies: 0
    Last Post: 30th March 2009, 04:13 PM
  5. "Rollback" - Suggested feature for MMF2
    By Dines in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th March 2008, 12:18 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
  •