User Tag List

Results 1 to 2 of 2

Thread: Slow subtraction with damage

  1. #1
    Clicker

    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)

    Join Date
    Dec 2020
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Slow subtraction with damage

    Hey guys!
    I need your help with a formula.
    When the damage was done I want a slow damage calculating. I use a counter object.
    Like Pokemon xD In this example is one hit damage.
    Health_bar_1.gif

    Thank you!

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleXNA Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    piscesdreams's Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    1,041
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    There are two ways that come to mind that this can be done.

    Method 1
    1) Create a separate, hidden counter.
    2) Whenever damage is passed over, add that amount to the hidden counter instead of the lifebar.
    3) Create an event like this:
    Code:
    * Hidden Counter > 0
    + Restrict actions for 00''-05 
    	Hidden Counter : Subtract 1 from Counter
    	Lifebar : Subtract 1 from Counter
    This will slowly deduct from your lifebar that is visible whenever the hidden counter sees that it has damage added and allows you to use your existing counter image.


    Method 2
    Use the "Interface Bar Object" and tick "Smooth Bar" and adjust the "Count Speed" in the properties. This will allow you to customize how fast or slow the life bar moves whether counting upwards or downwards. You can use images also; one image for the background and one for the counter portion itself. It's pretty flexible.

Similar Threads

  1. Subtraction of Opacity Effect
    By StarLightShadow in forum Shader Development
    Replies: 3
    Last Post: 13th October 2018, 03:16 AM
  2. Replies: 6
    Last Post: 7th November 2017, 05:46 PM
  3. Replies: 0
    Last Post: 2nd November 2017, 10:55 PM
  4. Slow down subtraction from a counter?
    By soopytwist in forum Fusion 2.5
    Replies: 5
    Last Post: 14th November 2016, 03:45 PM
  5. rpg subtraction
    By TheCrimsonTaco in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 5th December 2013, 11:43 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
  •