Since my character will be moving by the means of the accelerometer, it will not be moving in only 8 directions (north,south,east,west,northeast,northwest,southeast,southwest). I’m really confused as to how many angles do I really need to create animations, because having them to transition between them will be crazy, as I’d have to calculate the angle of the movement and play a respective animation clip. Am I overthinking this ? Or is this a valid issue ?
1 Answer
1Couldn’t you just create one animation and set the rotaion of the object to the tilt angle on the phone/tablet?
Like I said in the other comment, using just 1 animation is possible if the angle is proper top down 90 degrees. It is not. It has an angle and hence needs pre-rendered animation from all possible angles.
– dhully
Your questions a little confusing im not too sure what you mean as the title says top down 2d, yet you say not only 8 directions... but i'm getting the feeling your talking about walking and running animations etc? If so, you could probably just do the one animation running forward (or up) for example, and in code rotate it accordingly upon the users input?
– RyanPaterson