User Tag List

Results 1 to 4 of 4

Thread: Problem with Condition - Animation Direction

  1. #1
    No Products Registered

    Join Date
    Sep 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem with Condition - Animation Direction

    I'm having a problem when I use this condition: "(object) is facing (direction)" in a fighting type game I'm working on.

    No matter what direction the object is facing, if I set the event so that it reads "(object) is facing (right)", the event will process no matter what direction the object is actually facing. Conversely, if I have "(object) is facing (left), the event will never process even if it is indeed facing left.

    I have the animations set up properly in the active object's properties, and I even have events which face the player and opponent based on a comparison of their x-coordinates, which surprisingly work fine.

    I suppose I could get around this problem by using variables for the facing, since the direction action works, just not the conditional. Does anyone have any idea why this is happening, or how to fix it?

  2. #2
    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: Problem with Condition - Animation Direction

    There may be another event in there that is conflicting with it.

  3. #3
    No Products Registered

    Join Date
    Sep 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem with Condition - Animation Direction

    I don't think that is the case, there are very few events relating to direction and changing direction in my game, and I've checked over them many times. Also, the events that were broken before because of the non-working direction conditional work now that I made my own variables for right and left (0 and 1). So I don't think this was a simple conflict issue or oversight by me.

  4. #4
    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: Problem with Condition - Animation Direction

    If I were to take a guess, I would say the "facing" condition is only effective if you are using MMF's inbuilt movements. Once you start controlling the direction (by forcing angles) you will need to check if the object is equal to an angle. This would mean that facing right is angle = 0 and facing left is angle = 180.

    Just a guess,

    mobichan

Similar Threads

  1. player's Animation direction?
    By pdsoft in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th November 2014, 03:05 AM
  2. Eight Direction Animation?
    By Gate001 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th November 2011, 11:38 PM
  3. How to get animation direction (not movement)
    By Blizna in forum Multimedia Fusion 2 - Technical Support
    Replies: 21
    Last Post: 12th January 2009, 05:35 AM
  4. How to check animation direction?
    By Tiny in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 10th April 2007, 03:23 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
  •