User Tag List

Results 1 to 10 of 10

Thread: Control X key simulation

  1. #1
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,792
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Question Control X key simulation

    Hi,
    The key simulation action of the Control X extension is pressed key delayed at least one frame?
    Please look at the attached file.
    The red active object moved by the Control X's simulated key. But it was delayed to starting moving.

    The Control X key simulation action and MMF2's standard key pressing condition not run at the same event-loop?
    Attached files Attached files

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Conditions run before actions, how would you expect it to work?
    Working as fast as I can on Fusion 3

  3. #3
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,792
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Key simulation (Control -> Run key press condition -> Move character.
    In current state it delayed at least 1 frame to start moving.

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    I don't mean what would you expect the result to be, I mean how would you expect it to work?

  5. #5
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,792
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Please run my example file, and press fire1(Shift).
    The blue active object moved by the Control X key simulation, the red active object moved by pressed fire1 directly.
    The blue active object delayed compared with the red active object (at least 1 frame).

    Explanation video:
    http://prester.org/mmf2/cgi/w2box/da...simulation.mp4

    Do you know how to avoid delay move it provided by the Control X key simulation?

  6. #6
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    I am not confused by what you are explaining. I am confused as to what you expect a solution to be. Keypress events are not triggered events (and shouldn't be), so when you simulate a keypress there will always be a 1 frame delay. I just want to know how you expect MMF2 or any extension to get around this.

  7. #7
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,792
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Are there not exist workaround for delay with Control X key simulate action?

  8. #8
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    I suppose since the Virtual Key Object uses triggered conditions, it may work, but I'm doubtful. I can't test right now though.

  9. #9
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,792
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    What's the Virtual Key Object? Where can I get it?

  10. #10
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    You probably already have it, it's just called "Key Object" in the object list though.

Similar Threads

  1. 2D Water simulation
    By Magicflottant in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 3rd September 2011, 10:29 AM
  2. Keyboard Simulation
    By achim in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 15th June 2010, 11:21 PM
  3. Control X mouse simulation help
    By gamefreak202 in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 5th January 2009, 04:59 PM
  4. Control X 3.2 - Advanced Key Simulation
    By Dines in forum Extension Development
    Replies: 2
    Last Post: 18th February 2008, 11:38 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
  •