User Tag List

Results 1 to 4 of 4

Thread: Floating Damage Counter Problems

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    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)
    Nicholas Martin's Avatar
    Join Date
    Nov 2006
    Location
    Canada
    Posts
    202
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Floating Damage Counter Problems

    I made a simple system that shows damage above an object for my game PhySix BREAK. Everything is working great EXCEPT... The problem I am having is that the counters are not being destroyed properly

    An event such as "Counter 1 has reached end of its path" will destroy every "Counter 1" in the frame instead of just the one that reached the end. I tried isolating with for each loops but I couldn't get it to work

    Any help with this would be much appreciated

    I attached an example with the events for damage numbers isolated
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Wodjanoi's Avatar
    Join Date
    Jun 2015
    Location
    Germany
    Posts
    652
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Here is a quick updated version for you(with ForEach).
    Attached files Attached files

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    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)
    Nicholas Martin's Avatar
    Join Date
    Nov 2006
    Location
    Canada
    Posts
    202
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awesome! That works perfectly. But the the "always" Start loop "for each" won't cause much resource drain I hope? It will be running on android/iOS. Anyways I will try plugging it in and see how it goes Thanks!

  4. #4
    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,281
    Mentioned
    26 Post(s)
    Tagged
    0 Thread(s)
    You could simply have a setup where anytime a counter reaches the end of its path, you run the foreach loop. That will save some resources. It would look like:

    +Counter reaches end of Path
    - Run ForEach Loop "DestroyCounter"

    - On ForEach loop "Destroy Counter"
    - Destroy

Similar Threads

  1. Issues with floating damage counter
    By Adnihil in forum Fusion 2.5
    Replies: 3
    Last Post: 30th November 2016, 04:02 PM
  2. Creating floating damage text with the Text Blitting Object - How?
    By edman3d in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 8th January 2013, 02:06 AM
  3. Floating Damage Counter
    By Narfafian in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 20th July 2012, 02:19 AM
  4. Floating Damage Counters like in RPG's
    By Pixelthief in forum File Archive
    Replies: 0
    Last Post: 17th November 2009, 02:14 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
  •