User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21

Thread: Animation Problem

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

    Animation Problem

    hey guys its me again (lol). i've spent the last hour trying different things and cant seem to get this figured out. The problem i am having is making a flamethrower work correctly. in my previous gun setups, i set an event for a key press that creates the bullet at the end of the gun, then an event in the same line that shoots the bullet in a given direction at a given speed and destroys. that works fine, but for the flamethrower i want it to where when the key is held in (repeat while key is pressed) that the flame stays at the end of the gun. doesnt seem to hard other than the fact that you cant use create like with the bullets because you end up with like 100 flames!lol the main reason i need this to work is because i have 3 frames of animation that loops while the button is held and cant seem to make this work. :confused:

  2. #2
    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

    If you want a stream of flame sprites, you could add an extra condition like "Every XX seconds" so the spawn rate is slowed down a bit.

    If you only want a single sprite to appear, then you should use "Upon key press" instead of "Repeat While Key is Pressed."

    It is a little unclear what effect you are going for. Can you elaborate?

  3. #3
    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

    Sorry for the confusion. i want to be able to move my character, while keeping a constant flame while the fire button is pressed and once its released, it will be destroyed. i'll try out what you have suggested, and thanks for the input!

  4. #4
    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

    Still no luck :cry:

  5. #5
    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

    Are you trying to make a string of objects that stay attached to your player? Or is it just one object?

    If it is a string of objects, I would recommend looking around for tutorials on using bezier curves or do a search on flamethrower in the forums. I'm sure I've seen some floating around.

  6. #6
    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

    Quote Originally Posted by mobichan
    Are you trying to make a string of objects that stay attached to your player? Or is it just one object?

    If it is a string of objects, I would recommend looking around for tutorials on using bezier curves or do a search on flamethrower in the forums. I'm sure I've seen some floating around.
    yeah thats exactly what i need. i need the flame to appear at the end of the gun when the fire button is held in and to disappear when the button is released. i have the release part working just fine, but when the player runs it creates 100's of flames that stay at the point the were created instead of following the gun lol. i've looked around the forums and seen a few flamethrower related topics but couldnt find anything that could help

  7. #7
    No Products Registered

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

    Re: Animation Problem

    You just have to destroy the flames after they've been around for a time.
    What I did for my game was set it so that every frame, each flame's semi transparency ratio was raised just a bit. Then I created an alterable value on the flames and set it to be whatever the flame's semi transparency ratio was at the time. When it was mostly invisible, the flame would then be destroyed.
    This gives it a nicer effect, like actual fire. However, it's probably inefficient. You can just make it so the flames are destroyed after their animation is finished, and pad the animation with duplicate frames to make it as long as you need.

  8. #8
    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

    Quote Originally Posted by The_Beaul
    You just have to destroy the flames after they've been around for a time.
    What I did for my game was set it so that every frame, each flame's semi transparency ratio was raised just a bit. Then I created an alterable value on the flames and set it to be whatever the flame's semi transparency ratio was at the time. When it was mostly invisible, the flame would then be destroyed.
    This gives it a nicer effect, like actual fire. However, it's probably inefficient. You can just make it so the flames are destroyed after their animation is finished, and pad the animation with duplicate frames to make it as long as you need.
    i'll try that. maybe i can make it destroy at a really fast time so that it not only flickers,but it MAY follow the way i want it to.

  9. #9
    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

    WELL......that worked, BUT the only thing that follows is my destroy animations!lol

  10. #10
    No Products Registered

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

    Re: Animation Problem

    So have it be destroyed after the destroy animations or don't have destroy animations at all. Does it just make it look like the flame is fizzling out when its destroyed?

Page 1 of 3 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
  •