User Tag List

Results 1 to 3 of 3

Thread: Restricted actions on joysticks and keyboard input

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jan 2012
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Restricted actions on joysticks and keyboard input

    Question: Why if I use fire button 1 (shift) and restrict actions to 1/50th and upon firing it creates and object perfectly again and again but if I change fire button 1 to any assigned keyboard key, like Y for instance, it will create about three objects and then no more?

    So
    If firebutton 1 and restrict actions to 1/50 create object works like a champ, press press press press an object is created each time.

    If Press Y and restrict actions to 1/50 create object will create about 3 objects and then no more.

    why? If I remove the limit it works fine btw... as soon as I put any limit in there to stop the user from creating too many objects in a short period of time it will only create 3 objects :-)

    Thanks

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Could you upload an example MFA? I cannot reproduce this:
    Attached files Attached files
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jan 2012
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ahhh, I see, from your example I used upon pressing a key instead of repeating the key... that fixed it.

    So I assumed you could do this w/out repeating cause the example I was following had Joystick 'pressed fire' and not repeated... so I assumed you could use 'press a key' just like pressed fire. I was using the default keyboard key, shift to make that command work and it worked fine. So I figured I could but If Y pressed and then limit it to 1/50 like with the joystick command and it would work, it doesn't.

    While Y is repeated and the limit works perfectly though. If you add to your example an event that tests if Y is pressed, not repeated with the 1/50 restriction it will add about 3 or 4 to the counter and then cease to work..

    Thanks for the example!

Similar Threads

  1. USB keyboard input
    By UrbanMonk in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 11th September 2013, 04:17 AM
  2. Keyboard input vs player control input
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 22nd August 2013, 09:00 PM
  3. Keyboard input
    By Sarah in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 23rd July 2013, 09:55 PM
  4. Best way to reassign keyboard keys to initiate actions during runtime.
    By Netflyer165 in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 24th April 2012, 02:04 AM
  5. Keyboard Input?
    By xhedgehogx in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 19th August 2011, 07:02 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
  •