Search Unity

UI Damage

Discussion in 'Assets and Asset Store' started by hjupter, May 13, 2013.

?

Do you need DF-GUI support for this asset?

  1. Yes

    50.0%
  2. No

    50.0%
  1. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    UI Damage is a simple easy to use damage manager based on NGUI.

    Asset Store Link

    Web Player Demo

    Features:
    - NGUI 3 support
    - Daikon Forge GUI support
    - Damage indicators: display sprites with the direction of the attack
    - Screen flash: display a screen flash effect when your player gets hit and make it stay if your player is dying
    - Camera shake: display a camera shake effect when your player gets hit.

    Soon OnGUI, Mesh support!







     
    Last edited: Dec 12, 2013
  2. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    Submitted to the store, should be available soon. The price will be $10.
     
    Last edited: Jul 3, 2013
  3. derkoi

    derkoi

    Joined:
    Jul 3, 2012
    Posts:
    2,260
    This looks pretty good
     
  4. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
  5. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
  6. Stan-B

    Stan-B

    Joined:
    Aug 5, 2013
    Posts:
    126
    This small asset is really great for damage effects and direction of the shot.
    I'd recommend to change attacker declarations from Transform to Vector3. It'll make more easier integration for multi-player games(I got it working in my FPS multi-player but it took me some time to adjust the code). And please work on documentation!



    Stan Bergich
    http://w7callerid.com
     
  7. andrydeen

    andrydeen

    Joined:
    Aug 11, 2012
    Posts:
    37
    Hi , how it work on mobile ?
    Andry.
     
  8. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    Thank you for the nice words and suggestion, I will add Vector3 method on the next update. I will improve the documentation.

    It does work perfectly fine on mobiles since it works with NGUI.
    Here is a video of the game ARDrone (made by Derkoi) showing NJG Minimap + UI Damage in action on a iOS device:

     
  9. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    New version has been released

    1.1.0
    - NEW: Unity 3.5.7 support.
    - NEW: Modified UIDamageManager to use static methods instead.
    - NEW: Screen flash widget can now be assigned from the editor and is now separated from the UIDamageManager prefab
    - FIX: Camera can now be shaked without requiring a gameObject parent.
    - FIX: OnDamage method now use Vector3 instead of transform UIDamageManager.OnDamage(attackPosition);
    - FIX: Fixed some bugs with editor
    - FIX: Updated READ ME documentation.

    Soon OnGUI, Mesh and DF-GUI support!
     
    Last edited: Sep 14, 2013
  10. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    I was wondering how many of you guys would like this asset to support DF-GUI so I just created a poll :)
     
  11. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    A new version with DF-GUI support and some small fixes for Unity 4.3 has been submitted to the store :)
     
  12. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    I just decided to split my assets in different versions rather than have one package supporting different UI systems due to mantainance and support reasons, otherwise I would to increase the price which would be unfair for people who only want one version.
     
  13. derkoi

    derkoi

    Joined:
    Jul 3, 2012
    Posts:
    2,260
    And you don't think it's unfair to people who've already bought your package to have to re buy it?
     
  14. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    Yeah I understand that but the truth is that having a product which support different UI systems its an easy task and more if they are being updated so often, that simply takes time and the fact each version does the same but the code base is not the same makes it a bit complex to mantain, I need to compensate the time I invest on this to make it worth the trouble and the only 2 options I see is increase the price of the package (which its pretty cheap) or split it them into separate packages.

    My english is not the best I hope I explained myself and you understand my point of view. If you have better ideas just let me know :)
     
  15. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    I finally decided to keep both versions into one package, so you wont to re buy it :)
     
  16. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
  17. theitalianjob

    theitalianjob

    Joined:
    Sep 23, 2010
    Posts:
    19
    I've an compilation error after import the package...

    UIDamageManagerInspector.cs(41,35): error CS0103: The name `NGUIEditorTools' does not exist in the current context

    I've Unity 3.5.7 Pro + NGUI 3.0.8 Pro + UI Damage 1.3.0

    Any ideas?
     
  18. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    Hey sorry for the late reply I've been sick, did you got this solved? NGUIEditorTools is a script from NGUI package perhaps you need to delete NGUI and import the latest version again.
     
  19. digiross

    digiross

    Joined:
    Jun 29, 2012
    Posts:
    323
    Was looking for something like this for my project but see it's out of date. Can this asset be updated to the new UGUI and for Unity 5?
     
  20. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    I will be updating this asset with a new UGUI version soon. :)
     
  21. digiross

    digiross

    Joined:
    Jun 29, 2012
    Posts:
    323
    Cool, thanks. Feel free to PM when it's available in case I miss it so I can purchase