Jump to content

  • Log In with Google      Sign In   
  • Create Account


Unity3D: 2D Animation


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 nitishk   Members   -  Reputation: 161

Like
0Likes
Like

Posted 23 March 2013 - 12:28 PM

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.



Sponsor:

#2 CJ_COIMBRA   Crossbones+   -  Reputation: 770

Like
1Likes
Like

Posted 23 March 2013 - 08:34 PM

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?



#3 Kylotan   Moderators   -  Reputation: 3329

Like
1Likes
Like

Posted 26 March 2013 - 06:22 AM

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.



#4 nitishk   Members   -  Reputation: 161

Like
0Likes
Like

Posted 26 March 2013 - 06:54 PM

ahh ok, thanks for the help!






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS