User Tag List

Results 1 to 8 of 8

Thread: Floating Damage Counter

  1. #1
    Clicker Multimedia Fusion 2
    Narfafian's Avatar
    Join Date
    Jul 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Floating Damage Counter

    Im trying to add floating damage counters to my game, i have a counter that creates a random number every .3 seconds between 80 and 120. I have a condition that says collision between bullet and zombie, add current value of Random_damage to the alterable value Enemy_health. That all works great, but when i added another counter that would be created with the collision of the zombie and the bullet, with path movement (to create the floating up effect) and told it to display the current value of the counter, all it did was display the initial value of the counter. Am i going about this wrong, or is there a right way to do this that i'm just not seeing.

    (I searched the internet and clickteam, and didn't find a solution, so sorry for posting again so quickly)

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I don't think you're doing anything wrong,..can you post a stripped down version of the mfa here so we can take a look at it.

  3. #3
    Clicker Multimedia Fusion 2
    Narfafian's Avatar
    Join Date
    Jul 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I also had tried it with a string object, that didn't work either, and i think this is about as much as i can strip it.

    I had some issues with the attachment thing here so i just uploaded it here

    https://rapidshare.com/files/1357170...g%20damage.mfa

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I hope this is what you wanted. It's fixed. It seems to me that you had the wrong counter in the code to pull the value from. Let me know if this is correct now. If not let me know what counter value you want added to the created counter from the Zombie.

    http://www.mediafire.com/?51pak3r65947juc

  5. #5
    Clicker Multimedia Fusion 2
    Narfafian's Avatar
    Join Date
    Jul 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    WOW! i cant believe i missed that, i was looking at that for hours haha thank you so much. its been annoying me that i couldn't figure it out. I don't know why i would have even referenced that counter haha. Thanks!

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I'm glad I could help. Can I ask why the counters initial value is set to 85 if you setting it to the other counters value?

  7. #7
    Clicker Multimedia Fusion 2
    Narfafian's Avatar
    Join Date
    Jul 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    one of my friends wanted to try it out, so i just set it to a value in the range somewhere so it wasn't awkward shooting and having 0s pop up. No reason really.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Ok, got ya. Good luck with the game!

Similar Threads

  1. 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, 03:06 AM
  2. Need Help with Player Damage
    By 122334shadow in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 1st December 2010, 09:06 AM
  3. Enemys take damage.
    By Dakk in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 22nd March 2010, 12:09 PM
  4. Floating Damage Counters like in RPG's
    By Pixelthief in forum File Archive
    Replies: 0
    Last Post: 17th November 2009, 03:14 PM
  5. "Floating" a counter
    By kungsangun in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 1st April 2008, 02:01 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •