User Tag List

Results 1 to 3 of 3

Thread: Cycling thru animations

  1. #1
    No Products Registered

    Join Date
    Oct 2009
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cycling thru animations

    I am making a game (obviously) and I have this active object. now when the player presses the space bar, I want that active object to cycle through its animations, one at a time. for example, it will show one animation until they press space, and then show another one down the list, then they press space, and it does another one, and so on.

    How do I go about doing this?

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    Re: Cycling thru animations

    Create a Counter, OR, use one of the active objects Alterable Values to save/store the animation data.

    Event Editor:
    - Counter (or Alterable Value A of Player) <> Anim Number ("Active")
    + Only one Action when event loops
    = Change Animation Sequence to Current Value of Counter (or Alterable Value A of Object)

    - User presses Space Bar
    = Add 1 to Counter (or Alterable Value A of Object)

    Something like that.

  3. #3
    No Products Registered

    Join Date
    Oct 2009
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Cycling thru animations

    Quote Originally Posted by N64Mario
    Create a Counter, OR, use one of the active objects Alterable Values to save/store the animation data.

    Event Editor:
    - Counter (or Alterable Value A of Player) <> Anim Number ("Active")
    + Only one Action when event loops
    = Change Animation Sequence to Current Value of Counter (or Alterable Value A of Object)

    - User presses Space Bar
    = Add 1 to Counter (or Alterable Value A of Object)

    Something like that.
    lol thanks for actually helping me.

Similar Threads

  1. Nested Loops and cycling properly
    By rubes in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 26th January 2013, 04:48 PM
  2. Cycling string object colors through code
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 28th December 2011, 02:34 PM
  3. Cycling/Scrolling through an inventory help
    By Atherton in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 16th July 2009, 02:24 PM
  4. Colour cycling
    By RayMarble in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 11th September 2008, 05:42 PM
  5. Cycling through weapons?
    By JoshHarris in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 8th January 2008, 07:03 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
  •