User Tag List

Results 1 to 8 of 8

Thread: Shooting with gravity

  1. #1
    KingBoo
    Guest

    Shooting with gravity

    I'm new to Multimedia Fusion 2, and I am trying to make an object that my character can eat, then spit out. In order for it to spit, I am using the "shoot object command," and the object goes up, but never seems to come down. Please tell me what to do. I am very confused. I have tried setting the object as several types that include gravity, and cannot figure this out.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting with gravity

    Try the Bullet Widget by MuddyMole.

    Stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleMac Export Module
    dsilvers's Avatar
    Join Date
    Jun 2008
    Location
    Boston, MA
    Posts
    658
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting with gravity

    If you use the "Shoot Object" command you lose a lot of potential control. Shoot Object can only create and fling an object in one direction. Instead, try using the "Create Object" function, create it at the player and set a Movement variable on it to 1. Then create a separate event that when the movement variable is 1, it moves up. Then, when movement variable is 1, after 1 second, it moves down.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting with gravity

    dsilvers, that wouldn't curve at all...

  5. #5
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting with gravity

    If the Bullet Widget, as Steven1980 suggested, doesn't work, try the pinball movement. I have had success with that.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  6. #6
    Clicker SWF Export Module

    Join Date
    Apr 2009
    Posts
    198
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting with gravity

    Someone else asked for this sometime ago. I made an example of shooting with gravity that is located on nivrams website. Here is the link to that example.

    http://www.castles-of-britain.com/shootingupexample.mfa

    *Edit

    press space to shoot

  7. #7
    Clicker Fusion 2.5 Developer

    Join Date
    Feb 2010
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting with gravity

    Quote Originally Posted by StephenL
    Try the Bullet Widget by MuddyMole.

    Stephen1980
    This BulletWidget works great. It was just what I needed for my new game.

  8. #8
    Clicker

    Fusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleSWF Export Module
    xhedgehogx's Avatar
    Join Date
    Nov 2007
    Location
    NY, USA
    Posts
    743
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting with gravity

    I use "Create Object", this object will have a pinball movement. Set it to go in the direction you would like (ie, the direction your character is facing).

Similar Threads

  1. Gravity
    By danjo in forum Fusion 2.5
    Replies: 5
    Last Post: 18th October 2013, 07:14 AM
  2. New Gravity
    By Guitaristinmakin in forum File Archive
    Replies: 7
    Last Post: 16th December 2007, 04:24 PM
  3. Gravity
    By Guitaristinmakin in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 9th October 2007, 06:14 PM
  4. gravity
    By Taco in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 18th September 2007, 08:13 PM
  5. 360 degree shooting+recoil, gravity and collision
    By thewreck in forum File Archive
    Replies: 5
    Last Post: 23rd July 2006, 04: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
  •