User Tag List

Results 1 to 2 of 2

Thread: Changing an animation while in motion?

  1. #1
    No Products Registered

    Join Date
    Sep 2007
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Changing an animation while in motion?

    I wanted to setup a system so that if a character in 2D was running, and fired a gun, he would lift his arm and shoot, based on the current frame of the animation.

    Would I have to associate each frame to a variable and have it constantly check which variable was active, and then play the animation based on the variable, or would there be a differant want to do this?

  2. #2
    Forum Moderator Multimedia Fusion 2 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    DizzyDoo's Avatar
    Join Date
    Oct 2006
    Location
    South England
    Posts
    718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing an animation while in motion?

    You could test for the animation value, which is the current frame, and an alternative would be to separate the torso from the legs and have 2 active objects. I'm sure there are a few ways of doing this.
    Cranktrain - Currently finishing a new game called The Cat Machine!
    @MattLuard on Twitter.

Similar Threads

  1. 8 direction motion & space motion widget
    By drnebula in forum Widgets
    Replies: 13
    Last Post: 15th June 2012, 08:25 AM
  2. Changing animation
    By Fanotherpg in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 29th April 2012, 03:34 PM
  3. Changing animation frame
    By Oreo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 15th March 2010, 06:08 PM
  4. changing animation on enemy
    By colin in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 17th October 2009, 04:31 PM
  5. Changing animation sequence
    By Rabagast in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 28th April 2008, 07:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •