User Tag List

Results 1 to 2 of 2

Thread: Controlling rate of fire

  1. #1
    Clicker Multimedia Fusion 2
    Fusion 2.5 (Steam)

    Join Date
    Mar 2015
    0 Post(s)
    0 Thread(s)

    Controlling rate of fire

    Hi guys,

    I just began using Multimedia Fusion 2. I'm trying to create an overhead shooter like Shoock Troopers, wich does not use a twin stick set up but instead a single stick and a strafe button. So far, I have been able to do that, but what I don't know how is to control the rate of fire. If you press the fire button once, you shoot one bullet, but if you keep it pressed, it turns into a mess: a single line of repeated bullets. I dont' know how I could limit the amount of bullets you shoot, so it does not turn into a long line of fire. How could I achieve this?

    I have included the file I'm working on.

    Controls: move with the arrows, shoot with Z, keep pressing Z plus the direction you want to strafe while shooting.

    Attached files Attached files

  2. #2
    Clicker Fusion 2.5

    Join Date
    Dec 2009
    0 Post(s)
    0 Thread(s)
    Use a counter or variable as a 'cooldown':
    - At start set counter to 10
    - Fire button is pressed and counter=10 --> set counter to 0, launch bullet.
    - Every 0.01 secs and counter<10 --> Add 1 to counter

Similar Threads

  1. Replies: 6
    Last Post: 14th March 2014, 03:31 AM
  2. Touch Joystick, Fire 1 Button, Fire 2 Button
    By ProdigyX in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 13th February 2012, 02:37 AM
  3. Controlling an external .swf's timeline
    By TedBoomerang in forum SWF/Flash Export Module Version 2.0
    Replies: 0
    Last Post: 8th February 2011, 05:40 AM
  4. Problem with fire 1 and fire button 2 in beta 11
    By Koji_Kabuto in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 31st January 2011, 08:51 PM
  5. frequency / fire rate
    By dub in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 7th April 2007, 10:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts