User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14

Thread: Idle anim setup question

  1. #1
    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)

    Idle anim setup question

    My game has a player that "banks" when you push left or right but returns to an idle animation when you aren't pressing any keys. I currently use the following to accomplish this:

    X (Negate) Player animation "Stopped" is playing
    ->Change animation sequence to "Stopped"

    Repeat while "Right Arrow" is pressed
    ->Change animation sequence to "Lean Right"

    Repeat while "Left Arrow" is pressed
    ->Change animation sequence to "Lean Left"

    I am now trying to change the animation to "Disappear" when the player collides with the enemy. But it looks like the first line above is always overwriting the Disappear animation when it tries to play. I need to find another way to set my idle animation. Can anyone offer an alternate solution/condition to getting my idle to work?

  2. #2
    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: Idle anim setup question

    Just add a condition into the first line and say X (Negate) Player animation "Disapearring" is playing, I think.

  3. #3
    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: Idle anim setup question

    I tried that and it didnt work.

    It seems I have found a possible deeper problem. In a new file, I recreated the same problem. But this time I created my own animation for the Death sequence and called it "Death." When the collision with the enemy is detected, nothing plays (even though I coded it to use the "Death" animation). And since all my subsequent code is based around the "Death" animation ending, none of my later code fires because "Death" never actually plays.

    Here is the test file: file


    Anyone know why this doesn't work?

    mobichan

  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: Idle anim setup question

    Change the collision between the Detector and Enemies to an overlap condition between the two. Instead of using a seperate animation for banking, make those animations the left and right walking sequences while leaving the up and down ones free. That way you can eliminate negate stopped is playing: change animation to stopped, because it will automatically do it for you, and the two conditions for banking left/right.

    Hope this works! Test it on your Test file first.

  5. #5
    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: Idle anim setup question

    The problem with using the default Disappear animation slot is that I want to make multiple death animations, so I can have deaths based on what killed the player. But it seems like the premade animations have some inherant properties that overwrite custom behaviors. It would be awesome if there was a listing somewhere of what all these internal animation behaviors were. Sigh...

    Anyway, if I wanted to try and call my own custom animations in this case, can anyone offer a suggestion? I feel like every time I try to get clever in MMF2, I get my hands slapped.

  6. #6
    No Products Registered

    Join Date
    Apr 2008
    Location
    Miami, Florida
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Idle anim setup question

    I think I fixed it:

    http://files.filefront.com/player+respawn+test+fixedmfa/;10092724;/fileinfo.html

    Tell me if that fixes your problem.

  7. #7
    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: Idle anim setup question

    Sadly, it is still not working. Although that is an interesting approach. :grin: In your example, the problem is that if you look at the "Death" animation, you will see it is visually different from the "Disappear" animation (which is what is showing up). It is still just playing the "Disappear" anim when the destroy action is called.

  8. #8
    No Products Registered

    Join Date
    Oct 2006
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Idle anim setup question

    The disappear animation is always displayed when an object gets destroyed. Simply don't use the disappear animation, and your object goes away immediately after destroying it. There is also an "Appearing" animation that plays when the object is created. These are the only default animation behaviors I can think of.

  9. #9
    No Products Registered

    Join Date
    Apr 2008
    Location
    Miami, Florida
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Idle anim setup question

    Quote Originally Posted by mobichan
    Sadly, it is still not working. Although that is an interesting approach. :grin: In your example, the problem is that if you look at the "Death" animation, you will see it is visually different from the "Disappear" animation (which is what is showing up). It is still just playing the "Disappear" anim when the destroy action is called.
    I think I misunderstood the problem, you want only the death animation to play and not the disappear animation. If thats the case than here is a tweaked file:
    http://files.filefront.com/player+respawn+test+fixed2mfa/;10097894;/fileinfo.html

  10. #10
    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: Idle anim setup question

    Thanks. I'll give that a go.

    Mobichan.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Beta 17: Idle timer tick box and fire 2
    By AndyH in forum iOS Export Module Version 2.0
    Replies: 8
    Last Post: 19th March 2011, 04:26 PM
  2. Idle Animation Issue & Bullet Question
    By Vandas in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 6th July 2009, 02:48 AM
  3. 2 question.sub folder and adjust setup
    By MEHRDAD in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 17th May 2009, 04:58 AM
  4. Username box character allowance and Idle timer
    By Plooscva in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 19th February 2007, 12:39 PM
  5. Probleme d'anim à nouveau
    By graboide in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 14th August 2006, 12:29 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
  •