Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

2D Customizable Characters

Discussion in 'Assets and Asset Store' started by DanielThomas, Jun 15, 2022.

  1. DanielThomas

    DanielThomas

    Joined:
    Mar 30, 2013
    Posts:
    110



    ⚡ WEB DEMO ⚡

    MANUAL | FAQ | SUPPORT


    Finding high-resolution 2D characters in four directions can be a challenge. But an even bigger one is finding enough characters to populate your entire game! 2D Customizable Characters is a Unity solution specifically designed to solve this problem. This asset gives you two hand-painted and fully animated humanoid character models with in-depth customization options, allowing you to populate your game world with a wide variety of distinct and appealing characters.

    Working with 2D Customizable Characters is as easy as dragging and dropping in the inspector. If you want to squeeze even more out of it, take advantage of various customization features through the runtime editor. When you feel satisfied with your character, there are several options to save it: simply export as a prefab, or if you prefer, export as PNGs compatible with your engine of choice.

    If this sounds interesting, why not test the web demo and check it out for yourself!


    Features
    • Two 4-directional characters (male and female), fully customizable, and suitable for top-down perspective projects.
    • Customize in the Character Editor or the Inspector.
    • Unity animations for idle, walk, run, swing attack, stab attack, bow attack, hurt, die.
    • All art assets in PNG.
    • Save and load prefabs (editor only).
    • Export characters and animations to sprite sheets (editor only).
    • Save and load character with presets.
    • Apply sets, for example, armor sets or outfits.
    • Test play your characters with one click.
    • Change customizations at runtime through the API


    About the Characters
    • Total size ~110×200px
    • 3 rigs (up, down, side) created in a cutout doll fashion with each part animated by its pivot.


    Customizations
    • Appearance: Change appearance details such as eyes, hair, facial hair, and more.
    • Equipment: Change outfits from top to toe, such as shoes, armor, and weapons.
    • Scale: If the proportions don’t fit your style, you can scale the length and width of the head, limbs, and body size, allowing for a wide variety of proportions.
    • Facial Expression: Simple sets that change the facial appearance to create expressions
    • Save anything or all from the above into presets that can be applied later.
     
  2. willipoldi

    willipoldi

    Joined:
    Mar 7, 2016
    Posts:
    4
    Would be very nice. But if I press "Export Sprite Sheets" I get the following error:

    FormatException: Input string was not in a correct format.
    System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) (at <9aad1b3a47484d63ba2b3985692d80e9>:0)
    System.Number.ParseSingle (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) (at <9aad1b3a47484d63ba2b3985692d80e9>:0)
    System.Single.Parse (System.String s) (at <9aad1b3a47484d63ba2b3985692d80e9>:0)
    CustomizableCharacters.CharacterEditor.UI.CaptureAreaBounds.UpdateSettings () (at Assets/2D Customizable Characters/Character Editor/Scripts/UI/CaptureAreaBounds.cs:165)
    CustomizableCharacters.CharacterEditor.UI.CaptureAreaBounds.UpdateBounds () (at Assets/2D Customizable Characters/Character Editor/Scripts/UI/CaptureAreaBounds.cs:148)
    CustomizableCharacters.CharacterEditor.SpriteExporter.Bind (CustomizableCharacters.CharacterEditor.SpriteExporterClip[] clips, UnityEngine.AnimationClip[] defaultPoseClips, UnityEngine.Animator animator) (at Assets/2D Customizable Characters/Character Editor/Scripts/SpriteExporter.cs:122)
    CustomizableCharacters.CharacterEditor.UI.CharacterEditorManager.OpenSpriteCreator () (at Assets/2D Customizable Characters/Character Editor/Scripts/UI/CharacterEditorManager.cs:114)
    UnityEngine.Events.InvokableCall.Invoke () (at <86acb61e0d2b4b36bc20af11093be9a5>:0)
    UnityEngine.Events.UnityEvent.Invoke () (at <86acb61e0d2b4b36bc20af11093be9a5>:0)
    UnityEngine.UI.Button.Press () (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/UI/Core/Button.cs:70)
    UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/UI/Core/Button.cs:114)
    UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:57)
    UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:272)
    UnityEngine.EventSystems.EventSystem:Update() (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:501)
     
  3. DanielThomas

    DanielThomas

    Joined:
    Mar 30, 2013
    Posts:
    110
    Thanks for reporting the problem, I'm not able to reproduce it but I might possibly have a hint of what it is.
    Could you try and replace the "2D Customizable Characters\Character Editor\Scripts\UI\CaptureAreaBounds.cs" with the attached file and see if that makes any difference?

    If not, could you please send me an email so I can help figure out what is going on? Please find my email here: https://www.danielthomasart.com/CustomizableCharacters/Manual/manual/contact.html

    Thanks!
     

    Attached Files:

  4. willipoldi

    willipoldi

    Joined:
    Mar 7, 2016
    Posts:
    4
    Many thanks for your instant reply. Now with the new file it works. Great tool, much more possibilities than with the two old character creators.
     
    DanielThomas likes this.