User Tag List

Results 1 to 3 of 3

Thread: Shooting Direction Issue

  1. #1
    No Products Registered

    Join Date
    Jun 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Shooting Direction Issue

    I'm working on a sidescrolling shooter/platformer and I currently have my player's shooting behavior set to shoot an object after a certain button has been pressed and to use the direction of the player when doing so. So, when the player's walking/stopped animation is facing left the object will fire left and it will fire right when the player is facing right. The only issue is that anytime the player jumps, the object fires downward. How can I change that so the object will always fire in the direction the player is facing? So, if the player is facing left when it jumps the object will fire to the left instead of downward.

  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)

    Re: Shooting Direction Issue

    Have an invisible object outside the frame that you set to left/right when the player presses left or right. Fire from your player object, but using the direction of the other object. That should always either be left or right.
    Working as fast as I can on Fusion 3

  3. #3
    No Products Registered

    Join Date
    Jun 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting Direction Issue

    It worked, thank you very much for your help!

Similar Threads

  1. eight direction movement and shooting problem
    By brett in forum Multimedia Fusion 2 - Technical Support
    Replies: 24
    Last Post: 17th May 2012, 09:36 PM
  2. Problem with shooting in direction of an object
    By Cryonaut in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 13th December 2010, 08:02 AM
  3. 8 Direction Movement and shooting problem
    By IY5 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 2nd February 2010, 02:12 AM
  4. Shooting direction inaccurate
    By PengeyPenguin in forum The Games Factory 2 - Technical Support
    Replies: 15
    Last Post: 9th August 2009, 09:40 PM
  5. Shooting something in the direction of the mouse?
    By Root in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 21st May 2009, 10:12 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
  •