User Tag List

Results 1 to 5 of 5

Thread: Little problem with animations

  1. #1
    No Products Registered

    Join Date
    Jun 2007
    Posts
    323
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Little problem with animations

    In my game my character has many animations, stopped/walking/running/ducking/landing/and about 20 other user animations. My problem is that whenever the character is going from landing to walking, or turning to running, ect. it always plays the stopped animation for a split second inbeteen animations. Even if I am holding left or right while landing, the character still flickers over to the stopped animation before going to the walk animation, and it looks pretty buggy :\ I use the PMO, and set stopped animation with:

    If object is on the ground
    X-If object is moving
    If there is no joystick action
    If none of the other animations are playing

    Then change animation sequence to stopped.

    For some reason "If animation is not playing" doesn't seem to be doing the trick.

    What would some of you do to play the stopped animation without it interfering with other animations?

  2. #2
    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: Little problem with animations

    I did a lot more simply than that. Basically, I have it so that if the object is standing on the ground, X-If Object is Moving, and object is facing right, play Stopped 1, and I have another Stopped animation for if the player is facing Left.

    Unfortunately I am having a similar problem for attacking. It plays one frame of the animation and then goes back to stopped. I am going to have to adjust my Stopped event for checking the attack counter.

  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: Little problem with animations

    You could try to force the animation to change when the previous animation is at a specific frame. So, for example, if you are landing:

    +Player Y = 0 (or whatever is your ground)
    +Landing Anim is playing
    +Animation frame = (last frame of animation)
    +Player is pressing direction (or however you are doing input)
    -Change Animation to Walking
    -Force Frame to 0
    -Restart Animation

    You might even be able to do it without the last 2 actions, but I generally use them just in case. Sadly, you might need to make special case code to handle every transition (land to walk, land to run, etc...) but you can copy/paste to save time.

    Hope that helps,

    Mobichan

  4. #4
    No Products Registered

    Join Date
    Jun 2007
    Posts
    323
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Little problem with animations

    Sorry to bump such an old post, but I never figured out how to fix the above problem :\

    mobichan, I tried your idea with forcing the animation, but that doesn't seem to work. For example if my character is slashing and I hold right, he should goto the walking animation when slashing is almost over, not stopped then walking, so I tried this:

    Repeat while pressing Right
    Animation slash is playing
    Animation Frame is equal to 8
    -Change animation to walking

    Logically that should work but it doesn't do anything. Any ideas?

  5. #5
    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: Little problem with animations

    Well I had a problem like this and I had to just do Change animation sequence to my anim, set frame to one (0), and then restore animation. I had to do this on ally my changing of animations.
    Working as fast as I can on Fusion 3

Similar Threads

  1. problem with attack animations
    By ramprage in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 4th September 2009, 03:23 PM
  2. Problem with switching b/w animations w/ buttons
    By Patrix in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 7th July 2008, 04:13 PM
  3. Problem with Animations (likely my fault)
    By Tuna in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 10th March 2008, 10:14 PM
  4. Les animations
    By Atout66 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 17th March 2007, 10:25 PM
  5. animations
    By will134 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 6th January 2007, 09:22 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
  •