Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by TheRCPanda · Mar 16, 2016 at 12:38 PM · 2d gamecharacter

How would I do customizable characters in my game? (2D)

So maybe it's not as difficult as I think but I am making a game and I am trying to do customizable characters but I don't really know how I would even go about it. I have seen a few of these questions so I guess this is another repeat post but none of them really answered my question well enough. All I need is for you to be able to change for example hair color, body build, gender, eye color and maybe a few other things. If somebody could tell me one of the best ways to do this I think I could take it from there, any help is appreciated, thanks!

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Cherno · Mar 16, 2016 at 03:21 PM 0
Share

You don't provide any information about how your characters, or even your game, are set up Are you using sprites? models? A combination? What shaders do you use? Any procedural content? How do you animate your characters?

Generally speaking, things like colors can be done via acccessing the object's material and, depending on the shader, the color can be changed simply via script or inspector. Colors can also be changed by assigning a different material. Defor$$anonymous$$g body parts is a different story. For sprite-based gaames, this is commonly done by just swapping out the body part in question; a character would consist of different body parts, each with their own sprite. $$anonymous$$eshes can be deformed with custom solutions, there are several available on the asset store. This allows making the chest wider, for example.

avatar image TheRCPanda Cherno · Mar 17, 2016 at 11:08 PM 0
Share

Sorry for the lack of information, this is my first question on here and I guess I'm not great at asking them yet. But between your and $$anonymous$$hozo's comments I think I have enough info to do what I need, thanks for the help, and sorry for the badly worded question.

avatar image Khozo · Mar 16, 2016 at 03:42 PM 0
Share

$$anonymous$$ake each part of the character seperate, Hair is one GameObject, Eye's are another, Body Type is another, etc. Then change the colour on the shader of each one or for the body type replace the picture from a mans to a womans body and vise vera.

You haven't gave us enough information to really help you.

avatar image TheRCPanda Khozo · Mar 17, 2016 at 11:09 PM 0
Share

Sorry for the lack of information but thanks to your answer and Cherno's I know how to do what I need, thank you and sorry for the bad question!

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

How to remove blur when moving 2D objects 1 Answer

The parts of my character disappear when i use the animation 0 Answers

How do I make the character look at the mouse? 0 Answers

2D character bounce off wall / shakes while walking into it 3 Answers

Flip 2D Character with Keys without moving 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges