User Tag List

Results 1 to 5 of 5

Thread: Shooting/launching help?

  1. #1
    Clicker Multimedia Fusion 2
    Pixzel's Avatar
    Join Date
    Jul 2010
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Shooting/launching help?

    Is there some sort of way to make a three round burst shot. I want to make it when you press "Z" once, you will shoot out 3 bullets.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Paul_Boland's Avatar
    Join Date
    Jun 2006
    Location
    Waterford, Ireland.
    Posts
    2,739
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting/launching help?

    In the Level Editor create a counter and call it Shots Counter. In the Event Editor create a group called Shoot 3 Times and make sure it's deactivated initially. Then set up the follow code.

    Group - Controls

    User presses the Fire button
    >Set Shots Counter to 0
    >Activate Group - Shoot 3 Times


    Group - Shoot 3 Times

    Every 0.5 seconds
    >Player launches Bullet in direction of player at speed 30
    >Add 1 to Shots Counter

    Shots Counter = 3
    >Deactive Group - Shoot 3 Times

    Just adjust this code to get the effect you want and that will give you three bullets shot on a single press of the fire button.
    KnightTrek Productions
    http://www.knighttrek.com

  3. #3
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting/launching help?

    I prefer:

    User presses the Fire button
    +Shots Counter is equal to 0
    >Set Shots Counter to 3

    Shots Counter is greater than 0
    +Restrict actions for 0.5 seconds
    >Player launches Bullet in direction of player at speed 30
    >Subtract 1 from Shots Counter

  4. #4
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting/launching help?

    Sure is. If i remember right, this should work

    "Upon pressing "Z": bullet > shoot at speed (whatever speed you want) in direction of (which ever direction you like). You can add the other 2 bullets in the same line the exact same way, just change the direction on each. If this doesnt work let me know, i will post an example when i get off work if needed.....

  5. #5
    No Products Registered

    Join Date
    Aug 2010
    Posts
    343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting/launching help?

    Or, (untested)
    on keypress + flag off = flag on
    flag on = shoot
    number of bullets >=3 = flag off

Similar Threads

  1. Need Help Fixing Launching Bug!
    By Kolar_Games in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 18th August 2013, 05:47 PM
  2. Launching Accuracy
    By ad in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 27th April 2012, 02:00 AM
  3. launching objects
    By beydman in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th April 2011, 03:40 PM
  4. launching an object
    By life2searching in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 29th March 2011, 03:19 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
  •