At the moment, I'm creating my game using Unity Indy. Once I think I have enough work to start testing on an iPhone, I'll be switching over to Unity iPhone. But in the mean time, I have some questions and would appreciate it if you guys could help me out:
1:First of all, I read that I should keep my draw calls at around 30, does that sound correct?
2:Also, I want to have 15 enemies on screen, same model, same texture, same material. Will that still result in 15 different draw calls?
3:Do particles count as many draw calls or just one(or a few?)
4: If I have a very low usage of textures(almost none), no lighting at all, and VERY low poly models. Could I get away with more 40-50 draw calls?
In order for my game to play like I envision it, I will be needing to have 20-30 enemies on screen at once at times(definately not always, the usual count will be 10-15).
The way I see it now I'll have these draw calls:
1 draw call for my main player 5 reserved for my simple terrain mesh(just in case I use more than one texture) 15 draw calls for every enemy. ?? draw calls for particle effects. 5 reserved for UI. 5 for rockets/power ups. 5 for loose objects that the player will interact with somehow.
This is a total of 36..will I be able to run it at 30fps?
Thanks in advance, and sorry if this question has been aswered too many times before.
Depends on which device you're talking about, your code, etc.
answered Aug 09 '10 at 06:08 PM