User Tag List

Results 1 to 3 of 3

Thread: Attack Animation Won't Play correctly

  1. #1
    No Products Registered

    Join Date
    Sep 2017
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Attack Animation Won't Play correctly

    Hey!

    I've got this fun little game I'm working on for a few friends. Its a 2D fighting game, similar to a very simplified Mortal Kombat. I only have one problem, the attack animation won't play correctly.

    I've tired getting it to work a couple of ways(using counters, just stopping the idle animation, etc). Though as I just stated there's an idle animation I have set to loop. I also have the attack set to play when the space bar is pressed.
    The animation starts for a split of a second then continues with the Idle. There also is an event that occurs when space is pressed that cancels the movement of the character till the attack animation has stopped. But give the animation wont even finish or even start, the movement is still disabled.

    Heres a gyazo of the problem: https://gyazo.com/6ee63d1541058a27b46238d236bcd23a

    Any help would be greatly appreciated! I'm willing to start over what code I have of the movement for a working game.

    EDIT:after a bit of head scratching, i got it! I also can't seem to figure out how to get rid of this post, as it is no longer needed.

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,554
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    You'll need to post an example so that the community can test possible solutions; or at the very least a detailed explanation or screen shot of your code.

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    coler123's Avatar
    Join Date
    Sep 2014
    Location
    Milky Way
    Posts
    52
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    By looking at the reaction, it looks like is trying to attack and some other animation has priority (maybe stopped animation)

    check if you have the stopped animation looping, and set it to just one if the event loops
    Idk if you are using the platform movement but sometimes it happens to me that I forget that I put >if the object is not moving and on the floor to play stopped animation, in that case you have to prevent it from looping

Similar Threads

  1. Change Animation Sequence not working correctly?
    By bagelsgames in forum Fusion 2.5
    Replies: 3
    Last Post: 27th August 2015, 03:25 PM
  2. Game wont play correctly on my Android devices.
    By Tuna in forum Android Export Module 2.5
    Replies: 4
    Last Post: 15th December 2014, 06:37 PM
  3. How do I make my attack animation play?
    By techteacher10482 in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 16th April 2011, 12:25 AM
  4. Play sound when a word is placed correctly
    By vesperillo in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 14th September 2010, 07:05 PM
  5. how do you change the play animation to attack
    By kainan in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 8th December 2007, 06:31 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
  •