- Home /
Sprite/ Atlas/ Memory limit in 2D Mobile Games?
Hey everyone,
My group and I want to put together a 2D Mobile game (using EX2D) for our end of school project and we have some questions...
We were hoping to have characters (especially our main character) with 100s of sprite animations (average of 30 - 50 sprites per animation) and we were wondering what we should keep in mind while doing this!
Will this be too cumbersome for mobile devices? Will all those animations take a long time to load? Will this diminish in game performance? (Frame rate drops etc.) Where is the difference between having 20 sprites animations and over 200 on a character performance-wise? WIll the subsequent texture Atlas' diminish performance?
Many many thanks to anyone who can answer some of these questions and/or give us some insight into this! We're just not sure at the moment and want to be before we start! Again, thanks
Answer by robertbu · Jun 08, 2013 at 03:32 PM
What you are looking for is a sprite animation solution that modifies the UV coordinates of the mesh. Most sprite animation solutions you find either posted to this list or out on the Unity Wiki animate by modifying the texture offset and texture scale of the material. A mesh UV solution is easy with third-party tools. EZGUI has a packed sprite class that will do the job, and I'm certain there are other third-party solutions. Doing it without these tools will take some research and work.
Once you have this kind of solution (and some test graphics), it will take 15 minutes to work up a test case for your target devices. My guess is that main issue will be the size and number of atlases you will need to support all your characters.
Your answer
Follow this Question
Related Questions
Sprite Packer Causes Unity to Hang on 5.5.0f3 0 Answers
Long 2D animation crashes unity 0 Answers
How can I use atlas sprite as texture for a material? 2 Answers
why does my 2d sprite keep setting itself to "Advanced" and don't pack ? 0 Answers
How do I get the bounds of a sprite on its sprite atlas? 0 Answers