User Tag List

Results 1 to 4 of 4

Thread: Strafing?

  1. #1
    No Products Registered

    Join Date
    Apr 2008
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Strafing?

    How do I make a character strafe and shoot in the selected direction? I used stop animation to keep the character looking forward but when I strafe left or right it shoots left or right. How would I make my character strafe left and right and still shoot forward? Thanks a lot.

  2. #2
    Clicker Multimedia Fusion 2 Developer

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

    Re: Strafing?

    Use shoot in direction (forward) instead of shoot in direction that the character is facing?

    Alternatively split the character into a visible part that faces the right way and an invisible part that you actually move about, which would face sideways when you strafe.

  3. #3
    No Products Registered

    Join Date
    Apr 2008
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Strafing?

    Ok but then when I'm not strafing it wouldn't really work out right because I'd still be shooting forward instead of left/right/backwards.

  4. #4
    No Products Registered

    Join Date
    May 2008
    Location
    California
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Strafing?

    If you are using a key to strafe, you could do something like this:

    *(NEGATE)Repeat when (key to strafe) is pressed
    +(Key to shoot) is pressed
    -Player:Shoot Bullet in direction of player

    *(Key to strafe) is pressed
    -Set Alterable Value A of Player to Dir(Player)

    *Repeat when (key to strafe) is pressed
    +(Key to shoot) is pressed
    -Player:Shoot Bullet in direction Alterable Value A(Player)

    I think that would work

Similar Threads

  1. Strafing and shooting?
    By Pixzel in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 3rd November 2012, 10:31 PM
  2. Shooting while strafing backwards.
    By ElectricMaster in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 10th July 2012, 05:37 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
  •