User Tag List

Results 1 to 2 of 2

Thread: sword attack doesn't work good

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jun 2020
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    sword attack doesn't work good

    Hi guys, such problem. I have a hero for my game, so I have platform movement object. My hero has movements on the right and left and jump. So I added 2 sword attack but I can't do this right. I tried Upon pressing a key and attack animation plays at once very fast, so I tried Repeat while key is pressing and while I'm pressing on the button attack animation plays even when hero's moving and animation continues to play.

    What I need when I pressed on the button at once animation will plays one time one second, or when I pressed on the button repeating animation will play on loop while I hol the button.

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    801
    Mentioned
    58 Post(s)
    Tagged
    0 Thread(s)
    You can set the speed of your animation in the properties where you load the animation - under Direction Options - there's a block for speed - just change that until your animation plays at the speed you want it to. If you tick the button "loop" then the animation will play continuously - at the speed you set.

    When you start changing animations with the platform movement object you have to manually change them back.

    For example, if the player is attacking and you set flag 1 on:

    When Flag 1 is on, change animation to attack
    When Flag 1 is off + Flag 2 is off, change animation to walk
    When Flag 2 is on, change animation to jump

    Then as your player performs the actions set the flags on or off.


    The mouse and joystick have commands - when a button is pressed - do something
    and also
    Repeat while button is pressed - which means it will continue to do something - as long as your animation has the "loop" button ticked - then the animation will loop continuously with this command.

Similar Threads

  1. Replies: 12
    Last Post: 30th October 2019, 10:28 AM
  2. Replies: 4
    Last Post: 25th August 2019, 07:01 PM
  3. Replies: 2
    Last Post: 10th November 2016, 12:35 PM
  4. How to attack enemies with a sword?
    By Philtered_Khaos in forum Fusion 2.5
    Replies: 12
    Last Post: 19th October 2016, 03:43 PM
  5. Many overlapping sounds doesn't sound very good
    By KLiK-iT in forum Fusion 2.5
    Replies: 13
    Last Post: 4th May 2016, 11:08 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
  •