Hello ! With some friends of mine, we want to create a game which looks like an old mortal combat. For that purpose, we have filmed our characters with a green screen, and have finalized our animation with Adobe Premiere Pro.
How we are managing that now :
We’ve exported our animations like a set of multiple png (which are heavy but necessary for the transparence). Then, we converted them into 2D sprite for finally convert them into an animation, using the Unity animation tool.
The problems with this method (which may be totally wrong, and if it is, please tell me why and then how to do it properly) are that our animations are too heavy. We have something like 10 characters which all have one of a dozen animations and our project file weighs too much.
In our scenes we have two characters (and it works well), but when we add more than 5 or 6 characters (for testing), some lags appears. From an optimization perspective it seems awful for me.
I have three idea :
-
Now, the most accessible idea I have is to reduce the image quality.
-
I’ve also thought about using animated gif, but I understood that they are not recognized by unity for making animation. Or maybe am I wrong ? Because gifs are lightweight files with transparence property.
-
The last idea I have, but it seems pretty unrealistic, is to work frame by frame with photoshop for realizing a sprite sheet. There are too many images, and if there is a way to computerize the cutting, I don’t see how the process may know which transparent/empty portion cut or not : for exemple, if my character takes a step forward, then hits front, and then takes a step backward. How not to cut the empty portion between the initial position and the punch position ? For not having a shift during the animation.
Principes explained in this video - https://www.codeandweb.com/what-is-a-sprite-sheet - seems nice, but I’m still skeptical about the way to manage my last exemple.
And by the way what do you think about the software presented in the video ? What are the best references ?
I was wandering should I do what I won’t to do effectively.
Furthermore, I will be happy to receive all sorts of tips, reactions, experiences, or documentation links about all those three idea and about the way we’re actually working.
Sorry I ask too many questions and if I’m annoying, and thank you in advance for any replies !