User Tag List

Results 1 to 7 of 7

Thread: Changing a Animation and starting at a given Frame

  1. #1
    No Products Registered

    Join Date
    May 2007
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Changing a Animation and starting at a given Frame

    Hi,
    Is there any way I can force an Active Picture to change to a different animation, and then to play that animation starting from a certain frame number through to the end (ie: don't start the animation at Frame 0).
    Also, is there any way I can tell an Active Picture to play a certain animation backwards.
    Thanks everyone!
    Jon
    PS: What would be really handy is if you could just specify start frame and end frame numbers for any animation, eg:
    Play animation XXX from Frame 23 to Frame 45
    or
    Play animation YYY from Frame 56 to Frame 13

  2. #2
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing a Animation and starting at a given Frame

    Yes, use could get the frame of the animation to be based on a value giving you the ability to do all of the above, pretty easily.
    :cool:

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jun 2006
    Posts
    1,324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing a Animation and starting at a given Frame

    Are you sure that you need the Active Picture object? The Active object has a Load Frame action that replaces an existing frame of a given animation & direction by a graphic file from the disk.

  4. #4
    No Products Registered

    Join Date
    May 2007
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing a Animation and starting at a given Frame

    Sorry, sorry - It's an ACTIVE OBJECT, not an active Picture.

    SEELE - Sorry, I don't get how this answers my question

    SARAH - The LOAD FRAME does not help me. I want to keep the existing animations of the Active Object, but start playing one of them from a certain frame number onwards, just not from the first frame. If I use the method /Change/Animation Frame it jumps to the right frame but then stops and does not play the remaining frames through to the end of the animation!

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jun 2006
    Posts
    1,324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing a Animation and starting at a given Frame

    This works for me:
    On pressing the Space Bar:
    .....Change animation sequence to Walking
    .....Force animation frame to 7
    .....Start animation
    .....Restore animation frame

    The animation jumps to frame 7 and then plays frame 8, 9,10,11, and then back to frame 0, 1 etc.

    If you want it to play backwards though, you'll need an Every so many milliseconds event in which you manually force to animation frame to (animation frame number -1).

    *** I'm using build 246. I think there were changes in this area in build 244.

  6. #6
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Changing a Animation and starting at a given Frame

    JonF, the problem you mention might have been fixed in a patch, what build of MMF2 do you use?

  7. #7
    No Products Registered

    Join Date
    May 2007
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing a Animation and starting at a given Frame

    Thank you Sarah!
    The code you supplied worked, but only after I updated from Build 244 to Build 246.
    Wonderful!

Similar Threads

  1. [Bug] Jump to frame shows strangeness before starting actual frame
    By AdamDobay in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 19th November 2011, 09:41 PM
  2. changing animation frame sequences
    By 1234cb in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 13th September 2011, 03:13 AM
  3. Changing animation frame
    By Oreo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 15th March 2010, 06:08 PM
  4. Anyway to change the frame starting position?
    By Zenoff64 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 26th October 2007, 06:14 PM
  5. Starting animation of a character to mouse pointer
    By SpaceBuddy in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 16th September 2006, 01:35 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
  •