Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

ATDguy

different clothes armour etc

This topic is 5969 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi can someone pls enlighten me on how in some games characters are able to change to diff clothes armour etc ? wad technique do they uses ? thanks

Share this post


Link to post
Share on other sites
Advertisement
The cheapest way to do it is just load in a new texture depending on what armor they''re wearing. They work from the same model, just different textures.

Share this post


Link to post
Share on other sites
yes, palette shifting is one way to do in in 2d games, however, if you want the clothes to be a different shape too, then one way to do it is to ''paste'' the clothes ontop of the character, but you have to have as many animation frames for the clothes as there are for the character. Another way is to have completely seperate sprites of the player for all types of clothes he can wear.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!