User Tag List

Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 21

Thread: Animation Problem

  1. #11
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Animation Problem

    yeah thats exactly what its doing. i tried just wiping out the destroy animations and now it wont even appear! :confused:

  2. #12
    No Products Registered

    Join Date
    May 2008
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Animation Problem

    You took the animation out or you set it to destroy the object when the destroy animation was completed?

  3. #13
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Animation Problem

    i just removed the destroy animation itself just leaving the flame animation.

  4. #14
    No Products Registered

    Join Date
    May 2008
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Animation Problem

    Is the flame animation just one frame?
    If you're just destroying it when the animation is finished and the animation is one frame, it'll be destroyed before you can see it. Pad it out and make the animation slower.

  5. #15
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Animation Problem

    i'll try that. it has 3 total frames because its meant to be quick.

  6. #16
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Animation Problem

    lol ok that didnt work, but i was able to make it work...somewhat. since the only frame that would show up was the destroy animation, so i just put the main animation in place of the destroy animation. only problem is, the animation doesnt play.

  7. #17
    No Products Registered

    Join Date
    May 2008
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Animation Problem

    What exactly is the 'destroy' condition? Is it just 'Animation Stopped is finished' or something like that?
    If so, and that's being buggy, try something a little more sophisticated. Make an alterable value on the flame and have it raised by 1 every millisecond, then destroy it once it's past a certain range. And if the destroy animation starts playing indefinitely after that, get rid of it for now.

  8. #18
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Animation Problem

    i have the destroy condition under the flamethrower in my event. i may have to tinker with some values just for that. thanks for all the help man.

  9. #19
    No Products Registered

    Join Date
    May 2008
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Animation Problem

    Sorry I could only really help break your code a little more! D:

  10. #20
    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: Animation Problem

    You could make the Stopped animation, say, 10 frames long (if you only have one image then just duplicate it so there are 10 frames of the same image). Then set the animation to loop back to your last frame (in this case loop back to frame 9) Then try this:

    +When player pressed fire button
    -Create flame sprite
    -Set direction, speed, etc

    +If flame sprite animation Stopped is playing
    +If animation frame = 9
    -Destroy flame sprite.

    Like Beaul said, the length of the Stopped animation will control how long the flame stays alive. Just add or subtract frames (and adjust the code) to make it longer or shorter. If you go this route, make sure there is nothing in your Disappearing animation.

    Mobichan

Page 2 of 3 FirstFirst 1 2 3 LastLast

Similar Threads

  1. Problem with animation
    By Brosephus in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th March 2013, 02:00 PM
  2. animation problem
    By joanignasi in forum The Games Factory 2 - Technical Support
    Replies: 7
    Last Post: 23rd June 2011, 01:03 AM
  3. Animation Problem
    By Warmachine in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 26th January 2010, 01:18 PM
  4. animation problem
    By gamemaking in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 2nd July 2008, 07:54 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
  •