User Tag List

Results 1 to 5 of 5

Thread: Rapid Fire problem

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    ZayLong's Avatar
    Join Date
    Jun 2008
    Location
    USA
    Posts
    276
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Rapid Fire problem

    mkay, i got an action for an enemy to fire three rounds off every 2 seconds like this:

    every 2 sec
    >>>>>>>>>>> Start Loop "Enemy Fire" 3 times

    then second part

    On "Enemy Fire"
    >>>>>>>>>>>>>>>>> Enemy Shoot object


    i run the script and the enemy fires all threee bullets at the exact same time making it appear that the enemy only shot one bullet, i need to know how to do a rapid succession so that the bullets are all behind on another not on top of each other.

    help would be greatly appriciated. thanks.

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Rapid Fire problem

    +Every X seconds
    +Alt Var < 4
    -Star Loop "Enemy Fire"

    +On loop "Enemy Fire"
    -Enemy Shoot Object
    -Add 1 to Alt Var (make an alt variable to keep count of the number of bullets fired)

    Then make sure you set the alt var to 0 when the enemy goes to shoot again.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    ZayLong's Avatar
    Join Date
    Jun 2008
    Location
    USA
    Posts
    276
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rapid Fire problem

    still fires the bullets all at the same time. i need it to fire off about three of them one after another if that clarifies anything.

  4. #4
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rapid Fire problem

    Fastloops run before frames are drawn, so looping three times will create three bullets in exactly the same place. You might want to set a value that acts as a timer going (add 1 to it if its value is already above 0, for example, and start the sequence by setting the value to 1), and create a bullet when it reaches 10, 20 and 30 (resetting it to 0 when it's at 40).

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    ZayLong's Avatar
    Join Date
    Jun 2008
    Location
    USA
    Posts
    276
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rapid Fire problem

    that worked pretty darn good, thanks again Dave!

Similar Threads

  1. Very strange "rapid fire" problem
    By Sterling7 in forum The Games Factory 2 - Technical Support
    Replies: 21
    Last Post: 11th October 2012, 09:09 PM
  2. Rapid tapping does not always register
    By Bibin in forum iOS Export Module Version 2.0
    Replies: 5
    Last Post: 9th April 2012, 02:55 PM
  3. [Bug/Problem] Fire Buttons 1/2
    By ProdigyX in forum Android Export Module Version 2.0
    Replies: 5
    Last Post: 8th January 2012, 12:50 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, 07:51 PM
  5. creating bullets and rapid fire.
    By Molle in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 17th January 2008, 02:57 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
  •