Jump to content
  • Advertisement
Sign in to follow this  
chosenkill6

Unity Unity3D: 2D Animation

This topic is 1937 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

I am currently working on a 2D platformer game. For animations I have attached a sprite sheet as a texture to a plane and I cycle through each sprite for animations like a walk cycle. The problem I am facing is how to run 2 animations at a time? For example, what if the player clicks attack and is holding the walk button at the same time. Since the walk has its own sprite sheet and the attack has its own do I need to make another sprite sheet in PS and in that sprite sheet both actions are being performed or is there a way to do this in unity itself?

I would prefer not to use any external plugins for unity, mostly because of the cost but if there is a free one I would love to check it out so please recommend a good one you know.

Share this post


Link to post
Share on other sites
Advertisement

There is a crossfade feature for 3D models but I dont think there is something similar for 2D animation out-of-the-box. Perhaps you could animate parts of your texture separated?

Share this post


Link to post
Share on other sites

Yeah, you have to do this yourself. There's no good way for Unity (or any 2D graphics program) to know how to selectively blend 2 images like that.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!